curl --silent --show-error --fail-with-body --request POST \
--url 'https://edi.stateset.com/v1/edi/outbound/846/{partner_id}' \
--header "Authorization: Bearer $STATESET_EDI_API_KEY" \
--header 'Content-Type: application/json' \
--data @inventory-advice.json
"string"
Send inventory advice (846)
Build and dispatch an X12 846 inventory advice. Save the payload validated for your trading partner as inventory-advice.json and use that partner’s identifier…
POST
/
v1
/
edi
/
outbound
/
846
/
{partner_id}
curl --silent --show-error --fail-with-body --request POST \
--url 'https://edi.stateset.com/v1/edi/outbound/846/{partner_id}' \
--header "Authorization: Bearer $STATESET_EDI_API_KEY" \
--header 'Content-Type: application/json' \
--data @inventory-advice.json
"string"
Build and dispatch an X12 846 inventory advice. Save the payload validated for your trading partner as inventory-advice.json and use that partner’s identifier. The successful response is wire-ready X12, not JSON; dispatch and partner acceptance require separate verification.
Path parameters
string
required
Partner ID
Request body
InventoryAdvice846
string (date)
BIA04.
InventoryItem[]
required
Show InventoryItem
Show InventoryItem
string
PID05 of the F-format description, when present.
ProductId[]
required
string
LIN01 — assigned line number (optional in the spec).
InventoryQuantity[]
required
QTY segments for this item, one per reported quantity kind.
Party[]
string
required
BIA01 — transaction set purpose (00 original, 05 replace, …).
string
required
BIA03 — the sender’s reference identification for this report.
string
required
BIA02 — report type code (e.g.
PQ product activity, SI current summary inventory).Response
Returnsapplication/edi-x12 — Wire-ready X12 846 interchange.
Status codes
| Code | Meaning |
|---|---|
200 | Wire-ready X12 846 interchange |
403 | Not this credential’s partner |
422 | Invalid payload or delimiter collision |
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://edi.stateset.com/v1/edi/outbound/846/{partner_id}' \
--header "Authorization: Bearer $STATESET_EDI_API_KEY" \
--header 'Content-Type: application/json' \
--data @inventory-advice.json
"string"
Last modified on September 21, 2026