Skip to main content
Version: 202607

Update product

PUT 

/openapi/2026-07/products/:product_id

Update an existing product with the provided details.

Request

Path Parameters

    product_id stringrequired

    Product's ID

Bodyrequired

    product_idstring

    Product's ID

    no_entityboolean

    If no_entity is true, an empty object is returned after a successful update

    product object

    Product

    titlestring

    Product's title

    briefstring

    Product's subtitle

    descriptionstring

    Description, supports rich text editing

    publishedboolean

    Returns true if the product is published. Returns false if not

    require_shippingboolean

    Returns true if the product needs shipping. Returns false if not

    taxableboolean

    Returns true if taxes should be charged on the product. Returns false if not

    tagsstring[]

    The tags of the product

    vendorstring

    The vendor of the product

    vendor_urlstring

    The vendor URL of the product

    notestring

    Product's note

    seo_titlestring

    SEO title

    seo_descriptionstring

    SEO description

    seo_keywordsstring[]

    SEO keywords

    handlestring

    SEO handle

    has_only_default_variantboolean

    Whether it is a single style

    inventory_trackingboolean

    Whether to track inventory

    inventory_policystring

    Required when inventory_tracking is set to true The following options are available:

    • continue: Continue selling when out of stock
    • deny: Stop selling when out of stock
    • auto_unpublished: Set as draft when out of stock
    inventory_quantityint64

    Quantity of the inventory

    spustring

    Product SPU (Standard Product Unit)

    fake_salesint64

    Virtual sales

    display_fake_salesboolean

    Product sales = current real sales + virtual sales, when display_fake_sales is true

    images object[]

    Product images, the first image uploaded when creating the product will be set as the main product image by default

  • Array [
  • srcstring

    Image's URL, required if you want to update the image

    widthint32

    Image's width in px

    heightint32

    Image's height in px

    altstring

    Image's alt

    idstring

    Image's ID

  • ]
  • options object[]

    Product styles, supports up to three styles. Required when has_only_default_variant is set to false

  • Array [
  • namestringrequired

    Option's name, for example: "color","size"

    valuesstring[]required

    Option's values, for example: ["red", "black"],["small", "large"]

  • ]
  • variants object[]

    The variants of the product

  • Array [
  • idstring

    Variant's ID

    option1string

    Option 1

    option2string

    Option 2

    option3string

    Option 3

    image object

    Variant's images, e.g.: cn.cdn.shoplazza.com/c.jpeg

    srcstring

    Image's URL, required if you want to update the image

    widthint32

    Image's width in px

    heightint32

    Image's height in px

    altstring

    Image's alt

    idstring

    Image's ID

    compare_at_pricedouble

    Compare at price ( original price )

    pricedouble

    Price, set it to "0.00" if you want to leave the price empty

    skustring

    SKU

    barcodestring

    The barcode of the variant

    notestring

    Note or remark

    weightdouble

    Weight

    weight_unitstring

    Unit of weight, possible value are: kg, g, lb, oz

    cost_pricedouble

    Cost price

    whole_prices object[]

    Wholesale prices

  • Array [
  • pricedouble

    Price

    min_quantityint64

    Mini Order Quantity

  • ]
  • retail_pricedouble

    Retail price of the variant

    image_idstring

    Image ID of the variant

    extend object

    Extend information of the variant

    lengthdouble

    Length of the variant

    widthdouble

    Width of the variant

    heightdouble

    Height of the variant

    dimension_unitstring

    Dimension unit, possible value are: cm, in, mm

    origin_country_codestring

    Origin country of the variant

    hs_codestring

    Harmonized System Code of the variant

    inventory_quantityint64

    Inventory quantity of the variant

  • ]
  • collection_idsstring[]

    Collection ID of the product

    need_variant_imageboolean

    Variant image required, when need_variant_image is true

    need_shippingboolean

    Whether the product need shipping

    auto_publish_atstring

    After setting auto_publish_at, the product will be published as scheduled at that time, in RFC 3339 format. Example: 2026-01-26T10:00:00.000+00:00

    category_idstring

    The category ID of the product

Responses

OK

Schema
    codestring

    error code

    messagestring

    error message

    data object
    product object

    The updated product

    idstring

    Product's ID

    titlestring

    Product's title

    descriptionstring

    Product's description

    publishedboolean

    Whether it is published or not

    requires_shippingboolean

    Whether it is required to shipping

    taxableboolean

    Whether it is taxable

    tagsstring[]

    Tags, string list of tags

    vendorstring

    Vendor's name

    vendor_urlstring

    Vendor's URL

    notestring

    Customizable note, for example: "This is a customizable product"

    seo_titlestring

    SEO title

    seo_descriptionstring

    SEO description

    seo_keywordsstring[]

    SEO keywords

    handlestring

    Product's handle

    has_only_default_variantboolean

    Whether it is a single variant

    inventory_trackingboolean

    Whether to tracking inventory

    inventory_policystring

    Inventory policy: continue, deny, auto_unpublished, required while inventory_tracking is true

    need_variant_imageboolean

    Whether variant image is needed. It's required if has_only_default_variant is false

    spustring

    Product's SPU

    fake_salesint64

    Product's fake sales

    display_fake_salesboolean

    Whether to display fake sales

    options object[]

    List of options

  • Array [
  • idstring

    Option's ID

    namestring

    Option's name, for example: "color","size"

    valuesstring[]

    Option's values, for example: ["red", "black"],["small", "large"]

    positionint64

    Option's position

  • ]
  • images object[]

    List of images

  • Array [
  • idstring

    Image's ID

    srcstring

    Image's URL

    widthint32

    Image's width in px

    heightint32

    Image's height in px

    altstring

    Image's alt

    positionint64

    Image's position

    pathstring

    Image's path

  • ]
  • variants object[]

    List of product variants

  • Array [
  • idstring

    The unique identifier of the variant

    product_idstring

    The product ID this variant belongs to

    image_idstring

    The image ID of the variant

    created_atstring

    The time of the variant was created

    updated_atstring

    The time of the variant was updated

    titlestring

    Title of the variant

    option1string

    The first option of the variant

    option2string

    The second option of the variant

    option3string

    The third option of the variant

    image object

    The image of the variant

    srcstring

    Image's URL

    widthint32

    Image's width in px

    heightint32

    Image's height in px

    altstring

    Image's alt

    pathstring

    Image's path

    positionint64

    The position of the variant in the product

    compare_at_pricedouble

    The compare at price of the variant

    pricedouble

    The price of the variant

    skustring

    The SKU of the variant

    barcodestring

    The barcode of the variant

    notestring

    The note of the variant

    inventory_quantityint64

    The inventory quantity of the variant

    weightdouble

    The weight of the variant

    weight_unitstring

    The weight unit of the variant, possible value are: kg, g, lb, oz

    cost_pricedouble

    The cost price of the variant

    whole_prices object[]

    The whole prices of the variant

  • Array [
  • pricedoublerequired

    Price

    min_quantityint64required

    Mini Order Quantity

  • ]
  • retail_pricedouble

    The retail price of the variant

    is_discountboolean

    Whether the variant is discount

    origin_pricedouble

    The origin price of the variant

    extend object

    Extend of the variant

    lengthdouble

    The length of the variant

    widthdouble

    The width of the variant

    heightdouble

    The height of the variant

    dimension_unitstring

    The dimension unit

    origin_country_codestring

    Origin_country_code

    hs_codestring

    Hs_code

  • ]
  • mixed_wholesaleboolean

    Whether mixed wholesale is supported

    product_typestring

    Product type

    brandstring

    Brand

    briefstring

    Brief of the product

    inventory_quantityint64

    Inventory quantity

    price_mindouble

    Min price

    price_maxdouble

    Max price

    compare_at_price_mindouble

    Min compare at price

    compare_at_price_maxdouble

    Max compare at price

    published_atstring

    Published at

    created_atstring

    Created at

    updated_atstring

    Updated at

    salesint64

    The real amount of sales

    independent_seoboolean

    Independent seo

    urlstring

    URL of the product

    availableboolean

    Whether the product available

    retail_price_mindouble

    The minimum of the retail price

    retail_price_maxdouble

    The maximum of the retail price

    origin_price_mindouble

    The minimum of the original price

    origin_price_maxdouble

    The maximum of the original price

    primary_image object

    The primary image

    srcstring

    Image's URL

    widthint32

    Image's width in px

    heightint32

    Image's height in px

    altstring

    Image's alt

    pathstring

    Image's path

    tax_codestring

    The tax code of the product

    category_idstring

    The category ID of the product

    category object

    Categories in the products' list

    iduint64

    Category ID

    namestring

    Name

    google_idint64

    Google category ID

    levelint32

    Level

    pathstring

    Path