Skip to main content
POST
Legacy contract: confirm deployment before use. This page does not establish a provisioned public service. Check the dated host report and obtain a supported host and API version. New integrations should begin with the API directory or local commerce walkthrough.

Body

string
This is the ID of the invoice to be voided.

Response

number
Indicates whether the call was successful. 1 if successful, 0 if not.
This endpoint returns an acknowledgement rather than the affected resource. success is 1 when the write was applied and 0 when it was not — read the resource back if you need its new state.

Errors

Succeeds with 201. Failures return 400, 401, 403, 422 or 429 with an error body, per the platform status-code contract.
Last modified on September 21, 2026