api/v1/stores/update

PUT /api/v1/stores/54

Status: 200

Parameters

?store%5Bname%5D=ABC+Boutique

Body

store[name]=ABC+Boutique

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"'
'Content-Type': '"application/json; charset=utf-8"'

Body

{
  "id": 54,
  "slug": "abc-boutique-chicago-il",
  "name": "ABC Boutique",
  "description": "Baseball Field",
  "street": "1060 West Addison Street",
  "city": "Chicago",
  "state": "IL",
  "postal_code": "60613",
  "country": "US",
  "phone_number": null,
  "lat": 41.88415,
  "lng": -87.632409,
  "user_id": 108,
  "community_id": 46,
  "products_count": 0,
  "follower_count": 0,
  "created_at": "2012-08-02T02:56:25Z",
  "updated_at": "2012-08-02T02:56:25Z",
  "is_following": false,
  "permissions": {
    "manage": true,
    "read": true,
    "create": true,
    "update": true,
    "destroy": true
  }
}