Skip to main content
Anchor to DiscountsAllocatorFunctionUserError

DiscountsAllocatorFunctionUserError

object

An error that occurs during the execution of a discounts allocator function mutation.

•DiscountsAllocatorFunctionUserErrorCode

The error code.

•[String!]

The path to the input field that caused the error.

•String!
non-null

The error message.


Was this section helpful?

•mutation

Registers a discounts allocator function.

Arguments

•String!
required

The function extension id of the discounts allocator function.


Fields

•Boolean

Boolean representing whether the discounts allocator function was registered.

•[DiscountsAllocatorFunctionUserError!]!
non-null

The list of errors that occurred from executing the mutation.

•mutation

Unregisters a discounts allocator function.

Arguments

•String!
required

The function extension id of the discounts allocator function.


Fields

•Boolean

Boolean representing whether the discounts allocator function was unregistered.

•[DiscountsAllocatorFunctionUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?


Was this section helpful?