For the complete documentation index, see llms.txt. This page is also available as Markdown.

Update Collection Set Option Sets

Replace the full member option-set list of a collection set.

Read the existing collection set first. Check the replacement rules below before sending a partial list or localized value.

Behaviour

This is a full replacement — option sets omitted from the list are removed.

Every id must name one of your option sets (404 global_option_set_not_found otherwise).

Name, status and tags are preserved.

Requires the collectionSets:write scope.

put
Authorizations
AuthorizationstringRequired

API key sent as a bearer token (mk_live_… / mk_test_…).

Path parameters
collectionSetIdstringRequired

Collection set identifier (MCS-).

Example: MCS-123e4567-e89b-12d3-a456-426614174000Pattern: ^MCS-[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
Body

Data schema used by Update Collection Set Option Sets (PUT /v1/collection-sets/{collectionSetId}/option-sets). Read that operation for usage, permissions and update rules. Required fields and allowed values are defined below; request and response shapes can differ.

optionSetIdsstring[]Required

Member option set identifier (OPT-).

Example: OPT-123e4567-e89b-12d3-a456-426614174000
Responses
200

Successful response.

application/json
put/v1/collection-sets/{collectionSetId}/option-sets
PUT /v1/collection-sets/{collectionSetId}/option-sets HTTP/1.1
Host: admin.mimeeqapi.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 61

{
  "optionSetIds": [
    "OPT-123e4567-e89b-12d3-a456-426614174000"
  ]
}
{
  "data": {
    "collectionSetId": "MCS-123e4567-e89b-12d3-a456-426614174000",
    "name": "text",
    "status": "ACTIVE",
    "createdAt": "text",
    "modifiedAt": "text",
    "tags": [
      "text"
    ],
    "optionSets": [
      {
        "optionSetId": "text",
        "name": "text",
        "status": "text"
      }
    ]
  }
}

Last updated

Was this helpful?