Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

Orders /SetOrderGeneralInfo

Allows 250 calls per minute

Response: Task



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=87606902-c4c1-418b-9d9b-824eb3230e4c&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": "bac0b8f6-2413-4fb3-9726-454d8ce09bfb",
      "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": "2022-03-09T13:04:02.7291938+00:00",
  "Source": "sample string 14",
  "SubSource": "sample string 15",
  "SiteCode": "sample string 16",
  "HoldOrCancel": true,
  "DespatchByDate": "2022-03-09T13:04:02.7291938+00:00",
  "ScheduledDelivery": {
    "From": "2022-03-09T13:04:02.7291938+00:00",
    "To": "2022-03-09T13:04:02.7291938+00:00"
  },
  "HasScheduledDelivery": true,
  "Location": "132ec673-6dd2-412b-a659-6564e009b437",
  "NumItems": 20,
  "PickwaveIds": [
    1
  ],
  "StockAllocationType": 0
}&wasDraft=true

Response

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

null