taxes
Resource: tax
This link relationship returns a collection of taxes. You can paginate through this collection using the hypermedia links provided and the link relationships of first, prev, next, and last.
Required Scopes
Full
store_full_access
Read
tax_settings_read
Write
tax_settings_write Collection Resource
taxActions
GET View a list of taxes
POST Create a new tax
HEAD Get just the header response
OPTIONS Get a response explaining which HTTP methods are supported
Properties (5)
_embedded Object · Read-only Contains fx:taxes[] — array of tax resources
total_items String · Read-only Total number of resources in this collection.
returned_items Number · Read-only Number of resources returned in this page.
limit Number · Read-only Maximum number of resources per page.
offset Number · Read-only Number of resources skipped.
Link Relations (5)
self This Collection first First Page of this Collection prev Previous Page of this Collection next Next Page of this Collection last Last Page of this Collection https://api.foxycart.com/stores/{store_id}/taxes
Example Representation
{
"_links": {
"curies": [
{
"name": "fx",
"href": "https://api.foxycart.com/rels/{rel}",
"templated": true
}
],
"self": {
"href": "https://api.foxycart.com/stores/123/taxes",
"title": "This Collection"
},
"first": {
"href": "https://api.foxycart.com/stores/123/taxes?offset=0",
"title": "First Page of this Collection"
},
"prev": {
"href": "https://api.foxycart.com/stores/123/taxes?offset=0",
"title": "Previous Page of this Collection"
},
"next": {
"href": "https://api.foxycart.com/stores/123/taxes?offset=20",
"title": "Next Page of this Collection"
},
"last": {
"href": "https://api.foxycart.com/stores/123/taxes?offset=20",
"title": "Last Page of this Collection"
}
},
"_embedded": {
"fx:taxes": [
{
"_links": {
"curies": [
{
"name": "fx",
"href": "https://api.foxycart.com/rels/{rel}",
"templated": true
}
],
"self": {
"href": "https://api.foxycart.com/taxes/456",
"title": "This Tax"
},
"fx:store": {
"href": "https://api.foxycart.com/stores/456",
"title": "This Store"
},
"fx:tax_item_categories": {
"href": "https://api.foxycart.com/taxes/123/tax_item_categories",
"title": "Tax Item Category relationships"
},
"fx:native_integrations": {
"href": "https://api.foxycart.com/native_integrations",
"title": "Native Integrations for this service provider"
}
},
"name": "TN",
"type": "region",
"country": "US",
"region": "TN",
"city": "",
"is_live": false,
"service_provider": "avalara",
"apply_to_shipping": true,
"use_origin_rates": false,
"exempt_all_customer_tax_ids": false,
"rate": 1,
"date_created": null,
"date_modified": null
}
]
},
"total_items": 1,
"returned_items": 1,
"limit": 20,
"offset": 0
}