GET

https://prod01-apigw.{customer_name}.fabric.zone

/
api-price
/
promo
/
{promoId}

Headers

x-site-context
string
required

The x-site-context header is a JSON object that contains information about the source you wish to pull from. The mandatory account is the 24 character identifier found in Copilot. The channel (Sales channel ID), stage (environment name), and date attributes can be used to further narrow the scope of your data source.

Path Parameters

promoId
string
required

Get promotions based on promotion ID

Response

200 - application/json
_id
string

The 24 character system-generated ID (for internal use only).

promoCodes
string[]

The promotional codes.

state
enum<string>

The state of the promotion.

Available options:
SCHEDULED,
ACTIVE,
DISABLED,
EXPIRED
isImplicit
boolean

True indicates that the promo is a coupon and False indicates promotion.

isExclusive
boolean

True indicates that coupon is non-stackable and False indicates stackable.

title
string

The title of the promotion.

startDate
string

The promotion start date and time, in ISO format.

endDate
string

The promotion end date and time, in ISO format.

type
string

The type or kind to which the promotion is applied.

promo
object[]

The details of the promotions.

extra
object

For internal use only.

limits
object

The coupon or promo limitations. For example, limit can be set for the coupon to be used only 4 times per user and 10 times in total across all customer.

promoId
number

The human-readable ID for a set of promotion codes, for external use.

termsAndConditions
object

The terms and conditions of the promotion.

createdAt
string

The time stamp of promo creation, in ISO format.

updatedAt
string

The time stamp of promo update, in ISO format.

__v
number

The internal version of the record.