URL: v3/service-desk/api/product/vendor/{productId}

Method: get

Description : Get Product Associated Vendor List based on Product Id

Parameters:

Parameter Type Optional/Required Description
product id integer Required Product id of the product to get associated vendor list.

Success Response :

{
  "success":true,
  "data": {
    "current_page":1,
    "first_page_url":"http://localhost:8888/faveo-helpdesk-advance/public/service-desk/api/product/vendor/1?page=1",
    "from":1,
    "last_page":1,
    "last_page_url":"http://localhost:8888/faveo-helpdesk-advance/public/service-desk/api/product/vendor/1?page=1",
    "next_page_url":null,
    "path":"http://localhost:8888/faveo-helpdesk-advance/public/service-desk/api/product/vendor/1",
    "per_page":10,
    "prev_page_url":null,
    "to":1,
    "total":1,
    "vendors":[
     {
       "id": 75,
       "product_id": 1, 
       "vendors": [
           {  "id": 1,
              "name": "Abhi",
              "email": "hfecHz@gmail.com",
              "primary_contact": "99999993333",
              "status": 1
            }
        ]
    }]
  }
}
Tagged: