Get Product Variants Info

Returns a list of variants associated with the product identified by the `productId` parameter. Analogous to the [Get all product variants](/developer/api-reference/rest/admin/catalog/product-variants#get-all-product-variants) endpoint in the default BigCommerce API. Equivalent Storefront GraphQL API Query: `productVariantsInfo`. For more information, see the [GraphQL Playground](https://api-b2b.bigcommerce.com/graphql/playground).

Authentication

AuthorizationBearer
### Authentication header | Header | Argument | Description | |:-------|:---------|:------------| |`Authorization`|`Bearer {{B2B_JWT_TOKEN}}`| You can obtain this token using the steps described in the [REST Storefront API](/developer/docs/b2b-edition/getting-started/authentication#rest-storefront-api) section[...]

Response

SUCCESS
codeintegerDefaults to 200
HTTP status code indicating the result of the API operation.
messagestringDefaults to Success
Message describing the outcome of the request.
datalist of objects
List of variant identifiers and their corresponding SKUs.