Skip to main content

Get Vendor by Name

Deskripsi

API ini digunakan untuk mengambil daftar vendor berdasarkan keyword vendor yang diketik oleh pengguna, dengan dukungan untuk filter paginasi (page, limit) dan status aktif.

MethodURL
GET

{{ base_url }}/api/v2/bumn/vendor/{keyword}

Request

ParameterTipeWajibKeterangan
keywordStringTidakKata yang diketik: PT Maju Mundur
pageIntegerYaNomor halaman. Default: 1
limitIntegerYaJumlah data per halaman (opsi: 5, 10, 20, 50, 100). Default: 10
statusStringYaFilter status produk. Contoh: active

Contoh Request

GET {{base_url}}/api/v2/bumn/vendor/list?Limit=20&Page=1&keyword=PT+Majumundur

Response

Success

StatusPayload
200
{
"status": "success",
"data": {
"meta": {
"first": "http://openapi.padiumkm.id/api/v2/bumn/product?page=1&limit=1",
"last": "http://openapi.padiumkm.id/api/v2/bumn/product?page=152399&limit=1",
"limit": 1,
"next": "http://openapi.padiumkm.id/api/v2/bumn/product?page=5&limit=1",
"page": 4,
"prev": "http://openapi.padiumkm.id/api/v2/bumn/product?page=3&limit=1",
"total_data": 152399,
"total_page": 152399
},
"nama_seller": "PT Maju Mundur",
"seller_id": "",
"status_perusahaan": "pkp/non pkp",
"bentuk_perusahaan": "CV/PT",
"tipe_perusahaan": "umkm",
"kategori_tipe_perusahaan": "mikro",
"jenis_kegiatan_utama": "Jasa Konstruksi",
"provinsi": "Lampung",
"kota": "Kota Bandar Lampung",
"kecamatan": "Labuhan Ratu",
"profile_picture": "ddkk.com"
}
}
ParamsTipe DataDeskripsi
statusSTRINGStatus dari permintaan ke server. Nilai: "success" atau "error".
dataOBJECTObjek utama yang berisi metadata dan detail informasi seller.
data.metaOBJECTMetadata terkait paginasi hasil permintaan.
data.meta.firstSTRINGURL halaman pertama dari hasil paginasi.
data.meta.limitINTEGERJumlah data per halaman.
data.meta.lastSTRINGURL halaman terakhir dari hasil paginasi.
data.meta.nextSTRINGURL ke halaman selanjutnya.
data.meta.pageINTEGERNomor halaman saat ini.
data.meta.prevSTRINGURL ke halaman sebelumnya.
data.meta.total_dataINTEGERJumlah total data yang tersedia.
data.meta.total_pageINTEGERJumlah total halaman yang tersedia.
data.nama_sellerSTRINGNama dari penjual atau perusahaan.
data.seller_idSTRINGID unik dari seller.
data.status_perusahaanSTRINGStatus perusahaan: "pkp" atau "non pkp".
data.bentuk_perusahaanSTRINGBentuk hukum perusahaan, seperti "CV" atau "PT".
data.tipe_perusahaanSTRINGTipe perusahaan, seperti "umkm".
data.ketegori_tipe_perusahaanSTRINGKategori tipe perusahaan, seperti "mikro".
data.jenis_kegiatan_utamaSTRINGJenis kegiatan usaha utama perusahaan.
data.provinsiSTRINGLokasi provinsi perusahaan
data.kotaSTRINGLokasi kota perusahaan
data.kecamatanSTRINGLokasi kecamatan perusahaan
data.profile_pictureSTRINGURL atau referensi ke gambar profil seller.

Error

CaseStatusMessage
Failed to get response because bad internet400"Bad Request"
Failed to set shipping cost400"Failed to set shipping cost"
Failed to get data from collect bill400"Failed to collect bill"
Failed to get data from calculate bill400"Failed to calculate bill"
Failed to hit create order400"Failed to create orders"
ERP user does not match the token obtained from the API Login400"Invalid User ERP"
payment_type is not available400"Payment type is not available"
payment_term is not available400"Payment terms is not available"
payment_method is not available400"Payment method is not available"
Invalid shipping_address_id404"Address Not Found"
Transaction not found404"Transaction Not Found"
Invalid product_id404"Product Not Found"
Invalid courier_code404"Courrier Not Found "
Courier not found404"Product Detail Not Found"
Internal Server Error500"Internal Server Error"