Skip to content

Update checkout settings

PUT/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_idstringrequired

    The store's ID, like store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.

Headers

  • If-Matchstring · or null

    ETag from the last read, e.g. "v3"

  • shop-api-versionYYYY-MM

    The version to answer in. Without it, your app’s pinned version, else the newest.

Body

  • layoutenum · or null

    Every section on one page, or Information, Delivery and Payment as three steps.

    • one_page
    • three_steps
  • landmark_modeenum · or null

    Whether checkout asks for a landmark where the country's address has one.

    • optional
    • required
  • location_modeenum · or null

    Whether checkout asks for a map pin where the country's address has one.

    • off
    • optional
    • required
  • saudi_location_modeenum · or null

    Whether checkout asks for a map pin where the country's address has one.

    • off
    • optional
    • required
  • short_address_modeenum · or null

    Whether checkout offers the National Address short-code lookup on Saudi addresses.

    • off
    • optional
  • minimum_order_amountinteger · or null

    In the store currency's minor units; 0 for none.

  • fieldsarray of objects · or null

    Replaces every field; up to 10.

  • business_buyersenum · or null

    Whether checkout asks business buyers for their company and VAT number.

    • off
    • optional

Returns

200 The settings.

Errors

  • 403forbiddenMissing permission.
  • 412precondition_failedThe settings changed since they were read.