api/v1/customer/interests

GET

/api/v1/customer/interests

This API method will list all available interests for a specific store.

Sample Request body

Parameter

Value / Type

Required

store_id

STRING

true

Sample Response

{
  "status": true,
  "items": [
    {
      "id": "LZWBJx0PmYkEwjGdr2vO",
      "name": "Soda",
      "created_at": "2018-10-28 11:08:30",
      "updated_at": "2018-10-28 11:08:30",
      "selected": 1
    }
  ]
}
{
  "status": false,
  "errorCode": "VALIDATION_EXCEPTION",
  "messages": {
    "store_id": [
      "The store id field is required."
    ]
  }
}
{
  "status": false,
  "errorCode": "NO_ITEMS",
  "message": "No items exist under your account"
}