You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additionally (at the bottom of this screen), the **Webhook subscriptions** → **Event version** should be `2024-10`.
58
+
Additionally (at the bottom of this screen), the **Webhook subscriptions** → **Event version** should be `2025-07`.
59
59
60
60
3.**Storefront API access scopes**: The following scopes are required for the plugin to function correctly:
61
61
@@ -81,7 +81,7 @@ At this point, you should have the following Shopify-specific values:
81
81
# ...
82
82
83
83
SHOPIFY_ADMIN_ACCESS_TOKEN="..."
84
-
SHOPIFY_API_VERSION="2024-10"
84
+
SHOPIFY_API_VERSION="2025-07"
85
85
SHOPIFY_API_KEY="..."
86
86
SHOPIFY_API_SECRET_KEY="..."
87
87
SHOPIFY_HOSTNAME="my-storefront.myshopify.com"
@@ -179,7 +179,7 @@ Going forward, your products are automatically kept in sync via [webhooks](#set-
179
179
180
180
### Native Attributes
181
181
182
-
In addition to the standard element attributes like `id`, `title`, and `status`, each Shopify product element contains direct accessors for these canonical Shopify [Product attributes](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/Product):
182
+
In addition to the standard element attributes like `id`, `title`, and `status`, each Shopify product element contains direct accessors for these canonical Shopify [Product attributes](https://shopify.dev/docs/api/admin-graphql/2025-07/objects/Product):
You can get an array of variant objects for a product by accessing `product.variants` or calling [`product.getVariants()`](#productgetvariants). The product element also provides convenience methods for getting the [default](#productgetdefaultvariant) and [cheapest](#productgetcheapestvariant) variants, but you can filter them however you like with Craft’s [`collect()`](https://craftcms.com/docs/5.x/reference/twig/functions.html#collect) Twig function.
521
521
522
522
Unlike products, variants in Craft…
523
523
524
-
- …are represented (mostly) as [the API](https://shopify.dev/api/admin-rest/2024-10/resources/product-variant#resource-object) returns them;
524
+
- …are represented (mostly) as [the API](https://shopify.dev/api/admin-rest/2025-07/resources/product-variant#resource-object) returns them;
525
525
- …the `metafields` property is accessible in addition to the API’s returned properties;
526
526
- …use Shopify’s convention of underscores in property names instead of exposing [camel-cased equivalents](#native-attributes);
0 commit comments