Jupiter ERP
Account API

List Locations

/api/account/locations

GETHTTP
get/api/account/locations

Beispielanfrage

GET https://api.jupiter-erp.com/api/account/locations

Code
curl -X GET 'https://api.jupiter-erp.com/api/account/locations' \
  -H 'Authorization: Bearer YOUR_API_TOKEN' \
  -H 'X-Account-Uuid: YOUR_ACCOUNT_UUID' \
  -H 'Accept: application/json'

Parameter

NameInPflichtBeschreibung
searchqueryneinSupports SQL-like syntax: - `test*`: begins with `test` - `*test`: ends with `test` - `*test*`: contains `test` - `test`: exact match.
activequeryneinFilter by active status
order_byqueryneinSort by a specific field
#/components/parameters/OrderDirParameter
#/components/parameters/PerPageParameter
#/components/parameters/PageParameter

Antworten

200OK
FeldTypBeschreibung
data*object[]

array

Elemente

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.
meta*object
FeldTypBeschreibung
current_page*integerThe current page number.
items_from*integerThe starting item number on the current page.
items_to*integerThe ending item number on the current page.
last_page*integerThe last page number.
per_page*integerThe number of items per page.
total*integerThe total number of items.
Beispiel Response
{
  "data": [
    {
      "id": 0,
      "name": "string",
      "code": "string",
      "description": "string",
      "address_line_1": "string",
      "address_line_2": "string",
      "active": true
    }
  ],
  "meta": {
    "current_page": 1,
    "last_page": 1,
    "per_page": 15,
    "total": 1,
    "items_from": 1,
    "items_to": 1
  }
}
Locations

Fragen zur Integration?

GET /api/account/locations · Jupiter ERP