Home > @infiniteobjects/shopify-data-manager > AdminTypes > PriceRuleCreatePayload
Return type for priceRuleCreate
mutation.
Signature:
export interface PriceRuleCreatePayload
Property | Modifiers | Type | Description |
---|---|---|---|
priceRule? | Maybe<PriceRule> | (Optional) The newly created price rule. | |
priceRuleDiscountCode? | Maybe<PriceRuleDiscountCode> | (Optional) The newly created discount code. | |
priceRuleUserErrors | Array<PriceRuleUserError> | The list of errors that occurred from executing the mutation. | |
userErrors | Array<UserError> | The list of errors that occurred from executing the mutation. |