Update totals info of a specific order
Name | Type | Description |
---|---|---|
orderId | Guid | Order id |
info | OrderTotalsInfo | Totals info |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/Orders/SetOrderTotalsInfo
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=ebf85590-c736-429f-ad65-786f1ecfc210&info={
"Subtotal": 2.1,
"PostageCost": 3.1,
"PostageCostExTax": 4.1,
"Tax": 5.1,
"TotalCharge": 6.1,
"PaymentMethod": "sample string 7",
"PaymentMethodId": "3d20d843-0efe-49dd-98bb-ab070f1a9669",
"ProfitMargin": 9.1,
"TotalDiscount": 10.1,
"Currency": "sample string 11",
"CountryTaxRate": 12.1,
"ConversionRate": 13.1
}
This is an example of the response JSON. Results will vary depending on your data.
null