Responses

GET /api-drop/v2/stock
curl \
 -X GET https://bi.agora.place/api-drop/v2/stock \
 -H "apikey: $API_KEY"
Response examples (200)
{
  "71234567": {
    "name": "Apple iPhone 8 64",
    "grade": "Grade A",
    "color": "Blanc",
    "skus": [
      "[\"APP_IPH_8_64\", \"MY_SUPER_SKU\"]"
    ],
    "stock": 4,
    "finalprice": 110,
    "id": "71234567"
  }
}
Response examples (200)
{
  "71234567": {
    "name": "Apple iPhone 8 64",
    "grade": "Grade A",
    "color": "Blanc",
    "skus": [
      "[\"APP_IPH_8_64\", \"MY_SUPER_SKU\"]"
    ],
    "stock": 4,
    "finalprice": 110,
    "id": "71234567"
  }
}
Response examples (400)
{
  "code": 400,
  "msg": "Bad Request"
}
Response examples (400)
{
  "code": 400,
  "msg": "Bad Request"
}
Response examples (500)
{
  "code": 500,
  "msg": "Internale Server Error"
}
Response examples (500)
{
  "code": 500,
  "msg": "Internale Server Error"
}