GET/POST
/api/v1/customer/swag-shop/tags
This API method will return a list of swag shop tags with weighted value based on the number of usages.
Request Parameters
Parameter | Value / Type | Required |
|---|---|---|
store_id | STRING | true |
Sample Response
{
"status": true,
"items": [
{
"id": "LZWBJx0PmYkEwjGdr2vO",
"store_id": "l6yYk1WOeo7e2b78dD4j",
"name": "Chiken",
"usages": 3,
"created_at": "2018-07-03 13:55:53"
},
{
"id": "LZWBJx0PmYkEwjGdr2vO",
"store_id": "l6yYk1WOeo7e2b78dD4j",
"name": "Boil Egg",
"usages": 3,
"created_at": "2018-07-03 13:55:53"
},
{
"id": "Ol2GJkRbElpEA53xM8B1",
"store_id": "l6yYk1WOeo7e2b78dD4j",
"name": "Butter",
"usages": 0,
"created_at": "2018-09-11 13:37:03"
}
]
}{
"status": false,
"errorCode": "NO_ITEMS",
"message": "No items exist under your account"
}