Shipment
Gestione delle spedizioni
Shipment - GET
Shipment -GET
Query Parameters
Name
Type
Description
Headers
Name
Type
Description
{
// Response
}{
// Response
}{
// Response
}{
// Response
}Snippets codice di esempio
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.gsped.it/sandbox/Shipment?id=70059765",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_POSTFIELDS => "",
CURLOPT_HTTPHEADER => [
"x-api-key: YOUR-API-KEY"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}Shipment - POST
Shipment POST
Headers
Name
Type
Description
Request Body
Name
Type
Description
Snippets codice di esempio
Scelta del corriere più economico
Shipment - DELETE
Shipment DELETE
Query Parameters
Name
Type
Description
Headers
Name
Type
Description
Snippets codice di esempio
Shipment - PATCH
Headers
Name
Type
Description
Request Body
Snippets codice di esempio
Last updated
Was this helpful?
