Create Product Variation

Add a variation product under an existing main product.
在現有主商品之下新增規格商品

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Product ID
主商品ID

Body Params
string

Stock Unit Number
儲位編號

string

Stock Keeping Unit
商品貨號

number

Price (Note: Cannot be set to null. Product with a price of 0 cannot be sold.)
原價格 (備註:不能設定為null。價格為0的商品不能被售出)

number

Retail Price
零售價

product_price_tiers
object

Membership tier's ID
會員等級ID

number

Member Price
會員價

integer
-9999999 to 9999999

Product Variation Quantity
規格商品數量
-
Directly update the quantity of the variation. The quantity is between -9999999 to 9999999.
直接更新規格商品數量。商品數量要在 -9999999 - 9999999 之間。

integer

Pre-ordere Limit
預購上限

string

Link of Images
圖片連結

number

Price on sale (Note: Cannot be set to null. Product with a price_sale of 0 will be sold at its original price.)
特價 (備註:不能設定為null。特價為0的商品會以原價售出)

number

Cost (Note: Cannot be set to null)
成本 (備註:不能設定為null)

number

Weight (kg)
重量 (公斤)

string

Barcode
商品條碼編號

boolean
Defaults to false

Will ignore errors when media upload failed.
圖像上傳失敗時將忽略錯誤。

boolean
Defaults to false

Show variation photos.
展示商品規格圖像。

variant_options
array of objects
required

Product Variations
商品規格
-
*Maximum allows 3 types of variant option for a product, type allow (color, size, custom_1, custom_2, custom_3)
最多支援三種不同的規格種類,支援color, size, custom_1, custom_2, custom_3

variant_options*
Responses

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