Marketplace

Updates availability

The new parameters will be only considered for new requests. Existing Requests linked to this Availability will continue as is.

patch/sales/availability/{id}

Path parameters

idstring required

ID of Availability

Request body

idstring

32bits identifier encoded in hex-decimal string.

totalSizestring

Total size of availability's storage in bytes as decimal string

durationstring

The duration of the request in seconds as decimal string

minPricestring

Minimum price to be paid (in amount of tokens) as decimal string

maxCollateralstring

Maximum collateral user is willing to pay per filled Slot (in amount of tokens) as decimal string

Example request

{
  "id": "0x..."
}

Response

Availability successfully updated

Changes