Home > @infiniteobjects/shopify-data-manager > AdminTypes > PriceRuleDiscountCodeCreatePayload
Return type for priceRuleDiscountCodeCreate
mutation.
Signature:
export interface PriceRuleDiscountCodeCreatePayload
Property | Modifiers | Type | Description |
---|---|---|---|
priceRule? | Maybe<PriceRule> | (Optional) The updated 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. |