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
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
| Name | Description |
|---|---|
| Id | ID of the Promotion Template. |
| Name | Name of the Promotion Template. |