Partial update purchase credit note (draft only)
Purchase credit notes
Partial update purchase credit note (draft only)
PATCH
Partial update purchase credit note (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
Credit note that adjusts (or fully cancels) a purchase.
Purchase ID being adjusted.
Credit-note document type.
Maximum string length:
64Maximum string length:
1024Available options:
%, $ Response
200 - application/json
Updated credit note.
Credit note that adjusts (or fully cancels) a purchase.
Purchase ID being adjusted.
Credit-note document type.
Maximum string length:
64Maximum string length:
1024Available options:
%, $ Available options:
draft, finalized, cancelled 