Taxes

Update tax group

Updates the tax group with the given id. Accepts changes to name and product_ids. Returns the updated tax group.

patch/api/sites/multiscreen/{site_name}/ecommerce/tax-groups/{id}

Request

  • Base URL
    https://api.duda.co
  • URL
    https://api.duda.co/api/sites/multiscreen/{site_name}/ecommerce/tax-groups/{id}
  • Auth
    HTTP basic

Path parameters

site_namestring required

The site's unique name (its ID), returned when the site is created.

idstring required

Request body

namestring nullable

Merchant facing name of the tax group

product_idsstring[] nullable

List of product identifiers that are associated with the tax group

Example request

{
  "name": "Books",
  "product_ids": [
    "123",
    "456"
  ]
}

Response

OK

idstring

System identifier of the tax group

namestring

Merchant facing name of the tax group

product_idsstring[]

List of product identifiers that are associated with the tax group

Example response

{
  "id": "tg_123",
  "name": "Books",
  "product_ids": [
    "123",
    "456"
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.