v3

latestOpenAPI 3.1.02026-08-0797185285.8 KB

Post Storage Unit

Creates a storage unit in the Isometric system.

post/storage_units

Headers

x-client-secretstring required

A secret token identifying the client connecting to the API

Example:Syou3EZiO5vuMEgNyBeA8cjEMYOnQDwP

A secret token identifying the client connecting to the API

Request body

storage_location_idstring required
namestring required

The name of the storage unit. Must be at most 100 characters long.

latitudenumber required

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

longitudenumber required

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

Example request

{
  "storage_location_id": "slc_1F3PMGVC91S0SBK3",
  "latitude": 51.5072,
  "longitude": -0.1276
}

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"
}