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.

Updating variant prices in bulk via GraphQL: primary currency vs Price List performance

Updating variant prices in bulk via GraphQL: primary currency vs Price List performance

Chris_Marshall1
Shopify Partner
40 1 11
Question about bulk pricing updates. We can bulk update up to 250 prices in a single call with the below mutation. This is a really efficient way to bulk update prices. I can only figure out how to do this on a Markets price list. Is there an equivalent that will let me update 250 variant prices in the primary currency?
mutation  {
    priceListFixedPricesAdd(
           priceListId: "gid://shopify/PriceList/2433242",
           prices: [
    {
        price: {
            amount: "1.23",
            currencyCode: GBP
        },
        variantId: "gid://shopify/ProductVariant/234234234"
    },
    {
        price: {
            amount: "2.34",
            currencyCode: GBP
        },
        variantId: "gid://shopify/ProductVariant/2343243242"
    }
])
Reply 1 (1)

inventoryanimal
Shopify Partner
1 0 0

Anyone find a way to do this?