Open c-topherl opened 8 years ago
Can you use get_products? It doesn't take id right now but I can add it. Or would it be better as its own function?
{"response":{"products":[{"product_id":"5","product_code":"ipa","product_desc":"indian pale ale","price":"5","class_id":"2","class_code":"palelager","class_desc":"this is a pale lager"},<more products..............>
]},"message":"Products successfully read","status":"success"}
Doesn't exist... please add it.
Request args = { "function": "get_product_detail", "product_id": id //this can be string or int, I don't care }
Look at get_order_detail for example.