Read an Alza order
orderRetrieve an Alza user's order details, including parts, tracking milestones, and invoice references, to check status or gather IDs for post-order payments.
Instructions
Read an authenticated user's Alza order: lines, parts, milestones/tracking, and invoice document references; with part_id, the part detail as well. Use to check order status, delivery tracking, or to collect the order/part ids needed by after_order_payments/pay_after_order. user_flag 0/1 selects the order scope exactly as the mobile app does. Requires a loaded mobile API access token — check account_status first; if none is loaded, run auth_start, have the user complete the browser sign-in, then auth_exchange with the returned code and state. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| part_id | No | Order part id for the part detail read. Omit for the whole order. | |
| order_id | Yes | The order id to read. | |
| user_flag | No | Order scope selector, 0/1, exactly as the mobile app sends it. Default 0. | |
| initial_created | No | Include the initial-creation view of the order. Default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| err | No | ||
| msg | No | ||
| data | No |