Basic-Shopify-API
Basic-Shopify-API copied to clipboard
A simple API wrapper for Shopify using Guzzle for REST and GraphQL
Hi there, Thanks for this great API! I had a few error messages using PHP 8.1 like `Return type of Osiset\BasicShopifyAPI\ResponseAccess::current() should either be compatible with Iterator::current(): mixed` This fixes...
Deprecated: Return type of Osiset\BasicShopifyAPI\ResponseAccess::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in \vendor\osiset\basic-shopify-api\src\Osiset\BasicShopifyAPI\ResponseAccess.php on line 60...
when i run the code iam getting this error Object of type Osiset\BasicShopifyAPI\BasicShopifyAPI is not callable this my code :- `$options = new Options(); $options->setVersion('2020-01'); $result = User::findOrFail(1); $shopname= $result->name;...
why $api->getSession() doesnt work ?
Add private app flag to the Graphql call
For Payment apps, the URL is needed to be changed to `POST https://{shop_domain}/payments_apps/api/2021-10/graphql.json` See https://shopify.dev/apps/payments/onboarding-a-merchant-payments-apps
Unable to set header on graphQL for Retrieving Storefront API translations We can query the supported resources using the `Accept-Language` HTTP header, to return translated content to the Storefront API....
Hey, first off, this is great code. Thank you!!! I've been toying around with failure conditions while using the `graph()` functionality. When I pass an invalid value to a variable...
The `verifyRequest` method does not check the freshness of the signature, which means the signatures are still valid after expiration on Shopify. It should be possible to configure an expiration...
Using the code below to test, I have noted that when paginating responses from API, all but the last returned response is an array. The final response returns as an...