Create an external tax calculator
How to create an external tax calculator via API
To create a new external tax calculator, send a POST
request to the /api/external_tax_calculators
endpoint, passing the resource arguments in the request body.
Request
POST https://yourdomain.commercelayer.io/api/external_tax_calculators
Arguments
Body Parameter | Type | Required |
---|---|---|
type |
| Required |
attributes.metadata |
| Optional |
attributes.name |
| Required |
attributes.reference |
| Optional |
attributes.reference_origin |
| Optional |
attributes.tax_calculator_url |
| Required |
Example
The following request creates a new external tax calculator:
Last updated