read
orders

Every order of this store (Shopify and marketplace; test and deleted orders excluded), newest first, with the Orders pag

Changed on

Every order of this store (Shopify and marketplace; test and deleted orders excluded), newest first, with the Orders page's search and filters: search matches order name or number, customer name or e-mail and the marketplace order id; financial_status / fulfillment_status match Shopify's status (e.g. paid, refunded, unfulfilled); tracking is a carrier status (in_transit, delivered, …), problem (late or stuck), exception or none; has_mail keeps orders whose customer wrote to support. Each row carries its tracking summary. Paged by cursor: pass page.next_cursor back as cursor while page.has_more is true. With tracking or has_mail a page can hold fewer than limit orders (those filters run on each page read) — keep paging while has_more is true.

post/api/v1/tools/orders_list

Request

  • Base URL
    https://app.magistry.io
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://app.magistry.io/api/oauth/authorize
      Token URLhttps://app.magistry.io/api/oauth/token
      Scopesorders:read

Request body

object required
search, string
financial_status, string

e.g. paid, pending, refunded, partially_refunded.

fulfillment_status, string

e.g. fulfilled, unfulfilled, partial.

tracking, string

One of problem, exception, none, in_transit, delivered, out_for_delivery, pending (or another carrier status).

has_mail, boolean
limit, integer

Page size, default 25.

cursor, string

The page.next_cursor of the previous page.

Response

Tool result

object required
ok, boolean required
result, unknown required

Changes

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    11 more changes in this revision