Purchase Orders
Create purchase order
Create purchase order<br>創建進貨單
post/pos/purchase_orders
Request body
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>更新時間