Partial update purchase (draft only)
Purchases
Partial update purchase (draft only)
PATCH
Partial update purchase (draft only)
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.
Path Parameters
Resource identifier.
Body
application/json
Supplier ID.
Purchase-document type ID.
Maximum string length:
100Available options:
%, $ Country-specific tax-agency configuration.
Response
200 - application/json
Updated purchase.
Supplier ID.
Purchase-document type ID.
Maximum string length:
100Available options:
%, $ Country-specific tax-agency configuration.
Available options:
draft, finalized 