Produktkategorie
Einführung
Liste der Produktkategorien abrufen.
Endpunkt
json
POST /product/v1/categoryInfoAnfrage-Body
| Feld | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
lang | string | Nein | Spracheinstellung, Englisch (Standard): EN_US, Chinesisch: ZH_CN |
Anfragebeispiel
bash
curl 'https://openapi.fastmoss.com/product/v1/categoryInfo' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer xxxxxxxxxx' \
--data '{"lang": "EN_US"}'Antwortbeispiel
json
{
"code":0,
"msg":"success",
"data":[
{
"c_code": "10",
"c_name": "Home Supplies",
"sub": [
{
"c_code": "852488",
"c_name": "Festive & Party Supplies",
"sub": [
{
"c_code": "600009",
"c_name": "Festive Decorations"
}
]
}
]
}
]