read
promotions

Fetch a single promotion with its targeted product/variant list, discount terms, schedule, and status. Use when the user

Changed on

Fetch a single promotion with its targeted product/variant list, discount terms, schedule, and status. Use when the user references a specific promotion or asks what products are in a campaign.

post/api/v1/tools/get_promotion_detail

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
      Scopespromotions:read

Request body

object required
promotion_id, string uuid required

UUID of the promotions row.

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