Get Order

To get detailed information for a specific order with its ID
使用訂單ID獲取特定一筆訂單的詳細資料

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
📘

SHOPLINE 將依據訂單狀態封存超過一定期限的訂單資料(訂單封存條件可參考 FAQ 說明

因此當使用 Get OrderGet Orders 透過指定 訂單 ID 的方式抓取訂單資料,訂單資料標示如下時,則表示該訂單已封存,則需透過 Get Archived Orders 取得訂單資料

  • Get Order - 收到 410 response (請參閱 Get Order)
  • Get Orders - response 中標註已封存訂單 (請參閱 Get Orders)

如欲拿取超過兩年以上的訂單資料,也需要使用 Get Archived Orders 取得訂單資料

Path Params
string
required

Order ID
訂單ID

Query Params
include_fields[]
array of strings

Provide additional attributes in the response
結果添加哪些參數

include_fields[]
Allowed:
fields[]
array of strings

Only return the provided fields in the responses
結果只包含輸入的參數
This parameter will override include_fields[]
此參數會覆蓋include_fields[]。

fields[]
Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json