To see example of initialization, please look at Implementation part of our README
Method returns BrandIterator containing Brand entity.
use MpApiClient\Common\Interfaces\BrandClientInterface;
/** @var BrandClientInterface $brandClient */
$brands = $brandClient->list();
echo json_encode($brands, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE);
Example above prints out
[
{
"brand_id": "3M",
"title": "3M"
},
{
"brand_id": "AKASA",
"title": "Akasa"
},
{
"brandId": "ZYXEL",
"title": "Zyxel"
},
...
]