检索订单编辑
正式环境
正式环境
GET
/store/order-edits/{id}
Store API/Order EditsOrder Edits
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://apifoxmock.com/m1/4997831-4656773-default/store/order-edits/'
响应示例响应示例
200 - 示例 1
请求参数
Path 参数
id
string
订单编辑的 ID。
返回响应
🟢200正常
application/json
Body
订单编辑的详细信息。
order_edit
object (Order Edit)
必需
id
string
订单编辑的 ID
示例值:
oe_01G8TJSYT9M6AVS5N4EMNFS1EK
order_id
string
必需
示例值:
order_01G2SG30J8C85S4A5CHM2S1NS2
order
object | null
可选
internal_note
string | null
必需
示例值:
Included two more items B to the order.
created_by
string
必需
requested_by
string | null
必需
requested_at
string <date-time> | null
必需
confirmed_by
string | null
必需
confirmed_at
string <date-time> | null
必需
declined_by
string | null
必需
declined_at
string <date-time> | null
必需
declined_reason
string | null
必需
canceled_by
string | null
必需
canceled_at
string <date-time> | null
必需
subtotal
integer
小计总额
示例值:
8000
discount_total
integer
折扣总额
示例值:
800
shipping_total
integer
运费总额
示例值:
800
gift_card_total
integer
礼品卡总额
示例值:
800
gift_card_tax_total
integer
礼品卡税总额
示例值:
800
tax_total
integer
税总额
示例值:
0
total
integer
可选
示例值:
8200
difference_due
integer
可选
示例值:
8200
payment_collection_id
string | null
付款集合的ID
示例值:
paycol_01G8TJSYT9M6AVS5N4EMNFS1EK
created_at
string <date-time>
必需
updated_at
string <date-time>
必需
status
enum<string>
订单编辑的状态。
枚举值:
confirmeddeclinedrequestedcreatedcanceled
items
array[object (Line Item) {42}]
可选
changes
array[object (Order Item Change) {11}]
可选
payment_collection
object (Payment Collection)
可选
🟠400客户端错误或多个错误
🟠401用户未授权。必须先登录
🟠404未找到错误
🟠409无效状态错误
🟠422无效请求错误
🔴500服务器错误
修改于 2024-09-20 08:34:42