Skip to main content
PUT
/
api
/
v1
/
listing
/
{id}
/
status
Update listing status
curl --request PUT \
  --url https://api.example.com/api/v1/listing/{id}/status \
  --header 'Content-Type: application/json' \
  --header 'x-calry-api-key: <api-key>' \
  --data '
{
  "status": "ACTIVE"
}
'
{
  "timestamp": "2025-03-05T11:45:49.631Z",
  "path": "<URL_PATH>",
  "message": "Authentication failed",
  "details": []
}

Documentation Index

Fetch the complete documentation index at: https://ota-docs.calry.app/llms.txt

Use this file to discover all available pages before exploring further.

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.

Path Parameters

id
string
required

Unique identifier of the listing

Example:

"123e4567-e89b-12d3-a456-426614174000"

Body

application/json
status
enum<string>
required

Status of the listing

Available options:
ACTIVE,
INACTIVE
Example:

"ACTIVE"

Response

Listing status updated successfully