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

GET | 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": "8d2a3046-9a10-471e-b1ba-25b2ed9ebe05"
}

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": "2023-01-10T13:49:46.987246Z",
    "ExecutedByUser": "sample string 9",
    "ExecutionDate": "2023-01-10T13:49:46.987246Z",
    "JobAttachmentList": [
      {
        "AttachmentId": 1,
        "JobId": 2,
        "Type": 0,
        "URL": "sample string 3",
        "PrintedDate": "2023-01-10T13:49:46.987246+00:00",
        "User": "sample string 4"
      }
    ],
    "OrderList": [
      {
        "OrderId": "a3543e88-860c-4aaf-8c0e-5eade4e35bd0",
        "nOrderId": 2,
        "CustomerName": "sample string 3",
        "EmailAddress": "sample string 4"
      }
    ]
  }
}