Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
We are running against the latest Storefront API in a private app to query our products. Yesterday everything worked fine, today pricing changes are no longer reflected within the API.
We have the following product listed
As you can see the min and max price are different.
When using the following query
import { gql } from 'apollo-angular';
export const PRODUCT_QUERY = gql`
query($handle: String!) {
productByHandle(handle: $handle) {
id
tags
handle
description
title
images(first: 1) {
edges {
node {
transformedSrc(maxWidth: 350)
}
}
}
metaFieldsGlobal: metafields(first: 10, namespace: "global") {
edges {
node {
key
value
}
}
}
metaFieldsDetails: metafields(first: 5, namespace: "details") {
edges {
node {
key
value
}
}
}
variants(first: 5) {
edges {
node {
id
}
}
}
description
priceRange {
minVariantPrice {
amount
currencyCode
}
maxVariantPrice {
amount
currencyCode
}
}
}
}
`;
the result looks as follows:
],
"__typename": "ProductVariantConnection"
},
"priceRange": {
"minVariantPrice": {
"amount": "495.0",
"currencyCode": "EUR",
"__typename": "MoneyV2"
},
"maxVariantPrice": {
"amount": "495.0",
"currencyCode": "EUR",
"__typename": "MoneyV2"
},
"__typename": "ProductPriceRange"
},
"__typename": "Product"
}
}
}
Any changes to the price are being completely ignored, changes to everything else are immediately reflected within the API.
User | RANK |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |