Skip to main content

List ShipMyOrders Invoices

GET 

/api/shipmyorders/v2/invoices

Lists imported ShipMyOrders invoices, newest first, with pagination.

Not yet available to API tokens

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

Per row: id, invoice_number, date (invoice date, Y-m-d), total, processed_at (ISO 8601 or null), is_processed, is_archived and lines_count. Use Get ShipMyOrders Invoice for the lines.

Filters (all optional): filter[search] (invoice number, line reference/description, matched sales order number), filter[processed] (1/0), filter[archived] (1 = archived only; anything else, including the default, = active only), filter[date_from] / filter[date_to] (m/d/Y; malformed dates are ignored).

Sorts: id, date, total, processed_at (prefix with - for descending; default -id).

Pagination: page, per_page (default 10).

Authentication: Bearer token (Personal Access Token).

Request​

Responses​

OK

Response Headers
    Content-Type