v1
latestOpenAPI 3.0.02026-07-26318168886.7 KBWarehouses
Get Warehouses
To get merchant's warehouses information<br>獲取店家倉庫資料
get/warehouses
Query parameters
previous_idstring
The last ID of the warehouse in the previous request.<br>前一筆倉庫的 ID <br>beta 測試中,僅開放部分店家使用,如無法使用功能請聯絡客服窗口
pageinteger
Page Number<br>頁數
per_pageinteger
Numbers of Orders per Page<br>每頁顯示 n 筆資料
excludes[]string[]
Could exclude certain parameters in the response<br>結果要排除哪些參數
[ "items.id" ]
fields[]string[]
Could only show certain parameters in the response<br>結果只顯示哪些參數
[ "items.id" ]
Response
OK
Example response
{
"items": [
{
"id": "5ee819deab591e00169a4618",
"name": "預設倉庫",
"status": "active"
}
],
"pagination": {
"current_page": 1,
"per_page": 24,
"total_count": 1,
"total_pages": 1
}
}