Jupiter ERP
Account API

Update Location

/api/account/locations/{id}

PATCHHTTP
patch/api/account/locations/{id}

Beispielanfrage

PATCH https://api.jupiter-erp.com/api/account/locations/example-id

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

Parameter

NameInPflichtBeschreibung
idpathja

Request Body

Optional

FeldTypBeschreibung
activeboolean
address_line_1string
address_line_2string
citystring
codestring
country_codestring
descriptionstring
emailstring (email)
internal_notestring
namestring
phonestring
statestring
websitestring (uri)
zipstring
Beispiel Request
{
  "name": "string",
  "code": "string",
  "description": "string",
  "address_line_1": "string",
  "address_line_2": "string",
  "zip": "string"
}

Antworten

200OK
ModellLocation
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
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.
websitestring (https://test.com)
zipstringZIP or postal code.
Beispiel Response
{
  "id": 0,
  "name": "string",
  "code": "string",
  "description": "string",
  "address_line_1": "string",
  "address_line_2": "string",
  "active": true
}
Locations

Fragen zur Integration?

PATCH /api/account/locations/{id} · Jupiter ERP