Skip to content

Update tax settings

PUT/admin/v1/stores/{store_id}/taxes/settings
  • settings:write

Replace the store's tax settings. Send If-Match: "v{version}" to avoid overwriting someone else's changes.

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

  • prices_include_taxbooleanrequired
  • charge_tax_on_shippingbooleanrequired
  • tax_namestringrequired
  • registration_numberstring · or null

Returns

200 Saved settings.

Errors

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