版本:202201
更新订单
PUT/openapi/2022-01/orders/:id
更新指定订单的详情。
请求
Path参数
id string必填
Order's ID
- application/json
- 请求体
- 示例
请求体
notestring
tagsstring
Order's tags, separated by comma, for example: a,b
buyer_accespts_marketingboolean
Whether customer accept marketing campaign
shipping_address object
first_namestring
First name of consignee.
last_namestring
Last name of consignee.
emailstring
phonestring
Phone number, for example: 5052814445
countrystring
Country, for example: United States
country_codestring
Country code, for example: US
provincestring
Province, for example: New Mexico
province_codestring
Province Code, for example: NM
citystring
City, for example: SAN JOSE
areastring
Area, for example: Bay area
address1string
Street address, for example: 1 Rue des Carrieres
address2string
Apartment/floor/room number, for example: Suite 1234
companystring
Company, for example: ABC Limited
latitudestring
Latitude of the delivery address, for example: 22.54
longitudestring
Longitude of the delivery address, for example: 114.06
phone_area_codestring
Area code, for example: +86
zipstring
ZIP code, for example: 87036
{
"note": "string",
"tags": "string",
"buyer_accespts_marketing": true,
"shipping_address": {
"first_name": "string",
"last_name": "string",
"email": "string",
"phone": "string",
"country": "string",
"country_code": "string",
"province": "string",
"province_code": "string",
"city": "string",
"area": "string",
"address1": "string",
"address2": "string",
"company": "string",
"latitude": "string",
"longitude": "string",
"phone_area_code": "string",
"zip": "string"
}
}
响应
- 200
200
- application/json
无 Schema