# Create or update a listing

`PUT /listings`

> Wheelhouse Pro API. Web version: https://docs.usewheelhouse.com/pro/reference/put-listing · OpenAPI spec: https://docs.usewheelhouse.com/pro/openapi.yaml · Operation ID: `putListing` · Tag: Listings · Index of all docs pages: https://docs.usewheelhouse.com/llms.txt

## Request

`PUT https://api.usewheelhouse.com/ss_api/v1/listings`

Authentication: send your integration API key in the `X-Integration-API-Key` header and your user API key in the `X-User-API-Key` header (see https://docs.usewheelhouse.com/pro/authentication.md).

### Request body (`application/json`, required)

A listing

The listing object.

- `meta` (object, nullable)
  - `photos` (array of object)
- `photos` (array of object): A list of photos of the listing.
  - `caption` (string): The photo's caption.
  - `regular` (string, required): An url pointing to a normal web sized photo.
  - `thumbnail` (string): An url pointing to a thumbnail sized photo.
- `unit_names` (string): Used for hotel room or "unit type" inventory. This should be a comma delimited list of unit names available under this listing. If omitted, we assume there is only 1 unit. This enables scarcity pricing.
- `created_at` (string (date-time)): The datetime the listing was created on your platform (ISO-8601).
- `show_market_coverage` (boolean): When true, the response will include an `in_market` field indicating whether the listing is in a market covered by Wheelhouse.
- Plus every field of [`basic_listing`](https://docs.usewheelhouse.com/pro/reference/schemas/basic_listing.md), of which `id`, `currency`, `location`, `num_bedrooms`, `num_bathrooms`, `listing_preferences`, `room_type` are required here.

### Example request

```bash
curl -X PUT 'https://api.usewheelhouse.com/ss_api/v1/listings' \
  -H 'X-Integration-API-Key: <your integration API key>' \
  -H 'X-User-API-Key: <your user API key>' \
  -H 'Content-Type: application/json' \
  -d '{
  "id": "12345",
  "title": "Sunny 3BR Craftsman near South Congress",
  "nickname": "SoCo Craftsman",
  "currency": "USD",
  "location": {
    "address": "1100 S Congress Ave, Austin, TX 78704",
    "postal_code": "78704",
    "country": "US",
    "latitude": 30.2512,
    "longitude": -97.7489
  },
  "num_bedrooms": 3,
  "num_beds": 4,
  "num_bathrooms": 2,
  "room_type": "entire_place",
  "property_type": "house",
  "base_min_night_stay": 2,
  "is_active": true,
  "amenities": [
    "air_conditioning",
    "internet",
    "kitchen",
    "parking"
  ],
  "star_rating": 4.8,
  "num_reviews": 112,
  "num_photos": 24,
  "security_deposit": 300,
  "thumb_url": "https://example.com/photos/12345/thumb.jpg",
  "listing_preferences": {
    "num_included_guests": 4,
    "num_max_guests": 6,
    "fees": [
      {
        "name": "Cleaning fee",
        "type": "cleaning",
        "multiplier": "PER_STAY",
        "value_type": "FIXED",
        "value": 150
      }
    ]
  },
  "show_market_coverage": true
}'
```

Path and query parameters are placeholders. The body is a complete example; replace its values with your own.

## Responses

### 200

The updated listing

Body (`application/json`): object

The listing object.

- `channel` (string, required): The channel name of the listing.
- `links` (object, required): Useful links to the Wheelhouse app.
  - `calendar` (string, required): Link to the listing calendar page on Wheelhouse.
  - `upgrade` (string, required): Link to the upgrade flow for this listing on Wheelhouse.
- `wheelhouse_created_at` (string (date-time), required, nullable): The datetime the listing was created in Wheelhouse (ISO-8601).
- `in_market` (boolean): Present only when `show_market_coverage` is true. Indicates whether the listing is in a market covered by Wheelhouse and is thus eligible for Wheelhouse price recommendations.
- Plus every field of [`basic_listing`](https://docs.usewheelhouse.com/pro/reference/schemas/basic_listing.md), of which `id`, `wheelhouse_id`, `base_min_night_stay`, `currency`, `title`, `owner_name`, `description`, `nickname`, `num_bathrooms`, `num_bedrooms`, `room_type`, `property_type`, `is_active`, `channel_ids`, `location`, `amenities`, `num_beds`, `num_reviews`, `star_rating`, `num_photos`, `security_deposit`, `source_user_id`, `thumb_url`, `listing_preferences`, `meta`, `market_id`, `market_name` are required here.

Example shape (generated from the schema; placeholder values, not a real response):

```json
{
  "id": "string",
  "wheelhouse_id": 0,
  "market_id": 0,
  "market_name": "string",
  "title": "string",
  "location": {
    "country": "string",
    "postal_code": "string",
    "address": "string",
    "latitude": -90,
    "longitude": -180
  },
  "num_bedrooms": 0,
  "num_beds": 0,
  "num_bathrooms": 0,
  "room_type": "shared",
  "property_type": "house",
  "currency": "string",
  "security_deposit": 0,
  "star_rating": 0,
  "num_reviews": 0,
  "num_photos": 0,
  "thumb_url": "string",
  "amenities": [
    "24_hour_check_in"
  ],
  "listing_preferences": {
    "num_included_guests": 0,
    "num_max_guests": 0,
    "fees": [
      {
        "name": "string",
        "type": "cleaning",
        "multiplier": "PER_STAY",
        "value_type": "FIXED",
        "value": 0,
        "quantity": 0
      }
    ],
    "automatic_rate_posting_enabled": true,
    "weekly_discount_pct": 0,
    "monthly_discount_pct": 0,
    "base_price": 0,
    "min_price": 0,
    "max_price": 0,
    "minimum_stay": 0,
    "nickname": "string"
  },
  "channel_ids": {
    "airbnb": "string",
    "tripadvisor": "string",
    "vrbo": "string",
    "wheelhouse": "string"
  },
  "description": "string",
  "nickname": "string",
  "base_min_night_stay": 0,
  "owner_name": "string",
  "is_active": true,
  "source_user_id": "string",
  "meta": {
    "amenities": [
      "24_hour_check_in"
    ],
    "num_beds": 0,
    "num_reviews": 0,
    "num_photos": 0,
    "photos": [
      {
        "caption": "string",
        "regular": "string",
        "thumbnail": "string"
      }
    ],
    "security_deposit": 0,
    "source_user_id": "string",
    "thumb_url": "string"
  },
  "channel": "string",
  "links": {
    "calendar": "string",
    "upgrade": "string"
  },
  "wheelhouse_created_at": "2026-01-01T00:00:00Z",
  "in_market": true
}
```

### 400

Validation failed

### 401

API key authorization failed

### 403

Listing authorization failed

### 409

Another request is already in progress for this listing (retry after the concurrent request completes), or, on the first listing for a user with no account on this channel, that user's id is already in use on this channel.
