💵Güncel Fiyat Listesi

Uç-nokta: /prices/:id

API URL

İstek Metodu: GET

Header Parametreleri

İstek Parametreleri

Cevap Parametreleri

data

Cevaplar data zarfı içinde aşağıdaki parametreleri içeriyor

product

price

publicPaidPrice

curl İstek Örneği

curl --location 'https://api.vapi.co/prices' \
--header 'Authorization: Bearer <API KEY>' \
curl --location 'https://api.vapi.co/prices/3195' \
--header 'Authorization: Bearer <API KEY>' \

postman İstek Örneği

Cevap örneği

Liste Sonucu

{
    "data": [
        {
            "product": {
                "id": 147,
                "name": "DELODAY Şurup 0.5 mg/ml 150 ml'lik şişe"
            },
            "price": {
                "effectiveDate": "2022-08-30",
                "factory": 14.17,
                "storage": 15.4,
                "taxPercent": 8,
                "retail": 21.29,
                "storageBased": false,
                "pharmacy": 19.71,
                "discountRate": 0,
                "publicPrice": 19.71,
                "publicPriceVat": 21.29,
                "publicPaidPrice": [
                    {
                        "price": 19.57,
                        "priceVatInc": 21.14,
                        "discountedPriceVatInc": 20.4,
                        "groupCode": "E394A",
                        "groupLowestUnitPrice": false
                    }
                ],
                "currencyCode": "TRY",
                "abroadProduct": false,
                "abroadPublicPaidPrice": null,
                "abroadPublicPrice": null,
                "abroadRetail": null
            }
        },
        ...
    ],
    "_links": {
        "self": {
            "href": "https://api.vapi.co/prices?page=1&per-page=500"
        },
        "first": {
            "href": "https://api.vapi.co/prices?page=1&per-page=500"
        },
        "last": {
            "href": "https://api.vapi.co/prices?page=54&per-page=500"
        },
        "next": {
            "href": "https://api.vapi.co/prices?page=2&per-page=500"
        }
    },
    "_meta": {
        "totalCount": 26686,
        "pageCount": 54,
        "currentPage": 1,
        "perPage": 500
    },
    "success": true
}

Tekil Sonuç

{
    "data": {
        "product": {
            "id": 3195,
            "name": "ASPİRİN Tablet 100 mg (Çocuklar için) 20 tabletlik ambalaj"
        },
        "price": {
            "effectiveDate": "2023-12-25",
            "factory": 35.86,
            "storage": 38.72,
            "taxPercent": 10,
            "retail": 54.53,
            "storageBased": false,
            "pharmacy": 49.57,
            "discountRate": 0,
            "publicPrice": 49.57,
            "publicPriceVat": 54.53,
            "publicPaidPrice": [
                {
                    "price": 24.86,
                    "priceVatInc": 27.34,
                    "discountedPriceVatInc": 26.39,
                    "groupCode": "TR-020B",
                    "groupLowestUnitPrice": false
                }
            ],
            "currencyCode": "TRY",
            "abroadProduct": false,
            "abroadPublicPaidPrice": null,
            "abroadPublicPrice": null,
            "abroadRetail": null
        }
    },
    "success": true
}

Last updated