Create a tax category
How to create a tax category via API
Last updated
How to create a tax category via API
Last updated
To a new tax category, send a POST
request to the /api/tax_categories
endpoint, passing the resource arguments in the request body.
POST https://yourdomain.commercelayer.io/api/tax_categories
type
string
Required
attributes.code
string
Required
attributes.sku_code
string
Optional
attributes.reference
string
Optional
attributes.reference_origin
string
Optional
attributes.metadata
object
Optional
relationships.sku
object
Required
relationships.tax_calculator
object
Required
The following request creates a new tax category: