Pempati Ürün Listesi (getproductsfilter)

Belirli bir tedarikçiye ait ürün listesini almak için kullanılır. Bu API aracılığıyla, tedarikçiye ait ürünlerin detaylı bilgilerini alabilirsiniz.

GET list

https://api.pempati.com/api/{vendorId}/product/getproductsfilter?status=1&size=1&last=0

Örnek Servis Cevabı

    {
    "size": 5,
    "total": 2,
    "last": 1692701506,
    "success": true,
    "response": null,
    "data": [
    {
    "id": "paulogqde90e",
    "categoryId": 8,
    "subCategoryId": 39,
    "brandId": null,
    "brand": null,
    "name": "2 Bebek Babet Çorap",
    "shortDescription": null,
    "longDescription": null,
    "stockCode": null,
    "barcode": "barcode1",
    "model": null,
    "dimensionalWeight": 0,
    "kdv": 0,
    "mrpPrice": 0,
    "price": 10,
    "quanity": 10,
    "statusType": 0,
    "createdDateLong": 1692702585,
    "updatedDateLong": 1694082356,
    "size": null,
    "color": null,
    "varientId": null,
    "images": [
    "https://pempatifiles.blob.core.windows.net/photo-images/f3d9c851-ad76-44cf-944b-c25f346d8d07.jpg"
    ]
    },
    {
    "id": "poxirlhqoxqh",
    "categoryId": 8,
    "subCategoryId": 39,
    "brandId": null,
    "brand": null,
    "name": "Bebek Babet Çorap",
    "shortDescription": null,
    "longDescription": null,
    "stockCode": null,
    "barcode": null,
    "model": null,
    "dimensionalWeight": 0,
    "kdv": 0,
    "mrpPrice": 0,
    "price": 2,
    "quanity": 1,
    "statusType": 2,
    "createdDateLong": 1692701458,
    "updatedDateLong": 1692701506,
    "size": null,
    "color": null,
    "varientId": null,
    "images": [
    "https://pempatifiles.blob.core.windows.net/photo-images/f3d9c851-ad76-44cf-944b-c25f346d8d07.jpg"
    ]
    }
    ],
    "errors": []
    }
Parametre Zorunluluk Açıklama Veri Tipi
barcode Yok İlgili mağazanın barcode bilgisi gönderilmelidir string
stokcode Yok İlgili mağazanın stock code bilgisi gönderilmelidir string
VarientId Yok İlgili mağazanın VarientId bilgisi gönderilmelidir string
size Maksimum 200 Bir sayfada listelenecek maksimum adeti belirtir. int
last Var İlk sayfayı getirmek için 0 değeri gönderilir, bir sonraki sayfayı getirmek için de bir önceki last değeri göndermek gerekir. int
status Var 0 pasif, 1 aktif, 2 Onay Bekliyor, 3 Onaylanmadı, 4 Red,5 Tüm statusler integer
total toplam ürün Sayısı long
orderByDirection Yok DESC Yeniden eskiye doğru sıralar. string
vendorId (Path) Var İstenilen tedarikçinin benzersiz kimliğini belirtir. API'nin çalıştırılacağı URL içinde bu tedarikçi kimliği bulunmalıdır. string