Hello,
I am trying to update a Checkout by using the Buy SDK, but it throws this Error:
Error: [{“message”:"Variable $lineItems of type [CheckoutLineItemUpdateInput!]! was provided invalid value for Error: [{“message”:“invalid id”,“locations”:[{“line”:1,“column”:3136}],“path”:[“checkoutLineItemsUpdate”]}]
at C:\code\you-at-campusfoods\node_modules\shopify-buy\index.js:3847:29
I am using the right gid-id and also encoded it to base64 (Z2lkOi8vc2hvcGlmeS9Qcm9kdWN0VmFyaWFudC80MjEyODY2ODU5MDMxNA==). The id is straight from the node admin api. There is also a specific field for it inside the admin API:
admin_graphql_api_id: ‘gid://shopify/ProductVariant/42128668590314’
Thank you in advance!
Philipp