v1

latestOpenAPI 3.0.02026-07-26318168886.7 KB
Purchase Orders

Get the specified purchase order

Get the specified purchase order by PurchaseOrderId<br>透過 id 取得進貨單資訊

get/pos/purchase_orders/{PurchaseOrderId}

Path parameters

PurchaseOrderIdstring required

PurchaseOrder's ID<br>進貨單 ID

Response

OK

idstring

Purchase Order ID<br>進貨單 ID

type'purchase' | 'return'

Type<br> 類型

numberstring

PurchaseOrder Number<br>單號

custom_numberstring

Custom Number<br>自訂單號

status'pending' | 'received' | 'completed' | 'cancelled' | 'removed'

Status<br>貨單狀態

arrival_status'pending_to_receive' | 'partial' | 'all_received' | 'all_returned'

Arrival Status<br>到貨狀態

scheduled_timestring

Time scheduled to arrive at<br預定到貨日期

actual_timestring

Actual Time to arrive at<br>完成進貨日期

total_quantityinteger

Total Quantity<br>進貨數量

current_quantityinteger

Current Quantity<br>點收數量

notestring

Note<br>備註

child_idstring

Child ID<br>子進貨單 ID

group_idstring

Group ID<br>進貨單群組 ID

has_removed_itemsboolean

Has Removed Items<br>有商品被移除的進貨單項目

created_atstring

Created at<br>建立時間

updated_atstring

Updated at<br>更新時間