Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

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": "d38ade1d-4e23-4699-add2-75c441bddc5c"
}

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": "2022-03-09T13:04:03.9747092Z",
    "ExecutedByUser": "sample string 9",
    "ExecutionDate": "2022-03-09T13:04:03.9747092Z",
    "JobAttachmentList": [
      {
        "AttachmentId": 1,
        "JobId": 2,
        "Type": 0,
        "URL": "sample string 3",
        "PrintedDate": "2022-03-09T13:04:03.9747092+00:00",
        "User": "sample string 4"
      }
    ],
    "OrderList": [
      {
        "OrderId": "3aa1f697-ff27-47f1-a580-920527f07639",
        "nOrderId": 2,
        "CustomerName": "sample string 3",
        "EmailAddress": "sample string 4"
      }
    ]
  }
}