Join us for an upcoming Shopify Partner webinar on February 27, 2024. Discover the latest Checkout Extensibility features, and deep dive on improvements to Shopify Functions and Web Pixels. Register now for either the 10am EST or 2pm EST sessions.

Shopify SDK

Shopify Partner
5 0 2

Hi team
, team. When I try to access Shopify products using the npm package Shopify -buy, I get the error shown above.

Shopify-buy Version

{ "message": "Selections can't be made on scalars (field 'price' returns Money but has selections [amount, currencyCode])", "locations": [ { "line": 1, "column": 56 } ], "path": [ "fragment VariantFragment", "price" ], "extensions": { "code": "selectionMismatch", "nodeName": "field 'price'", "typeName": "Money" } }

"message": "{\"error\": true,\"data\":\"Field 'presentmentPrices' doesn't exist on type 'ProductVariant'\"}",

Replies 0 (0)