Update existing product variants

Mirrors Admin GraphQL productVariantsBulkUpdate — the counterpart to the POST on this path, which only CREATES. This is the ONLY way to change a price, SKU, barcode or compare-at price after creation (products/variant-cost writes COGS and nothing else).

Body: { variants: ProductVariantsBulkInput[], allowPartialUpdates?: boolean }. Every entry MUST carry the variant's own id — there is nothing else to match on. SKU lives under inventoryItem.sku, not a top-level field.

allowPartialUpdates defaults to Shopify's false: one invalid variant rejects the whole batch. Pass true to apply the valid ones and read the rest from userErrors.

  • Write — changes a live store immediately; needs a write-scoped token.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Numeric id or a full GID; both pass through.

Query Params
uuid
required

The Analify organization whose connected account to use.

Body Params
Responses
200

OK

Language
Credentials
Bearer
anlfy_...
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json