Add Collection Set Option Sets
Add member option sets without sending the whole list.
Use this to add the supplied members without submitting the entire existing list. Review how matching IDs are handled below.
Behaviour
Ids already in the set are ignored, so the call is idempotent and never creates duplicates; new ids are appended after the current members.
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.
API key sent as a bearer token (mk_live_… / mk_test_…).
Collection set identifier (MCS-).
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}$Data schema used by Add Collection Set Option Sets (POST /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.
Member option set identifier (OPT-).
OPT-123e4567-e89b-12d3-a456-426614174000Successful response.
Invalid request data.
Missing or invalid API key.
The API key lacks the required scope (scope_denied), or the operation is not permitted for this account (operation_not_permitted).
Resource not found.
The API key exceeded its request rate (rate_limit_exceeded) or its monthly quota (quota_exceeded). Both carry Retry-After; the RateLimit-* headers accompany rate_limit_exceeded only, since a spent quota says nothing about the bucket.
Internal server error.
POST /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?