Lamha
Api HomeHome
Api HomeHome
  1. Carrier
  • lamha
    • Welcome 👋
    • Status Order
    • Payment Method
    • Webhook Order
    • API
      • Order
        • Orders List
        • Order Create
        • Order Show
        • Order Edit
        • Delete Order
        • Cancel Order
        • Return Order
      • Country
        • Countries
        • City
      • Carrier
        • Carriers
          GET
        • Create Shippment
          POST
        • Cancel Shippment
          POST
        • Label Shipment
          GET
  1. Carrier

Carriers

Developing
GET
https://dev.your-api-server.com{{baseUrl}}/api/v2/carriers

How to Activate the Shipping Company#

in the Lamha Platform
To view the shipping company details, you must first activate it in the Lamha platform.

Steps:#

1.
Go to the Lamha website.
2.
Navigate to the Settings section.
3.
Select Shipping Companies.
4.
Activate the desired shipping company.

Note:#

This step is essential to view the available shipping company details.

Request

Header Params

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET '{{baseUrl}}/api/v2/carriers' \
--header 'X-LAMHA-TOKEN: Lamha_3dRwQRjHpTMS3Ae5LbR1fCJ1yZPBO8I4BxC8fhHJ'

Responses

🟢200Success
application/json
Body

Example
{
    "success": true,
    "msg": "Success",
    "data": [
        {
            "carrier_id": 7,
            "name": "SMSA",
            "has_cancel": false,
            "has_cod": false,
            "has_parcel": true,
            "has_international": true
        },
        {
            "carrier_id": 2,
            "name": "Aramex",
            "has_cancel": false,
            "has_cod": false,
            "has_parcel": false,
            "has_international": true
        },
        {
            "carrier_id": 10,
            "name": "Redboxsa",
            "has_cancel": true,
            "has_cod": false,
            "has_parcel": true,
            "has_international": false
        },
        {
            "carrier_id": 4,
            "name": "Imile",
            "has_cancel": true,
            "has_cod": true,
            "has_parcel": false,
            "has_international": false
        }
    ]
}
Modified at 2024-12-12 12:11:40
Previous
City
Next
Create Shippment
Built with