- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
createPromotionsStep - Medusa Core Workflows Reference
This documentation provides a reference to the createPromotionsStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step creates one or more promotions.
Example#
Input#
CreatePromotionDTO[]
CreatePromotionDTO[]
CreatePromotionDTO[]
CreatePromotionDTO[]CreatePromotionDTO
CreatePromotionDTOThe promotion to be created.
CreatePromotionDTO
CreatePromotionDTOOutput#
PromotionDTO[]
PromotionDTO[]
PromotionDTO[]
PromotionDTO[]PromotionDTO
PromotionDTOThe promotion details.
PromotionDTO
PromotionDTOWas this page helpful?