Skip to main content

Product

APIs related to Getfly's Product feature.

📄️ Product DetailsGet detailed information of a product### HTTP RequestGet product details by IDGET /api/v3/products/IDWhere ID is the product IDGet product details by codeGET /api/v3/products/detail?product_code=PRODUCT_CODEWhere PRODUCT_CODE is the product code### Responsejson{ "data": { "product_id": 4414, "product_name": "TFX150", "product_code": "TFX150", "description": "TFX150 Motorcycle", "short_description": "Yamaha TFX150 Motorcycle", "cover_price": 2500000, "discount": 5, "price_wholesale": 0, "discount_wholesale": 0, "price_average_in": 0, "discount_in": 0, "price_online": 0, "discount_online": 0, "saleoff_price": 0, "category_id": 1, "category_name": "Motorcycle", "origin_id": 1, "origin_name": "Japan", "unit_id": "12", "unit_name": "Piece" }, "images": [ "https://xxx.getflycrm.com/uploads/crm/product/image_1.jpg", "https://xxx.getflycrm.com/uploads/crm/product/image_2.jpg", "https://xxx.getflycrm.com/uploads/crm/product/image_3.jpg" ], "attributes": [ { "Engine displacement": "150 cm2" }, { "Color": "Blue, Gray, Red" }, { "Vehicle type": "Male" } ], "attachments": [ "https://xxx.getflycrm.com/uploads/crm/product/tl1.pdf" ]}

HTTP RequestGet product details by IDGET /api/v3/products/IDWhere ID is the product IDGet product details by codeGET /api/v3/products/detail?productcode=PRODUCTCODEWhere PRODUCTCODE is the product code### Response`json{ "data" 4414, "productname" "TFX150", "description" "Yamaha TFX150 Motorcycle", "coverprice" 5, "pricewholesale" 0, "priceaveragein" 0, "priceonline" 0, "saleoffprice" 1, "categoryname" 1, "originname" "12", "unitname" [ "https//xxx.getflycrm.com/uploads/crm/product/image2.jpg", "https [ { "Engine displacement" "Blue, Gray, Red" }, { "Vehicle type" [ "https://xxx.getflycrm.com/uploads/crm/product/tl1.pdf" ]}`