Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

OrderWorkflow /DeallocateOrderFromJob

Allows 150 calls per minute

Response: DeallocateOrderFromJobResponse



Remove order from a job

Parameters

NameTypeDescription
requestDeallocateOrderFromJobRequest

Permissions

GlobalPermissions.OrderBook.Workflow.ManualModifyJobOrdersNode

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/OrderWorkflow/DeallocateOrderFromJob

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.

request={
  "JobId": 1,
  "OrderId": "0a5c0507-dc1f-40a9-8193-b223332d5765"
}

Response

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

{
  "Job": {
    "JobId": 1,
    "GroupId": 2,
    "Name": "sample string 3",
    "Status": "PENDING",
    "OrderCount": 4,
    "AttachmentCount": 5,
    "IsError": true,
    "IsAllPrinted": true,
    "CreatedDate": "2021-07-29T09:24:14.4867452Z",
    "ExecutedByUser": "sample string 9",
    "ExecutionDate": "2021-07-29T09:24:14.4867452Z",
    "JobAttachmentList": [
      {
        "AttachmentId": 1,
        "JobId": 2,
        "Type": 0,
        "URL": "sample string 3",
        "PrintedDate": "2021-07-29T09:24:14.4867452+01:00",
        "User": "sample string 4"
      }
    ],
    "OrderList": [
      {
        "OrderId": "3e9cb985-c6c0-41a0-8663-56a87196ff7c",
        "nOrderId": 2,
        "CustomerName": "sample string 3",
        "EmailAddress": "sample string 4"
      }
    ]
  }
}