DW.get_product (eng) - datawizio/pythonAPI GitHub Wiki
Returns information about a product: name of the product, stock-keeping unit, bar-code, code of the category, units of measurement.
Parameters:
products: int, list
ID of the product or a list of ids
Returns:
Returns the product or a list of products in the format
{ "category_id": <category_id>,
"category_name": <category_name>,
"identifier": <product_identifier>,
"product_id": <product_id>,
"product_name": <product_name>,
"unit_id": <unit_id>,
"unit_name": <unit_name>
}
Examples:
dw = datawiz.DW()
dw.get_product(products=[745645, 665765])