php-shopify
php-shopify copied to clipboard
PHP SDK for Shopify API
With the latest API release, certain pagination calls are not working. See https://help.shopify.com/en/api/guides/paginated-rest-results
Search by product variant not working return 'Not found' in all cases ```PHP $sku = 'sku:a166132'; $product = $shopify->ProductVariant->search($sku); ```
Hi there, we stumbled upon a small bug while trying to look up a discount code. DiscountCode->lookUp is expected to receive a "303 See Other", yet, ShopifyResource only handles 200...
Hi guys, I am trying to update the product variant of images, and then always return {"status":200,"code":422,"message":"image - Missing image src","data":[]}. I don't know where is wrong.
How can i do to prepare an order with the api.? Thanks in advance!
I tried adding a snippet like this using Asset API ``` $snippet = ["asset['key']" => "snippets/newsnippet.liquid", "value" => "hello"]; $shopify->Theme($themeId)->Asset->put($snippet); ``` It doesn't seem to work. Returns 406. I think...
I try to remove the file from the topic in this way but I get the answer from server ({"message":"Request failed with HTTP Code 406.","code":406,"status":false}) maybe I am passing parameters...
Found a bug in AuthHelper related to getCurrentUrl() (the querystring isn't stripped out). It's easy enough to fix, however - If `static::getCurrentUrl()` was used in place of `self::getCurrentUrl()` in `\PHPShopify\AuthHelper::createAuthRequest()`...
Static is used in ShopifySDK.php. It is not reentry. Can't create two instances of ShopifySDK. Can developers please remove static? Thanks.
Hello @tareqtms I've started to create an app using your code but I am getting error 500. I set up this with composer. Here is the code ``` require_once 'vendor/autoload.php';...