Create return shipment
Create and auto-send a return shipment from a dispatched outbound shipment with swapped sender/receiver. Requires a configured return shipping rule. The return is returned with the outcome of sending it: dispatched, or error with the carrier’s reasons in errors.
Authorizations
JWT access token or API token (prefixed with zipp_)
Path Parameters
Organization identifier.
"org_1a2b3c4d"
Shipment identifier.
"shp_4d9e7a2f"
Response
Default Response
Unique shipment identifier.
"shp_4d9e7a2f"
Customer-facing shipment reference.
"ORDER-1042"
Parties involved in the shipment (sender, receiver, etc.).
Direction of the shipment relative to the organization.
outbound, inbound "outbound"
Parcels included in the shipment.
Incoterm governing the shipment.
"DAP"
Carrier errors recorded for the shipment.
Lifecycle status of the shipment.
draft, pending, processing, dispatched, partly_dispatched, error, cancelled, on_hold "pending"
Owning organization identifier.
"org_1a2b3c4d"
Request/response logs captured during carrier interactions.
Chronological activity history of the shipment.
Timestamp when the shipment was created.
"2026-06-22T14:30:00.000Z"
Timestamp when the shipment was last updated.
"2026-06-22T14:30:00.000Z"
Sender address identifier.
"addr_7e8f9a0b"
Selected service point ID.
"sp_pn_4521"
Documents generated for the shipment (labels, invoices).
Associated order identifier.
"ord_5e6f7a8b"
Applied shipping rule identifier.
"rule_3c4d5e6f"
Printer assigned for labels on this shipment.
"prn_label_01"
Printer assigned for documents on this shipment.
"prn_doc_01"