Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Orders /SetOrderTotalsInfo

Allows 150 calls per minute

Response: Task



Update totals info of a specific order

Parameters

NameTypeDescription
orderIdGuidOrder id
infoOrderTotalsInfoTotals info

Example Request

The following request format is required for this method.

Endpoint URL

GET | POST https://eu-ext.linnworks.net/api/Orders/SetOrderTotalsInfo

Headers

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

Request Body

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
}

Response

This is an example of the response JSON. Results will vary depending on your data.

null