Skip to content

Categoria di prodotto ​

Introduzione ​

Recupera l'elenco delle categorie di prodotto.

Endpoint ​

json
    POST /product/v1/categoryInfo

Corpo della richiesta ​

CampoTipoObbligatorioDescrizione
langstringNoImpostazione 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"
                        }
                    ]
                }
            ]
        }
    ]