Developers
API referenceReferenceInvoices

Sales Invoice - Delete External Status Message

Delete one external status message by ID. Use `message_id` values from `invoicing_sales_invoice_retrieve` (`external_status_messages`) for the same invoice.

DELETE
/v1/invoicing/{business_slug}/invoice/{invoice_id}/status_messages/{message_id}/

Path Parameters

business_slug*string

Business slug that scopes this request. If you do not have one yet, call common_accessible_businesses_list and pick a slug from the response.

invoice_id*integer

Identifier of the target sales invoice. If the ID is not known, use invoicing_sales_invoices_list with relevant filters and/or the search parameter to locate the sales invoice.

message_id*integer

Identifier of the target message. If the ID is not known, use the corresponding list endpoint with relevant filters and/or the search parameter to discover valid IDs.

Response Body

curl -X DELETE "https://example.com/v1/invoicing/string/invoice/0/status_messages/0/"
Empty