Create shipment
Persist a new shipment attached to an existing Order. The shipment is created with shippingStatus: awaiting and is NOT booked with the carrier unless you set autoBook: true.
When to set autoBook: true — only when you already have all sender/delivery/package details and want to immediately request pickup with KiriminAja or RideBlitz. For GoSend the auto-book flag is accepted but no outbound call is made (GoSend booking happens via the Gojek pickup flow in the merchant app).
If the carrier booking fails, the shipment row is still persisted; the response returns a 400 with both data (the persisted row) and error (the booking failure reason) so you can decide whether to retry via POST /shipping/shipments/{id}/cancel followed by a fresh create.

