# Listing Object

Manage listings. Learn more about [Listings](https://tradly.app/docs/listings).

**Listing Object**

| **name** | **type** | **description** |
| --- | --- | --- |
| `id` | `integer` | unique id of the listing |
| `title` | `string` | title of the listing |
| `description` | `string` | description of the listing |
| `images` | `array` | an array of image URLs |
| `sku` | `string` | sku of the listing, it's auto-generated by default. |
| `barcode` | `string` | barcode of the listing, it's auto-generated by default. |
| `location` | `object` | location information of the listing. refer to a location object below for more information |
| `gtin` | `string` | Global Trade Item Number. Max. 20 characters |
| `mpn` | `string` | Manufacturer part number. Max. 40 characters. |
| `weight_uom` | `string` | Unit of measure for weight. Possible values are  
  
**`pound`**  
  
**`ounce`**  
  
**`gram`**  
  
**`kilogram`** |
| `weight_value` | `float` | value of the weight |
| `volume_uom` | `string` | Unit of measure for volume. Possible values are  
  
**`liter`**  
  
**`milliliter`** |
| `volume_value` | `float` | value of the volume |
| `size_uom` | `string` | Unit of measure for size. Possible values are  
  
**`centimeter`**  
  
**`meter`**  
  
**`inch`**  
  
**`millimeter`** |
| `height` | `float` | height of the listing |
| `length` | `float` | length of the listing |
| `width` | `float` | width of the listing |
| `seller_protection_fee_enabled` | `boolean` | whether the seller protection fee is enabled or not |
| `slug` | `string` | unique slug of the listing. useful for SEO |
| `meta_title` | `string` | meta title of the listing. useful for SEO |
| `meta_description` | `string` | meta description of the listing. useful for SEO |
| `meta_keyword` | `string` | meta keyword of the listing. useful for SEO |
| `in_cart` | `boolean` | whether the listing is present in cart or not |
| `liked` | `boolean` | whether the listing is liked by the currently logged in user or not |
| `active` | `boolean` | states whether this listing is active or not |
| `user` | `object` | user who created this listing. refer to user object for more information |
| `rating_data` | `object` | rating information of the listing. refer to rating object for more information |
| `coordinates` | `object` | geolocation of the listing |
| `shipping_charges` | `float` | shipping charge of the listing |
| `type` | `string` | type of the object being returned |

## Rental listings

A rental listing needs a `listing_rental_settings` row. Setting the listing
type, stock, and active status alone does not enable rentals. Configure the
rental settings after creating the listing:

```bash
curl -X POST https://api.tradly.app/v1/rentals/settings \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "listing_id": 729341,
    "rate_unit": "day",
    "rate_amount": 500,
    "min_duration": 1,
    "max_duration": 30,
    "buffer_time": 0,
    "deposit_amount": 1000,
    "max_units": 1
  }'
```

Once settings are configured, check availability for the requested rental
window:

```bash
curl "https://api.tradly.app/v1/rentals/availability?listing_id=729341&start_at=2026-10-10T10:00:00Z&end_at=2026-10-12T10:00:00Z&units=1" \
  -H "Authorization: Bearer <token>"
```

The rental settings support the rate unit and amount, minimum and maximum
duration, buffer time, deposit amount, and rentable unit count. There is no
separate approval step or account-level rental enablement.
