v1

latestOpenAPI 3.0.32026-08-067332206.6 KB
collections

Update a collection

Updates the matching collection.

put/collections/{collection_id}

Headers

Accept'application/json' required

Request body

Example request

{
  "data": {
    "attributes": {
      "name": "New name",
      "slug": "new-name",
      "tagline": "New tag line"
    }
  }
}

Response

The updated collection.

Example response

{
  "data": {
    "id": "oqgkkd-fr5iv4-hh142d",
    "attributes": {
      "name": "New name",
      "slug": "new-name",
      "tagline": "New tag line"
    }
  }
}