Home
Salesforce
Salesforce Promotion Eligibility Structure
Salesforce Promotion Eligibility Structure
Type: object
Properties: 6
Required: 6
Fortune 500 AI Analytics Cloud Commerce CRM Customer Service Enterprise Marketing Platform Sales
PromotionEligibility is a JSON Structure definition published by Salesforce, describing 6 properties, of which 6 are required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.
Properties
eligibleProductCategories
eligibleProducts
eligibleChannels
eligibleCustomerEvents
eligibleEnrollmentPeriod
eligibleLoyaltyTiers
Meta-schema: https://json-structure.org/draft/2020-12/schema
JSON Structure
{
"type": "object",
"name": "PromotionEligibility",
"properties": {
"eligibleProductCategories": {
"type": "array",
"description": "",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
]
}
},
"eligibleProducts": {
"type": "array",
"description": "",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
},
"required": [
"name"
]
}
},
"eligibleChannels": {
"type": "array",
"description": "",
"items": {
"type": "object",
"properties": {
"channelType": {
"type": "string"
},
"store": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
},
"required": [
"name"
]
},
"retailLocationGroup": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
},
"required": [
"name"
]
}
},
"required": [
"channelType",
"store",
"retailLocationGroup"
]
}
},
"eligibleCustomerEvents": {
"type": "object",
"properties": {
"event": {
"type": "string"
},
"eventPeriodUnit": {
"type": "string"
}
},
"required": [
"event",
"eventPeriodUnit"
]
},
"eligibleEnrollmentPeriod": {
"type": "object",
"properties": {
"isEnrollmentRequired": {
"type": "boolean"
},
"enrollmentStartDate": {
"type": "string"
},
"enrollmentEndDate": {
"type": "string"
}
},
"required": [
"isEnrollmentRequired",
"enrollmentStartDate",
"enrollmentEndDate"
]
},
"eligibleLoyaltyTiers": {
"type": "array",
"description": "",
"items": {
"type": "object",
"properties": {
"tierGroup": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"id": {
"type": "string"
}
},
"required": [
"name",
"id"
]
},
"tier": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"id": {
"type": "string"
}
},
"required": [
"name",
"id"
]
}
},
"required": [
"tierGroup",
"tier"
]
}
}
},
"required": [
"eligibleProductCategories",
"eligibleProducts",
"eligibleChannels",
"eligibleCustomerEvents",
"eligibleEnrollmentPeriod",
"eligibleLoyaltyTiers"
],
"$schema": "https://json-structure.org/draft/2020-12/schema"
}