PromotionsResult
Document representing the active promotion details for a single product. Contains only promotion-related fields; no price, images, availability, variations, or other product data are included. Active promotions are filtered by customer group, campaign date range, and time slot.
Properties
| Name | Type | Description |
|---|---|---|
| productId | string | The ID of the product. |
| productPromotions | array | An array of active customer promotions applicable to this product, sorted by promotion priority using SORT_BY_EXCLUSIVITY ordering (exclusivity → rank → promotion class → discount type → best discount |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/salesforce-commerce-cloud/json-schema/salesforce-commerce-cloud-promotions-result-schema.json",
"title": "PromotionsResult",
"description": "Document representing the active promotion details for a single product. Contains only promotion-related fields; no price, images, availability, variations, or other product data are included. Active promotions are filtered by customer group, campaign date range, and time slot.",
"x-generated": "2026-11-25",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/salesforce-commerce-cloud-shopper-products-api-openapi.yml#/components/schemas/PromotionsResult",
"properties": {
"productId": {
"description": "The ID of the product.",
"type": "string",
"minLength": 1,
"maxLength": 100
},
"productPromotions": {
"description": "An array of active customer promotions applicable to this product, sorted by promotion priority\nusing SORT_BY_EXCLUSIVITY ordering (exclusivity → rank → promotion class → discount type →\nbest discount → ID). This array can be empty. Coupon promotions are not returned in this array.",
"type": "array",
"items": {
"$ref": "#/$defs/schemas-ProductPromotion"
}
}
},
"required": [
"productId"
],
"type": "object",
"$defs": {
"schemas-ProductPromotion": {
"description": "Document representing an active promotion applicable to a product.",
"properties": {
"promotionId": {
"description": "The unique ID of the promotion.",
"type": "string",
"minLength": 1,
"maxLength": 256
},
"calloutMsg": {
"description": "The localized call-out message of the promotion.",
"type": "string",
"minLength": 1,
"maxLength": 4000
},
"promotionalPrice": {
"format": "double",
"description": "The promotional price for this product. Only present for PRODUCT class promotions.",
"type": "number"
}
},
"required": [
"promotionId",
"calloutMsg"
],
"type": "object"
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/salesforce-commerce-cloud-promotions-result"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.