Assigns multiple orders to workflows using order-to-workflow mappings.
Pass order-to-workflow mappings as query parameters.
Example: /workflow?1=100&2=200&3=300
where each query parameter name is an order ID and its value is the corresponding workflow ID.
POST
/api-v1/orders/workflow
curl \
--request POST 'https://wyzio.app/api-v1/orders/workflow'
Response examples (200)
{
"items": [
{
"errorCode": {
"errorCode": "NO_ERROR",
"errorDetailValues": [
{
"errorCode": "string",
"fieldName": "string",
"data": "string",
"isSevere": true
}
]
},
"possibleWorkflows": [
{
"id": 42,
"name": "string"
}
],
"error": true,
"severeError": true
}
]
}