requestBody description
| carrier_id required | string Carrier is the Logistics Company who does First, Mid and Last Mile Delivery (Ex. Azerpost, EMS, FedEx, DHL). Each Carrier has a ID in SwiftLogix Platform which will be provided by your Carrier |
| business_id required | string Business ID Issued by Carrier (Ex. AzerPost, EMS) |
| package_id required | string Unique ID for each Package |
| order_ref | string Order Number (if Applicable) |
| origin_code required | string Initial Origin Code where Sender will Drop / Carrier will accept the Package (PostOffice, PUDO, Agent Location Etc.,) |
| destination_code required | string Final Destination Code where the receiver will Pickup / Expect Delivery for the Package (PostOffice Index, PUDO Point, Etc.,) |
| package_weight required | integer Package Weight in Kilo |
| receivers_business_id | string Receiver's Internal Customer ID with Business (Account ID, Customer Number) |
| receiver_address | string Receiver Full Address ( required if service_type is 1 ) |
| receiver_first_name required | string Receiver's First Name |
| receiver_last_name required | string Receiver's Last Name |
| receiver_email | string <email> Receiver's Email Address |
| receiver_phone_no required | string Receiver's Phone Number with Country Code |
| receiver_passport required | string Receiver's Passport Number |
| delivery_type required | string Enum: "0" "1" |
| service_type required | integer Enum: 0 1 |
| order_payment required | integer Order Amount (AZN) to be collected. This should not include Delivery fee charged. |
| order_payment_status required | integer Enum: 0 1 |
| fragile required | integer Enum: 0 1 Define if the package is Fragile. It will be used to sort the package. |
| proof_of_delivery required | integer Enum: 0 1 2 3 4 5 |
| authorized_receiver required | integer Enum: 0 1 |
| authorized_receiver_name | string Name of the Authorized Receiver ( required if authorized_receiver = 1) |
| authorized_receiver_id | string ID of the Authorized Receiver ( required if authorized_receiver = 1) |
| authorized_receiver_phone | string Phone number of the Authorized Receiver ( required if authorized_receiver = 1) |
{- "carrier_id": "SLX001",
- "business_id": "BM0001",
- "package_id": "PG1235211",
- "order_ref": "4684655131",
- "origin_code": "AZ9095",
- "destination_code": "AZ1000",
- "package_weight": 1.012,
- "receivers_business_id": "VN52100",
- "receiver_address": "145 Neftchilar Ave, Baku, Azerbaijan",
- "receiver_first_name": "Abbas",
- "receiver_last_name": "Nabiyev",
- "receiver_phone_no": "994500000000",
- "receiver_passport": "AA12345678",
- "delivery_type": "0",
- "service_type": 0,
- "order_payment": 1.2,
- "order_payment_status": 0,
- "fragile": 0,
- "proof_of_delivery": 0,
- "authorized_receiver": 0,
- "authorized_receiver_name": "Abhas",
- "authorized_receiver_id": "AZ3334555",
- "authorized_receiver_phone": "994500000001"
}{- "status": "SUCCESS",
- "data": {
- "order_Id": "62ceaa19f244357f17b78341",
- "package_id": "PG1235211",
- "charge": "1.19",
- "status": true
}
}Has Rate limit - One request per Second
| CarrierID required | string Carrier is the Logistics Company who does First, Mid and Last Mile Delivery (Ex. Azerpost, EMS, FedEx, DHL). Each Carrier has a ID in SwiftLogix Platform which will be provided by your Carrier |
| businessID required | string Business ID Issued by Carrier (Ex. AzerPost, EMS) |
requestBody description
| package_id required | Array of arrays Package IDs ( Maximum 50 Packages Allowed ) |
{- "package_id": [
- "PG1235211",
- "PG1235212",
- "PG1235213"
]
}{- "status": "SUCCESS",
- "message": "All packages found",
- "data": {
- "package_found": [
- {
- "package_id": "PG1235212",
- "status_id": "0",
- "status": "Order Created"
}, - {
- "package_id": "PG1235213",
- "status_id": "1",
- "status": "Order Accepted"
}, - {
- "package_id": "PG1235214",
- "status_id": "1",
- "status": "Order Accepted"
}
], - "not_found": [ ]
}
}| CarrierID required | string Carrier is the Logistics Company who does First, Mid and Last Mile Delivery (Ex. Azerpost, EMS, FedEx, DHL). Each Carrier has a ID in SwiftLogix Platform which will be provided by your Carrier |
| businessID required | string Business ID Issued by Carrier (Ex. AzerPost, EMS) |
| packageID required | string ID of package |
| status required | integer Value: 1 payment status |
curl --location --request PUT 'https://sandbox.swiftlogix.co/v2/order/pay/SLX001/BM0001/PKG10001/1' \ --header 'x-api-key: your key'
{- "status": "SUCCESS",
- "message": "Package Paid",
- "data": {
- "ref_Id": "6546a03af0accb919b9f6270"
}
}| CarrierID required | string Carrier is the Logistics Company who does First, Mid and Last Mile Delivery (Ex. Azerpost, EMS, FedEx, DHL). Each Carrier has a ID in SwiftLogix Platform which will be provided by your Carrier |
| businessID required | string Business ID Issued by Carrier (Ex. AzerPost, EMS) |
| packageID required | string ID of package |
| status required | integer Value: 1 delete status |
curl --location --request DELETE 'https://sandbox.swiftlogix.co/v2/order/delete/SLX001/BM0001/PKG00001/1' \ --header 'x-api-key: your key'
{- "status": "SUCCESS",
- "message": "Package Deleted",
- "data": {
- "ref_Id": "6546a74e053bf0c7974bfd67"
}
}Has Rate limit - One request per 10 Second
| CarrierID required | string Carrier is the Logistics Company who does First, Mid and Last Mile Delivery (Ex. Azerpost, EMS, FedEx, DHL). Each Carrier has a ID in SwiftLogix Platform which will be provided by your Carrier |
| businessID required | string Business ID Issued by Carrier (Ex. AzerPost, EMS) |
requestBody description
| postOffice required | Array of arrays Post Office Code ( pass empty array [] for all postcode) |
| postoffice_status | string all , live , offline ( postoffice_status will work on empty array only) |
{- "postOffice": [
- "AZ1000",
- "AZ2000",
- "AZ5000"
], - "postoffice_status": "live"
}{- "status": "SUCCESS",
- "data": [
- {
- "postCode": "AZ1000",
- "name": "1 saylı PF",
- "status": "Live"
}, - {
- "postCode": "AZ2000",
- "name": "Gəncə RPF",
- "status": "Live"
}, - {
- "postCode": "AZ5000",
- "name": "Sumqayıt PF",
- "status": "Live"
}
], - "counts": {
- "live": 3,
- "offline": 0
}
}requestBody description
| event | string Event type of webhook |
| created_at | string Status changed date |
| vendor_id | string Business ID Issued by Carrier (Ex. AzerPost, EMS) |
| scan_post_code | string Current Location of the Package |
| status_id | string Enum: "0" "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12" Current status of package |
| packages | Array of arrays Array of packageID |
| package_data | Array of objects List of Packages with weight update , weight_updated => [0 - weight no updated, 1 - weight updated] |
{- "event": "order_update",
- "created_at": "2023-06-12T04:54:03.000Z",
- "vendor_id": "BM0001",
- "scan_post_code": "AZ1000",
- "status_id": "0",
- "packages": [
- "PKVN52100",
- "PKVN52101"
], - "package_data": [
- {
- "package_id": "PKVN52100",
- "package_weight": 6.04,
- "shipping_cost": "6.85",
- "weight_updated": 0
}
]
}