Get Storage Unit

Changed on

Gets storage unit by ID.

get/storage_units/{id}

Request

  • Base URL
    https://api.isometric.com/mrv/v0
  • URL
    https://api.isometric.com/mrv/v0/storage_units/{id}
  • Auth
    HTTP bearer

Path parameters

idstring required
Example:sgu_1E844FWM71S0E0TM

Headers

x-client-secretstring required

A secret token identifying the client connecting to the API

Example:Syou3EZiO5vuMEgNyBeA8cjEMYOnQDwP

Response

Successful Response

idstring required
namestring required

The name of the storage unit

descriptionstring nullable

Optional description of the storage unit

latitudenumber nullable

A WGS84 latitude in decimal degrees, between -90 and 90.

longitudenumber nullable

A WGS84 longitude in decimal degrees, between -180 and 180.

supplier_reference_idstring nullable

A string that must be unique for all resources created by a specific supplier. It can be used by a client to identify the correct objects in their system.

storage_location_idstring required

The ID of the storage location this storage unit belongs to

supplier_idstring required

The ID of the supplier this storage location belongs to

Example response

{
  "id": "sgu_1E844FWM71S0E0TM",
  "latitude": 51.5072,
  "longitude": -0.1276,
  "storage_location_id": "slc_1F3PMGVC91S0SBK3",
  "supplier_id": "spl_1CC712KFS1S0YKPS"
}

Changes

    • breaking

      for the path request parameter id, the minLength was increased from 0 to 20

    • warning

      for the path request parameter id, the maxLength was set to 37

    • info

      for the path request parameter id, the type was generalized from no type to string

    • info

      for the path request parameter id, the type was generalized from string to no type

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status