Search zone tax codes
POST/v2/zone-tax-codes/search
Search zone tax codes
Request
- application/json
Body
Search zone tax codes
Possible values: >= 1
Default value: 1
Pagination page number
Possible values: >= 1
Default value: 12
Pagination offset number
createdAt
object
Date greater than provided date
Date less than provided date
lastModifiedAt
object
Date greater than provided date
Date less than provided date
List of Zone tax codes primary identifiers
List of Price primary identifiers
Possible values: [[object Object]
]
Discount type
Search by zone code
Inputs to sort by
Responses
- 200
- 400
- 403
- 500
Paginated list of zone tax codes
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
items
object[]
required
List of items of type ZoneTaxCode
Possible values: <= 36 characters
Primary identifier
Possible values: <= 36 characters
Price foreign identifier
Creation date
Last modified date
Possible values: <= 5 characters
Zone code
Possible values: [H
, L
, N
]
Tax code
Total number of items found
Possible values: >= 1
Default value: 12
The amount of items to show per page
Possible values: >= 1
Default value: 1
The current page
Possible values: >= 1
Total amount of pages
Possible values: >= 1
Start position of the current page
Possible values: >= 1
End position of the current page
{
"items": [
{
"id": "8bcacf9d-36a2-48d5-b713-eedb4eb8c28b",
"priceId": "01905943-4866-7626-b54b-76ea11b2c507",
"createdAt": "2022-01-01T00:00:00.000Z",
"lastModifiedAt": "2022-01-02T00:00:00.000Z",
"zone": "US",
"taxCode": "H"
}
],
"itemsFound": 12,
"offset": 12,
"page": 4,
"pages": 1,
"start": 1,
"end": 12
}
Bad request
Forbidden.
Unknown get zone tax codes error