Last active
August 29, 2022 12:16
-
-
Save jamiemtdwyer/e109bcab1ff187f6341b7077904e47d6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Create a product: | |
$productData = array( | |
'product' => array( | |
'title' => "Shopify Logo T-Shirt", | |
'price' => 19.99)); | |
$shopifyResponse = performShopifyRequest( | |
$shop, $accessToken, 'products', $productData, 'POST' | |
); | |
// $shopifyResponse contains the new product data as an associative array |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment