Add Parcel
Dynamic parcel handling
General information
The function adds parcel allows adding or remove the parcels in full autonomy, with their corresponding labels.
List of enabled couriers
* see notes
The list of enabled couriers is subject to change and modifications.
How the Add Parcel function works
To successfully use the Add Parcel function 3 endpoints must be used:
Shipment POST - For the shipment creation
Parcels POST or DELETE - To add or remove the parcels
ShipmentConfirm POST - For the final shipment confimation. You will no longer be able to change.
PLEASE NOTE: the removal of a parcel in a single-parcel shipment automatically cancels of the shipment.
PLEASE NOTE: the final confirmation blocks the possibility to add or remove one or more parcels from the shipment
Add a single parcel to a shipment
POST
https://api.gsped.it/[INSTANCE]/Parcels
Body in JSON.
\
It works in 2 ways: \
1 - Shipment ID + parcel data
\
2 - Recepient data + parcel data
Request Body
Parcel object
Example of Payload Parcels POST
Example of Snippet Parcel POST
Parcel removal from shipment
DELETE
https://api.gsped.it/[INSTANCE]/Parcels
Form Url-Encoded Body
It works in 2 ways: \
1 Shipment ID + parcel data
\
2 Recepient data + parcel data
Request Body
Example Snippet Parcels DELETE
Notes
When the customer makes a shipment with AddParcel, it is possible to trace back to the original creation date from the label creation dates, which are visible in the designated bucket on S3.
Last updated