Last updated
Last updated
You can initialize the client in different ways to start communicating with the Shopify API.
Using class:
Using alias:
You may also inject the Shopify class into a method of a Controller:
By default it will look for credentials in your config, when resolving the client.