curl --request POST \
--url 'https://api.workstream.stateset.com/v1/workflows/wholesale-order/{workflow_id}/cancel' \
--header "x-api-key: $STATESET_TEMPORAL_API_KEY" \
--header 'Content-Type: application/json' \
--data '{}'
Wholesale order cancel
Accepted — cancellation requested for the wholesale-order workflow.
POST
/
v1
/
workflows
/
wholesale-order
/
{workflow_id}
/
cancel
curl --request POST \
--url 'https://api.workstream.stateset.com/v1/workflows/wholesale-order/{workflow_id}/cancel' \
--header "x-api-key: $STATESET_TEMPORAL_API_KEY" \
--header 'Content-Type: application/json' \
--data '{}'
Path parameters
string (string)
required
Request body
JSON body of typeGenericObject.
Response
No response body. Accepted — cancellation requested for the wholesale-order workflow.Status codes
| Code | Meaning |
|---|---|
202 | Accepted — cancellation requested for the wholesale-order workflow. |
400 | Validation error |
401 | Unauthorized |
404 | Not found |
429 | Rate limited |
500 | Internal error |
curl --request POST \
--url 'https://api.workstream.stateset.com/v1/workflows/wholesale-order/{workflow_id}/cancel' \
--header "x-api-key: $STATESET_TEMPORAL_API_KEY" \
--header 'Content-Type: application/json' \
--data '{}'
Last modified on August 31, 2026