Skip to main content

Bulk Archive Vendor Credits

PUT 

/api/vendor-credits/archive

Bulk archive vendor credits.

Required scope: accounting:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Body (either form):

{ "ids": [1, 2, 3] }

or apply-to-all with filters:

{ "apply_to_all": true, "filters": { "supplier_id": 5 } }

Request

Responses

Successful response