Get all locations by inventory

GET https://api.ecartapi.com/api/v2/inventories/{{inventoryId}}

Get all store locations available by product.

Important information:

  • The invetory ID must exist

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Authorizationstring

RESPONSES

status: OK

{"success":true,"inventories":[{"id":"32461722255404","locationId":"5049516076","quantity":"2","dates":{"createdAt":null,"updatedAt":"2019-12-20T11:33:26-05:00"},"ecartapiUrl":null}]}