No content to show
User Activity
This is expected behaviour, renewing an access token extends how long it can be used, if you want an entirely new token use customerAccessTokenCreate instead.
I'm experiencing the same problem. My suspicion is that the Oxygen sales channel is able to generate these tokens in some currently undocumented/unimplemented way. In either case, documentation needs to be updated to reflect this.I think this is the ...
Are the custom fields meta fields? If so they aren't going to show there. However they will if they're line item attributes.
You need to make sure in your actual Storefront GraphQL query you're including the fields, should look something like this: query cart($id: ID!) {
cart(id: $id) {
lines(first: 50) {
edges {
node {
id
quantity
...
I went and tested a few of these to make sure I was getting the result. These were tested on API v2022-04: For #1 we both had the same result. #2 returned the customer as null and and a message in customerUserErrors that said: "We have sent an email ...
04-10-2022
The customer access token might have expired or been deleted. If an access token isn't valid it'll return null for the customer.
401 is unauthorized. If I had to guess I'd say your environment variable for your access token isn't prefixed with NEXT_PUBLIC_ meaning it's not being included in your client bundle, and thus not authorizing your Storefront requests.
03-31-2022
Your example is using one of the Admin API REST endpoints. The Storefront endpoint is {{store_name}}.myshopify.com/api/2022-01/graphql.json and you'll need to pass along a X-Shopify-Storefront-Access-Token header with your Storefront API access token...
You can also do this by querying for the nodes directly: {
nodes(ids: ["gid:\/\/shopify\/Product\/1234", "gid:\/\/shopify\/Product\/5678"]) {
... on Product {
id
title
requiresSellingPlan
}
}
}
Not sure what API version you're using but could be related to this: https://shopify.dev/api/examples/object-ids (object ids no longer need to be encoded)
The closest way that I can see to get what you want is to manage the user database in your platform and use Multipass to authenticate with Shopify. That way you have full control of how long they are logged in for and any time you need Shopify data f...
03-20-2022
Shopify changed how private apps work. I think you can find the similar page here (update the store to your url): https://yourshop.myshopify.com/admin/apps/development
Yeah that's likely it. customerCreate starts the creation flow by sending an email (and returns the message, via customerUserErrors: "We have sent an email to YOUR@EMAIL.COM, please click the link included to verify your email address.", until they v...
03-08-2022
Are you trying to run this on the client or server? If I remember correctly the GraphQL Admin API can fail client side for sensitive queries. You should never be running the Admin API on the client since anybody with a bit of knowledge can grab data ...
03-08-2022
Images are paginated so you need to do it like this: (you can change 10 to whatever you want)mutation productCreate($input: ProductInput!) {
productCreate(input: $input) {
product {
id
images(first: 10) {
edges {
n...
My Accepted Solutions
Subject | Views | Posted |
---|---|---|
378 | 03-08-2022 09:32 PM | |
964 | 03-08-2022 09:08 PM | |
3781 | 02-20-2022 05:13 PM | |
688 | 02-17-2022 06:59 AM | |
4657 | 10-11-2021 10:44 PM |