Detach Asset from Product

URL: api/product/detach-asset/{productId}/{assetId} Method: DELETE Description : Route to detach asset from product based on productId and asset ids Parameters: Parameter Type Optional/Required Description product id integer Required Product id of the product to attach asset asset id integer Required Asset id of the asset to be detached from product Success Response : { “success”:true, “Message”:“Asset detached […]

Read More

Attach Asset to Product

URL: api/product/attach-asset Method: POST Description : Route to attach asset to product based on productId and asset ids Parameters: Parameter Type Optional/Required Description product id integer Required Product id of the product to attach asset asset id integer Required Asset id of the asset to be attached to product Success Response : { “success”:true, “Message”:“Asset attached […]

Read More

Detach Vendor from Product

URL: api/product/detach-vendor/{productId}/{vendorId} Method: Delete Description : Route to detach vendor from product based on productId and vendor ids Parameters: Parameter Type Optional/Required Description product id integer Required Product id of the product to detach vendor vendor id integer Required Vendor id of the vendor to be detached from product Success Response : { “success”:true, “Message”:“Vendor detached […]

Read More

Attach Vendor to Product

URL: api/product/attach-vendor Method: POST Description : Route to attach vendor to product based on productId and vendor ids Parameters: Parameter Type Optional/Required Description product id integer Required Product id of the product to attach vendor vendor id integer Required Vendor id of the vendor to be attached to product Success Response : { “success”:true, “Message”:“Vendor attached […]

Read More

Product Associated Vendor List

URL: 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, […]

Read More

Delete Product

URL: api/product-delete/{productId} Method: DELETE Description : Delete a product. Parameters: Parameter Type Optional/Required Description id integer Required Product id of the product to be deleted. Success Response : { “success”:true, “Message”:“Product deleted successfully” }

Read More

Product List

NOTE: User must me logged in as admin to access this API URL : service-desk/api/product-list Method : GET Query Parameters :   Parameter Type Possible Values Required/Optional Description sort-field String name Optional Field name to sort sort-order String asc, desc Optional Sorting order either ascending or descending search-query String Optional Keyword to be searched in problem list […]

Read More

Create Update Product

NOTE: User must me logged in as admin to access this API URL : service-desk/api/product Method : POST Query Parameters :   Parameter Type Possible Values Required/Optional Description name String Required Product’s Name status Integer Required Status will be 0 or 1 based on the selection of Enable or Disable manufacturer String Required Manufacturer Name product status […]

Read More