curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.edi.stateset.com/v1/edi/outbound/855/{partner_id}' \
--header "Authorization: Bearer $EDI_API_TOKEN" \
--header "Idempotency-Key: ${IDEMPOTENCY_KEY:?Set a unique key for this operation; preserve it on retries}" \
--header 'Content-Type: application/json' \
--data '{
"ack_date": "2026-08-31",
"ack_type": "string",
"lines": [
{
"ids": [
{
"qualifier": "string",
"value": "49.00"
}
],
"line_number": "string",
"quantity": "2",
"status": "pending",
"status_quantity": "string",
"unit_price": "49.00",
"uom": "string"
}
],
"po_date": "2026-08-31",
"po_number": "ORD-10042"
}'
855
Wire-ready X12 855 interchange
POST
/
v1
/
edi
/
outbound
/
855
/
{partner_id}
curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.edi.stateset.com/v1/edi/outbound/855/{partner_id}' \
--header "Authorization: Bearer $EDI_API_TOKEN" \
--header "Idempotency-Key: ${IDEMPOTENCY_KEY:?Set a unique key for this operation; preserve it on retries}" \
--header 'Content-Type: application/json' \
--data '{
"ack_date": "2026-08-31",
"ack_type": "string",
"lines": [
{
"ids": [
{
"qualifier": "string",
"value": "49.00"
}
],
"line_number": "string",
"quantity": "2",
"status": "pending",
"status_quantity": "string",
"unit_price": "49.00",
"uom": "string"
}
],
"po_date": "2026-08-31",
"po_number": "ORD-10042"
}'
Path parameters
string
required
Partner ID
Headers
string,null
Stable unique request key (1–128 ASCII letters/digits or -_.:). Requires Postgres. Retries return the original EDI bytes; changed JSON payload returns 409.
Request body
Ack855
string (date)
required
string
BAK02 acknowledgment type: AC accept, AD accept with detail, AK acknowledge no detail, RJ reject.
AckLine[]
required
string,null (date)
string
required
Response
No response body. Wire-ready X12 855 interchange.Status codes
| Code | Meaning |
|---|---|
200 | Wire-ready X12 855 interchange |
403 | Not this credential’s partner |
409 | Idempotency-Key reused with a different payload |
422 | Invalid payload or delimiter collision, or blocked by the partner’s outbound compliance policy (issues in error.issues). Sent documents carry X-EDI-Compliance-Warnings with the pre-send issue count |
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.edi.stateset.com/v1/edi/outbound/855/{partner_id}' \
--header "Authorization: Bearer $EDI_API_TOKEN" \
--header "Idempotency-Key: ${IDEMPOTENCY_KEY:?Set a unique key for this operation; preserve it on retries}" \
--header 'Content-Type: application/json' \
--data '{
"ack_date": "2026-08-31",
"ack_type": "string",
"lines": [
{
"ids": [
{
"qualifier": "string",
"value": "49.00"
}
],
"line_number": "string",
"quantity": "2",
"status": "pending",
"status_quantity": "string",
"unit_price": "49.00",
"uom": "string"
}
],
"po_date": "2026-08-31",
"po_number": "ORD-10042"
}'
Last modified on October 20, 2026