new Location(shopify)
Creates a Location instance.
Parameters:
Name | Type | Description |
---|---|---|
shopify |
Shopify | Reference to the Shopify instance |
Methods
inventoryLevels(id, paramsopt) → {Promise}
Retrieves a list of inventory levels for a location.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
id |
Number | Location ID | |
params |
Object |
<optional> |
Query parameters |
Returns:
Promise that resolves with the result
- Type
- Promise