getPromotionTemplates

This method returns the list of possible Promotion Templates for derive workflow.

Input Parameters

Name Type Required Description
promotionId String YES ID of the promotion.

Input Sample

"source": {
    "class": "DerivePromotionWizardCallable",
    "method": "getPromotionTemplate",
    "cache": true,
    "params": {
        "promotionId": "{! promotionId }"
    }
}

Response Sample

[
    {
        "Name": "Customer Promotion",
        "Id": "a2a2X000004L7xPQAS"
    }
]

Response Properties

Name Description
Id ID of the Promotion Template.
Name Name of the Promotion Template.