Create Purchase Order
This endpoint creates a new purchase order
POST
/
v1
/
purchaseorder
curl --location --request POST 'https://api.stateset.network/v1/purchaseorder' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": ""
}'
{
"success": 123
}
Body
This is the ID of the purchase order to be created.
Response
Indicates whether the call was successful. 1 if successful, 0 if not.
curl --location --request POST 'https://api.stateset.network/v1/purchaseorder' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": ""
}'
curl --location --request POST 'https://api.stateset.network/v1/purchaseorder' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": ""
}'
{
"success": 123
}