Produktdetail-API

POST /v1/products/detail - vollständige Produktdetails für Checkout-Integrationen abrufen (SKU-Matrix, Preise, Bestand).

Verwandt: Produkt-Antwortmodelle · Beschaffungs-Mapping

Request-Body

FeldErforderlichBeschreibung
channelJa1688 | taobao | weidian
product_idEins von1688 offerId; bei Taobao mi_id gegenüber Legacy-item_id bevorzugen
urlEins vonProduktseiten-URL
mi_idTaobaoTaoWorld-Produkt-ID (für Bestellungen empfohlen)
tao_passwordTaobaoTaobao-Share口令 - vollständigen Share-Text oder口令-String einfügen
languageNeinStandard en
response_formatNeinstandard (Standard) oder upstream

Beispiele

Taobao口令:

POST /v1/products/detail
{
  "channel": "taobao",
  "tao_password": "¥abc123¥ 复制这条信息...",
  "language": "en"
}

1688 offer id:

POST /v1/products/detail
{
  "channel": "1688",
  "product_id": "554456348334",
  "language": "en"
}

Antwort

StandardProductDetail, gekapselt als { "product": { ... }, "request_id": "req_..." } - siehe Produkt-Antwortmodelle.

Variantenauswahl

Bauen Sie die Checkout-UI aus product.variants[] auf - siehe Integrationsmuster.