getPromotionCodesToApply - Medusa Core Workflows Reference
This documentation provides a reference to the getPromotionCodesToApply
. It belongs to the @medusajs/medusa/core-flows
package.
This step retrieves the promotion codes to apply on a cart.
Example#
Input#
GetPromotionCodesToApplyStepInput
GetPromotionCodesToApplyStepInputThe details of the promotion codes to apply on a cart.
GetPromotionCodesToApplyStepInput
GetPromotionCodesToApplyStepInputOutput#
string[]
string[]
string[]
string[]string
string
string
stringWas this page helpful?