api/v1/products/nearby

GET /api/v1/products/nearby

Status: 200

Parameters

?keywords=blue&lat=&lng=

Body

// No request body necessary.

Headers:

'Access-Control-Allow-Origin': '"*"'
'Access-Control-Allow-Credentials': '"true"'
'Access-Control-Allow-Methods': '"GET, POST, PUT, DELETE, OPTIONS"'
'Access-Control-Allow-Headers': '"x-requested-with, x-requested-by, Authorization"'
'X-Pagination': '"{\"total\":1,\"total_pages\":1,\"first_page\":true,\"last_page\":true,\"previous_page\":null,\"next_page\":null,\"out_of_bounds\":false,\"offset\":0}"'
'Content-Type': '"application/json; charset=utf-8"'

Body

[
  {
    "id": 36,
    "name": "Little Blue Dress",
    "description": "A fancy black handbag",
    "price": "100.0",
    "state": "active",
    "like_count": 0,
    "tag_list": [

    ],
    "user_id": 77,
    "store_id": 37,
    "created_at": "2012-08-02T02:56:20Z",
    "updated_at": "2012-08-02T02:56:20Z",
    "image": {
      "full": "/images/fallback/product_default.png",
      "thumb": "/images/fallback/product_thumb_default.png",
      "mid": "/images/fallback/product_mid_default.png",
      "big": "/images/fallback/product_big_default.png"
    },
    "permissions": {
      "manage": false,
      "read": true,
      "create": true,
      "update": false,
      "destroy": false
    }
  }
]