Skip to main content

Bulk Delete ShipMyOrders Invoices

DELETE 

/api/shipmyorders/invoices

Deletes several ShipMyOrders invoices and their lines. Processed invoices are unprocessed first, so the fulfillment cost lines they added to sales orders are removed too.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Body: ids (array of invoice ids, required, at least one; each must exist). Selecting by filters is not supported for ShipMyOrders invoices and returns 422.

Returns a summary message only.

Requires the integrations.update permission.

Authentication: Bearer token (Personal Access Token).

Request​

Responses​

OK

Response Headers
    Content-Type