Tax Profiles
Authorizations
AuthorizationstringRequired
Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>
Query parameters
page[size]integer · int32 · min: 1 · max: 1000Optional
The number of resources to return in a single response.
page[before]string · min: 1 · max: 36OptionalPattern:
Unique identifier.
^[a-zA-Z0-9-]+$page[after]string · min: 1 · max: 36OptionalPattern:
Unique identifier.
^[a-zA-Z0-9-]+$Responses
200
Successful response with tax profiles data in JSON:API format.
application/vnd.api+json
400
Bad request.
application/vnd.api+json
401
Unauthorized.
application/vnd.api+json
429
Too many requests.
application/vnd.api+json
500
Internal Server Error.
application/vnd.api+json
503
Service is unavailable.
application/vnd.api+json
get/v1/tax-profiles
GET /pos/v1/tax-profiles HTTP/1.1
Host: api.mews.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": [
{
"id": "5efa8b3c-b930-4b31-918d-95ab0e212e64",
"type": "text",
"attributes": {
"name": "text",
"isDefault": true
},
"relationships": {
"taxRates": {
"data": [
{
"id": "5efa8b3c-b930-4b31-918d-95ab0e212e64",
"type": "text"
}
]
}
}
}
],
"included": [
{
"id": "5efa8b3c-b930-4b31-918d-95ab0e212e64",
"type": "text",
"attributes": {
"code": null,
"ratePercentage": null,
"calculationBase": "standard"
},
"relationships": {
"taxation": {
"data": {
"id": "5efa8b3c-b930-4b31-918d-95ab0e212e64",
"type": "text"
}
},
"dependentTaxations": {
"data": [
{
"id": "5efa8b3c-b930-4b31-918d-95ab0e212e64",
"type": "text"
}
]
}
}
}
],
"links": {
"prev": null,
"next": null
}
}Authorizations
AuthorizationstringRequired
Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>
Path parameters
idstring · uuid · min: 36 · max: 36RequiredExample:
Universally unique ID UUID4.
5efa8b3c-b930-4b31-918d-95ab0e212e64Query parameters
Responses
200
Successful response with tax profile data in JSON:API format.
application/vnd.api+json
400
Bad request.
application/vnd.api+json
401
Unauthorized.
application/vnd.api+json
404
Not found.
application/vnd.api+json
429
Too many requests.
application/vnd.api+json
500
Internal Server Error.
application/vnd.api+json
503
Service is unavailable.
application/vnd.api+json
get/v1/tax-profiles/{id}
GET /pos/v1/tax-profiles/{id} HTTP/1.1
Host: api.mews.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": {
"id": "5efa8b3c-b930-4b31-918d-95ab0e212e64",
"type": "text",
"attributes": {
"name": "text",
"isDefault": true
},
"relationships": {
"taxRates": {
"data": [
{
"id": "5efa8b3c-b930-4b31-918d-95ab0e212e64",
"type": "text"
}
]
}
}
},
"included": [
{
"id": "5efa8b3c-b930-4b31-918d-95ab0e212e64",
"type": "text",
"attributes": {
"code": null,
"ratePercentage": null,
"calculationBase": "standard"
},
"relationships": {
"taxation": {
"data": {
"id": "5efa8b3c-b930-4b31-918d-95ab0e212e64",
"type": "text"
}
},
"dependentTaxations": {
"data": [
{
"id": "5efa8b3c-b930-4b31-918d-95ab0e212e64",
"type": "text"
}
]
}
}
}
]
}Last updated
Was this helpful?