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.

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

Testing the connection will fail if it is not a Shopify Plus account, or your access token does not give access to read_companies or read_customers.

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