> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getscale.ng/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Collection

Modifies collection naming, descriptions, toggle status, or display image assets. Accepts multipart form data.

### Authorizations

<ParamField header="X-Shop-API-Key" type="string" required>
  Your Secret API Key (`sk_live_...` or `sk_test_...`) generated from the Developer dashboard. Must be kept secret.
</ParamField>

### Path Parameters

<ParamField path="shopId" type="string" required>
  The unique UUID of the shop.
</ParamField>

<ParamField path="collectionId" type="number" required>
  The unique collection ID.
</ParamField>

### Request Body (Multipart / Form Data)

<ParamField body="name" type="string">
  Name of the collection.
</ParamField>

<ParamField body="slug" type="string">
  Alphanumeric URL slug.
</ParamField>

<ParamField body="description" type="string">
  Overview description.
</ParamField>

<ParamField body="isActive" type="boolean">
  Toggle whether this collection is visible.
</ParamField>

<ParamField body="image" type="file">
  Collection thumbnail image.
</ParamField>

<ResponseExample>
  ```json 200 OK theme={null}
  {
    "status": "success",
    "message": "Collection updated successfully"
  }
  ```

  ```json 400 Bad Request theme={null}
  {
    "message": "FORM_VALIDATION_ERROR",
    "code": 400,
    "validationErrors": [
      {
        "path": [
          "slug"
        ],
        "message": "Slug format invalid"
      }
    ]
  }
  ```
</ResponseExample>
