v1

latestOpenAPI 3.0.32026-07-24198357534.7 KB
Document

Update a Variant. Warning: This is a beta endpoint, the payload / response can change

Replaces the Variant resource.

put/variants/{id}

Path parameters

idstring required

Resource identifier

Headers

X-Quable-Localestring

Request body

idstring
activeboolean

Example request

{
  "id": "api_identifier",
  "active": true
}

Response

Variant resource updated

activeboolean
attributesstring[]
sequenceinteger nullable
assetLinksstring[]
dateCreatedstring date-time nullable

This is an ISO datetime

dateModifiedstring date-time nullable

This is an ISO datetime

idstring

This is the unique identifier of the resource

legacyIdinteger

Example response

{
  "name": {
    "fr-FR": "fr-FR translation",
    "en-US": "en-US translation",
    "<*>": "..."
  },
  "document": {
    "classifications": [
      {
        "id": "identifier_example"
      }
    ],
    "id": "identifier_example"
  },
  "id": "identifier_example"
}