--- title: DiscountsAllocatorFunctionUnregisterPayload - GraphQL Admin description: Return type for `discountsAllocatorFunctionUnregister` mutation. api_version: unstable api_name: admin source_url: html: >- https://shopify.dev/docs/api/admin-graphql/unstable/payloads/DiscountsAllocatorFunctionUnregisterPayload md: >- https://shopify.dev/docs/api/admin-graphql/unstable/payloads/DiscountsAllocatorFunctionUnregisterPayload.md --- # Discounts​Allocator​Function​Unregister​Payload payload Return type for `discountsAllocatorFunctionUnregister` mutation. ## Fields * success [Boolean](https://shopify.dev/docs/api/admin-graphql/unstable/scalars/Boolean) Boolean representing whether the discounts allocator function was unregistered. * 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​Unregister](https://shopify.dev/docs/api/admin-graphql/unstable/mutations/discountsAllocatorFunctionUnregister) mutation Unregisters 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​Unregister](https://shopify.dev/docs/api/admin-graphql/unstable/types/discountsAllocatorFunctionUnregister)