Productcategorie
Inleiding
Haalt de lijst met productcategorieën op.
Eindpunt
json
POST /product/v1/categoryInfoAanvraagbody
| Veld | Type | Verplicht | Beschrijving |
|---|---|---|---|
lang | string | Nee | Taalinstelling, Engels (standaard): EN_US, Chinees: ZH_CN |
Voorbeeld van een aanvraag
bash
curl 'https://openapi.fastmoss.com/product/v1/categoryInfo' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer xxxxxxxxxx' \
--data '{"lang": "EN_US"}'Voorbeeld van een antwoord
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"
}
]
}
]
}
]