Skip to main content
POST
/
api
/
v1
/
procurement
/
orders
Create procurement order
curl --request POST \
  --url http://localhost:3000/api/v1/procurement/orders \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "supplierId": "<string>",
  "items": "<string>",
  "deliveryDate": "<string>",
  "budget": "<string>"
}
'
{
  "message": "<string>",
  "data": {}
}

Authorizations

Authorization
string
header
required

JWT obtained from POST /api/v1/auth/login.

Body

application/json
supplierId
string

supplierId — see API source for exact type.

items
string

items — see API source for exact type.

deliveryDate
string

deliveryDate — see API source for exact type.

budget
string

budget — see API source for exact type.

Response

Created

message
string
data
object