Skip to main content
Build a packing station or fulfillment screen on top of the same order actions as the workspace Orders page. The marketplace call runs in the background: you queue an action, then poll for its job.

Authentication

Actions

Not every marketplace supports every action, and each action is only available in some order statuses. Shopee labels need the order shipped first; Lazada labels need it packed. An unavailable action returns 400 with the reason.

1. Get the choices

Some actions need a choice from the marketplace, such as pickup or drop-off:
A choice with requiresInput: true needs extra fields, such as trackingNumber.

2. Queue the action

Send the chosen choice’s payload unchanged. The response is 202 with jobId. Sending the same idempotencyKey again returns 200 with the original job instead of calling the marketplace twice.

3. Poll the job

Returns the order’s 20 most recent jobs, newest first. status moves from queued to running, then succeeded, failed (see errorMessage), or not_supported. A succeeded labels job lists its files in labels:
Download or print the label from url. The latest successful label job stays in the list even after newer jobs.

SDK

Order changes also arrive as order webhooks.