Skip to main content
POST
Purchase Order - Create V2

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
data
object
required

Purchase order data object (v2)

Response

Purchase order created

success
boolean
required

Whether the operation succeeded

_id
string

ID of the created purchase order

Example:

"507f1f77bcf86cd799439011"

number

PO number (may be auto-generated)

errors
string[]

Array of validation error messages

add_results
null[]

Results from auto-adding serial numbers (pallet processing)

skulabs_warning
object

Non-fatal warning from background operations