版本:202201
设置默认地址
PUT/openapi/2022-01/customers/:customer_id/addresses/:address_id/default
将指定地址设为顾客的默认地址。
请求
Path参数
customer_id string必填
顾客 ID。
address_id string必填
地址 ID。
响应
- 200
- 400
- 404
200
- application/json
无 Schema
400
- application/json
无 Schema
404
- application/json
- 数据结构
- 示例
- Result
数据结构
errorsstring[]
{
"errors": [
"Record not found"
]
}
{
"errors": [
"Record not found"
]
}