v1

latestOpenAPI 3.0.32026-07-13149852.3 MB
purchase_order

Purchase Order - Create V2

Create a purchase order using names instead of IDs for store, distributor, and warehouse. Supports item lookup by SKU, MPN, or barcode.

post/purchase_order/create_v2

Request body

dataobject required

Purchase order data object (v2)

Response

Purchase order created

successboolean required

Whether the operation succeeded

_idstring

ID of the created purchase order

errorsstring[]

Array of validation error messages

skulabs_warningobject

Non-fatal warning from background operations

Example response

{
  "_id": "507f1f77bcf86cd799439011"
}