Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

Orders /SetOrderTotalsInfo

Allows 150 calls per minute

Response: Void



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

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=b12030a4-8bc6-4636-8cf1-a9fb94dc2ab7&info={
  "Subtotal": 2.1,
  "PostageCost": 3.1,
  "Tax": 4.1,
  "TotalCharge": 5.1,
  "PaymentMethod": "sample string 6",
  "PaymentMethodId": "65d9282d-afb1-4b79-89d0-268bd68c0601",
  "ProfitMargin": 8.1,
  "TotalDiscount": 9.1,
  "Currency": "sample string 10",
  "CountryTaxRate": 11.1,
  "ConversionRate": 12.1
}

Response

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