Skip to main content

UpdatePromotionResult

No description

type UpdatePromotionResult {
success: Boolean!
promotion: Promotion
errors: [CreatePromotionError!]
}

Fields

UpdatePromotionResult.success ● Boolean! non-null scalar

If the update to a Promotion was successful

UpdatePromotionResult.promotion ● Promotion object

The updated Promotion

UpdatePromotionResult.errors ● [CreatePromotionError!] list object

Any errors present when updating a Promotion will be returned here

Returned By

updatePromotion mutation