An array of Promotion Campaigns. We only need the list of updated campaign.
No Additional ItemsPromotion Campaign on qualified products. We expect to have all campaign fields when a campaign is updated. To disable a campaign the endDate can be used, Only one document pdf is supported today to explain the promotion on campaign page
The unique campaign identifier
"campaign1"
"454543"
The type of the promotion
short description of the campaign
{
"fr-FR": "2 Achetés le 3 troisiéme gratuit",
"en-GB": "2 Purchased the 3rd free"
}
Each additional property must conform to the following schema
Type: stringdetails about the promotion and the qualifier rules
{
"fr-FR": "Achetez-en un, obtenez-en un sur tous les produits appartenant à cette campagne",
"en-GB": "Buy one get one on all products belonging to this campaign"
}
Each additional property must conform to the following schema
Type: stringdate when the campaign start (All date formats follow ISO 8601 standard)
"2020-10-14T10:22:00.116Z"
date when the campaign finish (All date formats follow ISO 8601 standard)
"2020-10-14T10:22:00.116Z"
list of product ids associated to the promotion campaign
Must contain a minimum of 1 items
ProductId associated to the promotion campaign
[
"5226167",
"9885543",
"2343343"
]
Only this list of account Id or/and commercial organisation ids have access to this campaign
Must contain a minimum of 1 items
Needed by OpCo organised with a regional model or commercial organisation.
"SIF"
"SNE"
An array of the account ids same as sent in the account feed, theaccountId field. If the orgId is sent then all accounts should be associated to that orgId
[
"123456",
"123478_SNE"
]
The ranking of the promotion campaign, this will be used to sort promotion. Ranking = '1' being the strongest value. If this not present, promotion with nearest endDate will be shown first.
Value must be greater or equal to 1
{
"ranking": 90
}
{
"ranking": 1
}