Anchor to shopifyFunctionshopify
shopify Function
query
Returns a Shopify Function by its ID. Functions enable you to customize Shopify's backend logic at defined parts of the commerce loop.
Anchor to Arguments
Arguments
- •String!required
The ID of the Shopify Function.
Was this section helpful?
Anchor to Possible returnsPossible returns
- Anchor to ShopifyFunctionShopify•
Function A Shopify Function.
- api
Type• String!non-null The API type of the Shopify Function.
- api
Version• String!non-null The API version of the Shopify Function.
- app•App!non-null
The app that owns the Shopify Function.
- app
Bridge• Functionsnon-nullApp Bridge! The App Bridge information for the Shopify Function.
- app
Key• String!non-null The client ID of the app that owns the Shopify Function.
- description•String
The description of the Shopify Function.
- id•String!non-null
The ID of the Shopify Function.
- input
Query• String The input query of the Shopify Function.
- title•String!non-null
The title of the Shopify Function.
- use
Creation Ui• Boolean!non-null If the Shopify Function uses the creation UI in the Admin.
- api
Was this section helpful?
Query Reference
{
shopifyFunction(id) {
# shopifyFunction fields
}
}