Documentation
Upload Stock Flomiz to Portal.
Click Here To Download Postman Collection file for Stock Upload API
API EndPoint [POST Method]
https://diamond.flomiz.com/FAccount/API/StockSummary/GetData_2.aspx
For Get All Stock Data
{ "CustomerId": "*", "PortalType": 1000, "ProductStockType": 3, "IsRemoveZeroStock": true, "IsShowRapaportPrice": true, "PhotoSize":1, "PageContext": { "Page": 1, "PerPage": 30 } }
For Get Single Product
{ "CustomerId": "*", "SKU": "N1588", "PhotoSize": 1 }
POST Data Field Detail (* Are Required Field)
CustomerId* :- Customer Id IsRemoveZeroStock :- true OR false IsShowRapaportPrice:- true OR false PortalType* :- RapNet = 501, VDB = 502, Nivoda = 503, Other = 1000 ProductStockType :- All = 1, MultiStock = 2, SingleStock = 3 PhotoSize:- Original = 1, W25xH25 = 3, W50xH50 = 4, W100xH100 = 5, W120xH150 = 6, W240xH200 = 7, W550xH320 = 8, W800xH600 = 9, W1024xH768 = 10, P30 = 101, P50 = 102, P70 = 103,
API Response
{ "Code": 1, "Message": "Success", "lstProduct": [ { "SerialNo": 106, "ProductName": "DBS138-734", "SKU": "843855", "CategoryName": "", "Branch": "HARI DIAMOND", "Lab": "IGI", "ProductStatus": "Available", "Stock": 20.00, "CommittedStock": 0.0, "AvailableForSale": 20.00, "RapPrice": 120.00, "RapBack": "", "RapBackValue": 0.0, "PricePerCarat": 120.00, "TotalPrice": 2400.00, "OPStock": 0.00, "QuantityIN": 20.00, "QuantityOUT": 0.00, "SOStock": 0.0, "POStock": 0.0, "lstImages": [{ "eProductImageType": 1, "SerialNo": 1, "base64FileByte": "" }], "Color": "D", "Clarity": "VVS2", "Shape": "Round", "CUT": "EX", "SYM": "EX", "POL": "EX", "CertificateNo": "7451501803", "Rep Size": "", "Flo": "", "Black": "", "Video": "" } ], "PageContext": { "Page": 1, "PerPage": 100, "TotalPage": 1, "TotalRecord": 1 } }
API Response Details
Code : Success = 1, Fail = 2, Exception = 3, Invalid = 4, eProductImageType : Modeling = 1, Original = 2, Customer = 3,