---
title: "Update a property integration"
method: PATCH
path: "/properties/{property_id}/property_integration"
tags: ["Property Integration"]
---

# Update a property integration

`PATCH /properties/{property_id}/property_integration`

## Request

- Base URL: `https://api.easybroker.com/v1/integration_partners`
- URL: `https://api.easybroker.com/v1/integration_partners/properties/{property_id}/property_integration`
- Auth: API key in header `X-Authorization`

Updates the property integration status on EasyBroker for a given property to sync with the listing status on your website.

## Request body

- PropertyIntegrationBody
  - `status` 'pending' | 'successful' | 'failed', required: The status of the listing on your website. Pending if the listing is being processed. Successful if published/updated without errors. Failed if it could not be published/updated
  - `listing_url` string: Required if the status is successful. The listing url on your website.
  - `error_message` string[]: Required if the status is failed. An array of error messages explaining the reasons preventing the listing from being published/updated.

## Response `200`

The property integration status was successfully updated

- object
  - `status` string

## Other responses

- `401`: API key is missing or invalid, or a restricted country was selected
- `404`: A property linked to your website with the given property id could not be found
- `422`: The property integration status couldn't be updated because at least any param is missing or invalid

---

[API](https://skmtc.dev/easybroker/apis/app-integration-api.md) - [All operations](https://skmtc.dev/easybroker/apis/app-integration-api/llms.txt) - [OpenAPI document](https://skmtc.dev/easybroker/apis/app-integration-api/revisions/1392dace0720?raw)
