updateJewelleryTransaction
Request
Body Params application/json
{
"newJewelleryTransaction": {
"type": "FINE_GOLD",
"weight": 0,
"date": "string",
"price": 0,
"transactionUnit": "GRAM",
"transactionType": "BUY",
"additionalCharges": 0,
"accountId": "string",
"description": "string"
}
}
Request Code Samples
curl --location --request PUT 'http://localhost:8000/jewellery/' \
--header 'Content-Type: application/json' \
--data-raw '{
"newJewelleryTransaction": {
"type": "FINE_GOLD",
"weight": 0,
"date": "string",
"price": 0,
"transactionUnit": "GRAM",
"transactionType": "BUY",
"additionalCharges": 0,
"accountId": "string",
"description": "string"
}
}'
Responses
{
"code": 0,
"result": {
"id": "string",
"uid": "string",
"type": "FINE_GOLD",
"weight": 0,
"date": "string",
"price": 0,
"transactionUnit": "GRAM",
"transactionType": "BUY",
"additionalCharges": 0,
"accountId": "string",
"description": "string"
},
"error": "string"
}
Modified at 2026-03-18 08:14:37