Schema Parameter (Connect-Shopify Cmdlet)
Specifies the Shopify API version and schema (GraphQL or REST) the provider uses when connecting to your store.
Syntax
Connect-Shopify -Schema string
Possible Values
REST-2025-04, REST-2025-01, REST-2024-10, REST-2024-07, REST-2024-04, GRAPHQL-2025-04, GRAPHQL-2025-01, GRAPHQL-2024-10, GRAPHQL-2024-07, GRAPHQL-2024-04Data Type
cstr
Default Value
"GRAPHQL-2024-07"
Remarks
This property determines which API (REST or GraphQL) and version the 本製品 targets when retrieving data from Shopify.
Use this property to:
- Ensure compatibility with features or fields introduced in a specific API version.
- Select between Shopify’s GraphQL and REST schemas, depending on your data access needs or performance goals.
- Work around deprecations by explicitly setting an older version, if still supported.
Shopify typically releases new API versions quarterly. Deprecated versions may continue to function temporarily, but will redirect to the oldest supported public version.
This is a required parameter.