taxjar_accounts

Create a taxjar account

Changed on

Create a taxjar account

post/taxjar_accounts

Request

  • Base URL
    https://{your_organization_slug}.commercelayer.io/api
  • URL
    https://{your_organization_slug}.commercelayer.io/api/taxjar_accounts
  • Auth
    HTTP 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

    • 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 value taxjar_accounts was removed

    • info

      added the new taxjar_accounts enum value to the request property /

    • info

      added the media type application/vnd.api+json for the response with the status