php-shopify icon indicating copy to clipboard operation
php-shopify copied to clipboard

PHP SDK for Shopify API

Results 119 php-shopify issues
Sort by recently updated
recently updated
newest added

Hello, is this change included in php-Shopify? https://shopify.dev/docs/api/release-notes/2022-07#rest-admin-api-changes best regards J.I.

Hi, I'm trying to figure out what's the correct way of adding a discount code for a known Price Rule? Something like this doesn't work... ` $updateInfo = array( "code"...

in version 2022-07 the orders/$id/fulfillments.json API is no more present. We need to use the $client->Fulfillments making Fulfillment not a Child resource for orders but a Resource itself, to be...

i have this error trying to create a product type - can't be blank {"exception":"[object] (PHPShopify\\Exception\\ApiException(code: 422) phpclassic/php-shopify/lib/ShopifyResource.php:540) phpclassic/php-shopify/lib/ShopifyResource.php(419): PHPShopify\\ShopifyResource->processResponse() i need help please

PHPShopify\Exception\CurlException: Request failed with HTTP Code 525. in /var/www/html/app.gaatu.com/vendor/phpclassic/php-shopify/lib/ShopifyResource.php:544

$GetAgentId ="789459879696"; $data = array('key' => 'agent_customers','value'=>'abc','type' =>'multi_line_text_field','namespace' =>'custom'); $Customer = $shopify->Customer($GetAgentId)->Metafield()->put($data);

Hi, I'm trying to call the getAccessToken function. I've put the function call in a try catch block and got this response: "Request failed with HTTP Code 301.". What am...

defaultApiVersion is currently '2023-07' should be bumped to '2024-04' and updated as/where needed.

I'm testing GraphQL calls, and the following example from the documentation: `` it returns the error: `PHP Fatal error: Uncaught PHPShopify\\Exception\\ApiException: message - syntax error, unexpected COLON (":"), expecting VAR_SIGN...

My Code: ``` ... $metafield = [ 'namespace' => "custom", 'key' => "message", 'value' => $message, 'owner_resource' => "product", 'owner_id' => $product_id, 'value_type' => 'single_line_text_field', ]; $metafields = shopify->Product($product_id)->Metafield->post($metafield); ......