curl --request POST \
--url 'https://edi.stateset.com/v1/packing-slip/856/{partner_id}' \
--header "Authorization: Bearer $STATESET_EDI_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"bol_number": "string",
"carrier_scac": "string",
"orders": [
{
"cartons": [],
"items": [],
"po_number": "ORD-10042"
}
],
"packages": 1,
"ship_date": "2026-08-31",
"ship_from": {
"address_lines": [
"548 Market St"
],
"city": "San Francisco",
"country": "US",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"id_qualifier": "string",
"name": "Two-Person Tent",
"postal_code": "94107",
"role": "string",
"state": "CA"
},
"ship_time": "2026-08-31T14:22:05Z",
"ship_to": {
"address_lines": [
"548 Market St"
],
"city": "San Francisco",
"country": "US",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"id_qualifier": "string",
"name": "Two-Person Tent",
"postal_code": "94107",
"role": "string",
"state": "CA"
},
"shipment_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"tracking_number": "1Z999AA10123456784",
"transport_method": "string",
"weight": "string",
"weight_uom": "string"
}'
Generates a packing slip (printable HTML + ZPL summary label) from an 856
ASN body, bound to the shipment → order → pack → item hierarchy…
POST
/
v1
/
packing-slip
/
856
/
{partner_id}
curl --request POST \
--url 'https://edi.stateset.com/v1/packing-slip/856/{partner_id}' \
--header "Authorization: Bearer $STATESET_EDI_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"bol_number": "string",
"carrier_scac": "string",
"orders": [
{
"cartons": [],
"items": [],
"po_number": "ORD-10042"
}
],
"packages": 1,
"ship_date": "2026-08-31",
"ship_from": {
"address_lines": [
"548 Market St"
],
"city": "San Francisco",
"country": "US",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"id_qualifier": "string",
"name": "Two-Person Tent",
"postal_code": "94107",
"role": "string",
"state": "CA"
},
"ship_time": "2026-08-31T14:22:05Z",
"ship_to": {
"address_lines": [
"548 Market St"
],
"city": "San Francisco",
"country": "US",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"id_qualifier": "string",
"name": "Two-Person Tent",
"postal_code": "94107",
"role": "string",
"state": "CA"
},
"shipment_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"tracking_number": "1Z999AA10123456784",
"transport_method": "string",
"weight": "string",
"weight_uom": "string"
}'
ASN body, bound to the shipment → order → pack → item hierarchy. Emits a
signed
edi.packing_slip.generated VES event so the artifact is
reproducible and auditable.
Path parameters
string
required
Partner ID
Request body
Asn856
string
REF*BM — bill of lading.
string
TD503 — Standard Carrier Alpha Code.
AsnOrder[]
required
integer (int32)
TD101 / TD102 — packaging code and lading quantity (e.g. CTN25 × 3).
string (date)
required
object
string
HHMM; defaults to 0000 on the wire when absent.
object
string
required
BSN02 — shipment identification.
string
REF*CN — carrier pro / tracking number.
string
TD504 — transportation method (M motor, A air, …).
string
TD107/TD108 — total weight and unit.
string
Response
No response body. Packing slip (structured + HTML + ZPL).Status codes
| Code | Meaning |
|---|---|
200 | Packing slip (structured + HTML + ZPL) |
403 | Not this credential’s partner |
422 | Invalid ASN payload |
curl --request POST \
--url 'https://edi.stateset.com/v1/packing-slip/856/{partner_id}' \
--header "Authorization: Bearer $STATESET_EDI_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"bol_number": "string",
"carrier_scac": "string",
"orders": [
{
"cartons": [],
"items": [],
"po_number": "ORD-10042"
}
],
"packages": 1,
"ship_date": "2026-08-31",
"ship_from": {
"address_lines": [
"548 Market St"
],
"city": "San Francisco",
"country": "US",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"id_qualifier": "string",
"name": "Two-Person Tent",
"postal_code": "94107",
"role": "string",
"state": "CA"
},
"ship_time": "2026-08-31T14:22:05Z",
"ship_to": {
"address_lines": [
"548 Market St"
],
"city": "San Francisco",
"country": "US",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"id_qualifier": "string",
"name": "Two-Person Tent",
"postal_code": "94107",
"role": "string",
"state": "CA"
},
"shipment_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"tracking_number": "1Z999AA10123456784",
"transport_method": "string",
"weight": "string",
"weight_uom": "string"
}'
Last modified on August 31, 2026