I’m playing around with the B2B functionality and ran across an issue I can’t seem to find an answer for. I’ve created a single catalog with a single products list with three items on the list.
When I query the price list it using the priceList GraphQL endpoint it does not return the three products. It returns all products.
Any idea what I am missing here?
query MyQuery {
priceList(id: "gid://shopify/PriceList/23714594997") {
name
prices(first: 5) {
nodes {
price {
amount
}
compareAtPrice {
amount
}
}
}
}
}```
{
"data": {
"priceList": {
"name": "Test Catalog - d989b260-bcb6-496f-bbac-4d1e40b58d06",
"prices": {
"nodes": [
{
"price": {
"amount": "1325.0"
},
"compareAtPrice": null
},
{
"price": {
"amount": "75.0"
},
"compareAtPrice": null
},
{
"price": {
"amount": "121.0"
},
"compareAtPrice": null
},
{
"price": {
"amount": "245.0"
},
"compareAtPrice": null
},
{
"price": {
"amount": "750.0"
},
"compareAtPrice": null
}
]
}
}
},
"extensions": {
"cost": {
"requestedQueryCost": 6,
"actualQueryCost": 6,
"throttleStatus": {
"maximumAvailable": 20000,
"currentlyAvailable": 19994,
"restoreRate": 1000
}
}
}
}