Vendor
Get Vendors
The "Get Vendors" API allows you to retrieve a list of vendors that offer products. This feature is useful when listing price of product based on the selected vendor, providing users with pricing options and enhancing their purchasing decisions.
Endpoint:
api/customer/vendorsHTTP Method:
GET
info
Please note that multi-vendor configuration must be enabled to utilize this API. Ensure that the ENABLE_MULTI_VENDOR key in the configuration is set to true for proper functionality.
- Success Response:
Vendors Resource
You can check more details about Get Vendors Resource.
{
"code": 200,
"message": "Success",
"data": [
{
"id": 1,
"name_en": "Vendor En",
"name_ar": "Vendor Ar",
"image": "https://docapi.supercommerce.io/storage/uploads/lines-1692712604.jpg",
"contact_email": "vendor@supercommerce.io",
"contact_phone": "0100000000000",
"description_en": "Vendor En",
"description_ar": "Vendor En",
"order": 1,
"active": 1,
"deactivation_notes": null,
"default": 0,
"minimum_purchase_amount": "100.00"
},
//...
]
}
info
Check the following section to learn more about the Get Vendors API Reference