Skip to main content
POST
Create a local center

Authorizations

Api-Token
string
header
required

Server-to-server authentication. Generate a token in the admin UI at Settings → Developers → API Access. Send the raw token in the Api-Token header — there is no Bearer prefix.

Tokens can be marked read-only at creation time, in which case the API rejects any non-GET request with 403 Forbidden.

Body

application/json

The new LocalCenter resource

officeAddress
string | null
geoLocation
string | null
placesApiId
string | null
location
string | null
website
string | null
isInitiative
boolean
default:false
town
string<iri-reference> | null
Example:

"/api/v1/towns/1"

feePayments
string<iri-reference>[]
Example:
feeTemporary
string | null
postalAddress
string | null
facebookUrl
string | null
instagramUrl
string | null
twitterUrl
string | null
bankIbanNative
string | null
bankIbanEur
string | null
bankIbanUsd
string | null
contactEmail
string | null
contactPhone
string | null
contactFullName
string | null
stripeAccount
string | null
currency
string | null
isStripeEligible
boolean | null
feeProduct
string<iri-reference> | null
Example:

"/api/v1/products/1"

feeDefaultProductPrice
string<iri-reference> | null
Example:

"/api/v1/product_prices/1"

feeLocalTemporary
string | null
isOnlinePaymentFeeEligible
boolean | null
region
object | null
alias
string | null
isParent
boolean | null
mapDescription
string | null
daysOfTheWeek
(string | null)[] | null
languages
(string | null)[]
bankIbanChf
string | null
name
string
logo
string | null
status
string | null
dateCreated
string<date-time>
parent
object | null

Response

LocalCenter resource created

officeAddress
string | null
geoLocation
string | null
placesApiId
string | null
location
string | null
website
string | null
isInitiative
boolean
default:false
town
object | null
localUnits
string | null
feePayments
string<iri-reference>[]
Example:
feeTemporary
string | null
postalAddress
string | null
facebookUrl
string | null
instagramUrl
string | null
twitterUrl
string | null
bankIbanNative
string | null
bankIbanEur
string | null
bankIbanUsd
string | null
isActive
boolean
default:true
read-only
contactEmail
string | null
contactPhone
string | null
contactFullName
string | null
stripeAccount
string | null
localCenterStripeAccount
string | null
read-only
currency
string | null
isStripeEligible
boolean | null
products
object[]
feeProduct
object | null
feeDefaultProductPrice
object | null
feeLocalTemporary
string | null
isOnlinePaymentFeeEligible
boolean | null
region
object | null
alias
string | null
isParent
boolean | null
mapDescription
string | null
daysOfTheWeek
(string | null)[] | null
languages
(string | null)[]
bankIbanChf
string | null
localCenterCurrency
string | null
read-only
id
integer
read-only
name
string
logo
string | null
status
string | null
dateCreated
string<date-time>
parent
object | null