Update Global Option Set Options
Replace the full options list of a global option set.
Read the existing global option set first. Check the replacement rules below before sending a partial list or localized value.
Behaviour
This is a full replacement: each option is stored as sent, so include every field you want to keep (e.g.
filters, metafields) — omitting one clears it.
Option order (ordinal) is preserved by matching the option id.
Requires the globalOptionSets:write scope.
API key sent as a bearer token (mk_live_… / mk_test_…).
Global option set identifier (OPT-).
OPT-123e4567-e89b-12d3-a456-426614174000Pattern: ^OPT-[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 Update Global Option Set Options (PUT /v1/global-option-sets/{optionSetId}/options). Read that operation for usage, permissions and update rules. Required fields and allowed values are defined below; request and response shapes can differ.
Successful 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.
PUT /v1/global-option-sets/{optionSetId}/options HTTP/1.1
Host: admin.mimeeqapi.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 414
{
"options": [
{
"id": "af77627b-54d7-4039-86dc-599019320634",
"code": "RED",
"name": {
"en": "Red",
"de": "Rot"
},
"comment": {
"en": "Warm tone",
"de": "Warmer Ton"
},
"priceCode": "text",
"fbPriceCode": "text",
"additionalPriceCode": "text",
"material3dId": "text",
"arMaterial3dId": "text",
"additionalPriceCodeQuantity": 1,
"filters": {
"<parameterId>": [
"<valueId>"
]
},
"metafields": {
"lead-time-weeks": 10,
"care-label": "Wipe clean"
},
"src": "text"
}
]
}{
"data": {
"optionSetId": "OPT-123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"displayName": "Chair",
"description": "Chair",
"status": "ACTIVE",
"numberOfOptions": 1,
"createdAt": "text",
"modifiedAt": "text",
"tags": [
"text"
],
"options": [
{
"id": "text",
"code": "text",
"name": "Chair",
"comment": "Chair",
"priceCode": "text",
"fbPriceCode": "text",
"additionalPriceCode": "text",
"material3dId": "text",
"arMaterial3dId": "text",
"additionalPriceCodeQuantity": 1,
"filters": {
"<parameterId>": [
"<valueId>"
]
},
"metafields": {
"lead-time-weeks": 10,
"care-label": "Wipe clean"
},
"src": "text"
}
]
}
}Last updated
Was this helpful?