At a glance
Before you call
Register your API credentials once when your app starts, as shown in Authentication. Every SDK sample on these pages then gets its client in one line. With cURL, send the access token in anAuthorization header: Authorization: Bearer $ACCESS_TOKEN.
Things to know
- Send the body under
account. Name the account byidand nest the order underaccount.order. - The order is created active. The new order’s
statusisactive, and one invoice is raised for it straight away. - The response comes back under
express. It holds the order as Retrieve an order returns it, includinglines,kpisandbilling_preferences. - Each line names an item by
item_id.item_price_snapshot.pricing_rule.pricesets the line’s price, andtax_exempt_when_soldremoves tax from the line.