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!
Hi @brichlizap52d3
have you tried the below method?
https://devdocs.magento.com/swagger/index_23.html#/catalogProductRepositoryV1/catalogProductReposito...
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?