getLimitStore()
getLimitStore() : \Osiset\BasicShopifyAPI\Contracts\StateStorage
Get the limit store implementation.
Reprecents REST client.
getLimitStore() : \Osiset\BasicShopifyAPI\Contracts\StateStorage
Get the limit store implementation.
getTimeStore() : \Osiset\BasicShopifyAPI\Contracts\StateStorage
Get the time store implementation.
getTimeDeferrer() : \Osiset\BasicShopifyAPI\Contracts\TimeDeferrer
Get the time deferrer implementation.
request(string $type, string $path, array|null $params = null, array $headers = array(), boolean $sync = true) : array|\GuzzleHttp\Promise\Promise
Runs a request to the Shopify API.
string | $type | The type of request... GET, POST, PUT, DELETE. |
string | $path | The Shopify API path... /admin/xxxx/xxxx.json. |
array|null | $params | Optional parameters to send with the request. |
array | $headers | Optional headers to append to the request. |
boolean | $sync | Optionally wait for the request to finish. |
requestAccess(string $code) : \Osiset\BasicShopifyAPI\ResponseAccess
Gets the access object from a "code" supplied by Shopify request after successfull auth (for public apps).
string | $code | The code from Shopify. |
When API secret is missing.
getAuthUrl(string|array $scopes, string $redirectUri, string|null $mode = 'offline') : string
Gets the auth URL for Shopify to allow the user to accept the app (for public apps).
string|array | $scopes | The API scopes as a comma seperated string or array. |
string | $redirectUri | The valid redirect URI for after acceptance of the permissions. It must match the redirect_uri in your app settings. |
string|null | $mode | The API access mode, offline or per-user. |
For missing API key.
Formatted URL.