Skip to main content
PATCH
Update the facts sheet: a key that is present replaces its section, a key that is absent is kept
A key that is present in the body replaces that section of the sheet in full. A key that is absent is left as it was. So { "codes": [...] } rewrites the codes and touches nothing else, and to clear a section you send it empty ("codes": [] or "delivery_promise": null). Keys outside the sheet’s field list are ignored.
Values outside the shape are dropped, not rejected; read the sheet back after writing. See The facts sheet.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The website id

Body

application/json
currency
string
free_shipping_threshold
number | null
shipping_flat
number | null
shipping_zones
object[]
return_days
number | null
delivery_promise
string | null
size_notes
object[]
codes
object[]
discounts_allowed
boolean
output
enum<string>
Available options:
card,
popup,
event,
none
popup
object | null

Response

Facts

currency
string
free_shipping_threshold
number | null
shipping_flat
number | null
shipping_zones
object[]
return_days
number | null
delivery_promise
string | null
size_notes
object[]
codes
object[]
discounts_allowed
boolean
output
enum<string>
Available options:
card,
popup,
event,
none
popup
object | null