Download OpenAPI specification:Download
Welcome to the Spedisci.Online API! You can use our API to access Spedisci.Online API endpoints, which can get information on various data in your account (Tracking, Rates, Credit, etc) , and access to create specific objects, like Orders, Shippings Labels, and Reports..
Get shipping rates and carriers contracts available.
json
required | Array of objects non-empty unique |
required | object |
required | object |
| notes required | string non-empty |
| insuranceValue required | number |
| codValue required | number |
| accessoriServices required | Array of strings |
{- "packages": [
- {
- "length": 17,
- "width": 25,
- "height": 26,
- "weight": 3
}
], - "shipFrom": {
- "name": "Antonio Esposito",
- "company": "Spedisci.Online",
- "street1": "via guglielmo sanfelice 8",
- "street2": "",
- "city": "Napoli",
- "state": "NA",
- "postalCode": "80134",
- "country": "IT",
- "phone": null,
- "email": "email@example.com"
}, - "shipTo": {
- "name": "Mario Rossi",
- "company": "",
- "street1": "Via Roma 2",
- "street2": "",
- "city": "Telese Terme",
- "state": "BN",
- "postalCode": "82037",
- "country": "IT",
- "phone": null,
- "email": "email@example.com"
}, - "notes": "test api",
- "insuranceValue": 0,
- "codValue": 0,
- "accessoriServices": [ ]
}[- {
- "carrierCode": "gls",
- "contractCode": "gls-standard",
- "weight_price": "3.80",
- "insurance_price": "3.00",
- "cod_price": "3.00",
- "services_price": "0.00",
- "fuel": "0.00",
- "total_price": "9.80"
}, - {
- "carrierCode": "gls",
- "contractCode": "gls-light",
- "weight_price": "5.00",
- "insurance_price": "3.00",
- "cod_price": "3.00",
- "services_price": "0.00",
- "fuel": "0.00",
- "total_price": "11.00"
}
]Creates a shipping label. The labelData field returned in the response is a base64 encoded PDF value. Simply decode and save the output as a PDF file to retrieve a printable label. The body of this request has the following attributes:
json
| carrierCode required | string non-empty |
| contractCode required | string non-empty |
required | Array of objects (Package) non-empty unique [ items ] |
required | object (Address) |
required | object (Address) |
| notes required | string non-empty |
| insuranceValue required | number |
| codValue required | number Cash on delivery value. |
| accessoriServices required | Array of objects |
| label_format | string "PDF" or "ZPL" |
{- "carrierCode": "brt",
- "contractCode": "brt-Test",
- "packages": [
- {
- "length": 17,
- "width": 25,
- "height": 26,
- "weight": 3
}
], - "shipFrom": {
- "name": "Antonio Esposito",
- "company": "Spedisci.Online",
- "street1": "via guglielmo sanfelice 8",
- "street2": "",
- "city": "Napoli",
- "state": "NA",
- "postalCode": "80134",
- "country": "IT",
- "phone": null,
- "email": "email@example.com"
}, - "shipTo": {
- "name": "Mario Rossi",
- "company": "",
- "street1": "Via Roma 2",
- "street2": "",
- "city": "Telese Terme",
- "state": "BN",
- "postalCode": "82037",
- "country": "IT",
- "phone": null,
- "email": "email@example.com"
}, - "notes": "test api",
- "insuranceValue": 0,
- "codValue": 0,
- "accessoriServices": [ ],
- "label_format": "PDF"
}{- "shipmentId": 4454058,
- "trackingNumber": "DEMO05407027",
- "shipmentCost": "7.00",
- "packages": [
- {
- "pack_number": 1,
- "reference": null
}, - {
- "pack_number": 2,
- "reference": null
}
], - "labelData": "JVBERi0xLjcKMyAwIG9iago8PC9Ue.......",
- "labelZPL": "XlhBCgpeRlggQ29tcGFueSBOYW1lIH......."
}| shipment_ids required | Array of numbers |
| contract_code required | string non-empty |
{- "shipment_ids": [
- 7,
- 8,
- 9
], - "contract_code": "brt-Test"
}{- "bordero": 163273,
- "pdf": "JVBERi"
}Update shipping locked in stock. You can choose for "action" between: "RETRY","NEWADDRESS" or "RETURN". For "NEWADDRESS" action the "newaddress" object is also requi red.
| ldv required | string non-empty |
| action required | string non-empty |
| scheduled_at required | string non-empty |
object | |
| note | string |
{- "ldv": "281095I072409",
- "action": "NEWADDRESS",
- "scheduled_at": "26/06/2021",
- "newaddress": {
- "name": "Mario Rossi",
- "company": "",
- "street1": "Via Roma 2",
- "street2": "",
- "city": "Telese Terme",
- "state": "BN",
- "postalCode": "82037",
- "country": "IT",
- "phone": 333123456,
- "email": "email@example.com",
- "notes": "al piano 2"
}, - "note": "please call"
}