---
title: "Edit Collection"
method: PUT
path: "/Collections/{id}"
---

# Edit Collection

`PUT /Collections/{id}`

This API route allows a developer application to edit one of the authenticated user's ShopMy collections. This route requires the user to permission your app for the write_collections scope. Collection privacy cannot be updated through this endpoint.

## Path parameters

- `id` integer, required

## Request body

- object
  - `name` string — Collection name (optional)
  - `description` string — Collection description (optional)
  - `social_links` union — Social URLs attached to the collection. Each link must be an HTTPS Instagram, TikTok, or YouTube URL. May be sent as an array or comma-separated string (optional).
    - string[]
    - string
  - `Section_id` integer — Section to move the collection into. The section must belong to the authenticated user (optional).

## Response `200`

200

- object
  - `success` boolean, required
  - `collection` Collection, required
    - `id` integer, required
    - `name` string, required
    - `description` string
    - `image` string, nullable
    - `social_links` string[], required
    - `private` boolean, required
    - `Section_id` integer, nullable
    - `url` string, required

## Other responses

- `400` — 400
- `401` — 401
- `403` — 403

---

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