Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

Orders /SetOrderGeneralInfo

Allows 250 calls per minute

Response: Void



Update the general info of a specific order

Parameters

NameTypeDescription
orderIdGuidOrder id
infoOrderGeneralInfoGeneral info
wasDraftBooleanIndicate if the order was a draft before this operation

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/Orders/SetOrderGeneralInfo

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=68627cf3-d364-44d3-9cf7-c2ec33b3c8df&info={
  "Status": 1,
  "LabelPrinted": true,
  "LabelError": "sample string 3",
  "InvoicePrinted": true,
  "PickListPrinted": true,
  "IsRuleRun": true,
  "Notes": 7,
  "PartShipped": true,
  "Marker": 64,
  "IsParked": true,
  "Identifiers": [
    {
      "IdentifierId": 1,
      "IsCustom": true,
      "ImageId": "2f37815f-2a7e-4e08-b3f0-bb9ba58c8866",
      "ImageUrl": "sample string 4",
      "Tag": "sample string 5",
      "Name": "sample string 6"
    }
  ],
  "ReferenceNum": "sample string 10",
  "SecondaryReference": "sample string 11",
  "ExternalReferenceNum": "sample string 12",
  "ReceivedDate": "2021-07-29T09:24:12.79612+01:00",
  "Source": "sample string 14",
  "SubSource": "sample string 15",
  "SiteCode": "sample string 16",
  "HoldOrCancel": true,
  "DespatchByDate": "2021-07-29T09:24:12.7971199+01:00",
  "ScheduledDelivery": {
    "From": "2021-07-29T09:24:12.7971199+01:00",
    "To": "2021-07-29T09:24:12.7971199+01:00"
  },
  "HasScheduledDelivery": true,
  "Location": "a8917cd6-5747-4dd0-b14e-d5b4bfa56ff0",
  "NumItems": 20,
  "PickwaveIds": [
    1
  ],
  "StockAllocationType": 0
}&wasDraft=true

Response

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