Create purchase (draft)
Purchases
Create purchase (draft)
POST
Create purchase (draft)
Authorizations
Use header Authorization: Token <api_token>.
API tokens are obtained from the Piriod dashboard.
Headers
Workspace (account) identifier. Required for every request.
Whether to operate against test-mode data. Defaults to false.
Body
application/json
Supplier ID.
Purchase-document type ID.
Maximum string length:
100Available options:
%, $ Country-specific tax-agency configuration.
Response
Purchase created.
Supplier ID.
Purchase-document type ID.
Maximum string length:
100Available options:
%, $ Country-specific tax-agency configuration.
Available options:
draft, finalized 