Last active
August 22, 2017 19:15
-
-
Save tristansokol/21d981fd552287683ce08ff8874ca222 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
$location_id = 'XXXXXXXX'; | |
$item_id = "XXXXXXXXX"; // string | The item's ID. | |
$api_instance = new SquareConnect\Api\V1ItemsApi(); | |
try { | |
$result = $api_instance->retrieveItem($location_id, $item_id); | |
print_r($result); | |
} catch (Exception $e) { | |
echo 'Exception when calling V1ItemsApi->retrieveItem: ', $e->getMessage(), PHP_EOL; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment