search

No results found

API Reference chevron_right Items chevron_right Item Detail
info ITEMS

Item Detail

Dapatkan informasi lengkap tentang satu item berdasarkan ID.

GET /v1/item/{'{id}'}

Path Parameters

Parameter Type Description
id integer ID item yang ingin dilihat.

Example Request

curl --request GET \
                  --url https://sekalipay.com/api/v1/item/123 \
                  --header 'X-APIKEY: YOUR_API_KEY'

Response Sample

200 OK
{
                  "message": "OK",
                  "data": {
                    "id": 123,
                    "name": "Netflix 1 Bulan",
                    "price": 45000,
                    "stock": 50,
                    "description": "..."
                  }
                }
chat_bubble Feedback