Jupiter ERP
Account API

Create Warehouse

/api/account/warehouses

POSTHTTP
post/api/account/warehouses

Beispielanfrage

POST https://api.jupiter-erp.com/api/account/warehouses

Code
curl -X POST 'https://api.jupiter-erp.com/api/account/warehouses' \
  -H 'Authorization: Bearer YOUR_API_TOKEN' \
  -H 'X-Account-Uuid: YOUR_ACCOUNT_UUID' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "location_id": 0,
  "name": "string",
  "code": "string",
  "description": "string",
  "address_line_1": "string",
  "address_line_2": "string"
}'

Request Body

Optional

FeldTypBeschreibung
activeboolean
address_line_1string
address_line_2string
citystring
codestring
country_codestring
descriptionstring
emailstring (email)
internal_notestring
location_idinteger
name*string
phonestring
statestring
zipstring
Beispiel Request
{
  "location_id": 0,
  "name": "string",
  "code": "string",
  "description": "string",
  "address_line_1": "string",
  "address_line_2": "string"
}

Antworten

201Created
ModellWarehouse
FeldTypBeschreibung
active*boolean
address_line_1stringFirst line of the address (Street and House number)
address_line_2stringSecond line of the address
citystringCity of the address.
codestring
country_codestringISO country code of the address.
created_atstring (date-time)Creation timestamp in ISO 8601 format.
descriptionstringHTML
emailstring (email)
id*integer
internal_notestringHTML
locationobject
FeldTypBeschreibung
idinteger
namestring
location_idinteger
name*string
phonestringPhone number in E.164 format.
statestringState or region of the address.
updated_atstring (date-time)Last update timestamp in ISO 8601 format.
zipstringZIP or postal code.
Beispiel Response
{
  "id": 0,
  "location_id": 0,
  "location": {
    "id": 0,
    "name": "string"
  },
  "name": "string",
  "code": "string",
  "description": "string",
  "active": true
}
Warehouses

Fragen zur Integration?

POST /api/account/warehouses · Jupiter ERP