Carrier Services

Attributes

Name Type Required Description
id string generated Unique reference
carrier_id string required Linked to resource Carrier
carrier_name string required Name of carrier
carrier_service_name string required Name of carrier service
carrier_service_pickup_point_delivery boolean required Does carrier service support pickup point delivery
carrier_service_profiles array required Array of carrier service profiles

Get all carrier services

GEThttps://dashboard.pakketpartner.nl/api/v1/carrier_services
response 

HTTP/1.1 200 OK
{
    "count": 3,
    "data": [
        {
            "id": "acsr_lpSnwsdfdStV6dpI",
            "carrier_id": "acar_AzzXSsmmfKPBUSNvL",
            "carrier_name": "DHL",
            "carrier_service_name": "DHL Europlus",
            "carrier_service_pickup_point_delivery": false,
            "carrier_service_profiles": [],
            "active": 1
        },
        {
            "id": "acsr_EmSd4m16vf2dl71J",
            "carrier_id": "acar_AzzXSmm2dfPBUSNvL",
            "carrier_name": "DHL",
            "carrier_service_name": "DHL Europack",
            "carrier_service_pickup_point_delivery": false,
            "carrier_service_profiles": [],
            "active": 1
        },
        {
            "id": "acsr_haJSm4fSJG97z9jv7",
            "carrier_id": "acar_AzzXy3Sfm4USNvL",
            "carrier_name": "DHL",
            "carrier_service_name": "DHL Parcelshop",
            "carrier_service_pickup_point_delivery": true,
            "carrier_service_profiles": [],
            "active": 1
        }
    ]
}

Get single carrier service

GEThttps://dashboard.pakketpartner.nl/api/v1/carrier_services/{carrier_service_id}
response 

HTTP/1.1 200 OK
{
    "data": {
        "id": "acsr_haJSm4fSJG97z9jv7",
        "carrier_id": "acar_AzzXy3Sfm4USNvL",
        "carrier_name": "DHL",
        "carrier_service_name": "DHL Europlus",
        "carrier_service_pickup_point_delivery": false,
        "carrier_service_profiles": [
            {
                "id": "acp_RzzXy5Sfm1USNvD",
                "carrier_service_profile_name": "DHL Europlus - Niet bij buren leveren"
            },
            {
                "id": "acp_VzzXy6Sfm2USNvF",
                "carrier_service_profile_name": "DHL Europlus - Extra verzekerd"
            }
        ],
        "active": 1
    }
}