Validate a coupon
Name | Type | Description |
---|---|---|
orderId | Guid | Order id |
barcode | String | Coupon barcode |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/Orders/ValidateCoupon
Connection: keep-alive
Accept: application/json
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE
This is an example of the request structure. Results will vary depending on your data.
orderId=370655d0-4847-4e03-82d7-380e508aeb94&barcode=sample string 1
This is an example of the response JSON. Results will vary depending on your data.
{
"ValidationText": "sample string 1",
"DeductVisible": true,
"DeductText": "sample string 3",
"BalanceVisible": true,
"BalanceText": "sample string 5",
"ValueText": "sample string 6",
"DiscountType": "sample string 7"
}