Update group name, condition, list of actions
Name | Type | Description |
---|---|---|
request | UpdateGroupRequest | Definition of updated fields of a specific group |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/OrderWorkflow/UpdateGroup
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
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"
]
}
}
This is an example of the response JSON. Results will vary depending on your data.
{
"Group": {
"GroupId": 1,
"LocationId": "21f9d9fd-80fd-46b6-94ca-ff8d32f79a88",
"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
}
}