Skip to main content

Update product

PUThttps://api.radom.com/product/{id}

Authorization

Send your API key in the Authorization header. Scheme: radomToken.

Parameters

idstring<uuid>pathrequired

Unique identifier for the product.

Request body

namestringrequired
descriptionstringrequired
imagestring<binary>nullable
productTypeProductTypenullable
PresalePresalerequired
TokenTokenPresalerequired
tickerstringrequired
decimalsinteger<int32>required>= 0
sendSubscriptionEmailsbooleannullable

Responses

200Product updated successfully
idstring<uuid>required

Unique identifier for the product.

namestringrequired

Name of the product.

descriptionstringrequired

Product description.

productTypeProductTypenullable
PresalePresalerequired
TokenTokenPresalerequired
tickerstringrequired
decimalsinteger<int32>required>= 0
organizationIdstring<uuid>required

Product's owning organization ID.

addOnsAddOn[]required

Additional cost add ons for the product.

idstring<uuid>required

Unique identifier for the add on.

namestringrequired

Name of the add on.

pricenumber<float>required

Price of the add on.

chargingIntervalSecondsinteger<int64>required>= 0

Frequency of subscription payments.

currencyCurrencyrequired
AllowedUSDCADGBPEURAEDINRSEKBRLNZDAUDHKDNOKDKKJPYCNYCHFSGDPLNMXNCZKHUFZARSARRUBTRYILSUSDCUSDTEURCBTCTEST0ETHBNBSOLTRXAVAXMATIC
pricenumber<float>required>= 0

Product price (either one time payment or susbcription charge).

imageUrlstringrequired

URL of image to use for the product.

createdAtstring<date-time>required

Time at which product was created.

updatedAtstring<date-time>required

Time at which product was last updated.

isArchivedbooleanrequired

True if product is archived on dashboard

sendSubscriptionEmailsbooleannullable
400Bad request
errorstringrequired
401Unauthorized
errorstringrequired
500Internal server error
errorstringrequired