Download OpenAPI specification:
This is the external API for Delta Cozum customers.
Creates a new shipment order. Optionally returns PDF labels instead of ZPL if labelFormat is "pdf".
Shipment Creation Payload
| address required | string |
| city required | string |
| deliveryType required | string (models.DeliveryType) Enum: "HOME" "PICKUP" |
| district required | string |
string | |
| labelFormat | string "zpl" or "pdf" |
| name required | string |
| paymentType required | string (models.PaymentType) Enum: "CASH" "COLLECT_ON_DELIVERY" |
| phoneNumber | string |
| quantity required | integer >= 1 |
| shipmentType required | string (models.ShipmentType) Enum: "STANDARD" "BUKOLI" "PUDO" |
| surname required | string |
| transportType required | string (models.TransportType) Enum: "ROAD" "AIRPLANE" "MOTORBIKE_COURIER" |
| type required | string (models.CargoType) Enum: "FILE" "BOX" "ENVELOPE" |
| unitVolume required | number >= 0.1 |
{- "address": "string",
- "city": "string",
- "deliveryType": "HOME",
- "district": "string",
- "email": "string",
- "labelFormat": "string",
- "name": "string",
- "paymentType": "CASH",
- "phoneNumber": "string",
- "quantity": 1,
- "shipmentType": "STANDARD",
- "surname": "string",
- "transportType": "ROAD",
- "type": "FILE",
- "unitVolume": 0.1
}{- "data": {
- "barcodes": [
- "string"
], - "id": 0,
- "labels": [
- "string"
], - "status": "string",
- "tracking_number": "string"
}, - "message": "string",
- "success": true
}Cancels the shipment associated with the provided Shipment ID.
Cancel Shipment Payload
| shipmentId required | integer |
{- "shipmentId": 0
}{- "data": { },
- "message": "string",
- "success": true
}Cancels the shipment associated with the provided Order Number and Marketplace.
Cancel Shipment By Order Payload
| marketplace required | string Enum: "TRENDYOL" "HEPSIBURADA" "N11" |
| orderNumber required | string |
{- "marketplace": "TRENDYOL",
- "orderNumber": "string"
}{- "data": { },
- "message": "string",
- "success": true
}Retrieve the shipment labels (ZPL or PDF) via Shipment ID or Order Number and Marketplace.
Get Shipment Label Payload
| labelFormat | string Enum: "zpl" "pdf" Default "zpl" |
| marketplace | string Enum: "TRENDYOL" "HEPSIBURADA" "N11" |
| orderNumber | string |
| shipmentId | integer |
{- "labelFormat": "zpl",
- "marketplace": "TRENDYOL",
- "orderNumber": "string",
- "shipmentId": 0
}{- "data": {
- "labels": [
- "string"
]
}, - "message": "string",
- "success": true
}Syncs the order if not exists, creates a shipment with given volume and quantity, and returns the label.
Marketplace Shipment Payload
| labelFormat | string Enum: "zpl" "pdf" "zpl" or "pdf" |
| marketplace required | string Enum: "TRENDYOL" "HEPSIBURADA" "N11" |
| orderNumber required | string |
| printProductInfo | boolean Default true |
| quantity required | integer >= 1 |
| unitVolume required | number >= 0.1 |
{- "labelFormat": "zpl",
- "marketplace": "TRENDYOL",
- "orderNumber": "string",
- "printProductInfo": true,
- "quantity": 1,
- "unitVolume": 0.1
}{- "data": {
- "barcodes": [
- "string"
], - "id": 0,
- "labels": [
- "string"
], - "status": "string",
- "tracking_number": "string"
}, - "message": "string",
- "success": true
}Retrieve the current status of a shipment via Shipment ID or Order Number and Marketplace.
Get Shipment Status Payload
| marketplace | string Enum: "TRENDYOL" "HEPSIBURADA" "N11" |
| orderNumber | string |
| shipmentId | integer |
{- "marketplace": "TRENDYOL",
- "orderNumber": "string",
- "shipmentId": 0
}{- "data": {
- "id": 0,
- "status": "string"
}, - "message": "string",
- "success": true
}