Skip to main content

Archive ShipMyOrders Invoice

PUT 

/api/shipmyorders/invoices/:id/archive

Archives one ShipMyOrders invoice, hiding it from the default invoice list. Archiving does not unprocess it.

Not yet available to API tokens

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

If the invoice is already archived the call still succeeds (HTTP 200) with status: warning and code ShipMyOrdersInvoiceIsAlreadyArchived under warnings.id.

No body. Returns the invoice in the same shape as Get ShipMyOrders Invoice.

Requires the integrations.update permission.

Authentication: Bearer token (Personal Access Token).

Request​

Responses​

OK

Response Headers
    Content-Type