---
title: "Assign listings to Business Models"
method: PUT
path: "/business-models-api/assignment/{businessModelId}"
tags: ["Accounting (only available for accounting add-on users)"]
---

# Assign listings to Business Models

`PUT /business-models-api/assignment/{businessModelId}`

Assign provided listings to appropriate Business model

## Path parameters

- `businessModelId` string, required

## Request body

- object
  - `fromDate` string — Optional, date that the Business Model will reprocess reservations from. Not filling this field will update the Business Model from now on without reprocess
  - `listingIds` string[], required — List of listingIds that should be assigned exactly to 1 owner

## Response `200`

Assign listings response

- object
  - `message` string, required

## Other responses

- `400` — Input data is not valid
- `403` — You do not have sufficient permissions to access this resource
- `404` — Can't find business model, by provided ID
- `500` — Unhandled exception. Something went wrong on server

---

[API](https://skmtc.net/guesty/apis/guesty-open-api.md) · [All operations](https://skmtc.net/guesty/apis/guesty-open-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/guesty/guesty-open-api/versions/7c62644070f2/schema)
