Anchor to DiscountsAllocatorFunctionUserErrorDiscounts
objectDiscounts Allocator Function User Error
An error that occurs during the execution of a discounts allocator function mutation.
Anchor to FieldsFields
- Anchor to codecode•Discounts
Allocator Function User Error Code The error code.
- Anchor to fieldfield•[String!]
The path to the input field that caused the error.
- Anchor to messagemessage•String!non-null
The error message.
Was this section helpful?
Anchor to MutationsMutations
- •mutation
Registers a discounts allocator function.
- Anchor to functionExtensionIdfunction•String!
Extension Id required The function extension id of the discounts allocator function.
Arguments
- Anchor to successsuccess•Boolean
Boolean representing whether the discounts allocator function was registered.
- Anchor to userErrorsuser•[Discounts
Errors Allocator Function User Error!]! non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Unregisters a discounts allocator function.
- Anchor to functionExtensionIdfunction•String!
Extension Id required The function extension id of the discounts allocator function.
Arguments
- Anchor to successsuccess•Boolean
Boolean representing whether the discounts allocator function was unregistered.
- Anchor to userErrorsuser•[Discounts
Errors Allocator Function User Error!]! non-null The list of errors that occurred from executing the mutation.
Fields
Was this section helpful?