taxjar_accounts
Create a taxjar account
Changed onCreate a taxjar account
post/taxjar_accounts
Request
- Base URLhttps://{your_organization_slug}.commercelayer.io/api
- URLhttps://{your_organization_slug}.commercelayer.io/api/taxjar_accounts
- AuthHTTP bearer
Request body
Example request
{
"data": {
"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 created 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 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