---
title: "Update a business's attributes with the correct collection exercise ID"
method: PUT
path: "/businesses/sample/link/{sample-summary-id}"
tags: ["businesses"]
---

# Update a business's attributes with the correct collection exercise ID

`PUT /businesses/sample/link/{sample-summary-id}`

## Request

- Base URL: `https://localhost:8081`
- URL: `https://localhost:8081/businesses/sample/link/{sample-summary-id}`
- Auth: none declared

Update a business's attributes with the correct collection exercise ID based on sample summary ID

## Path parameters

- `sample-summary-id` string, uuid, required

## Request body

- object
  - `collectionExerciseId` string, uuid: The UUID of the collection exercise

## Response `200`

The business's attributes have been updated

- object
  - `collectionExerciseId` string, uuid
  - `sampleSummaryId` string, uuid

## Other responses

- `400`: The request body was missing collectionExerciseId

---

[API](https://skmtc.dev/office-of-national-statistics/apis/party-service-api.md) - [All operations](https://skmtc.dev/office-of-national-statistics/apis/party-service-api/llms.txt) - [OpenAPI document](https://skmtc.dev/office-of-national-statistics/apis/party-service-api/revisions/49a2e83bb1a7?raw)
