Hi there,
I’ve got a Catalog with one product at price 10.00 assigned to a B2B market. When accessed through the storefront as a B2B customer the price displayed is 10, but when contextualPricing
is requested in Admin API for companyLocationId
it returns a different price.
query MyQuery {
product(id: "gid://shopify/Product/7777278623798") {
title
publishedInContext(
context: {companyLocationId: "gid://shopify/CompanyLocation/1866072118"}
)
variants(first: 10) {
nodes {
id
contextualPricing(
context: {companyLocationId: "gid://shopify/CompanyLocation/1866072118"}
) {
price {
amount
}
compare_at_price: compareAtPrice {
amount
}
}
compareAtPrice
showUnitPrice
}
}
}
}
Is there anything I am missing?
Thanks in advance