Skip to content

POST /2025-07/cloud/product ​

Method: POST

URL:

Sandbox URL:

Description: Creates a product on ZhenHub.

Parameters required to be sent ​

ParameterDescriptionType
titleProduct title. The maximum length is 256.String, Required
vendorProduct vendor. The maximum length is 64.String
currencyCurrency. The maximum length is 3.String, Required
categoryCategory. The maximum length is 256.String
body_htmlProduct description. The maximum length is 65535.String
tagsProduct tags. The maximum length is 2046.Array
optionsVariant options. The maximum length is 65535.Object
variantsVariations or options available for a product or item.Array
  skuSKU No. The maximum length is 128.String, Required
  titleVariants title. The maximum length is 256.String, Required
  retail_priceProduct retail price. The maximum total digits 12, with 2 decimal places.Number, Required
  weightProduct weight. The maximum total digits 12, with 2 decimal places.Number
  weight_unitWeight UOM:
g, kg, oz, lb.
The maximum length is 8.
String, Required
  requires_shippingRequires shipping, default value is true.Boolean
  unitUOM:
pcs, kg.
The maximum length is 8.
String, Required

Body ​

json
{
  "title": "i like iphone",
  "vendor": "apple",
  "currency": "USD",
  "category": "phone",
  "body_html": "i like iphone too",
  "tags": [
    "apple",
    "iphone 6",
    "iphone"
  ],
  "options": {
    "color": [
      "black",
      "gold",
      "silver"
    ],
    "memory": [
      "64G",
      "128G",
      "256G"
    ]
  },
  "variants": [
    {
      "sku": "iphone6",
      "title": "iphone6 256G",
      "retail_price": 1680,
      "weight": 168,
      "weight_unit": "g",
      "requires_shipping": true,
      "unit": "pcs"
    }
  ]
}

Response ​

json
{
  "code": 200,
  "message": "Successful!",
  "data": 718553956438835212
}