Notifiche
Titolo notifica
08/11/2025 05:33
Descrizione di esempio per una notifica standard.
Magazzini
Ottieni il tuo cURL
Azioni massive
Endpoint:
/stocking/magazzini
Parametri richiesti:
{
"token" : "YOUR_APPLICATION_TOKEN"
}
Risposta:
{
"status" : { ... },
"data" : [
{"depot_id": 1234, "depot_name" : "Magazzino di esempio #1"},
{"depot_id": 4321, "depot_name" : "Magazzino di esempio #2"},
...
]
}
Endpoint:
/stocking/magazzini/{depot_id}/settori
Parametri richiesti:
{
"token" : "YOUR_APPLICATION_TOKEN"
}
Risposta:
{
"status" : { ... },
"data" : [
{"sector_id": 1234, "depot_id" : 1234, "sector_name" : "Settore di esempio #1"},
{"sector_id": 4321, "depot_id" : 4321, "sector_name" : "Settore di esempio #2"},
...
]
}
Endpoint:
/stocking/magazzini/{depot_id}/compartimenti
Parametri richiesti:
{
"token" : "YOUR_APPLICATION_TOKEN"
}
Parametri opzionali:
{
"sector_id" : 1234
}
sector_id se inviato consente di ricevere i compartimenti esclusivamente collegati a quello specifico settore, altrimenti si otterranno tutti i compartimenti del magazzino.
Risposta:
{
"status" : { ... },
"data" : [
{"compartment_id" : 1234, "sector_id": 1234, "depot_id" : 1234, "compartment_name" : "Compartimento di esempio #1"},
{"compartment_id" : 4321, "sector_id": 4321, "depot_id" : 4321, "compartment_name" : "Compartimento di esempio #2"},
...
]
}
Endpoint:
/stocking/magazzini
Parametri richiesti:
{
"token" : "YOUR_APPLICATION_TOKEN",
"depots" : [], // delete by an array of depot_id
}
Risposta:
{
"status" : { ... },
"data" : {
"errors" : [],
"deleteds" : [],
"not_found" : []
}
}
data.errors è un array di ID magazzini che hanno generato errore durante l'eliminazione.
data.deleteds è un array di ID magazzini correttamente cancellati.
data.not_found è un array di ID magazzini non trovati o già cancellati.
Informazioni magazzini
Endpoints:
/stocking/magazzini/{depot_id}
Parametri richiesti:
{
"token" : "YOUR_APPLICATION_TOKEN"
}
Risposta:
{
"status" : { ... },
"data" : {
"id" : Int,
"name" : "String",
"address_street" : "String",
"address_postalcode" : "String",
"address_city" : "String",
"address_region" : "String",
"address_country" : "String"
}
}
Endpoints:
/stocking/magazzini/{depot_id}/settori/{sector_id}
Parametri richiesti:
{
"token" : "YOUR_APPLICATION_TOKEN"
}
Risposta:
{
"status" : { ... },
"data" : {
"id" : Int,
"depot_id" : Int,
"name" : "String",
"description" : "String"
}
}
Endpoints:
/stocking/magazzini/{depot_id)/compartimenti/{compartment_id}
Parametri richiesti:
{
"token" : "YOUR_APPLICATION_TOKEN"
}
Risposta:
{
"status" : { ... },
"data" : {
"id" : Int,
"depot_id" : Int,
"sector_id" : Int,
"name" : "String",
"description" : "String",
"volume_height" : Double,
"volume_width" : Double,
"volume_depht" : Double,
"volume_weight" : Double
}
}
Gestione magazzini
Endpoints:
/stocking/magazzini/{depot_id}
Parametri richiesti:
{
"token" : "YOUR_APPLICATION_TOKEN"
}
Parametri opzionali:
{
"name" : "String",
"address_street" : "String",
"address_postalcode" : "String",
"address_city" : "String",
"address_region" : "String",
"address_country" : "String"
}
name è un parametro unico. Non puoi avere due magazzini con lo stesso nome.
Risposta:
{
"status" : { ... },
"data" : { ... }
}
data contiene tutte le informazioni del magazzino aggiornato.
Endpoints:
/stocking/magazzini/{depot_id}/settori/{sector_id}
Parametri richiesti:
{
"token" : "YOUR_APPLICATION_TOKEN"
}
Parametri opzionali:
{
"depot_id" : Int,
"name" : "String",
"description" : "String"
}
name è un parametro unico. Non puoi avere due settori con lo stesso nome.
Risposta:
{
"status" : { ... },
"data" : { ... }
}
data contiene tutte le informazioni del settore aggiornato.
Endpoints:
/stocking/magazzini/{depot_id}/compartimenti/{compartment_id}
Parametri richiesti:
{
"token" : "YOUR_APPLICATION_TOKEN"
}
Parametri opzionali:
{
"sector_id" : Int,
"name" : "String",
"description" : "String",
"volume_height" : Double,
"volume_width" : Double,
"volume_depht" : Double,
"volume_weight" : Double
}
name è un parametro unico. Non puoi avere due compartimenti con lo stesso nome.
Risposta:
{
"status" : { ... },
"data" : { ... }
}
data contiene tutte le informazioni del compartimento aggiornato.
Endpoints:
/stocking/magazzini/{depot_id}
Parametri richiesti:
{
"token" : "YOUR_APPLICATION_TOKEN",
}
Risposta:
{
"status" : { ... }
}
Endpoints:
/stocking/magazzini/{depot_id}/settori/{sector_id}
Parametri richiesti:
{
"token" : "YOUR_APPLICATION_TOKEN",
}
Risposta:
{
"status" : { ... }
}
Endpoints:
/stocking/magazzini/{depot_id}/compartimenti/{compartment_id}
Parametri richiesti:
{
"token" : "YOUR_APPLICATION_TOKEN",
}
Risposta:
{
"status" : { ... }
}
Endpoints:
/stocking/magazzini
Parametri richiesti:
{
"token" : "YOUR_APPLICATION_TOKEN",
"name" : "String",
"address_street" : "String",
"address_postalcode" : "String",
"address_city" : "String",
"address_region" : "String",
"address_country" : "String"
}
name è un parametro unico. Non puoi avere due magazzini con lo stesso nome.
Risposta:
{
"status" : { ... },
"data" : { ... }
}
data contiene tutte le informazioni del magazzino.
Endpoints:
/stocking/magazzini/{depot_id}/settori
Parametri richiesti:
{
"token" : "YOUR_APPLICATION_TOKEN",
"name" : "String"
}
name è un parametro unico. Non puoi avere due settori con lo stesso nome.
Parametri opzionali:
{
"description" : "String"
}
Risposta:
{
"status" : { ... },
"data" : { ... }
}
data contiene tutte le informazioni del settore.
Endpoints:
/stocking/magazzini/{depot_id}/compartimenti
Parametri richiesti:
{
"token" : "YOUR_APPLICATION_TOKEN",
"sector_id" : Int,
"name" : "String"
}
name è un parametro unico. Non puoi avere due settori con lo stesso nome.
Parametri opzionali:
{
"description" : "String",
"volume_height" : Double,
"volume_width" : Double,
"volume_depht" : Double,
"volume_weight" : Double
}
Risposta:
{
"status" : { ... },
"data" : { ... }
}
data contiene tutte le informazioni del compartimento.