Purchase Order - Create
Changed onAugust 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.
Request
- Base URLhttps://api.skulabs.com
- URLhttps://api.skulabs.com/purchase_order/create
- AuthHTTP bearer
Request body
Example request
{
"store_id": "507f1f77bcf86cd799439011",
"due_date": "2025-01-15"
}Response
Purchase order created
Example response
{
"_id": "507f1f77bcf86cd799439011"
}Changes
- breaking
request property
was restricted to a list of enum values - breaking
the request property
became required - breaking
the
request property type changed fromstringtoobject - breaking
the
request property type changed fromstringtoboolean - breaking
the
request property type changed fromnumbertostring, and format fromintegerto no format - breaking
the
request property type changed fromstringtonumber - info
api operation id
post_purchase_order_createwas added - info
added the new optional request property
// - info
added the new optional request property
// - info
added the new optional request property
// - info
added the new optional request property
// - info
added the new optional request property
// - info
added the new optional request property
// - info
added the new optional request property
// - info
added the new optional request property
// - info
added the new optional request property
// - info
added the new optional request property
// - info
added the new optional request property
// - info
added the new optional request property
// - info
added the new
acceptingenum value to the request property - info
added the new
acknowledgedenum value to the request property - info
added the new
closedenum value to the request property - info
added the new
createdenum value to the request property - info
added the new
editedenum value to the request property - info
added the new
receivingenum value to the request property - info
added the new
sentenum value to the request property - info
added the new
transitenum value to the request property - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- breaking
- breaking
added required request body
- warning
deleted the
queryrequest parameterdiscount - warning
deleted the
queryrequest parameterdiscount_per - warning
deleted the
queryrequest parameterdistributor_id - warning
deleted the
queryrequest parameterdropship_address - warning
deleted the
queryrequest parameterdropshipped - warning
deleted the
queryrequest parameterdue_date - warning
deleted the
queryrequest parameteritems - warning
deleted the
queryrequest parametermemo - warning
deleted the
queryrequest parametermethod - warning
deleted the
queryrequest parameternumber - warning
deleted the
queryrequest parametershipping - warning
deleted the
queryrequest parameterstatus - warning
deleted the
queryrequest parameterstore_id - warning
deleted the
queryrequest parametersubtotal - warning
deleted the
queryrequest parametertax - warning
deleted the
queryrequest parametertax_per - warning
deleted the
queryrequest parameterterms - warning
deleted the
queryrequest parametertotal - warning
deleted the
queryrequest parameterwarehouse_id - info
added the non-success response with the status
- info
added the non-success response with the status
- breaking