purchase_order

Purchase Order - New Create

Changed on

Create a purchase order using the latest creation endpoint with enhanced validation.

post/purchase_order/new_create

Request

  • Base URL
    https://api.skulabs.com
  • URL
    https://api.skulabs.com/purchase_order/new_create
  • Auth
    HTTP bearer

Request body

dataobject required

Purchase order data object

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"
}

Changes

    • breaking

      the request property became required

    • info

      api operation id post_purchase_order_new_create was added

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for 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

      added required request body

    • warning

      deleted the query request parameter data

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status