--- title: ShopifyFunction - GraphQL Admin description: A Shopify Function. api_version: 2025-10 api_name: admin type: object api_type: graphql source_url: html: 'https://shopify.dev/docs/api/admin-graphql/latest/objects/ShopifyFunction' md: 'https://shopify.dev/docs/api/admin-graphql/latest/objects/ShopifyFunction.md' --- # Shopify​Function object A Shopify Function. ## Fields * api​Type [String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String) non-null The API type of the Shopify Function. * api​Version [String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String) non-null The API version of the Shopify Function. * app [App!](https://shopify.dev/docs/api/admin-graphql/latest/objects/App) non-null The app that owns the Shopify Function. * app​Bridge [Functions​App​Bridge!](https://shopify.dev/docs/api/admin-graphql/latest/objects/FunctionsAppBridge) non-null The App Bridge information for the Shopify Function. * app​Key [String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String) non-null The client ID of the app that owns the Shopify Function. * description [String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String) The description of the Shopify Function. * id [String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String) non-null The ID of the Shopify Function. * input​Query [String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String) The input query of the Shopify Function. * title [String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String) non-null The title of the Shopify Function. * use​Creation​Ui [Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean) non-null If the Shopify Function uses the creation UI in the Admin. *** ## Map ### Fields and connections with this object * {}[DeliveryCustomization.shopifyFunction](https://shopify.dev/docs/api/admin-graphql/latest/objects/DeliveryCustomization#field-DeliveryCustomization.fields.shopifyFunction) * {}[FulfillmentConstraintRule.function](https://shopify.dev/docs/api/admin-graphql/latest/objects/FulfillmentConstraintRule#field-FulfillmentConstraintRule.fields.function) * {}[PaymentCustomization.shopifyFunction](https://shopify.dev/docs/api/admin-graphql/latest/objects/PaymentCustomization#field-PaymentCustomization.fields.shopifyFunction) * <->[ShopifyFunctionConnection.nodes](https://shopify.dev/docs/api/admin-graphql/latest/connections/ShopifyFunctionConnection#returns-nodes) * {}[ShopifyFunctionEdge.node](https://shopify.dev/docs/api/admin-graphql/latest/objects/ShopifyFunctionEdge#field-ShopifyFunctionEdge.fields.node) * {}[Validation.shopifyFunction](https://shopify.dev/docs/api/admin-graphql/latest/objects/Validation#field-Validation.fields.shopifyFunction) *** ## Queries * [shopify​Function](https://shopify.dev/docs/api/admin-graphql/latest/queries/shopifyFunction) query Returns a Shopify Function by its ID. [Functions](https://shopify.dev/apps/build/functions) enable you to customize Shopify's backend logic at defined parts of the commerce loop. * [shopify​Functions](https://shopify.dev/docs/api/admin-graphql/latest/queries/shopifyFunctions) query Returns Shopify Functions owned by the querying API client installed on the shop. [Functions](https://shopify.dev/docs/apps/build/functions) enable you to customize Shopify's backend logic at specific points in the commerce loop, such as discounts, checkout validation, and fulfillment. You can filter the results by API type to find specific function implementations, or by whether they provide a merchant configuration interface in the Shopify Admin. The response includes details about each function's configuration, including its title, description, API version, and the input query used to provide data to the function logic. Learn more about [building functions](https://shopify.dev/docs/api/functions). *** ## \ShopifyFunction Queries ### Queried by * \[shopify​Function](https://shopify.dev/docs/api/admin-graphql/latest/queries/shopifyFunction) * \[shopify​Functions](https://shopify.dev/docs/api/admin-graphql/latest/queries/shopifyFunctions)