Last updated 1 year ago
You can make custom requests by using the methods matching the standard http verbs:
Each of the requests return an Illuminate\Http\Client\Response instance. Check the to see which methods are available.
Illuminate\Http\Client\Response
$shopify = app('shopify'); // GET $shopify->get('products.json'); // returns Illuminate\Http\Client\Response // POST $shopify->post('products.json', $payload); // PUT $shopify->put('products/{product_id}.json', $payload); // DELETE $shopify->delete('products/{product_id}.json');