Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to DiscountsAllocatorFunctionUserErrorCode

DiscountsAllocatorFunctionUserErrorCode

enum

Possible error codes that can be returned by DiscountsAllocatorFunctionUserError.

•

The discounts allocator function cannot be found.

•

The shop is not eligible for discounts allocator functions.

•

Unexpected internal error happened.

Anchor to INVALID_FUNCTION_TYPEINVALID_FUNCTION_TYPE
•

The function provided was not a discounts allocator function.


Was this section helpful?