Update a default price window

put/api/assetpricing/v1/admin/defaultprices

Updates an existing default price window by id.

Request Body

id string required
Default price identifier
Min length: >= 1 characters
Example: 550e8400-e29b-41d4-a716-446655440000
price number
Updated default price for the asset pair
Minimum: >= 0
Exclusive minimum: > true
Example: 1
start_time string
Updated start timestamp in ISO format
Example: 2026-01-01T00:00:00.000Z
end_time string
Updated end timestamp in ISO format (null means open-ended)
Example: 2026-01-15T00:00:00.000Z
clear_end_time boolean
If true, clears end_time (makes the default open-ended). Mutually exclusive with end_time.
Default: false
Example: false

200 Response

id string required
Default price identifier
Example: 550e8400-e29b-41d4-a716-446655440000
base string required
Base asset symbol
Example: eth
quote string required
Quote asset symbol
Example: fiatusd
price string required
Default price for the asset pair
Example: 1.0
start_time string required
Start timestamp in ISO format
Example: 2026-01-01T00:00:00.000Z
end_time
string or null
End timestamp in ISO format (null means open-ended)
Example: 2026-01-15T00:00:00.000Z
created_at string required
When the default price was created
Example: 2026-01-01T00:00:00.000Z
updated_at string required
When the default price was last updated
Example: 2026-01-02T00:00:00.000Z

400 Response

string