Categoria di prodotto
Introduzione
Recupera l'elenco delle categorie di prodotto.
Endpoint
json
POST /product/v1/categoryInfoCorpo della richiesta
| Campo | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
lang | string | No | Impostazione della lingua, inglese (predefinito): EN_US, cinese: ZH_CN |
Esempio di richiesta
bash
curl 'https://openapi.fastmoss.com/product/v1/categoryInfo' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer xxxxxxxxxx' \
--data '{"lang": "EN_US"}'Esempio di risposta
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"
}
]
}
]
}
]