taxjar_accounts
Update a taxjar account
Changed onUpdate a taxjar account
patch/taxjar_accounts/{taxjarAccountId}
Request
- Base URLhttps://{your_organization_slug}.commercelayer.io/api
- URLhttps://{your_organization_slug}.commercelayer.io/api/taxjar_accounts/{taxjarAccountId}
- AuthHTTP bearer
Path parameters
taxjarAccountIdstring 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"
},
"api_key": "TAXJAR_API_KEY"
},
"relationships": {
"tax_categories": {
"data": {
"id": "XAyRWNUzyN"
}
}
}
}
}Response
The updated taxjar account 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
/// - info
the request property
//became nullable - info
the request property
//became nullable - info
the request property
//became nullable - info
the
request property default valuetaxjar_accountswas removed - info
added the new
taxjar_accountsenum value to the request property/ - info
added the media type
application/vnd.api+jsonfor the response with the status
- breaking