getPromotionTemplates

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

Input Parameters 

NameTypeRequiredDescription
promotionIdStringYESID of the promotion.

Input Sample 

1"source": {
2    "class": "DerivePromotionWizardCallable",
3    "method": "getPromotionTemplate",
4    "cache": true,
5    "params": {
6        "promotionId": "{! promotionId }"
7    }
8}

Response Sample 

1[
2    {
3        "Name": "Customer Promotion",
4        "Id": "a2a2X000004L7xPQAS"
5    }
6]

Response Properties 

NameDescription
IdID of the Promotion Template.
NameName of the Promotion Template.