curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.workstream.stateset.com/v1/workflows/wholesale-order/{workflow_id}/po-change' \
--header "x-api-key: $STATESET_TEMPORAL_API_KEY" \
--header 'Content-Type: application/json' \
--data @po-change.json
Wholesale order po change
Signal a PO change to an existing wholesale-order workflow. Save the complete payload expected by your workflow as po-change.json…
POST
/
v1
/
workflows
/
wholesale-order
/
{workflow_id}
/
po-change
curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.workstream.stateset.com/v1/workflows/wholesale-order/{workflow_id}/po-change' \
--header "x-api-key: $STATESET_TEMPORAL_API_KEY" \
--header 'Content-Type: application/json' \
--data @po-change.json
Signal a PO change to an existing wholesale-order workflow. Save the complete payload expected by your workflow as po-change.json. The handler accepts arbitrary JSON and forwards it to the apply_po_change signal; HTTP 202 means the signal was accepted, not that the order changed. Read workflow status and resulting records before considering the change complete.
Path parameters
Request body
object | any[] | string | number | boolean,null
Accepts any valid JSON value as the PO-change signal payload. The HTTP handler does not validate a fixed 860 schema; the running workflow interprets the value. Use the payload agreed with the workflow owner and preserve its source document identity.
Response
No response body. Accepted — 860 PO-change payload signalled to the wholesale-order workflow.Status codes
| Code | Meaning |
|---|---|
202 | Accepted — 860 PO-change payload signalled to the wholesale-order workflow. |
400 | Validation error |
401 | Unauthorized |
404 | Not found |
429 | Rate limited |
500 | Internal error |
Using this contract
Read the source OpenAPI document for declared schemas and alternatives. This page also includes documented corrections from the spec overlays. Example IDs and values are illustrative; replace them with records from your workspace.curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.workstream.stateset.com/v1/workflows/wholesale-order/{workflow_id}/po-change' \
--header "x-api-key: $STATESET_TEMPORAL_API_KEY" \
--header 'Content-Type: application/json' \
--data @po-change.json
Last modified on September 21, 2026