cancel
Showing results for 
Search instead for 
Did you mean: 

REST API get configurable options (variations) of a product

REST API get configurable options (variations) of a product

Hi guys

how can i get all configurable options (Variations) of a product using the REST API?

Preferably not by using GraphQL, since my current solution to sync Magento Shops to our solution is not using GraphQL. 

 

I'm getting a product like this (using Experius' Magento 2 API Client)

$dataArray = [
"searchCriteria" => [
"filterGroups" => [
[
"filters" => [
[
"field" => "entity_id",
"value" => "260",
"condition_type" => "eq"
]
]
]
]
]
];

$result = $service->call('products', $dataArray);

 

Alternatively an GraphQL solution would also server i guess.

 

Thanks!

2 REPLIES 2

Re: REST API get configurable options (variations) of a product

Re: REST API get configurable options (variations) of a product

Hi @Vimal Kumar,

I want to confirm one thing. 

The options for the product object are the variants of the product. They are not different. Right?