DiscountUserError - admin-graphql - OBJECT
Version: unstable
Description:
An error that occurs during the execution of a discount mutation.
Access Scopes
Fields
code :
DiscountErrorCode -
The error code.
extraInfo :
String -
Extra information about this error.
field :
String -
The path to the input field that caused the error.
message :
String! -
The error message.
Connections
Related queries
Related mutations
discountAutomaticActivate
Activates an automatic discount.
discountAutomaticAppCreate
Creates an app discount.
discountAutomaticAppUpdate
Updates an automatic app discount.
discountAutomaticBasicCreate
Creates a basic automatic discount.
discountAutomaticBasicUpdate
Updates a basic automatic discount.
discountAutomaticBulkDelete
Asynchronously delete automatic discounts in bulk if a `search` or `saved_search_id` argument is provided or if a
maximum discount threshold is reached (1,000). Otherwise, deletions will occur inline.
**Warning:** All automatic discounts will be deleted if a blank `search` argument is provided.
discountAutomaticBxgyCreate
Creates a BXGY automatic discount.
discountAutomaticBxgyUpdate
Updates an existing Buy X, Get Y (BXGY) automatic discount.
discountAutomaticDeactivate
Deactivates an automatic discount.
discountAutomaticDelete
Deletes an automatic discount.
discountAutomaticFreeShippingCreate
Creates a free shipping automatic discount.
discountAutomaticFreeShippingUpdate
Updates a free shipping automatic discount.
discountCodeActivate
Activates a code discount.
discountCodeAppCreate
Creates a code app discount.
discountCodeAppUpdate
Updates a code app discount.
discountCodeBasicCreate
Creates a basic code discount.
discountCodeBasicUpdate
Updates a basic code discount.
discountCodeBulkActivate
Asynchronously activate code discounts in bulk using a search query, a saved search ID, or a list of code discount IDs.
discountCodeBulkDeactivate
Asynchronously deactivate code discounts in bulk using a search query, a saved search ID, or a list of code discount IDs.
discountCodeBulkDelete
Asynchronously delete code discounts in bulk using a search query, a saved search ID, or a list of code discount IDs.
discountCodeBxgyCreate
Creates a Buy X get Y (BXGY) code discount.
discountCodeBxgyUpdate
Updates a Buy X, Get Y (BXGY) code discount.
discountCodeDeactivate
Deactivates a code discount.
discountCodeDelete
Deletes a code discount.
discountCodeFreeShippingCreate
Creates a free shipping code discount.
discountCodeFreeShippingUpdate
Updates a free shipping code discount.
discountCodeRedeemCodeBulkDelete
Asynchronously delete discount redeem codes in bulk. Specify the redeem codes to delete by providing a
search query, a saved search ID, or a list of redeem code IDs.
discountRedeemCodeBulkAdd
Asynchronously add discount redeem codes in bulk. Specify the codes to add
and the discount code ID that the codes will belong to.
Related Unions
Examples