List Variants

Get a list of all variants for terms.

get

/v1/catalog/products/{productId}/terms/{termsAndConditionsId}/variants

Path parameters
termsAndConditionsIdstringrequired
productIdstringrequired
Responses
curl -L \
  --url '/v1/catalog/products/{productId}/terms/{termsAndConditionsId}/variants'
{
  "$meta": {
    "pagination": {
      "offset": 1,
      "limit": 1,
      "total": 1
    },
    "omitted": [
      "text"
    ]
  },
  "data": [
    {
      "id": "text",
      "audit": {
        "created": {
          "at": "2025-02-23T06:09:39.218Z",
          "by": {
            "id": "text",
            "audit": "[Circular Reference]",
            "$meta": {
              "omitted": [
                "text"
              ]
            },
            "href": "text",
            "name": "text",
            "icon": "text"
          }
        },
        "updated": {
          "at": "2025-02-23T06:09:39.218Z",
          "by": {
            "id": "text",
            "audit": "[Circular Reference]",
            "$meta": {
              "omitted": [
                "text"
              ]
            },
            "href": "text",
            "name": "text",
            "icon": "text"
          }
        }
      },
      "$meta": {
        "omitted": [
          "text"
        ]
      },
      "href": "text",
      "type": "text",
      "assetUrl": "text",
      "languageCode": "text",
      "name": "text",
      "description": "text",
      "status": "text",
      "filename": "text",
      "size": 1,
      "contentType": "text",
      "termsAndConditions": {
        "id": "text",
        "audit": {
          "created": {
            "at": "2025-02-23T06:09:39.218Z",
            "by": {
              "id": "text",
              "audit": "[Circular Reference]",
              "$meta": {
                "omitted": [
                  "text"
                ]
              },
              "href": "text",
              "name": "text",
              "icon": "text"
            }
          },
          "updated": {
            "at": "2025-02-23T06:09:39.218Z",
            "by": {
              "id": "text",
              "audit": "[Circular Reference]",
              "$meta": {
                "omitted": [
                  "text"
                ]
              },
              "href": "text",
              "name": "text",
              "icon": "text"
            }
          },
          "published": {
            "at": "2025-02-23T06:09:39.218Z",
            "by": {
              "id": "text",
              "audit": "[Circular Reference]",
              "$meta": {
                "omitted": [
                  "text"
                ]
              },
              "href": "text",
              "name": "text",
              "icon": "text"
            }
          },
          "pending": {
            "at": "2025-02-23T06:09:39.218Z",
            "by": {
              "id": "text",
              "audit": "[Circular Reference]",
              "$meta": {
                "omitted": [
                  "text"
                ]
              },
              "href": "text",
              "name": "text",
              "icon": "text"
            }
          },
          "unpublished": {
            "at": "2025-02-23T06:09:39.218Z",
            "by": {
              "id": "text",
              "audit": "[Circular Reference]",
              "$meta": {
                "omitted": [
                  "text"
                ]
              },
              "href": "text",
              "name": "text",
              "icon": "text"
            }
          }
        },
        "$meta": {
          "omitted": [
            "text"
          ]
        },
        "href": "text",
        "name": "text",
        "description": "text",
        "displayOrder": 1,
        "status": "text",
        "product": {
          "id": "text",
          "audit": {
            "created": "[Circular Reference]",
            "updated": "[Circular Reference]",
            "published": "[Circular Reference]",
            "pending": "[Circular Reference]",
            "unpublished": "[Circular Reference]"
          },
          "$meta": {
            "omitted": [
              "text"
            ]
          },
          "href": "text",
          "name": "text",
          "shortDescription": "text",
          "longDescription": "text",
          "externalIds": {
            "operations": "text"
          },
          "website": "text",
          "icon": "text",
          "status": "text",
          "vendor": {
            "id": "text",
            "audit": "[Circular Reference]",
            "$meta": {
              "omitted": [
                "text"
              ]
            },
            "href": "text",
            "externalIds": {
              "pyraTenantId": "123e4567-e89b-12d3-a456-426614174000"
            },
            "externalId": "text",
            "externalName": "text",
            "type": "Client",
            "status": "Active",
            "serviceLevel": "Express",
            "address": {
              "addressLine1": "text",
              "addressLine2": "text",
              "postCode": "text",
              "city": "text",
              "state": "text",
              "country": "text"
            },
            "icon": "text",
            "technicalSupportEmail": "hello@example.com",
            "website": "text",
            "description": "text",
            "name": "text",
            "groups": "[Circular Reference]"
          },
          "settings": {
            "productOrdering": true,
            "productRequests": {
              "enabled": true,
              "name": "text",
              "label": "text"
            },
            "itemSelection": true,
            "orderQueueChanges": true,
            "preValidation": {
              "purchaseOrderDraft": true,
              "purchaseOrderQuerying": true,
              "changeOrderDraft": true,
              "terminationOrder": true,
              "productRequest": true
            },
            "splitBilling": {
              "enabled": true,
              "type": "text"
            }
          },
          "statistics": {
            "itemCount": 1,
            "ordersPlacedCount": 1,
            "agreementCount": 1,
            "subscriptionCount": 1,
            "requestCount": 1
          }
        }
      },
      "fileId": "text"
    }
  ]
}

Last updated

Was this helpful?