Skip to main content

Bulk Unprocess ShipMyOrders Invoices

POST 

/api/shipmyorders/invoices/unprocess

Unprocesses several ShipMyOrders invoices. Unprocessing removes the cost lines processing added to sales orders, clears the matched fulfillment and processed_at on each line and on the invoice. Nominal codes stay. Unprocessing an invoice that is not processed changes nothing.

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).

Returns the invoices. Lines (items) are not included in this response.

Requires the integrations.update permission.

Authentication: Bearer token (Personal Access Token).

Request​

Responses​

OK

Response Headers
    Content-Type