GET /2025-07/cloud/product/all
Method: GET
URL:
Sandbox URL:
Description: Return all products in ZhenHub.
Submit a "GET" request to above endpoint
Result object contains:
| Parameter | Description | Type |
|---|---|---|
id | Product ID. | Long |
title | Product title. The maximum length is 256. | String |
body_html | Product description. The maximum length is 65535. | String |
vendor | Product vendor. The maximum length is 64. | String |
created_time | Created time. | Date Time |
updated_time | Updated time. | Date Time |
tags | Product tags. The maximum length is 2046. | Array |
currency | Currency. The maximum length is 3. | String |
source | Product source. The maximum length is 32. | String |
options | The maximum length is 65535. | Object |
category | The maximum length is 256. | String |
variants | Array | |
id | Variants ID. | Long |
title | Variants title. The maximum length is 256. | String |
sku | SKU No. The maximum length is 128. | String |
weight | Product weight. The maximum total digits 12, with 2 decimal places. | Number |
weight_unit | Weight UOM: g, kg, oz, lb. The maximum length is 8. | String |
requires_shipping | Requires shipping, default value is true. | Boolean |
retail_price | Product retail price. The maximum total digits 12, with 2 decimal places. | Number |
compare_at_price | Product compare at price. The maximum total digits 12, with 2 decimal places. | Number |
unit | The maximum length is 8. | String |
created_time | Created time. | Date Time |
updated_time | Updated time. | Date Time |
options | The maximum length is 65535. | Object |
images | Product images. | Array |
url | URL. The maximum length is 255. | String |
title | Title. The maximum length is 127. | String |
Response
json
{
"code": 200,
"message": "Successful!",
"data": [
{
"id": 7185539564388352,
"title": "test-openapi12",
"body_html": "i like iphone too",
"vendor": "apple",
"created_time": null,
"updated_time": null,
"compare_at_price": 1999,
"tags": [
"apple",
"iphone 6",
"iphone"
],
"currency": "USD",
"source": "ZhenHub",
"options": {
"color": [
"black",
"gold",
"silver"
],
"memory": [
"64G",
"128G",
"256G"
]
},
"variants": null,
"images": null
}
]
}