On creating a new productcode I am getting the gkstatus code as 0 and gkresult is some value, since godownflag is true and godetails are empty.
- access the POST API url:https://api.gnukhata.org/product
- pass the gktoken in the headers
- The request payload should be { "productdetails": { "productdesc": "string", "prodmrp": 0, "prodsp": 0, "amountdiscount": 0, "percentdiscount": 0, "gscode": "string", "gsflag": 7, "specs": "string", "openingstock": 0, "uomid": 0, "categorycode": 0 }, "godetails": {
}, "godownflag": true } 4. execute the API and verify the response
Expected Result: the gkstatus code and gkresult should not be 0 and some value
Actual Result: the gkstatus code should be 0
{ "gkstatus": 0, "gkresult": 879 }