shops
{
"_links": {
"btc:shops": {
"href": "https://api.bootic.net/v1/...{?page,q...}",
"templated": true
}
}
}
HTTP GET
Returns a paginated results response for all shops available for the access-token’s scope.
$ curl -X GET -H "Authorization: Bearer xxxx" -i https://api.bootic.net/v1/shops.json
Status: 200 OK
Content-Type: application/json; charset=utf-8
Connection: keep-alive
ETag: "0728e2965bd03e20a7f1c33add2f8775"
Last-Modified: Fri, 20 Jun 2014 22:34:14 GMT
Cache-Control: must-revalidate, private, max-age=0
Date: Wed, 31 Jul 2013 21:11:52 GMT
X-OAuth-Scopes: public
{
"_links": {
"next": {
"href": "https://api.bootic.net/v1/shops.json?page=2"
},
"last": {
"href": "https://api.bootic.net/v1/shops.json?page=290"
}
},
"total_items": 1448,
"per_page": 50,
"page": 1,
"_embedded": {
"items": [
]
}
}
Shop entities
The items
array within the _embedded
block of the shops results resource is an array of summary shop
entities. A single shop
entity looks like follows:
{
"_class": [
"shop"
],
"_links": {
"self": {
"href": "https://api.bootic.net/v1/shops/453"
},
"btc:products": {
"href": "https://api.bootic.net/v1/products?shop_ids=453",
"title": "Products for this shop"
},
"btc:theme": {
"href": "https://api.bootic.net/v1/shops/453/theme",
"title": "HTML/CSS theme files for this shop"
},
"btc:contacts": {
"href": "https://api.bootic.net/v1/shops/453/contacts",
"title": "Contacts (customers) for this shop"
},
"btc:orders": {
"href": "https://api.bootic.net/v1/shops/453/orders",
"title": "Orders for this shop"
},
"btc:web": {
"href": "http://simplelist.bootic.net",
"type": "text/html",
"title": "This shop's web site"
}
},
"id": "453",
"subdomain": "simplelist",
"url": "simplelist.bootic.net",
"name": "Simple List",
"description": "",
"created_on": "2012-09-12T11:34:04.000Z",
"updated_on": "2013-11-03T16:53:58.000Z",
"currency_code": "CLP",
"bootic_tags": [
"demo"
],
"product_counts": {
"visible": 4,
"hidden": 1
},
"_embedded": {
"account": {
"_class": [
"account"
],
"status": "free",
"plan": "advanced",
"created_on": "2012-09-12T11:34:04.000Z",
"updated_on": "2013-03-16T21:26:18.000Z",
"trial_expires_on": "2012-10-12T00:00:00.000Z"
},
"image": {
"_class": [
"image",
"asset"
],
"_links": {
"thumbnail": {
"href": "http://api.url2png.com/v3/P4FDE2A5B29874/decb7f9352e301ebf95a6327411660d0/75x75/simplelist.bootic.net"
},
"small": {
"href": "http://api.url2png.com/v3/P4FDE2A5B29874/decb7f9352e301ebf95a6327411660d0/240x180/simplelist.bootic.net"
},
"medium": {
"href": "http://api.url2png.com/v3/P4FDE2A5B29874/decb7f9352e301ebf95a6327411660d0/500x375/simplelist.bootic.net"
}
}
}
}
}