This Additional Feature indicates that the relevant Provider has Specific Shipping Methods available.
These shipping methods can be used in the following functions/processes:
The available values differ for each provider. The following API must be used to retrieve these values.
| Property | Value |
|---|---|
| URL | {{APP_URL}}/api/v1/providers/{provider_id}/feature/shipping-methods |
| HTTP Method | GET |
| Content Type | application/json |
| Authentication | APIKEY header |
| Parameter Name | Parameter Type | Required | Description |
|---|---|---|---|
provider_id |
Integer | Required | Logistics Provider ID |
Below is an example HTTP raw request for the API request.
GET {{APP_URL}}/api/v1/providers/7/feature/shipping-methods
Content-Type: application/json
APIKEY: {{APIKEY}}
{
"status": true,
"message": "Provider shipping methods retrieved successfully",
"data": [
"pttabroad_air_parcel",
"pttabroad_ground_parcel"
]
}
The specific_shipping_method parameter in the consignment creation content is used. You can use the values you retrieved from the available values list.