List Variants

Get a list of all variants for terms.

get
Path parameters
termsAndConditionsIdstringRequired
productIdstringRequired
Responses
200
OK
application/json
get
GET /public/v1/catalog/products/{productId}/terms/{termsAndConditionsId}/variants HTTP/1.1
Host: 
Accept: */*
200

OK

{
  "$meta": {
    "pagination": {
      "offset": 1,
      "limit": 1,
      "total": 1
    },
    "omitted": [
      "text"
    ]
  },
  "data": [
    {
      "id": "text",
      "audit": {
        "created": {
          "0": "[",
          "1": "C",
          "2": "i",
          "3": "r",
          "4": "c",
          "5": "u",
          "6": "l",
          "7": "a",
          "8": "r",
          "9": " ",
          "10": "R",
          "11": "e",
          "12": "f",
          "13": "e",
          "14": "r",
          "15": "e",
          "16": "n",
          "17": "c",
          "18": "e",
          "19": "]"
        },
        "updated": {
          "0": "[",
          "1": "C",
          "2": "i",
          "3": "r",
          "4": "c",
          "5": "u",
          "6": "l",
          "7": "a",
          "8": "r",
          "9": " ",
          "10": "R",
          "11": "e",
          "12": "f",
          "13": "e",
          "14": "r",
          "15": "e",
          "16": "n",
          "17": "c",
          "18": "e",
          "19": "]"
        }
      },
      "$meta": {
        "omitted": [
          "text"
        ]
      },
      "type": "text",
      "assetUrl": "text",
      "languageCode": "text",
      "name": "text",
      "description": "text",
      "status": "text",
      "filename": "text",
      "size": 1,
      "contentType": "text",
      "termsAndConditions": {
        "id": "text",
        "name": "text"
      },
      "fileId": "text"
    }
  ]
}

Last updated

Was this helpful?