curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.edi.stateset.com/v1/packing-slip/856/{partner_id}/pdf' \
--header "Authorization: Bearer $EDI_API_TOKEN" \
--header 'Content-Type: application/json' \
--data '{
"shipment_id": "SHIP-123",
"ship_date": "2026-10-20",
"carrier_scac": "UPSN",
"orders": [
{
"po_number": "PO-123",
"cartons": [
{
"sscc": "000123456000000012",
"items": [
{
"sku": "SKU-123",
"quantity": "3",
"sku_qualifier": "SK",
"uom": "EA"
}
]
}
]
}
]
}'
Same canonical 856 → ASN as [packing_slip_856], but streams the **native PDF**…
Packing slip as a native PDF
POST
/
v1
/
packing-slip
/
856
/
{partner_id}
/
pdf
curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.edi.stateset.com/v1/packing-slip/856/{partner_id}/pdf' \
--header "Authorization: Bearer $EDI_API_TOKEN" \
--header 'Content-Type: application/json' \
--data '{
"shipment_id": "SHIP-123",
"ship_date": "2026-10-20",
"carrier_scac": "UPSN",
"orders": [
{
"po_number": "PO-123",
"cartons": [
{
"sscc": "000123456000000012",
"items": [
{
"sku": "SKU-123",
"quantity": "3",
"sku_qualifier": "SK",
"uom": "EA"
}
]
}
]
}
]
}'
Path parameters
string
required
Partner ID
Request body
Asn856
string,null
REF*BM — bill of lading.
string,null
TD503 — Standard Carrier Alpha Code.
AsnOrder[]
required
Show AsnOrder
Show AsnOrder
AsnPack[]
Carton/pack level: each carton carries an SSCC-18 (emitted as
HL*…*P with MAN*GM) and the items packed in it. When non-empty, the ASN uses the S→O→P→I hierarchy retailers like QVC require, and items is ignored.AsnItem[]
AsnPallet[]
Pallet (tare) level: each pallet carries its own SSCC-18 (emitted as
HL*…*T with MAN*GM) and the cartons stacked on it, giving the S→O→T→P→I hierarchy. Pallets are emitted before any loose cartons (cartons shipped under the order without a pallet). When non-empty, items is ignored. Empty by default, so existing payloads (and their wire output) are unchanged.string
required
PRF01 — the buyer’s PO number this shipment fulfills.
integer,null (int32)
TD101 / TD102 — packaging code and lading quantity (e.g. CTN25 × 3). Minimum:
0.string (date)
required
Party,null
An N1 party loop (N1/N2/N3/N4).
string,null
HHMM; defaults to 0000 on the wire when absent.
Party,null
An N1 party loop (N1/N2/N3/N4).
string
required
BSN02 — shipment identification.
string,null
REF*CN — carrier pro / tracking number.
string,null
TD504 — transportation method (M motor, A air, …).
string,null
TD107/TD108 — total weight and unit.
string,null
Response
No response body. Packing slip as a native PDF.Status codes
| Code | Meaning |
|---|---|
200 | Packing slip as a native PDF |
403 | Not this credential’s partner |
422 | Invalid ASN payload |
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/packing-slip/856/{partner_id}/pdf' \
--header "Authorization: Bearer $EDI_API_TOKEN" \
--header 'Content-Type: application/json' \
--data '{
"shipment_id": "SHIP-123",
"ship_date": "2026-10-20",
"carrier_scac": "UPSN",
"orders": [
{
"po_number": "PO-123",
"cartons": [
{
"sscc": "000123456000000012",
"items": [
{
"sku": "SKU-123",
"quantity": "3",
"sku_qualifier": "SK",
"uom": "EA"
}
]
}
]
}
]
}'
Last modified on October 20, 2026