- 支付
- 私域
- 公域
- 营销
- 资金
- 会员
- 信用
- 安全
- 其他
获取本地商品类目接口
开发环境
http://dev-cn.your-api-server.com
开发环境
http://dev-cn.your-api-server.com
POST
/v3/alipay/open/app/item/localcategory/query
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://dev-cn.your-api-server.com/v3/alipay/open/app/item/localcategory/query' \
--header 'authorization: ALIPAY-SHA256withRSA app_id=$appid,timestamp=$now,nonce=$uuid,expired_seconds=600,sign=$sign' \
--header 'alipay-request-id: $requestid' \
--header 'Content-Type: application/json' \
--data-raw '{
"item_type":"1"
}'
响应示例响应示例
{
"cats":[
{
"cat_and_parent":[
{
"cat_id":"8888",
"cat_name":"餐饮",
"f_cat_id":"66666",
"cat_level":1,
"item_types":[
"1"
],
"cat_status":"AUDIT_PASSED"
}
]
}
]
}
请求参数
Header 参数
authorization
string
必需
示例值:
ALIPAY-SHA256withRSA app_id=$appid,timestamp=$now,nonce=$uuid,expired_seconds=600,sign=$sign
alipay-request-id
string
必需
示例值:
$requestid
Content-Type
string
必需
示例值:
application/json
Body 参数application/json
item_type
string
必需
示例
返回响应
🟢200成功
application/json
Body
cats
array [object {1}]
【描述】类目信息
cat_and_parent
array [object {6}]
必需