Update a product

patch
/products/{id}

Update product by ID.

id
string
required

Product ID

as-store-id
string

The identifier of your store. You need to generate it yourself. Note that this value must consist of numbers and letters (A-Z, a-z, 0-9), and special characters can only be hyphens (-) or underscores (_). For example, if you have a store called "soft life", you can fill in soft-life or soft_life for the value.

Please note that every time you change this value, you need to contact the support team to help you initialize some configuration for the new store.

title
string

The title of the product.

<= 1024 characters
slug
string

URL friendly unique identifier for the product. It is different from the order slug.

<= 1024 characters
categories
array[string]

The categories of a shop.

<= 100 items
tags
array[string]

Tags that are used for filtering and search.

<= 100 items
image_urls
array[string]

URLs of the images.

<= 100 items
url
string

URL of a product.

<= 2048 characters
published
boolean

To indicate whether a product has been published.

description
string

Description of a product.

<= 10240 characters
source_updated_at
string

The date and time when the product was last modified. ISO 8601.

Auth
:
Parameters
:
:
Body
preparing...