Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Price List ID

Price List ID

SoftwareCW
Shopify Partner
52 0 17

I am trying to setup a API mutation that updates our one and only B2B price list.

 

I currently have this json:

 

{
"priceListId": "gid://shopify/PriceList/44513689829",
"input": {
"quantityPriceBreaksToAdd": [
{
"variantId": "{{getProductVariantDataForeachitem.id}}",
"price": {
"amount": "{{getProductVariantDataForeachitem.price | times: 9 | divided_by: 100 }}",
"currencyCode": "USD"
},
"minimumQuantity": 0
}
],
"quantityPriceBreaksToDelete": [],
"quantityRulesToAdd": [
{
"increment": 1,
"maximum": 1000,
"minimum": 10,
"variantId": "{{getProductVariantDataForeachitem.id}}"
}
],
"quantityRulesToDeleteByVariantId": [],
"pricesToAdd": [
{
"variantId": "{{getProductVariantDataForeachitem.id}}",
"price": {
"amount": "{{getProductVariantDataForeachitem.price}}",
"currencyCode": "USD"
},
"compareAtPrice": {
"amount": "{{getProductVariantDataForeachitem.compareAtPrice}}",
"currencyCode": "USD"
}
}
],
"pricesToDeleteByVariantId": []
}
}

 

 

However, I am getting a response of Price List cant be found.

 

I may be using the wrong ID.

 

Can someone assist me in finding the ID for my one and only B2B price list?

Replies 0 (0)