---
title: "Update collection"
method: PATCH
path: "/api/v1/collections/{id4n}"
tags: ["Collections"]
---

# Update collection

`PATCH /api/v1/collections/{id4n}`

Update collection changing only the given values

## Path parameters

- `id4n` string, required

## Request body

- GuidCollection
  - `createdTimestamp` integer — The UTC unix timestamp of when this collection has been created
  - `holderOrganizationId` string — Organization namespace of the holder of the collection
  - `id4n` string — The ID
  - `label` string
  - `ownerOrganizationId` string — Organization namespace of the collection owner
  - `physicalState` 'UNATTACHED' | 'ATTACHED' | 'DETACHED' — Physical attachment state of the collection
  - `type` 'ROUTING_COLLECTION' | 'LOGISTIC_COLLECTION' | 'LABELLED_COLLECTION'

## Response `200`

OK

- object

## Other responses

- `204` — No Content
- `401` — Unauthorized
- `403` — Forbidden

---

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