Skip to main content
PATCH
/
api
/
v1
/
:team_slug
/
:app_slug
/
tax-groups
/
:tax_group_slug
Error
A valid request URL is required to generate request examples
{
  "data": {
    "created_at": "<string>",
    "description": "<string>",
    "id": "<string>",
    "is_default": true,
    "markets": [
      {
        "active": true,
        "country_codes": [
          "<string>"
        ],
        "country_tax_percentages": [
          {
            "country_code": "<string>",
            "created_at": "<string>",
            "id": "<string>",
            "tax_percentage": 123,
            "updated_at": "<string>"
          }
        ],
        "created_at": "<string>",
        "currency_code": "<string>",
        "id": "<string>",
        "locale": "<string>",
        "name": "<string>",
        "slug": "<string>",
        "updated_at": "<string>"
      }
    ],
    "name": "<string>",
    "slug": "<string>",
    "updated_at": "<string>"
  },
  "details": [
    "<string>"
  ],
  "success": true
}

Path Parameters

tax_group_slug
string
required

Tax group slug

app_slug
string
required

App slug

team_slug
string
required

Team slug

Body

application/json

Tax group data

name
string
required
slug
string
required
description
string
is_default
boolean

If this tax group is the default tax group. If a product is created without a tax group will this tax group be selected

Response

Tax group created or updated successfully

data
object
details
string[]

Other information which can be relative to the response. This field is used to give additional information then the main data we want to return. For instance if a product do not match the publishing rules will the product status be set to Incomplete and this field will include why

success
boolean