POST
/
projects
/
{project_id}
/
storage_locations
curl --request POST \
  --url https://api.sandbox.isometric.com/mrv/v0/projects/{project_id}/storage_locations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-client-secret: <x-client-secret>' \
  --data '{
  "description": "<string>",
  "latitude": 0,
  "longitude": 0,
  "name": "<string>",
  "project_id": "pfx_1H0G39139CF0DZB2",
  "supplier_reference_id": "<string>"
}'
{
  "description": "<string>",
  "id": "abc_1H0G39139CF0DZB2",
  "latitude": 123,
  "longitude": 123,
  "name": "<string>",
  "project_id": "<string>",
  "supplier_id": "<string>",
  "supplier_reference_id": "<string>"
}

This endpoint is in beta and requires opting-in.

Please contact support if you’re interested in using this endpoint.

Authorizations

Authorization
string
header
required

A JWT Bearer token header for authentication and authorization, in the format Authorization: Bearer <token>

Headers

x-client-secret
string
required

A secret token identifying the client connecting to the API

Path Parameters

project_id
string
required

Body

application/json
name
string
required
project_id
string
required
Required string length: 20 - 36
description
default:
{"__typename":"Undefined"}
latitude
default:
{"__typename":"Undefined"}
Required range: -90 < x < 90
longitude
default:
{"__typename":"Undefined"}
Required range: -180 < x < 180
supplier_reference_id
default:
{"__typename":"Undefined"}
Maximum length: 100

Response

200
application/json
Successful Response
id
string
required
Required string length: 20 - 36
name
string
required

The name of the storage location

Maximum length: 100
project_id
string
required

The ID of the project this storage location belongs to

supplier_id
string
required

The ID of the supplier this storage location belongs to

description
string | null

Optional description of the storage location

latitude
number | null

The latitude coordinate of the storage location

longitude
number | null

The longitude coordinate of the storage location

supplier_reference_id
string | null

Optional supplier-specific reference ID for the storage location

Maximum length: 100