Shipment Confirm
Shipment confirm operation
Last updated
Shipment confirm operation
Last updated
This operation confirms that the generated shipments have correctly managed and are going to be given to the courier/s
On the Gsped interface the confirmed shipments are transferred from the section Outgoing shipments to the section Expedition started
The confirm operation could be performed in two ways :
Using the labeling data ( client_id ). In this case all the shipments of the client_id will be confirmed. Using the shipping list ( ID spedizioni ). In this case the single shipments will be confirmed.
PLEASE NOTE : ****In the confirm operation the HTTP 200 code is returned - even if the shipments are not actually confirmed - in the following situations:
If you attempt to confirm shipments that have already been confirmed
If you attempt to confirm with the status error and/or shipments that are still in progress.
Pay attention to the message returned in the field status; here there will be indicated how many shipments have been confirmed and how many not. Example: "10 shipments confirmed, 2 errors occurred"
In case there are shipments we are not able to confirm, in the array errors there will be indicated which shipments have not been confirmed.
Please note: During this operation it is possible to request the creation of the shipping manifest to show the courier at the withdrawal of the goods.
POST
https://api.gsped.it/[INSTANCE]/shipmentConfirm
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Content-Type*
String
application/json
x-api-key*
String
Api Key given by Gsped
client_id*
Integer
Value communicated by Gsped (in alternative to the ID parameter)
id*
Array
List of the numeric IDs of the shipments to confirm (in alternative to the client ID)
create_manifest
String
Accepted values Y or N
\
If Y, in the response the field manifest with the PDF of the shipping manifest will be included.