List Variants

Get a list of all variants for terms.

GET/v1/catalog/products/{productId}/terms/{termsAndConditionsId}/variants
Path parameters
termsAndConditionsId*string
productId*string
Response

OK

Body
$metaListMetadata (object)
dataarray of TermsAndConditionsVariantEntity (object)
Request
const response = await fetch('/v1/catalog/products/{productId}/terms/{termsAndConditionsId}/variants', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "$meta": {
    "pagination": {
      "offset": 0,
      "limit": 0,
      "total": 0
    },
    "omitted": [
      "text"
    ]
  },
  "data": [
    {
      "id": "text",
      "audit": {
        "created": {
          "at": "2025-01-23T13:26:45.116Z",
          "by": {
            "id": "text",
            "$meta": {
              "omitted": [
                "text"
              ]
            },
            "href": "text",
            "name": "text",
            "icon": "text"
          }
        },
        "updated": {
          "at": "2025-01-23T13:26:45.116Z",
          "by": {
            "id": "text",
            "$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": 0,
      "contentType": "text",
      "termsAndConditions": {
        "id": "text",
        "audit": {
          "created": {
            "at": "2025-01-23T13:26:45.116Z",
            "by": {
              "id": "text",
              "audit": {},
              "$meta": {
                "omitted": [
                  "text"
                ]
              },
              "href": "text",
              "name": "text",
              "icon": "text"
            }
          },
          "updated": {
            "at": "2025-01-23T13:26:45.116Z",
            "by": {
              "id": "text",
              "audit": {},
              "$meta": {
                "omitted": [
                  "text"
                ]
              },
              "href": "text",
              "name": "text",
              "icon": "text"
            }
          },
          "published": {
            "at": "2025-01-23T13:26:45.116Z",
            "by": {
              "id": "text",
              "audit": {},
              "$meta": {
                "omitted": [
                  "text"
                ]
              },
              "href": "text",
              "name": "text",
              "icon": "text"
            }
          },
          "pending": {
            "at": "2025-01-23T13:26:45.116Z",
            "by": {
              "id": "text",
              "audit": {},
              "$meta": {
                "omitted": [
                  "text"
                ]
              },
              "href": "text",
              "name": "text",
              "icon": "text"
            }
          },
          "unpublished": {
            "at": "2025-01-23T13:26:45.116Z",
            "by": {
              "id": "text",
              "audit": {},
              "$meta": {
                "omitted": [
                  "text"
                ]
              },
              "href": "text",
              "name": "text",
              "icon": "text"
            }
          }
        },
        "$meta": {
          "omitted": [
            "text"
          ]
        },
        "href": "text",
        "name": "text",
        "description": "text",
        "displayOrder": 0,
        "status": "text",
        "product": {
          "id": "text",
          "audit": {
            "created": {
              "at": "2025-01-23T13:26:45.116Z",
              "by": {
                "id": "text",
                "audit": {},
                "$meta": {
                  "omitted": [
                    "text"
                  ]
                },
                "href": "text",
                "name": "text",
                "icon": "text"
              }
            },
            "updated": {
              "at": "2025-01-23T13:26:45.116Z",
              "by": {
                "id": "text",
                "audit": {},
                "$meta": {
                  "omitted": [
                    "text"
                  ]
                },
                "href": "text",
                "name": "text",
                "icon": "text"
              }
            },
            "published": {
              "at": "2025-01-23T13:26:45.116Z",
              "by": {
                "id": "text",
                "audit": {},
                "$meta": {
                  "omitted": [
                    "text"
                  ]
                },
                "href": "text",
                "name": "text",
                "icon": "text"
              }
            },
            "pending": {
              "at": "2025-01-23T13:26:45.116Z",
              "by": {
                "id": "text",
                "audit": {},
                "$meta": {
                  "omitted": [
                    "text"
                  ]
                },
                "href": "text",
                "name": "text",
                "icon": "text"
              }
            },
            "unpublished": {
              "at": "2025-01-23T13:26:45.116Z",
              "by": {
                "id": "text",
                "audit": {},
                "$meta": {
                  "omitted": [
                    "text"
                  ]
                },
                "href": "text",
                "name": "text",
                "icon": "text"
              }
            }
          },
          "$meta": {
            "omitted": [
              "text"
            ]
          },
          "href": "text",
          "name": "text",
          "shortDescription": "text",
          "longDescription": "text",
          "externalIds": {
            "operations": "text"
          },
          "website": "text",
          "icon": "text",
          "status": "text",
          "vendor": {
            "id": "text",
            "audit": {
              "created": {
                "at": "2025-01-23T13:26:45.116Z",
                "by": {
                  "id": "text",
                  "$meta": {
                    "omitted": [
                      "text"
                    ]
                  },
                  "href": "text",
                  "name": "text",
                  "icon": "text"
                }
              },
              "updated": {
                "at": "2025-01-23T13:26:45.116Z",
                "by": {
                  "id": "text",
                  "$meta": {
                    "omitted": [
                      "text"
                    ]
                  },
                  "href": "text",
                  "name": "text",
                  "icon": "text"
                }
              }
            },
            "$meta": {
              "omitted": [
                "text"
              ]
            },
            "href": "text",
            "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": "name@gmail.com",
            "website": "text",
            "description": "text",
            "name": "text",
            "groups": [
              {
                "id": "text",
                "audit": {
                  "created": {
                    "at": "2025-01-23T13:26:45.116Z",
                    "by": {
                      "id": "text",
                      "$meta": {
                        "omitted": [
                          "text"
                        ]
                      },
                      "href": "text",
                      "name": "text",
                      "icon": "text"
                    }
                  },
                  "updated": {
                    "at": "2025-01-23T13:26:45.116Z",
                    "by": {
                      "id": "text",
                      "$meta": {
                        "omitted": [
                          "text"
                        ]
                      },
                      "href": "text",
                      "name": "text",
                      "icon": "text"
                    }
                  }
                },
                "$meta": {
                  "omitted": [
                    "text"
                  ]
                },
                "href": "text",
                "name": "text",
                "description": "text",
                "modules": [
                  {
                    "id": "text",
                    "audit": {
                      "created": {
                        "at": "2025-01-23T13:26:45.116Z",
                        "by": {
                          "id": "text",
                          "$meta": {
                            "omitted": [
                              "text"
                            ]
                          },
                          "href": "text",
                          "name": "text",
                          "icon": "text"
                        }
                      },
                      "updated": {
                        "at": "2025-01-23T13:26:45.116Z",
                        "by": {
                          "id": "text",
                          "$meta": {
                            "omitted": [
                              "text"
                            ]
                          },
                          "href": "text",
                          "name": "text",
                          "icon": "text"
                        }
                      }
                    },
                    "$meta": {
                      "omitted": [
                        "text"
                      ]
                    },
                    "href": "text",
                    "description": "text",
                    "name": "text",
                    "accountTypes": [
                      "text"
                    ],
                    "filters": {
                      "group.buyers": [
                        "text"
                      ]
                    },
                    "settings": {
                      "sharedAccount": false,
                      "configurable": false,
                      "default": false,
                      "paid": false,
                      "type": [
                        "text"
                      ]
                    }
                  }
                ],
                "logo": "text",
                "isDefault": false,
                "users": [
                  {
                    "id": "text",
                    "audit": {
                      "created": {
                        "at": "2025-01-23T13:26:45.116Z",
                        "by": {
                          "id": "text",
                          "audit": {},
                          "$meta": {
                            "omitted": [
                              "text"
                            ]
                          },
                          "href": "text",
                          "name": "text",
                          "icon": "text"
                        }
                      },
                      "updated": {
                        "at": "2025-01-23T13:26:45.116Z",
                        "by": {
                          "id": "text",
                          "audit": {},
                          "$meta": {
                            "omitted": [
                              "text"
                            ]
                          },
                          "href": "text",
                          "name": "text",
                          "icon": "text"
                        }
                      },
                      "invitationAcceptedAt": "2025-01-23T13:26:45.116Z"
                    },
                    "$meta": {
                      "omitted": [
                        "text"
                      ]
                    },
                    "href": "text",
                    "email": "text",
                    "status": "text",
                    "phone": {
                      "prefix": "text",
                      "number": "text"
                    },
                    "firstName": "text",
                    "lastName": "text",
                    "icon": "text",
                    "lastLoginAt": "2025-01-23T13:26:45.116Z",
                    "settings": {
                      "cultureCode": "text",
                      "languageCode": "text"
                    },
                    "name": "text",
                    "accounts": []
                  }
                ],
                "buyers": [
                  {
                    "id": "text",
                    "audit": {
                      "created": {
                        "at": "2025-01-23T13:26:45.116Z",
                        "by": {
                          "id": "text",
                          "audit": {},
                          "$meta": {
                            "omitted": [
                              "text"
                            ]
                          },
                          "href": "text",
                          "name": "text",
                          "icon": "text"
                        }
                      },
                      "updated": {
                        "at": "2025-01-23T13:26:45.116Z",
                        "by": {
                          "id": "text",
                          "audit": {},
                          "$meta": {
                            "omitted": [
                              "text"
                            ]
                          },
                          "href": "text",
                          "name": "text",
                          "icon": "text"
                        }
                      },
                      "activated": {
                        "at": "2025-01-23T13:26:45.116Z",
                        "by": {
                          "id": "text",
                          "audit": {},
                          "$meta": {
                            "omitted": [
                              "text"
                            ]
                          },
                          "href": "text",
                          "name": "text",
                          "icon": "text"
                        }
                      },
                      "unassigned": {
                        "at": "2025-01-23T13:26:45.116Z",
                        "by": {
                          "id": "text",
                          "audit": {},
                          "$meta": {
                            "omitted": [
                              "text"
                            ]
                          },
                          "href": "text",
                          "name": "text",
                          "icon": "text"
                        }
                      }
                    },
                    "$meta": {
                      "omitted": [
                        "text"
                      ]
                    },
                    "href": "text",
                    "contact": {
                      "name": "text",
                      "firstName": "text",
                      "lastName": "text",
                      "email": "name@gmail.com",
                      "phone": {
                        "prefix": "text",
                        "number": "text"
                      },
                      "user": {
                        "id": "text",
                        "audit": {
                          "created": {
                            "at": "2025-01-23T13:26:45.116Z",
                            "by": {
                              "id": "text",
                              "audit": {},
                              "$meta": {
                                "omitted": [
                                  "text"
                                ]
                              },
                              "href": "text",
                              "name": "text",
                              "icon": "text"
                            }
                          },
                          "updated": {
                            "at": "2025-01-23T13:26:45.116Z",
                            "by": {
                              "id": "text",
                              "audit": {},
                              "$meta": {
                                "omitted": [
                                  "text"
                                ]
                              },
                              "href": "text",
                              "name": "text",
                              "icon": "text"
                            }
                          },
                          "invitationAcceptedAt": "2025-01-23T13:26:45.116Z"
                        },
                        "$meta": {
                          "omitted": [
                            "text"
                          ]
                        },
                        "href": "text",
                        "email": "text",
                        "status": "text",
                        "phone": {
                          "prefix": "text",
                          "number": "text"
                        },
                        "firstName": "text",
                        "lastName": "text",
                        "icon": "text",
                        "lastLoginAt": "2025-01-23T13:26:45.116Z",
                        "settings": {
                          "cultureCode": "text",
                          "languageCode": "text"
                        },
                        "name": "text",
                        "accounts": []
                      },
                      "type": "text"
                    },
                    "externalIds": {
                      "erpCompanyContact": "text",
                      "erpCustomer": "text",
                      "accountExternalId": "text"
                    },
                    "status": "Active",
                    "icon": "text",
                    "address": {
                      "addressLine1": "text",
                      "addressLine2": "text",
                      "postCode": "text",
                      "city": "text",
                      "state": "text",
                      "country": "text"
                    },
                    "taxId": "text",
                    "name": "text",
                    "errors": [
                      {
                        "id": "text",
                        "message": "text"
                      }
                    ],
                    "sellers": [
                      {
                        "id": "text",
                        "audit": {
                          "created": {
                            "at": "2025-01-23T13:26:45.116Z",
                            "by": {
                              "id": "text",
                              "$meta": {
                                "omitted": [
                                  "text"
                                ]
                              },
                              "href": "text",
                              "name": "text",
                              "icon": "text"
                            }
                          },
                          "updated": {
                            "at": "2025-01-23T13:26:45.116Z",
                            "by": {
                              "id": "text",
                              "$meta": {
                                "omitted": [
                                  "text"
                                ]
                              },
                              "href": "text",
                              "name": "text",
                              "icon": "text"
                            }
                          }
                        },
                        "$meta": {
                          "omitted": [
                            "text"
                          ]
                        },
                        "href": "text",
                        "externalId": "text",
                        "status": "Active",
                        "icon": "text",
                        "currencies": [
                          "text"
                        ],
                        "address": {
                          "addressLine1": "text",
                          "addressLine2": "text",
                          "postCode": "text",
                          "city": "text",
                          "state": "text",
                          "country": "text"
                        },
                        "name": "text"
                      }
                    ]
                  }
                ]
              }
            ]
          },
          "settings": {
            "productOrdering": false,
            "productRequests": {
              "enabled": false,
              "name": "text",
              "label": "text"
            },
            "itemSelection": false,
            "orderQueueChanges": false,
            "preValidation": {
              "purchaseOrderDraft": false,
              "purchaseOrderQuerying": false,
              "changeOrderDraft": false,
              "terminationOrder": false,
              "productRequest": false
            },
            "splitBilling": {
              "enabled": false,
              "type": "text"
            }
          },
          "statistics": {
            "itemCount": 0,
            "ordersPlacedCount": 0,
            "agreementCount": 0,
            "subscriptionCount": 0,
            "requestCount": 0
          }
        }
      },
      "fileId": "text"
    }
  ]
}

Last updated