Update a tax category
How to update an existing tax category via API
Request
Arguments
Body Parameter
Type
Required
Example
curl -g -X PATCH \
'https://yourdomain.commercelayer.io/api/tax_categories/XAyRWNUzyN' \
-H 'Accept: application/vnd.api+json' \
-H 'Authorization: Bearer your-access-token' \
-H 'Content-Type: application/vnd.api+json' \
-d '{
"data": {
"type": "tax_categories",
"id": "xYZkjABcde",
"attributes": {
"sku_code": "TSHIRTMM000000FFFFFFXLXX"
},
"relationships": {
"sku": {
"data": {
"type": "skus",
"id": "ABCRtyUpBa"
}
}
}
}
}'Last updated