--- title: DiscountsAllocatorFunctionRegisterPayload - GraphQL Admin description: Return type for `discountsAllocatorFunctionRegister` mutation. api_version: unstable api_name: admin source_url: html: >- https://shopify.dev/docs/api/admin-graphql/unstable/payloads/DiscountsAllocatorFunctionRegisterPayload md: >- https://shopify.dev/docs/api/admin-graphql/unstable/payloads/DiscountsAllocatorFunctionRegisterPayload.md --- # Discounts​Allocator​Function​Register​Payload payload Return type for `discountsAllocatorFunctionRegister` mutation. ## Fields * success [Boolean](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/Boolean) Boolean representing whether the discounts allocator function was registered. * user​Errors [\[Discounts​Allocator​Function​User​Error!\]!](https://shopify.dev/docs/api/admin-graphql/unstable/objects/DiscountsAllocatorFunctionUserError) non-null The list of errors that occurred from executing the mutation. *** ## Mutations with this payload * [discounts​Allocator​Function​Register](https://shopify.dev/docs/api/admin-graphql/unstable/mutations/discountsAllocatorFunctionRegister) mutation Registers a discounts allocator function. * function​Extension​Id [String!](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/String) required ### Arguments The function extension id of the discounts allocator function. *** *** ## Map ### Mutations with this payload * [discounts​Allocator​Function​Register](https://shopify.dev/docs/api/admin-graphql/unstable/types/discountsAllocatorFunctionRegister)