Create a Supplier Order for current business
POSThttps://api.staging.powerapi.com/api/v1/supplier_orders
Create a Supplier Order for current business
Request
- application/vnd.api+json
Bodyrequired
data object
Responses
- 201
Create a Supplier Order for current business
- application/vnd.api+json
- Schema
Schema
Authorization: http
name: bearertype: httpscheme: bearerbearerFormat: JWT
- curl
- python
- go
- nodejs
- ruby
- java
- powershell
- CURL
curl -L 'https://api.staging.powerapi.com/api/v1/supplier_orders' \
-H 'Content-Type: application/vnd.api+json' \
-H 'Accept: application/vnd.api+json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"data": {
"type": "supplier_orders",
"attributes": {
"desired_delivery_date": "2024-07-29",
"comment": "string"
},
"relationships": {
"business": {
"data": {
"type": "business",
"id": "string"
}
},
"supplier": {
"data": {
"type": "supplier",
"id": "string"
}
}
}
}
}'
ResponseClear