Order To Shipment
Shipment creation from an order
This endpoint is used to process the orders downloaded from marketplace or e-commerce by Gsped
The call to this endpoint generates the shipment using the address of the order recipient.
Shipment creation from an order
POST https://api.gsped.it/[INSTANCE]/OrderToShipment
Generates a shipment from an order to process it and update the ecommerce/marketplace
Headers
Name
Type
Description
x-api-key*
String
APIKEY given by Gsped
Request Body
Name
Type
Description
client_id*
Int
Client ID Gsped
order_ref*
Order reference
packages*
Int
Number of parcels
platform
String
Name of the platform that created the order
weight*
Float
Weight of the order
{
"status": "OK",
"order_ref": "FC3926207",
"label_jpg": [
"base64 label string"
],
"label_pdf": [
"base64 label string"
],
"label_zpl": [
"ZPL label string"
]
}{
"status": "ERROR",
"error_description": "Ordine non trovato",
"order_ref": "WrongRif"
}{
"status": "ERROR",
"error_description": "Dati ordine non presenti o in formato sbagliato",
"order_ref": ""
}Example Snippets
Last updated
