stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > PriceRuleCreatePayload

AdminTypes.PriceRuleCreatePayload interface

Return type for priceRuleCreate mutation.

Signature:

export interface PriceRuleCreatePayload 

Properties

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.