Shopify Function Connection
An auto-generated type for paginating through multiple ShopifyFunctions.
Anchor to Queries with this connectionQueries with this connection
- •query
Returns Shopify Functions owned by the querying API client installed on the shop. 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.
- Anchor to apiTypeapi•String
Type Filter the functions by the API type.
- Anchor to useCreationUiuse•Boolean
Creation Ui Filter the functions by whether or not the function uses the creation UI in the Admin.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
Anchor to Possible returnsPossible returns
- Anchor to edgesedges•[Shopify
Function Edge!]! non-null The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.
- Anchor to nodesnodes•[Shopify
Function!]! non-null A list of nodes that are contained in ShopifyFunctionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.
- Anchor to pageInfopage•Page
Info Info! non-null An object that’s used to retrieve cursor information about the current page.