curl --location --request POST 'https://dev.your-api-server.com/api/v1/vendor/purchases' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"store_id": 0,
"vendor_id": 0,
"transaction_date": "string",
"amount": 0,
"note": "string",
"status": "string",
"details": {
"item_id": 0,
"unit_id": 0,
"quantity": 0,
"unit_price": 0,
"total_price": 0
}
}'{}