Purchase Order - Create
August 2023: Now supports item_id, kit_id, sku (SKULabs Kit or Item), mpn (Supplier MPN), or barcode (SKULabs Kit or Item barcode) as lookup fields in the item array.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
PO number
Store ID
"507f1f77bcf86cd799439011"
Distributor ID
Warehouse ID
Line items
Subtotal
Tax amount
Tax percentage
Total
Memo
Payment terms
Shipping cost
Payment method
Discount amount
Discount percentage
Dropship address
Initial PO status
closed, created, receiving, acknowledged, sent, edited, transit, accepting Due date
"2025-01-15"
Dropshipped flag
Response
Purchase order created
Whether the operation succeeded
ID of the created purchase order
"507f1f77bcf86cd799439011"
PO number (may be auto-generated)
Array of validation error messages
Results from auto-adding serial numbers (pallet processing)
Non-fatal warning from background operations