Update bill
curl --request PUT \
--url https://staging-api.usetyms.com/v1/adam/bills/{uuid} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{}'import requests
url = "https://staging-api.usetyms.com/v1/adam/bills/{uuid}"
payload = {}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://staging-api.usetyms.com/v1/adam/bills/{uuid}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "success",
"message": "Bill updated successfully",
"data": {
"uuid": "660e8400-e29b-41d4-a716-446655440002",
"narration": "Updated bill narration"
}
}Bills
Update bill
PUT
/
bills
/
{uuid}
Update bill
curl --request PUT \
--url https://staging-api.usetyms.com/v1/adam/bills/{uuid} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{}'import requests
url = "https://staging-api.usetyms.com/v1/adam/bills/{uuid}"
payload = {}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://staging-api.usetyms.com/v1/adam/bills/{uuid}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "success",
"message": "Bill updated successfully",
"data": {
"uuid": "660e8400-e29b-41d4-a716-446655440002",
"narration": "Updated bill narration"
}
}Authorizations
Business secret tyms_sk_... for business-scoped routes. Partner secret for register-business and referred-business distributor routes.
Path Parameters
Body
application/json
The body is of type object.
Response
200 - application/json
Bill updated