Shopify B2B GraphQL
Help article for the ShopifyB2BGraphQl node that wraps the Shopify Admin B2B GraphQL API.
Revision History
1.0.0.4 Initial Release.
1.1.0.0 Resolved selection set issues and enabled nested argument functionality.
Properties
Connection
Type: Connection Input
The Connection Property for authenticating against the Shopify Admin B2B GraphQL API.
Url
Type: String
The base URL for your Shopify store. E.g. https://{shop}.myshopify.com
AccessToken
Type: Password
Used for authentication, see https://help.shopify.com/en/manual/apps/app-types/custom-apps#create-and-install-a-custom-app for instructions on how to generate credentials.
ApiVersion
Type: String
The version of the Shopify GraphQL Admin API to use, e.g., 2024-01
.
Operation
Type: String Input
The GraphQL operation to perform. Options include Query
or Mutation
. Generated automatically when a sample is selected.
Object
Type: String Input
The Shopify GraphQL object to operate on. For example, product
, order
, customer
, etc. Generated automatically when a sample is selected.
SelectionSet
Type: Multiline Text Input
Defines the fields to retrieve. This is a tab-indented structure where tab depth reflects field nesting. Generated automatically when a sample is selected.
Request
Type: Multiline Text Input
A JSON request defining fields for mutation. Generated automatically, if required, when a sample is selected.
Response
Type: Multiline Text Output
Contains the JSON response received from Shopify.
Remarks
Selection Set Spacing
Use consistent indentation for nested fields in the selection set, either with tabs or four spaces.
Nested Arguments
Nested arguments in queries are supported via dot-path notation (e.g., items.first
). The node generates custom properties accordingly when a sample is selected.
See Also
The ShopifyB2BGraphQL node wraps the Shopify Admin B2B GraphQL API. Documentation for this API can be found at: https://shopify.dev/docs/api/admin-graphql
ShopifyGraphQL