manual_tax_calculators
Update a manual tax calculator
Changed onUpdate a manual tax calculator
patch/manual_tax_calculators/{manualTaxCalculatorId}
Request
- Base URLhttps://{your_organization_slug}.commercelayer.io/api
- URLhttps://{your_organization_slug}.commercelayer.io/api/manual_tax_calculators/{manualTaxCalculatorId}
- AuthHTTP bearer
Path parameters
manualTaxCalculatorIdstring required
The resource's id
Request body
Example request
{
"data": {
"id": "XAyRWNUzyN",
"attributes": {
"name": "Personal tax calculator",
"reference": "ANY-EXTERNAL-REFEFERNCE",
"reference_origin": "ANY-EXTERNAL-REFEFERNCE-ORIGIN",
"metadata": {
"foo": "bar"
}
},
"relationships": {
"tax_rules": {
"data": {
"id": "XAyRWNUzyN"
}
}
}
}
}Response
The updated manual tax calculator object
Changes
- info
added the optional property
//to the response with the status
- info
- breaking
added the new required request property
/// - breaking
request property
/was restricted to a list of enum values - warning
removed the request property
// - warning
removed the request property
/// - warning
removed the request property
/// - info
the request property
//became nullable - info
the request property
//became nullable - info
the request property
//became nullable - info
the
request property default valuemanual_tax_calculatorswas removed - info
added the new
manual_tax_calculatorsenum value to the request property/ - info
added the media type
application/vnd.api+jsonfor the response with the status
- breaking