Skip to main content
PUT
/
flash
/
{id}
/
update
Update Flash Listing
curl --request PUT \
  --url http://localhost:3000/api/flash/{id}/update \
  --header 'Content-Type: application/json' \
  --data '
{
  "price": "<string>",
  "size": "<string>",
  "sessionDuration": 123,
  "styles": [
    "<string>"
  ],
  "tags": [
    "<string>"
  ],
  "isAvailable": true
}
'
{
  "success": true,
  "flash": {}
}

Path Parameters

id
string
required

The ID of the flash listing

Body

application/json
price
string
size
string
sessionDuration
number
styles
string[]
tags
string[]
isAvailable
boolean

Response

Flash listing updated successfully

success
boolean
flash
object