curl --request GET \
--url https://api.cloud.flexprice.io/v1/taxes/associations \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"auto_apply": true,
"currency": "<string>",
"end_time": "<string>",
"entity_id": "<string>",
"entity_type": "customer",
"expand": "<string>",
"limit": 500,
"offset": 1,
"order": "asc",
"sort": "<string>",
"start_time": "<string>",
"status": "published",
"tax_association_ids": [
"<string>"
],
"tax_rate_ids": [
"<string>"
]
}'
{
"items": [
{
"auto_apply": true,
"created_at": "<string>",
"created_by": "<string>",
"currency": "<string>",
"entity_id": "<string>",
"entity_type": "customer",
"environment_id": "<string>",
"id": "<string>",
"metadata": {},
"priority": 123,
"status": "<string>",
"tax_rate": {
"code": "<string>",
"created_at": "<string>",
"created_by": "<string>",
"description": "<string>",
"environment_id": "<string>",
"fixed_value": 123,
"id": "<string>",
"metadata": {},
"name": "<string>",
"percentage_value": 123,
"scope": "INTERNAL",
"status": "published",
"tax_rate_status": "ACTIVE",
"tax_rate_type": "percentage",
"tenant_id": "<string>",
"updated_at": "<string>",
"updated_by": "<string>"
},
"tax_rate_id": "<string>",
"tenant_id": "<string>",
"updated_at": "<string>",
"updated_by": "<string>",
"valid_from": "<string>",
"valid_to": "<string>"
}
],
"pagination": {
"limit": 123,
"offset": 123,
"total": 123
}
}
List tax associations
curl --request GET \
--url https://api.cloud.flexprice.io/v1/taxes/associations \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"auto_apply": true,
"currency": "<string>",
"end_time": "<string>",
"entity_id": "<string>",
"entity_type": "customer",
"expand": "<string>",
"limit": 500,
"offset": 1,
"order": "asc",
"sort": "<string>",
"start_time": "<string>",
"status": "published",
"tax_association_ids": [
"<string>"
],
"tax_rate_ids": [
"<string>"
]
}'
{
"items": [
{
"auto_apply": true,
"created_at": "<string>",
"created_by": "<string>",
"currency": "<string>",
"entity_id": "<string>",
"entity_type": "customer",
"environment_id": "<string>",
"id": "<string>",
"metadata": {},
"priority": 123,
"status": "<string>",
"tax_rate": {
"code": "<string>",
"created_at": "<string>",
"created_by": "<string>",
"description": "<string>",
"environment_id": "<string>",
"fixed_value": 123,
"id": "<string>",
"metadata": {},
"name": "<string>",
"percentage_value": 123,
"scope": "INTERNAL",
"status": "published",
"tax_rate_status": "ACTIVE",
"tax_rate_type": "percentage",
"tenant_id": "<string>",
"updated_at": "<string>",
"updated_by": "<string>"
},
"tax_rate_id": "<string>",
"tenant_id": "<string>",
"updated_at": "<string>",
"updated_by": "<string>",
"valid_from": "<string>",
"valid_to": "<string>"
}
],
"pagination": {
"limit": 123,
"offset": 123,
"total": 123
}
}
Enter your API key in the format x-api-key <api-key>*
Tax Association Filter
The body is of type object
.
OK
The response is of type object
.