Skip to main content
PATCH
Update a local center

Path Parameters

id
string
required

LocalCenter identifier

Body

application/merge-patch+json

The updated 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 updated

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