Get Store Details by Store Id

Name

storeDetails()

Example

<html>
<head></head>
<body>
<?php

$pinData = new pinPointClient;
$pinData->storeid = "id of store found in listStores call"; // store_id parameter value from liststores call

$myresults = $pinData->storeDetails();

?>
</body>
</html>

Result

{
  "status": "success",
  "store_title": "Store Name",
  "store_address": "Store Address",
  "store_city": "Store City",
  "store_suburb": "Store Suburb",
  "store_state": "Store State",
  "store_counry": "Store Country",
  "store_zipcode": "store PostCode",
  "store_telephone": "Store Telephone",
  "store_fax": "Store Fax",
  "store_email": "Store Email Address",
  "store_website": "Store Website",
  "customfields": [
    {
      "fieldname": "Field 1",
      "fieldvalue": "Val 222"
    },
    {
      "fieldname": "Field 2",
      "fieldvalue": "Val 333"
    },
    {
      "fieldname": "Field 3",
      "fieldvalue": "Val 444"
    }
  ]
}

Description

Parameter:

$storeid (Required)
Type (Integer), Value (The ID of the store – ID is returned with other store info on call to listStores() function)
- Use this function if you want to list the store details on separate page. 
Get the ID of the store returned from listStores() array and pass it to get all the details of a specific store.