-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstore_info.php
More file actions
24 lines (19 loc) · 924 Bytes
/
store_info.php
File metadata and controls
24 lines (19 loc) · 924 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
include(__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'bootstrap.php');
try {
$response = $api->catalogue->store_info(array(
# string alphanumeric ID of the store (required)
'store_id' => STORE_ID,
# string|null 2-char country code for shipping costs (optional; default: 'gb')
'country' => null,
# string|null show embed shop settings in the response (optional; default: 'no')
'embed_settings' => null,
# int|null number of store products to list (optional; default: all products)
'count' => null,
# int|null offset to start listing products from (optional; 0-based, default: 0)
'start' => null,
));
debug($response);
} catch (Exception $e) {
echo $e->getMessage();
}