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=6c47969e-f0c5-44bd-8da1-1a16ab1811ec&info={
  "Subtotal": 2.1,
  "PostageCost": 3.1,
  "PostageCostExTax": 4.1,
  "Tax": 5.1,
  "TotalCharge": 6.1,
  "PaymentMethod": "sample string 7",
  "PaymentMethodId": "59cd94ac-a866-4e51-9137-e14def2c3a5b",
  "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