List all tax rules
How to fetch a collection of tax rules via API
To fetch a collection of tax rules, send a GET request to the /api/tax_rules endpoint.
Request
GET https://yourdomain.commercelayer.io/api/tax_rules
Example
The following request fetches a collection of tax rules:
curl -g -X GET \
'https://yourdomain.commercelayer.io/api/tax_rules/' \
-H 'Accept: application/vnd.api+json' \
-H 'Authorization: Bearer your-access-token'Remember that when you fetch a list of resources you get paginated result.
Sortable fields
The list of tax rules can be sorted by the following fields:
Attributes
nametax_rateidcreated_atupdated_atreferencereference_origin
Relationships
manual_tax_calculator
Filterable fields
The list of tax rules can be filtered by the following fields:
Attributes
nametax_ratefreight_taxablepayment_method_taxablegift_card_taxableadjustment_taxableidcreated_atupdated_atreferencereference_originmetadata
Relationships
manual_tax_calculator
Last updated

