list_stores
GET /list_stores
To get a list of stores.
/list_stores?token=XXXXX&active_type=active
| field |
description |
| token |
Credentials provided by Powersoft that allow access to the API |
| active_type |
'active' = Only the active stores. 'inactive' = Only the inactive stores. 'all' = All the stores(active and inactive) |
Returns
{
"api_response": {
"response_code": "1",
"response_msg": "OK",
"response_id": ""
},
"list_stores": [
{
"store_code_365": "100",
"store_name": "POWERSOFT365",
"store_short_name": "PS365",
"active": true,
"tel": "",
"fax": "",
"email": "",
"website": "",
"address_line_1": "",
"address_line_2": "",
"address_line_3": "",
"postal_code": "",
"town": "",
"country_code_iso2": "CY",
"country_name": "CYPRUS",
"price_indicator": 1,
"prices_include_vat": true,
"gps_latitude": "",
"gps_longitude": ""
},
{
"store_code_365": "001",
"store_name": "STORE 1",
"store_short_name": "",
"active": true,
"tel": "",
"fax": "",
"email": "",
"website": "",
"address_line_1": "",
"address_line_2": "",
"address_line_3": "",
"postal_code": "",
"town": "",
"country_code_iso2": "",
"country_name": "",
"price_indicator": 1,
"prices_include_vat": true,
"gps_latitude": "",
"gps_longitude": ""
},
{
"store_code_365": "002",
"store_name": "STORE 2",
"store_short_name": "",
"active": true,
"tel": "",
"fax": "",
"email": "",
"website": "",
"address_line_1": "",
"address_line_2": "",
"address_line_3": "",
"postal_code": "",
"town": "",
"country_code_iso2": "",
"country_name": "",
"price_indicator": 1,
"prices_include_vat": false,
"gps_latitude": "",
"gps_longitude": ""
}
]
}