cURL
curl --request PATCH \ --url https://api.salesbricks.com/api/v2/usage \ --header 'Content-Type: application/json' \ --header 'X-SALESBRICKS-KEY: <api-key>' \ --data '{ "transaction_id": "12345", "value": 123, "properties": { "source": "api", "notes": "Updated notes", "region": "US" } }'
{ "message": "Usage entry updated successfully." }
Use this API to update an existing usage entry.
v2/usage
https://api.salesbricks.com/api/v2/usage
Use your Salesbricks API key to authenticate requests.
Usage entry updated successfully.
The response is of type object.
object