Shipping
AI agents: read /llms.txt; add .md to any page URL. This page as Markdown: /how-yoprint-works/shipping.md. Index of every page and the rules for every call: /llms.txt. Guides and concepts in one file: /llms-full.txt. OpenAPI: /openapi.json.
A shipment sends some or all of a sales order’s goods to one address. Its goods go out under carrier labels, and each label makes one package per parcel. In the web app they’re under Production: All Shipments and All Packages, and each order lists its own.
What a shipment holds
Section titled “What a shipment holds”- Sales order
- Shipment to one address, with a shipment status
- Ship to: one of the customer’s shipping addresses, and the contact who receives it
- Ship from: the customer’s brand profile, or the shop’s location
- Lines: how many of each order line go in this shipment
- Label, bought through GoShippo or recorded from elsewhere
- Package, one per parcel, with its size, weight, tracking number and cost
- Shipping cost line, what the labels cost
- Shipment to one address, with a shipment status
A shipment line points at an order line, with a quantity: some or all of it. A brand profile lets a shop ship under a customer’s own name and return address.
How a shipment goes out
Section titled “How a shipment goes out”- Create the shipmentFor one address on the order
- Add the linesSome or all of each order line
- Get rates for your boxesOne parcel per box, with its size and weight
- Buy or record a labelThrough GoShippo, or one bought elsewhere with its tracking number. It makes the packages, one per parcel
- Ship itMove the shipment to an end status, such as “Shipped / Picked up”
There’s no other way to make a package: packages come from labels. Buying a label through GoShippo needs a published sales order. Recording one bought elsewhere works on any sales order, but not on a quote. Removing a package asks GoShippo to void and refund its label: GoShippo or the carrier can refuse, and YoPrint doesn’t report a refusal.
Statuses
Section titled “Statuses”A shipment’s status is the team’s own, like every status. Here are the ones a new team starts with:
- startPending
- in_progressReady to ship, Shipment packed, In backorder
- endShipped / Picked up
Separately, YoPrint works out whether all the jobs behind a shipment’s lines have reached an end status, so the shipment can go. On an order synced from Shopify, changing the shipment’s status can fulfil the order in Shopify. Every status change fires shipment.status_changed, the only shipment event.
How shipping is charged
Section titled “How shipping is charged”- LabelIts cost is in the package’s
charges - Shipping cost lineOn the shipment, added when the label is bought, if you ask
- Shipping feeBilled on an invoice. With Auto Invoice, the cost reaches the order’s invoice by itself
A multi-parcel label is priced as one: every package of it carries the label’s full cost in charges, so read the master package’s, and don’t add them up.
Paperwork
Section titled “Paperwork”A shipment prints a packing slip, and its packages print labels, one by one or merged into a single PDF.
