Skip to content

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:

ParameterDescriptionType
idProduct ID.Long
titleProduct title. The maximum length is 256.String
body_htmlProduct description. The maximum length is 65535.String
vendorProduct vendor. The maximum length is 64.String
created_timeCreated time.Date Time
updated_timeUpdated time.Date Time
tagsProduct tags. The maximum length is 2046.Array
currencyCurrency. The maximum length is 3.String
sourceProduct source. The maximum length is 32.String
optionsThe maximum length is 65535.Object
categoryThe maximum length is 256.String
variantsArray
  idVariants ID.Long
  titleVariants title. The maximum length is 256.String
  skuSKU No. The maximum length is 128.String
  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
  requires_shippingRequires shipping, default value is true.Boolean
  retail_priceProduct retail price. The maximum total digits 12, with 2 decimal places.Number
  compare_at_priceProduct compare at price. The maximum total digits 12, with 2 decimal places.Number
  unitThe maximum length is 8.String
  created_timeCreated time.Date Time
  updated_timeUpdated time.Date Time
  optionsThe maximum length is 65535.Object
imagesProduct images.Array
  urlURL. The maximum length is 255.String
  titleTitle. 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
    }
  ]
}