PriceRuleCreatePayload - admin-graphql - PAYLOAD
Version: 2024-07
Description:
Return type for `priceRuleCreate` mutation.
Access Scopes
Fields
-
priceRule:
PriceRule -
The newly created price rule.
-
priceRuleDiscountCode:
PriceRuleDiscountCode -
The newly created discount code.
-
priceRuleUserErrors:
PriceRuleUserError! -
The list of errors that occurred from executing the mutation.
-
userErrors:
UserError! -
The list of errors that occurred from executing the mutation.
Connections
Mutations with this payload
Examples