Before you start
You need:- the shop’s API base URL, such as
https://your-shop.example/api/partner/v1, - a bearer token from the shop owner,
- the
partner.orders.readscope for the orders request.
Check your token
Callwhoami first. It confirms which key you are using, which scopes it carries, and which shop it belongs to.
401, check the token value. If it still fails, ask the shop to rotate the key.
Fetch recent orders
Request the first page of orders:has_more is false and links.next is null. When more results exist, follow links.next to fetch the next page.
Recipient and customer contact fields are null unless the token has partner.customers.pii. The request still succeeds with HTTP 200. The delivery address and assigned_florist are operational fields, always present so you can route and reconcile without the PII scope.
What’s next?
Authentication
Understand scopes, token rotation, and PII field nulling.
Pagination and filtering
Page through collections and poll with
filter[updated_since].