GetProductFromID
Called to retrieve a product object based on the identifier supplied as a parameter in the function call UpdateProductPosition (see Product Tracking)
🔁 Function
object GetProductFromID(identifier: string);
⚙️ Parameters
Name | Type | Description |
---|---|---|
identifier |
String | The id assigned to the product |
↩️ Return Value
Returns the requested product as a javascript object, or null
if it is not found.