Ship an Order Asynchronously and Poll the Parcel
A 2-step recipe with Sendcloud. We can help you get access.
Recipe · 2 steps
Ship an Order Asynchronously and Poll the Parcel
with Sendcloud
Works with AI assistants
Asynchronously label an order and poll the created parcel until labelled.
- Request a label for the order asynchronously, returning the created parcel ids without waiting for label generation.
- Retrieve the created parcel by id and branch on whether it has a tracking number yet, looping until the label has been generated.
What you'll need to have ready
- integrationId: The id of the integration the order belongs to.
- orderNumber: The order number to request a label for.
- shippingOptionCode: Shipping option code selecting carrier and method (e.g. postnl:standard).
- contractId: Optional direct carrier contract id to use.
For your developer
Arazzo workflow sendcloud:ship-order-async-poll-parcel, 2 operations: sc-public-v3-orders_labels-post-create_labels_async → sc-public-v2-scp-get-parcel_by_id. Specs on APIs.io.