Beispielanfrage
GET https://api.jupiter-erp.com/api/account/warehouses
Code
curl -X GET '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'Parameter
| Name | In | Pflicht | Beschreibung |
|---|---|---|---|
| search | query | nein | Supports SQL-like syntax: - `test*`: begins with `test` - `*test`: ends with `test` - `*test*`: contains `test` - `test`: exact match. |
| location_id | query | nein | Filter by location ID |
| active | query | nein | Filter by active status |
| order_by | query | nein | Sort by a specific field |
| #/components/parameters/OrderDirParameter | |||
| #/components/parameters/PerPageParameter | |||
| #/components/parameters/PageParameter | |||
Antworten
200OK
| Feld | Typ | Beschreibung | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| data* | object[] | array Elemente
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| meta* | object |
|
Beispiel Response
{
"data": [
{
"id": 0,
"location_id": 0,
"location": {
"id": 0,
"name": "string"
},
"name": "string",
"code": "string",
"description": "string",
"active": true
}
],
"meta": {
"current_page": 1,
"last_page": 1,
"per_page": 15,
"total": 1,
"items_from": 1,
"items_to": 1
}
}Warehouses