read
automation

The store’s promotions (time-bounded sales), newest first, with their ids: name, status (draft, scheduled, active, pause

Changed on

The store’s promotions (time-bounded sales), newest first, with their ids: name, status (draft, scheduled, active, paused, ended, archived), discount, window, and where each came from. Filter by status. Pages with cursor. Read-only.

post/api/v1/tools/promotion_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
      Scopesautomation:read

Request body

object required
status, string[]
cursor, string

The page.next_cursor of the previous page.

limit, integer

Rows per page (default 50).

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