read
automation
The store’s promotions (time-bounded sales), newest first, with their ids: name, status (draft, scheduled, active, pause
Changed onThe 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 URLhttps://app.magistry.io
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://app.magistry.io/api/oauth/authorizeToken URLhttps://app.magistry.io/api/oauth/tokenScopesautomation: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_allowedenum value to theerrorresponse property for the response status - warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status - warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status
11 more changes in this revision
- warning