Orders
AddCoupon
Add a coupon to a specific order <b>Rate limit: </b><span style="background-color:#0272d9;color:white;padding:4px 8px;text-align:center;border-radius:5px; font-size: small;"><b>150</b></span> / minute
post/api/Orders/AddCoupon
Request
- Base URLhttps://eu-ext.linnworks.net
- URLhttps://eu-ext.linnworks.net/api/Orders/AddCoupon
- AuthAPI key in header Authorization
Request body
Example request
{
"orderId": "00000000-0000-0000-0000-000000000000",
"fulfilmentCenter": "00000000-0000-0000-0000-000000000000"
}Response
OK
Example response
{
"TotalsInfo": {
"PaymentMethodId": "00000000-0000-0000-0000-000000000000"
},
"Item": {
"ItemId": "00000000-0000-0000-0000-000000000000",
"OnPurchaseOrder": {
"pkPurchaseItemId": "00000000-0000-0000-0000-000000000000",
"Rowid": "00000000-0000-0000-0000-000000000000",
"pkPurchaseId": "00000000-0000-0000-0000-000000000000",
"fkSupplierId": "00000000-0000-0000-0000-000000000000",
"fkLocationId": "00000000-0000-0000-0000-000000000000"
},
"ImageId": "00000000-0000-0000-0000-000000000000",
"AdditionalInfo": [
{
"pkOptionId": "00000000-0000-0000-0000-000000000000"
}
],
"BinRacks": [
{
"Location": "00000000-0000-0000-0000-000000000000"
}
],
"Boxes": [
{
"PackagingTypeId": "00000000-0000-0000-0000-000000000000"
}
],
"RowId": "00000000-0000-0000-0000-000000000000",
"OrderId": "00000000-0000-0000-0000-000000000000",
"StockItemId": "00000000-0000-0000-0000-000000000000"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.