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=41687878-02da-44d1-8eef-4aa6fbd07341&info={
  "Subtotal": 2.1,
  "PostageCost": 3.1,
  "PostageCostExTax": 4.1,
  "Tax": 5.1,
  "TotalCharge": 6.1,
  "PaymentMethod": "sample string 7",
  "PaymentMethodId": "c2713856-cbb9-487b-ab2d-5071343e067a",
  "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