Back

Search

Search

Methods

Inventory

Orders

Orders /SetOrderGeneralInfo

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

HTTP Endpoint

Server /Orders / SetOrderGeneralInfo

Permissions


Example Code

Example Request

The following request format is required for this method.

POST https://eu-ext.linnworks.net//api/Orders/SetOrderGeneralInfo HTTP/1.1
Host: eu-ext.linnworks.net
Connection: keep-alive
Accept: application/json, text/javascript, */*; q=0.01
Origin: https://www.linnworks.net
Accept-Language: en
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.90 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: https://www.linnworks.net/
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

orderId=db610739-529d-40ce-9ace-12d1571a8260&info={
  "Status": 1,
  "LabelPrinted": true,
  "LabelError": "sample string 3",
  "InvoicePrinted": true,
  "PickListPrinted": true,
  "IsRuleRun": true,
  "Notes": 7,
  "PartShipped": true,
  "Marker": 64,
  "ReferenceNum": "sample string 9",
  "SecondaryReference": "sample string 10",
  "ExternalReferenceNum": "sample string 11",
  "ReceivedDate": "2018-02-19T16:57:06.4414191+00:00",
  "Source": "sample string 13",
  "SubSource": "sample string 14",
  "SiteCode": "sample string 15",
  "HoldOrCancel": true,
  "DespatchByDate": "2018-02-19T16:57:06.4419206+00:00",
  "Location": "70e79104-42e7-4459-bace-90c799885ad1",
  "NumItems": 19
}&wasDraft=true

Response

This is an example response. Results may vary depending on your data.

null