Price List ID

Price List ID

wcolton48
Shopify Partner
38 0 8

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)