Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

For your own scripts and server-to-server integrations. Create a key in the app under Settings > Access > API keys and copy it then, because it is shown once. Send it as Authorization: Bearer <key>. The key acts as the member who made it, in the organization it was made in. A call needs the member's permission and one of the key's scopes, such as inventory:read or sales:write. A key with * has every scope.

Path Parameters

order
string
required

Body

application/json

Why a purchase order that asked for approval is sent back.

reason
string
required

Why the draft is sent back, shown on it until approval is asked for again.

Maximum string length: 1000

Response

PurchaseOrderResource

data
PurchaseOrderResource · object
required