OAuth
Use platform: "lazada" with the shop region. Live API keys and an active subscription are required for production shops.
Orders
Orders sync through reconciliation and Lazada push notifications. Illegal status jumps are ignored; only forward transitions in the Ongapi state machine are stored.
Field notes
shipping_address.country comes from the Lazada shipping address when available. shipping_address.state uses address2 when Lazada sends it. totals.discount uses voucher when present, otherwise voucher_seller plus voucher_platform.
fulfillment.tracking_number and shipping_provider come from order/items/get when Lazada returns tracking_code on a line. If the partner app cannot call that API, both stay null.
Write APIs
Ship, shipping labels, warehouses, and inventory use the shared /v1 write routes in Orders and events. Mock connections succeed. Live Lazada calls pack/RTS, AWB, warehouse, and stock APIs. Missing scopes return capability_unsupported until the seller re-authorizes.