avalara_accounts
Create an avalara account
Changed onCreate an avalara account
post/avalara_accounts
Request
- Base URLhttps://{your_organization_slug}.commercelayer.io/api
- URLhttps://{your_organization_slug}.commercelayer.io/api/avalara_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"
},
"username": "user@mydomain.com",
"password": "secret",
"company_code": "MYCOMPANY",
"commit_invoice": true,
"ddp": true,
"pass_tax_exemption_code": true
},
"relationships": {
"tax_categories": {
"data": {
"id": "XAyRWNUzyN"
}
}
}
}
}Response
The created avalara account object
Changes
- info
added the new optional request property
// - 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 - breaking
the
//request property type changed fromstringtoboolean - breaking
the
//request property type changed fromstringtoboolean - warning
removed the request property
/// - warning
removed the request property
/// - info
the
request property default valueavalara_accountswas removed - info
added the new
avalara_accountsenum value to the request property/ - info
added the media type
application/vnd.api+jsonfor the response with the status
- breaking