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

Update Global Option Set

Update the general fields (name, localized display name, description, status, tags).

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

Behaviour

Only the fields you send are changed; omitted fields keep their stored value.

Send description: null to clear it.

Options are managed via their own endpoint.

Requires the globalOptionSets:write scope.

put
Authorizations
AuthorizationstringRequired

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

Path parameters
optionSetIdstringRequired

Global option set identifier (OPT-).

Example: 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}$
Body

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

namestring · min: 1 · max: 255Optional

Option set name (internal, not localized).

Example: Colour
statusstring · enumOptionalPossible values:
tagsstring[]Optional
Responses
200

Successful response.

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

{
  "name": "Colour",
  "displayName": {
    "en": "Colour",
    "de": "Farbe"
  },
  "description": {
    "en": "Pick a colour",
    "de": "Wähle eine Farbe"
  },
  "status": "ACTIVE",
  "tags": [
    "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?