nexlogiq Shopify icon

nexlogiq Shopify

Consume Shopify API (SaaS Edition)

Product → Update

AI-generated

Summary

Update a product in a Shopify store

Inputs

  • shopUrl (required) — The URL of the Shopify store
  • accessToken (required) — The Admin API Access Token
  • productId (required) — The ID of the product to update
  • updateFields — Fields to update on the product, such as title, body_html, tags, images, options, etc.

Output shape

a single product record

The updated product object returned by the API; all returned fields are included, optional fields may be omitted.

Examples

Example 1: Update product title and tags

shopUrl: my-store.myshopify.com; accessToken: shpat_...; productId: 123456789; updateFields: {"title":"Summer Shoes","tags":"summer,footwear"}

Example 2: Add a new product image

shopUrl: my-store.myshopify.com; accessToken: shpat_...; productId: 987654321; updateFields: {"images":[{"src":"https://example.com/image.png","position":2}]}

Example 3: Change product published scope and type

shopUrl: my-store.myshopify.com; accessToken: shpat_...; productId: 112233; updateFields: {"published_scope":"web","product_type":"Apparel"}

Links

Discussion