Get surcharge by id
GET/v1/surcharges/:id
Get surcharge by id
Request
Path Parameters
Surcharge id
Responses
- 200
- 400
- 403
- 404
- 500
Get surcharge by id
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
Unique identifier for the surcharge
name
object[]
required
A descriptive name for the surcharge
Localized field language code
Localized field value
description
object[]
A brief description of the surcharge
Localized field language code
Localized field value
Possible values: [flat_fee
, percentage
]
Type of the surcharge
The value to be applied as surcharge (e.g., percentage or amount)
Possible values: [flat_fee
, percentage
]
Type of the surcharge
Tax zone
Indicates whether the surcharge is active or not
The date and time the surcharge is valid from
The date and time the surcharge is valid to
The userId of the user that created the surcharge
The userId of the user that changed the surcharge
The date and time the surcharge is created
The date and time the surcharge is changed
Shop identifier for the tax to apply to
{
"id": "d9b1c4e0-4f1e-4b1e-8b5c-9c2d0a0a6a6e",
"name": [
{
"language": "NL",
"value": "Dutch Surcharge"
}
],
"description": [
{
"language": "NL",
"value": "Dutch Surcharge"
}
],
"type": "percentage",
"value": 9.99,
"taxCode": "flat_fee",
"taxZone": "NL",
"enabled": true,
"validFrom": "2314-03-14T03:14:15.926Z",
"validTo": "2314-03-14T03:14:15.926Z",
"createdBy": 1234,
"changedBy": 1234,
"dateCreated": "2314-03-14T03:14:15.926Z",
"dateChanged": "2314-03-14T03:14:15.926Z",
"shopId": 1
}
Bad request
Forbidden.
Surcharge not found
Get surcharge error