- The Get Service API provides information about various shipping services offered by different carriers and providers. This API allows you to retrieve details about available services, such as service names, carriers, providers, codes, and more. Use the API to integrate shipping service information into your applications and services.
- This endpoint retrieves a list of all available shipping services.
Endpoint details
| Method | POST |
|---|---|
| Production Environment URL | https://api.kloudship.com/api/v1/MetaData/Service |
| Test Environment URL | https://api-ppd.kloudship.com:960/api/v1/MetaData/Service |
| Content-Type | application/json |
Endpoint cURL:
curl --location 'https://api-ppd.kloudship.com:960/api/v1/MetaData/Service' \ --header 'Authorization: ••••••'
Response fields:
The API response will include an array of service objects with the following attributes:
- `id` (string): The unique identifier for the service.
- `service` (string): The type of service (e.g., Surface, Express, Local).
- `carrier` (string): The name of the carrier offering the service.
- `provider` (string): The provider of the service.
- `status` (string): The status of the service (e.g., Public).
- `carrierSpecificCode` (object): An object containing carrier-specific information.
- `name` (string): The name of the carrier-specific code.
- `code` (string): The code associated with the carrier-specific code.
- `name` (string): The name of the service.
- `isInternational` (boolean): Indicates whether the service is international.
- `maxSupportedWeight` (number): The maximum supported weight for the service.
- `iconText` (string): Text associated with an icon for the service.
- `bannerText` (string): Text associated with a banner for the service.
Example Response:
[
{
"id": "687a4ba46ee5ee0dac6a1957",
"service": "Surface",
"carrier": "EkartElite",
"provider": "Native",
"status": "Public",
"carrierSpecificCode": {
"name": "Surface",
"code": "SURFACE"
},
"name": "Ekart Elite Surface",
"isInternational": false,
"maxSupportedWeight": 100,
"iconText": "",
"bannerText": ""
},
{
"id": "6870b6d93ae971950acc28f6",
"service": "Surface",
"carrier": "ShreeMaruti",
"provider": "Native",
"status": "Public",
"carrierSpecificCode": {
"name": "Surface",
"code": "Surface"
},
"name": "ShreeMaruti Surface",
"isInternational": false,
"maxSupportedWeight": 0,
"iconText": "",
"bannerText": ""
},
{
"id": "6870b6b33ae971950acc28f5",
"service": "Express",
"carrier": "ShreeMaruti",
"provider": "Native",
"status": "Public",
"carrierSpecificCode": {
"name": "Air",
"code": "Air"
},
"name": "ShreeMaruti Express",
"isInternational": false,
"maxSupportedWeight": 0,
"iconText": "",
"bannerText": ""
},
//.....Other services
]Error Responses
401 Unauthorized: Authentication token is missing or invalid.
{
"error": "Unauthorized",
"message": "Authentication token is missing or invalid."
}
Not Yet Signed Up?
- Get started with KloudShip - This article explains steps like signing up, KYC, and adding balance to your account
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article