Promotions actions, commands, and pipelines
The following sections describe actions, commands, and pipelines related to promotions.
Promotion books
The following table describes the actions, commands, and pipelines pertaining to promotion books:
|
Action/Command/Pipeline |
Description |
|---|---|
|
|
Adds a promotion book. Requires a unique promotion book name. |
|
|
Edits a promotion book. |
|
|
Associates a promotion book to a specific catalog. |
|
|
Disassociates a promotion book from a specific catalog. |
|
|
Retrieves all catalogs associated with a promotion book. |
Promotions
The following table describes the actions, commands, and pipelines pertaining to promotions:
|
Action/Command/Pipeline |
Description |
|---|---|
|
|
Adds a promotion. Requires the parent promotion book name and a unique promotion name. |
|
|
Edits a promotion. The promotion’s approval status must not be Approved. |
|
|
Duplicates a promotion. |
|
|
Changes a promotion’s approval status from Draft to ReadyForApproval. |
|
|
Changes a promotion's approval status from ReadyForApproval to Approve. |
|
|
Changes a promotion’s approval status from ReadyForApproval to Draft. |
|
|
Changes a promotion’s approval status from Approved back to Draft. Applicable only before the promotion is made fully active. |
|
|
Disables an approved promotion. Applicable when the promotion is approved and active. |
|
|
Deletes a promotion. The promotion’s approval status must not be Approved. |
|
|
These are used as part during the runtime of the promotions service. |
|
|
This is used as part during the runtime of the promotions service. |
|
|
Searches for promotions in the system. |
ApplyPromotionsBenefitsCommand and the corresponding pipeline are not used.
Qualifications
The following table describes the actions, commands, and pipelines pertaining to the Qualification component:
|
Action/Command/Pipeline |
Description |
|---|---|
|
|
Selects a qualification from all the qualifications available in the system. This action is implemented together with the AddQualification. |
|
|
Adds the selected qualification to a promotion. The promotion’s approval status must be Draft. |
|
|
Edits a promotion’s qualification. The promotion’s approval status must be Draft. |
|
|
Removes a qualification from a promotion. The promotion’s approval status must be Draft. All qualifications can be deleted from a promotion only if the promotion has no benefits. |
Benefits
The following table describes the promotions actions, commands, and pipelines pertaining to the Benefit component:
|
Action/Command/Pipeline |
Description |
|---|---|
|
|
Selects a benefit from all the benefits available in the system. |
|
|
Adds the selected benefit to a promotion. The promotion’s approval status must be Draft. The promotion must have at least one qualification. |
|
|
Edits a promotion’s benefit. The promotion’s approval status must be Draft. |
|
|
Removes a benefit from a promotion. The promotion’s approval status must be Draft. |
Items
The following table describes the promotions actions, commands, and pipelines pertaining to the Item component:
|
Action/Command/Pipeline |
Description |
|---|---|
|
|
Adds an Item to a promotion. An item must be unique within a promotion. The promotion’s approval status must be Draft. |
|
|
Removes an item from a promotion. The promotion’s approval status must be Draft. |