For the complete documentation index, see llms.txt. This page is also available as Markdown.

BulkShipment - createMaster

BulkShipment/createMaster

POST https://api.gsped.it/[INSTANCE]/BulkShipment/createMaster

This endpoint lets you create a consolidated shipment.

Headers

Name
Description

x-api-key

Apikey provided by Gsped

Body

Name
Type
Required
Description

rcpt_addr

string

Yes

Recipient address

rcpt_country_code

string

Yes

Recipient country, 2-char ISO code

rcpt_cap

string

Yes

Recipient postcode

rcpt_city

string

Yes

Recipient city

rcpt_contact

string

No

Contact person at the recipient

rcpt_email

string

No

Recipient email

rcpt_name

string

Yes

Recipient company name

rcpt_phone

string

No

Recipient phone number. Required for: - DHL

rcpt_prov

string

No

Recipient province

sender_addr

string

No

Sender address

sender_country_code

string

No

Sender country, 2-char ISO code

sender_cap

string

No

Sender postcode

sender_city

string

No

Sender city

sender_contact

string

No

Contact person at the sender

sender_email

string

No

Sender email

sender_name

string

No

Sender company name

sender_phone

string

No

Sender phone number

sender_prov

string

No

Sender province

corriere

int

Yes

Identification code of the courier to use

servizio

int

Yes

Identification code of the service. Special cases: - For DHL this field must be set to 11, which corresponds to the consolidated service (BBX)

client_id

int

Yes

Identification code of the client account holding the courier-specific configuration

pallets

int

Yes

Number of pallets the consolidated shipment will consist of

ddt_alpha

string

No

Alphanumeric reference

ddt_num

int

No

Numeric reference

dati_pallets

array

Yes

Array containing the details of each pallet

dati_pallets.*.altezza

int

No

Pallet height

dati_pallets.*.larghezza

int

Yes

Pallet width

dati_pallets.*.lunghezza

int

Yes

Pallet length

dati_pallets.*.volume

float

No

Pallet volume

date_req_ritiro

string

No

Requested pickup date in YYYY-MM-DD format

opening_time

string

No

Time in HH.MM:SS format

closing_time

string

No

Time in HH.MM:SS format

labelType

string

No

Format of the labels to request from the courier. Allowed values: - ZPL - PDF

merce

string

Yes

Short description of the shipment contents.

valuta

string

No

Currency of the value of the goods shipped

uploadDocAfterwards

bool

No

Indicates that you want to upload the documents for the consolidated shipment being created at a later time

addebito_dogana

int

No

Allowed values: 1 --> Charged to the sender 2 --> Charged to a third party Required for: - DHL

iorAccount

string

No

Importer customer code

iorCountryCode

string

No

Country where the importer customer code is registered

WARNING:

The destination address of the consolidated shipment should be the courier's HUB in the destination country.

In the case of DHL, the courier informs us of the following:

The recipient of the mother shipment must be provided by DHL (it is our customs entry point for the country)

If the sales representative does not know it, they must ask the DHL COG Italy department.

Request example:

Response