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."
}

To use this endpoint, ensure that you are using the v2/usage API endpoint:

https://api.salesbricks.com/api/v2/usage

Authorizations

X-SALESBRICKS-KEY
string
header
required

Use your Salesbricks API key to authenticate requests.

Body

application/json

Response

200
application/json
Usage entry updated successfully.

The response is of type object.