Basic Examples

Create product:

$response = $client->request('GET', '/api/products', [
    'headers' => [
        'Accept' => 'application/json',
        'Authorization' => 'Bearer '.$accessToken,
    ],
]);