Product Variants Input

Input representation of the request to retrieve the variation products associated with parent variant products.

JSON Example

1{
2  "correlationId": "9b6bc520-3c82-4d6c-a458-47590370681a",
3  "parentVariantsIds": [
4    "01tT1000000F0afIAC",
5    "01tT1000000F0agIAC"
6  ]
7}

Properties

NameTypeDescriptionRequired or OptionalAvailable Version
correlation​IdStringUnique ID to track and associate related events or transactions. If unspecified, a Universally Unique Identifier (UUID) is generated.Optional67.0
parent​Variants​IdsString[]List of product IDs for parent variant products whose variations you want to retrieve. If any product ID is blank, invalid, or not found, the API skips that ID and processes the remaining valid IDs. The skipped IDs appear in the inValidProductIds response property. If a product ID is valid but isn’t a parent variant product, the API includes it in the nonVariantParentIds response property.Required67.0