List ShipMyOrders Invoices
GET/api/shipmyorders/v2/invoices
Lists imported ShipMyOrders invoices, newest first, with pagination.
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
- 200
- 401
- 403
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.