Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

OrderWorkflow /UpdateGroup

Allows 150 calls per minute

Response: UpdateGroupResponse



Update group name, condition, list of actions

Parameters

NameTypeDescription
requestUpdateGroupRequestDefinition of updated fields of a specific group

Permissions

GlobalPermissions.OrderBook.Workflow.ConfigureWorkflowNode

Example Request

The following request format is required for this method.

Endpoint URL

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

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={
  "GroupId": 1,
  "Name": "sample string 2",
  "MaxOrderCount": 1,
  "Condition": {
    "Where": "sample string 1",
    "Inner": "sample string 2",
    "Sort": "sample string 3"
  },
  "Action": {
    "Actions": [
      "sample string 1"
    ]
  }
}

Response

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

{
  "Group": {
    "GroupId": 1,
    "LocationId": "56cfa128-85b5-4a09-9850-846128a3b96c",
    "Name": "sample string 3",
    "Prefix": "sam",
    "Seed": 5,
    "MaxOrderCount": 6,
    "Prevalence": 7,
    "JobCount": 8,
    "OrderCount": 9,
    "AttachmentCount": 10,
    "Condition": {
      "Where": "sample string 1",
      "Inner": "sample string 2",
      "Sort": "sample string 3"
    },
    "Action": {
      "Actions": [
        "sample string 1"
      ]
    },
    "HasAction": true
  }
}