A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
I am trying to perform the bulk operation to fetch the contextual prices. Here is the Query:
Hello,
have you found a solution?
Regards
Jan
Hi, No unfortunately, we would stop using bulk operations now.
Regards
Tejas
Thank you Tejas for reply.
Did you try to use this variant in the bulk?
query MyQuery {
products(first: 10) {
nodes {
title
variants(first: 10) {
nodes {
price
prices_MX: contextualPricing(context: {country: MX}) {
price {
amount
currencyCode
}
compareAtPrice {
amount
currencyCode
}
}
prices_CZ: contextualPricing(context: {country: CZ}) {
price {
amount
currencyCode
}
compareAtPrice {
amount
currencyCode
}
}
}
}
}
}
}
Well, we changed the approach to use webhooks for the markets prices but for fetching the contextual countries, markets API call would be helpful:
That's what I was looking for. I figured it out once but I couldn't find it again. Probably, you are using productFeeds for webhook pricing, right?
Thank you for your time and help, I appreciate it
Jan
Yes, its product feed for the prices. 🙂
Regards
Tejas