Update checkout settings
/ admin/ v1/ stores/ {store_id}/ checkout-settings- settings:write
Change the checkout settings; parts left out stay as they are. Send If-Match: "v{version}" to avoid overwriting someone else's change.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.
Headers
If-Matchstring · or nullETag from the last read, e.g. "v3"
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
layoutenum · or nullEvery section on one page, or Information, Delivery and Payment as three steps.
- one_page
- three_steps
landmark_modeenum · or nullWhether checkout asks for a landmark where the country's address has one.
- optional
- required
location_modeenum · or nullWhether checkout asks for a map pin where the country's address has one.
- off
- optional
- required
saudi_location_modeenum · or nullWhether checkout asks for a map pin where the country's address has one.
- off
- optional
- required
short_address_modeenum · or nullWhether checkout offers the National Address short-code lookup on Saudi addresses.
- off
- optional
minimum_order_amountinteger · or nullIn the store currency's minor units;
0for none.fieldsarray of objects · or nullReplaces every field; up to 10.
business_buyersenum · or nullWhether checkout asks business buyers for their company and VAT number.
- off
- optional
Returns
200 The settings.
Errors
- 403
forbiddenMissing permission. - 412
precondition_failedThe settings changed since they were read.