| 履约类型 | 履约类型编码 |
|---|---|
| 定制商品 | 1 |
| 会员营销 | 2 |
| 加购导购 | 3 |
| 权益互动 | 4 |
| 购后课程 | 5 |
| HTTP 状态码 | 错误码 | 描述 | 排查建议 |
|---|---|---|---|
| 200 | 28001018 | 应用未获得该能力 | 非电商小程序不能调用 |
| 200 | 28007004 | 参数错误 | 根据提示检查参数, 例如:枚举错误 |
| 200 | 28001005 | 系统内部错误 | 稍后重试 |
curl --location --request POST 'http://dev-cn.your-api-server.com/api/ecom/v1/config/register_ma_app/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"app_id": "ttcfdbb9xxxxxxxx",
"ecom_microapp_type": 2,
"callback_url": "https://callback_url"
}'{
"err_no": 0,
"err_msg": "success",
"log_id": "20230630155829xxxxxxxxxxxxxxxxxxxxx"
}