Update a zone tax code by id
PATCH/v2/zone-tax-codes/:id
Update a zone tax code by id
Request
Path Parameters
id stringrequired
Zone tax code identifier
Example: 018fb9a0-e490-79c8-95de-8424f7b06638
- application/json
Body
required
Update zone tax code input
zone string
Possible values: <= 5 characters
Zone code
taxCode string
Possible values: [H
, L
, N
]
Tax code
Responses
- 200
- 400
- 403
- 404
- 500
Zone tax code updated
- application/json
- Schema
- Example (from schema)
Schema
id uuidrequired
Possible values: <= 36 characters
Primary identifier
priceId uuidrequired
Possible values: <= 36 characters
Price foreign identifier
createdAt date-timerequired
Creation date
lastModifiedAt date-timerequired
Last modified date
zone stringrequired
Possible values: <= 5 characters
Zone code
taxCode stringnullablerequired
Possible values: [H
, L
, N
]
Tax code
{
"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"
}
Bad request
Forbidden
Zone tax code not found
Unknown update zone tax code error
Loading...