LauLamanApps / iZettleApi

iZettle Api php intergration
MIT License
12 stars 15 forks source link

Get one product result #28

Closed Cannonb4ll closed 2 years ago

Cannonb4ll commented 5 years ago

Is it possible to get one result back from this package? I've seen the getProducts() method, but it would be nice if you could 'search' for a product since there's an endpoint for that too.

Something in the lines of;

$productClient = IzettleClientFactory::getProductClient($izettleClient);

dd($productClient->getProduct('uuid'));
LauLaman commented 5 years ago

@Cannonb4ll i just created a PR for this (#31)

Will be released with the 1.0 version 🤗