Skip to main content
PUT
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.

Body

application/json
approval_threshold
string | null
required

At or above this total, a second person approves; null means never.

Pattern: ^\d{1,20}(\.\d{1,20})?$
over_receipt_percent
string

How far past an order line's quantity a receipt may go, in percent, up to 100. Left out, it stays as it is.

Maximum string length: 100
Pattern: ^\d{1,3}(\.\d{1,4})?$
certificate_warning_days
integer

How many days ahead a supplier certificate counts as expiring soon, 1 to 365. Left out, it stays as it is.

Required range: 1 <= x <= 365

Response

PurchasingSettingsResource

data
PurchasingSettingsResource · object
required