Skip to main content
Update a usage entry
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": "<string>",
  "value": 123,
  "properties": "<unknown>"
}
'
{
  "message": "Usage entry updated successfully."
}

Authorizations

X-SALESBRICKS-KEY
string
header
required

API key for authentication

Body

Request serializer for updating an existing usage entry.

transaction_id
string

The unique identifier of the usage entry to update.

value
integer

The new usage value.

properties
any | null

Updated JSON object with additional properties.

Response

Common response message serializer that includes a message from the result of an API operation.

message
string
required

Success message from the result of the previous API operation.