Skip to main content
POST
/
api
/
v1
/
listing
/
mark-active
Mark multiple listings as active
curl --request POST \
  --url https://api.example.com/api/v1/listing/mark-active \
  --header 'Content-Type: application/json' \
  --header 'x-calry-api-key: <api-key>' \
  --data '
{
  "listingIDs": [
    "123e4567-e89b-12d3-a456-426614174000",
    "223e4567-e89b-12d3-a456-426614174000"
  ]
}
'
{
  "updated": [
    "<string>"
  ],
  "errors": {}
}

Authorizations

x-calry-api-key
string
header
required

Headers

x-calry-tenant-id
string

Optional tenant ID to specify which tenant to operate as. If not provided, the default tenant will be used.

Body

application/json
listingIDs
string[]
required

Array of listing IDs to mark as active

Example:
[
"123e4567-e89b-12d3-a456-426614174000",
"223e4567-e89b-12d3-a456-426614174000"
]

Response

Listings activation completed

updated
string[]

List of listing IDs that were successfully activated

errors
object

Map of listing IDs to error messages for failed activations