CreatePromotionResult
The result of creating a promotion
type CreatePromotionResult {
success: Boolean!
promotion: Promotion
errors: [CreatePromotionError!]
}
Fields
CreatePromotionResult.success ● Boolean! non-null scalar
If the created Promotion was successful
CreatePromotionResult.promotion ● Promotion object
The created Promotion
CreatePromotionResult.errors ● [CreatePromotionError!] list object
Any errors present when creating a Promotion will be returned here
Returned By
createPromotion mutation