Tag: shopify
-
Error on update quantity of a variant with productVariantUpdate mutation (Shopify)
0 I am trying to run this mutation to update the quantities of a product variant on shopify via graphql . (https://shopify.dev/docs/api/admin-graphql/2023-07/mutations/productvariantupdate) productVariantUpdate(input: $input) { productVariant { id sku product { id title } inventoryQuantity } userErrors { field message } } } $input = [ ‘id’ => "gid://shopify/ProductVariant/123456", ‘inventoryQuantities’ => [ "availableQuantity" => 123,…
-
Field ‘orders’ doesn’t exist on type ‘QueryRoot’ Shopify
0 I cannot query orders in Shopify with GraphQL for ambiguous reason, I am using Shopify API version 2022-10, this is my query: query { orders(first: 10) { edges { node { id } } } } This is what I get { "errors": [ { "message": "Field ‘orders’ doesn’t exist on type ‘QueryRoot’", "locations":…
-
Shopify Payment app graphQL endpoint authentication
-1 I am trying to create an offsite shopify payment app. Overall the authentication on GraphQL requests seems kinda confusing to me. Should there be any authentication token for graphQL request like PaymentSessionResolve. This question might not be appropriate for stackoverflow but I am kinda stuck. javascript node.js graphql shopify shopify-app Share Follow asked 1…
-
Storefront API CheckoutCreate Without Adding Lines Without A VariantId
0 We have a downstream application which manages inventory and products but we’d like to use Shopify Cart and Checkout for the functionality it has, third party apps, discount code, coupons, abandoned cart reporting and security but do not want to manage inventory or store my products on Shopify. I am using the Storefront API…