Invoices

Use when cancelling an invoice (e.g. order cancelled or duplicate). Only unpaid invoices can be voided.

post/invoices/{id}/void

Request

  • Base URL
    https://us.api.flexprice.io/v1
  • URL
    https://us.api.flexprice.io/v1/invoices/{id}/void
  • Auth
    API key in header x-api-key

Path parameters

idstring required

Invoice ID

Response

OK

messagestring

Changes

    • warning

      added the new not_implemented enum value to the response property for the response status

    • warning

      added the new not_implemented enum value to the response property for the response status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      added the new too_many_requests enum value to the response property for the response status

    • warning

      added the new too_many_requests enum value to the response property for the response status