Taxes

Create tax group

Creates a tax group from a name and a list of product ids. Returns the created tax group.

post/api/sites/multiscreen/{site_name}/ecommerce/tax-groups

Request

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

Path parameters

site_namestring required

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

Request body

namestring required

Merchant facing name of the tax group

product_idsstring[] required

List of product identifiers that are associated with the tax group

Example request

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

Response

Created

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.