Supply agents

Approve or reject the recommended purchase

POST
/api/v1/procurement/{request_id}/approve

Approve or reject the recommended purchase.

Authorization

HTTPBearer
AuthorizationBearer <token>

JWT access token

In: header

Path Parameters

request_id*string
Formatuuid

Query Parameters

merchant_id?|

Optional merchant to act on. Must be one you are a member of.

Formatuuid

Header Parameters

X-Merchant-ID?string|null

Request Body

application/json

approve*boolean
note?string
Lengthlength <= 1000
Default""

Response Body

application/json

application/json

curl -X POST "https://example.com/api/v1/procurement/497f6eca-6276-4993-bfeb-53cbbbba6f08/approve" \  -H "Content-Type: application/json" \  -d '{    "approve": true  }'
{  "data": {},  "meta": {},  "success": true}