NAV Navbar
shell
  • Introduction
  • Authentication
  • Servicepoints
  • Shipments
  • Products
  • Manifests
  • Reports
  • Errors
  • Introduction

    This is the official documentation for the CoolRunner API.

    Our API is based on REST principles. Each request returns a JSON-encoded body. All communication is done in UTF-8

    Authentication

    To authorize, use this code:

    curl -X GET \
      'https://api.coolrunner.dk/v3/<endpoint>' \
      -H 'Authorization: Basic xxxxx' \
      -H 'X-Developer-Id: xxxxx'
    
    

    Make sure to replace xxxxx with your information.

    HTTP Basic Auth

    In order to create the basic authentication token you'd need a username and a token provided by coolrunner. To get the username and token please go into your Intergration Dashboard and enable Webservice and press Save. Create your authentication token: combind username and token into a string (username:token) and then base64 that string. Set your base64 encoded string in the header:

    Authorization: Basic xxxxxxxx

    Developer ID

    Add the following header to identify your intergration - The id can be anything but we would like the name of your company.

    X-Developer-Id: xxxxxxxx

    Servicepoints

    Find

    GET https://api.coolrunner.dk/v3/servicepoints/:carrier

    curl -X GET \
      'https://api.coolrunner.dk/v3/servicepoints/postnord?country_code=DK&street=C.W.%20Obels%20Plads%202,%201.%20th.&zip_code=9000&&city=Aalborg'
      -H 'Authorization: Basic xxxxx' \
      -H 'X-Developer-Id: xxxxx'
    
    

    The above command returns JSON structured like this:

    
    HTTP/1.1 200 OK
    {
        "servicepoints": [
            {
                "id": "9004",
                "name": "Posthus Føtex",
                "distance": 437,
                "address": {
                    "street": "Slotsgade 8",
                    "zip_code": "9000",
                    "city": "Aalborg",
                    "country_code": "DK"
                },
                "coordinates": {
                    "latitude": 57.0475629,
                    "longitude": 9.9255396999999
                },
                "opening_hours": {
                    "monday": {
                        "from": "08:00",
                        "to": "21:00"
                    },
                    "tuesday": {
                        "from": "08:00",
                        "to": "21:00"
                    },
                    "wednesday": {
                        "from": "08:00",
                        "to": "21:00"
                    },
                    "thursday": {
                        "from": "08:00",
                        "to": "21:00"
                    },
                    "friday": {
                        "from": "08:00",
                        "to": "21:00"
                    },
                    "saturday": {
                        "from": "08:00",
                        "to": "21:00"
                    },
                    "sunday": {
                        "from": "08:00",
                        "to": "21:00"
                    }
                }
            },
        ...
      ]
    }
    
    

    Find closest servicepoints for a specific address.

    HTTP Request

    GET https://api.coolrunner.dk/v3/servicepoints/:carrier

    URL Parameters

    Parameter Description
    carrier The shortname of the carrier.
    • PostNord : PostNord
    • DAO : DAO
    • GLS : GLS

    Query Parameters

    Parameter Required Description
    country_code true Country code in ISO 3166-1 alpha-2 format. (eg: DK)
    street true Street Address (eg: C.W. Obels Plads 2,1.th.)
    zip_code true Zip code. (eg: 9000)
    city true City (eg: Aalborg)

    JSON Response Body

    Parameter Type Description
    id String ID of the service point (eg: 9004)
    name String Name of the service point (eg: Posthus Føtex)
    distance Integer Distance to the service point measured in meters. (eg: 437)
    address Object Address object of the service point.
    • street - String (eg: Slotsgade 8)
    • zip_code - String (eg: 9000)
    • city - String (eg: Aalborg)
    • country_code - String(eg: DK)
    coordinate Object Coordinate object of service point
    • latitude - Float (eg: 57.0475629)
    • longitude - Float (eg: 9.9255396999999)
    opening_hours Object Array of objects for each day the service point has opening hours
    • Day - String (eg: monday)
      • from - String (eg: 08:00)
      • to - String (eg: 21:00)

    Get

    GET https://api.coolrunner.dk/v3/servicepoints/dao/:id

    curl -X GET \
      'https://api.coolrunner.dk/v3/servicepoints/dao/5041' \
      -H 'Authorization: Basic xxxxx' \
      -H 'X-Developer-Id: xxxxx'
    
    

    The above command returns JSON structured like this:

    
    HTTP/1.1 200 OK
    {
        "servicepoints": [
            {
                "id": "9004",
                "name": "Posthus Føtex",
                "distance": 437,
                "address": {
                    "street": "Slotsgade 8",
                    "zip_code": "9000",
                    "city": "Aalborg",
                    "country_code": "DK"
                },
                "coordinates": {
                    "latitude": 57.0475629,
                    "longitude": 9.9255396999999
                },
                "opening_hours": {
                    "monday": {
                        "from": "08:00",
                        "to": "21:00"
                    },
                    "tuesday": {
                        "from": "08:00",
                        "to": "21:00"
                    },
                    "wednesday": {
                        "from": "08:00",
                        "to": "21:00"
                    },
                    "thursday": {
                        "from": "08:00",
                        "to": "21:00"
                    },
                    "friday": {
                        "from": "08:00",
                        "to": "21:00"
                    },
                    "saturday": {
                        "from": "08:00",
                        "to": "21:00"
                    },
                    "sunday": {
                        "from": "08:00",
                        "to": "21:00"
                    }
                }
            },
        ...
      ]
    }
    
    

    Get servicepoint by ID

    HTTP Request

    GET https://api.coolrunner.dk/v3/servicepoints/:carrier/:id

    URL Parameters

    Parameter Description
    carrier The shortname of the carrier.
    • PostNord : PostNord
    • DAO : DAO
    • GLS : GLS
    ID The ID of the servicepoint

    JSON Response Body

    Parameter Type Description
    id String ID of the service point (eg: 9004)
    name String Name of the service point (eg: Posthus Føtex)
    distance Integer Distance to the service point measured in meters. (eg: 437)
    address Object Address object of the service point.
    • street - String (eg: Slotsgade 8)
    • zip_code - String (eg: 9000)
    • city - String (eg: Aalborg)
    • country_code - String(eg: DK)
    coordinates Object Coordinate object of service point
    • latitude - Float (eg: 57.0475629)
    • longitude - Float (eg: 9.9255396999999)
    opening_hours Array Array of objects for each day the service point has opening hours
    • Day - String (eg: monday)
      • from - String (eg: 08:00)
      • to - String (eg: 21:00)

    Shipments

    Create

    POST https://api.coolrunner.dk/v3/shipments

    
    
    curl -X POST \
      'https://api.coolrunner.dk/v3/shipments' \
      -H 'Authorization: Basic xxxxx' \
      -H 'X-Developer-Id: xxxxx'
      -d 
    {
      "sender": {
        "name": "TestNavn",
        "attention": "TestFirma",
        "street1": "TestGade 123",
        "zip_code": "9000",
        "city": "Aalborg",
        "country": "DK",
        "phone": "00000000",
        "email": "email@testfirma.dk"
      },
      "receiver": {
        "name": "TestNavn",
        "attention": "TestFirma",
        "street1": "TestGade 123",
        "street2": "",
        "zip_code": "9000",
        "city": "Aalborg",
        "country": "DK",
        "phone": "00000000",
        "email": "email@testfirma.dk",
        "notify_sms": "00000000",
        "notify_email": "email@testfirma.dk"
      },
      "length": "20",
      "width": "20",
      "height": "6",
      "weight": "20",
      "carrier": "dao",
      "carrier_product": "private",
      "carrier_service": "servicepoint",
      "reference": "Order no: 2220192",
      "description": "",
      "comment": "",
      "label_format": "LabelPrint",
      "servicepoint_id": 0
    }
    

    The above command returns JSON structured like this:

    
    HTTP/1.1 200 OK
    {
      "package_number": "00057126960209358931",
      "sender": {
        "name": "TestNavn",
        "attention": "TestFirma",
        "street1": "TestGade 123",
        "zip_code": "9000",
        "city": "Aalborg",
        "country": "DK",
        "phone": "00000000",
        "email": "email@testfirma.dk"
      },
      "receiver": {
        "name": "TestNavn",
        "attention": "TestFirma",
        "street1": "TestGade",
        "street2": "",
        "zip_code": "9000",
        "city": "Aalborg",
        "country": "DK",
        "phone": "22989022",
        "email": "email@testfirma.dk",
        "notify_sms": "00000000",
        "notify_email": "email@testfirma.dk"
      },
      "length": "20",
      "width": "20",
      "height": "6",
      "weight": "20",
      "carrier": "dao",
      "carrier_product": "private",
      "carrier_service": "servicepoint",
      "reference": "Order no: 2220192",
      "description": "",
      "comment": "",
      "label_format": "LabelPrint",
      "servicepoint_id": 1002,
      "price": {
         "incl_tax": 33,
         "excl_tax": 26.4
      },
      "_links": {
         "self": "https://api.coolrunner.dk/v3/shipments/00057126960209358931",
         "label": "https://api.coolrunner.dk/v3/shipments/00057126960209358931/label",
         "tracking": "https://api.coolrunner.dk/v3/shipments/00057126960209358931/tracking"
      }
    }
    
    

    HTTP Request

    POST https://api.coolrunner.dk/v3/shipments

    JSON Request Body

    Parameter Type Description
    receiver Object Receiver object with following parameters (all fields are String):
    • name (eg: TestNavn)
    • attention (eg: TestFirma)
    • street1 (eg: TestGade 123)
    • street2 - optional
    • zip_code (eg: 9000)
    • city (eg: Aalborg)
    • country (eg: DK)
    • phone (eg: 00000000)
    • email (eg: email@testfirma.dk)
    sender Object Sender object with following parameters (all fields are String):
    • name (eg: TestNavn)
    • attention (eg: TestFirma)
    • street1 (eg: TestGade 123)
    • street2 - optional
    • zip_code (eg: 9000)
    • city (eg: Aalborg)
    • country (eg: DK)
    • phone (eg: 00000000)
    • email (eg: email@testfirma.dk)
    • notify_sms - phone number to send notifications to (eg: 00000000)
    • notify_email - email address to send notifications to (eg: email@testfirma.dk)
    length String Length of the shipment in centimeters (eg: 20)
    width String Width of the shipment in centimeters (eg: 20)
    height String Height of the shipment in centimeters (eg: 6)
    weight String Height of the shipment in grams (eg: 20)
    carrier String Carrier of the shipment (eg: dao)
    carrier_product String Carrier's Product (eg: private)
    carrier_service String Carrier's service (eg: servicepoint)
    reference String Reference (eg: Order no: 2220192)
    description String Description of the shipment (eg: "")
    comment String Comment for the shipment (eg: "")
    label_format String Label format for the shipment (eg: LabelPrint)
    servicepoint_id Integer ID for the servicepoint (eg: 0)

    JSON Response Body

    Parameter Type Description
    package_number String Package number of the shipment (eg: 00057126960205109100)
    receiver Object Receiver object with following parameters (all fields are String):
    • name (eg: TestNavn)
    • attention (eg: TestFirma)
    • street1 (eg: TestGade 123)
    • street2 - optional
    • zip_code (eg: 9000)
    • city (eg: Aalborg)
    • country (eg: DK)
    • phone (eg: 00000000)
    • email (eg: email@testfirma.dk)
    sender Object Sender object with following parameters (all fields are String):
    • name (eg: TestNavn)
    • attention (eg: TestFirma)
    • street1 (eg: TestGade 123)
    • street2 - optional
    • zip_code (eg: 9000)
    • city (eg: Aalborg)
    • country (eg: DK)
    • phone (eg: 00000000)
    • email (eg: email@testfirma.dk)
    • notify_sms - phone number to send notifications to (eg: 00000000)
    • notify_email - email address to send notifications to (eg: email@testfirma.dk)
    servicepoint_id Integer ID for the servicepoint (eg: 0)
    length String Length of the shipment in centimeters (eg: 20)
    width String Width of the shipment in centimeters (eg: 20)
    height String Height of the shipment in centimeters (eg: 6)
    weight String Height of the shipment in grams (eg: 20)
    price Object Price of the shipment
    • incl_tax - Price of the shipment including tax - Float (eg: 68.15)
    • excl_tax - Price of the shipment including tax - Float (eg: 54.52)
    _links Object Object with URLs
    • self - String - URL for the label (eg: https://api.coolrunner.dk/v3/shipments/00757135950000001089/label)
    • shipment - String - URL for shipment (eg: https://api.coolrunner.dk/v3/shipments/00757135950000001089)
    • tracking - String - URL for tracking the shipment (eg: https://api.coolrunner.dk/v3/shipments/00757135950000001089/tracking)

    Get

    GET https://api.coolrunner.dk/v3/shipments/:package_number

    curl -X GET \
      'https://api.coolrunner.dk/v3/shipments/00057126960209358931' \
      -H 'Authorization: Basic xxxxx' \
      -H 'X-Developer-Id: xxxxx'
    
    

    The above command returns JSON structured like this:

    
    HTTP/1.1 200 OK
    {
      "sender": {
        "name": "TestNavn",
        "attention": "TestFirma",
        "street1": "TestGade 123",
        "zip_code": "9000",
        "city": "Aalborg",
        "country": "DK",
        "phone": "00000000",
        "email": "email@testfirma.dk"
      },
      "receiver": {
        "name": "TestNavn",
        "attention": "TestFirma",
        "street1": "TestGade",
        "street2": "",
        "zip_code": "9000",
        "city": "Aalborg",
        "country": "DK",
        "phone": "22989022",
        "email": "email@testfirma.dk",
        "notify_sms": "00000000",
        "notify_email": "email@testfirma.dk"
      },
      "length": "20",
      "width": "20",
      "height": "6",
      "weight": "20",
      "carrier": "dao",
      "carrier_product": "private",
      "carrier_service": "servicepoint",
      "reference": "Order no: 2220192",
      "description": "",
      "comment": "",
      "label_format": "LabelPrint",
      "servicepoint_id": 1002,
      "price": {
          "incl_tax": 33,
          "excl_tax": 26.4
       },
       "_links": {
          "self": "https://api.coolrunner.dk/v3/shipments/00057126960209358931",
          "label": "https://api.coolrunner.dk/v3/shipments/00057126960209358931/label",
          "tracking": "https://api.coolrunner.dk/v3/shipments/00057126960209358931/tracking"
       }
    }
    
    

    Get shipment by package_number

    HTTP Request

    GET https://api.coolrunner.dk/v3/shipments/:package_number

    URL Parameters

    Parameter Description
    package_number The package number of the shipment

    JSON Response Body

    Parameter Type Description
    package_number String Package number of the shipment (eg: 00057126960205109100)
    receiver Object Receiver object with following parameters (all fields are String):
    • name (eg: TestNavn)
    • attention (eg: TestFirma)
    • street1 (eg: TestGade 123)
    • street2 - optional
    • zip_code (eg: 9000)
    • city (eg: Aalborg)
    • country (eg: DK)
    • phone (eg: 00000000)
    • email (eg: email@testfirma.dk)
    • notify_sms - phone number to send notifications to (eg: 00000000)
    • notify_email - email address to send notifications to (eg: email@testfirma.dk)
    sender Object Sender object with following parameters (all fields are String):
    • name (eg: TestNavn)
    • attention (eg: TestFirma)
    • street1 (eg: TestGade 123)
    • street2 - optional
    • zip_code (eg: 9000)
    • city (eg: Aalborg)
    • country (eg: DK)
    • phone (eg: 00000000)
    • email (eg: email@testfirma.dk)
    servicepoint_id Integer ID for the servicepoint (eg: 0
    length String Length of the shipment in centimeters (eg: 20)
    width String Width of the shipment in centimeters (eg: 20)
    height String Height of the shipment in centimeters (eg: 6)
    weight String Height of the shipment in grams (eg: 20)
    price Object Price of the shipment
    • incl_tax - Price of the shipment including tax - Float (eg: 68.15)
    • excl_tax - Price of the shipment including tax - Float (eg: 54.52)
    _links Object Object with URLs
    • self - String - URL for the label (eg: https://api.coolrunner.dk/v3/shipments/00757135950000001089/label)
    • shipment - String - URL for shipment (eg: https://api.coolrunner.dk/v3/shipments/00757135950000001089)
    • tracking - String - URL for tracking the shipment (eg: https://api.coolrunner.dk/v3/shipments/00757135950000001089/tracking)

    Get label

    GET https://api.coolrunner.dk/v3/shipments/:package_number/label

    curl -X GET \
      'https://api.coolrunner.dk/v3/shipments/00057126960205109100/label' \
      -H 'Authorization: Basic xxxxx' \
      -H 'X-Developer-Id: xxxxx'
    
    

    The above command returns a PDF

    
    HTTP/1.1 200 OK
    
    PDF returned as body
    
    
    

    Get label in PDF by package number

    HTTP Request

    GET https://api.coolrunner.dk/v3/shipments/:package_number/label

    URL Parameters

    Parameter Description
    package_number The package number of the shipment

    JSON Response Body

    a PDF is returned with the shipping label.

    Get tracking

    GET https://api.coolrunner.dk/v3/shipments/:package_number/tracking

    curl -X GET \
      'https://api.coolrunner.dk/v3/shipments/00057126960205109100/tracking' \
      -H 'Authorization: Basic xxxxx' \
      -H 'X-Developer-Id: xxxxx'
    
    

    The above command returns JSON structured like this:

    HTTP/1.1 200 OK
    {
      "package_number": "00058126960004762308",
      "carrier": "dao",
      "events":
      [
        {
          "timestamp": "2018-01-12 12:00",
          "title": "Electronic data received",
          "event": "received",
          "location": ""
        },
        {
          "timestamp": "2018-01-13 16:00",
          "title": "Parcel has been delvierd to carrier",
          "event": "delivered_carrier",
          "location": "9370 Hals"
        },
        {
          "timestamp": "2018-01-15 03:00",
          "title": "Arrived to parcel sorting center Aalborg",
          "event": "arrived",      
          "location": "9000 Aalborg"
        },
        {
          "timestamp": "2018-01-15 10:00",
          "title": "Parcel delivered to customer",
          "event": "delivered",            
          "location": "Bøgildsmindevej 3, 9400 Nørresundby"
        },
      ...
      ]
    }
    
    

    Get tracking by package_number

    HTTP Request

    GET https://api.coolrunner.dk/v3/shipments/:package_number/tracking

    URL Parameters

    Parameter Description
    package_number The package number of the shipment

    JSON Response Body

    Parameter Type Description
    package_number String The package number of the shipment
    carrier String Carrier of the shipment
    events Array Events for the shipment.
    • timestamp (eg: 2018-01-13 16:00)
    • title (eg: Parcel has been delvierd to carrier)
    • event (eg: delivered_carrier)
    • location (eg: 9370 Hals)

    Validation

    POST https://api.coolrunner.dk/v3/shipments/validate

    
    
    curl -X POST \
      'https://api.coolrunner.dk/v3/shipments/validate' \
      -H 'Authorization: Basic xxxxx' \
      -H 'X-Developer-Id: xxxxx'
      -d 
    {
      "sender": {
        "name": "TestNavn",
        "attention": "TestFirma",
        "street1": "TestGade 123",
        "zip_code": "9000",
        "city": "Aalborg",
        "country": "DK",
        "phone": "00000000",
        "email": "email@testfirma.dk"
      },
      "receiver": {
        "name": "TestNavn",
        "attention": "TestFirma",
        "street1": "TestGade 123",
        "street2": "",
        "zip_code": "9000",
        "city": "Aalborg",
        "country": "DK",
        "phone": "00000000",
        "email": "email@testfirma.dk",
        "notify_sms": "00000000",
        "notify_email": "email@testfirma.dk"
      },
      "length": "20",
      "width": "20",
      "height": "6",
      "weight": "20",
      "carrier": "dao",
      "carrier_product": "private",
      "carrier_service": "servicepoint",
      "reference": "Order no: 2220192",
      "description": "",
      "comment": "",
      "label_format": "LabelPrint",
      "servicepoint_id": 0
    }
    

    The above command returns JSON structured like this:

    HTTP/1.1 201 Created
    {
        "status" : true, 
        "message" : "",
        "price": {
            "price_incl_tax": 33,
            "price_excl_tax": 26.4
        },
        "_links": {
            "self": "https://api.coolrunner.dk/v3/shipments/00057126960209358931",
            "label": "https://api.coolrunner.dk/v3/shipments/00057126960209358931/label",
            "tracking": "https://api.coolrunner.dk/v3/shipments/00057126960209358931/tracking"
        }
    }
    
    

    Validate the shipment and return the price.

    HTTP Request

    POST https://api.coolrunner.dk/v3/shipments/validate

    JSON Request Body

    Parameter Type Description
    receiver Object Receiver object with following parameters (all fields are String):
    • name (eg: TestNavn)
    • attention (eg: TestFirma)
    • street1 (eg: TestGade 123)
    • street2 - optional
    • zip_code (eg: 9000)
    • city (eg: Aalborg)
    • country (eg: DK)
    • phone (eg: 00000000)
    • email (eg: email@testfirma.dk)
    sender Object Sender object with following parameters (all fields are String):
    • name (eg: TestNavn)
    • attention (eg: TestFirma)
    • street1 (eg: TestGade 123)
    • street2 - optional
    • zip_code (eg: 9000)
    • city (eg: Aalborg)
    • country (eg: DK)
    • phone (eg: 00000000)
    • email (eg: email@testfirma.dk)
    • notify_sms - phone number to send notifications to (eg: 00000000)
    • notify_email - email address to send notifications to (eg: email@testfirma.dk)
    length String Length of the shipment in centimeters (eg: 20)
    width String Width of the shipment in centimeters (eg: 20)
    height String Height of the shipment in centimeters (eg: 6)
    weight String Height of the shipment in grams (eg: 20)
    carrier String Carrier of the shipment (eg: dao)
    carrier_product String Carrier's Product (eg: private)
    carrier_service String Carrier's service (eg: servicepoint)
    reference String Reference (eg: Order no: 2220192)
    description String Description of the shipment (eg: "")
    comment String Comment for the shipment (eg: "")
    label_format String Label format for the shipment (eg: LabelPrint)
    servicepoint_id Integer ID for the servicepoint (eg: 0)

    JSON Response Body

    Parameter Type Description
    status Boolean The status of the validation
    message String Validation message. Is empty if the status is true.
    price Object Price of the shipment
    • incl_tax - Price of the shipment including tax - Float (eg: 68.15)
    • excl_tax - Price of the shipment including tax - Float (eg: 54.52)
    _links Object Object with URLs
    • self - String - URL for the label (eg: https://api.coolrunner.dk/v3/shipments/00757135950000001089/label)
    • shipment - String - URL for shipment (eg: https://api.coolrunner.dk/v3/shipments/00757135950000001089)
    • tracking - String - URL for tracking the shipment (eg: https://api.coolrunner.dk/v3/shipments/00757135950000001089/tracking)

    Products

    Get

    GET https://api.coolrunner.dk/v3/products/:country_code

    curl -X GET \
      'https://api.coolrunner.dk/v3/products/DK' \
      -H 'Authorization: Basic xxxxx' \
      -H 'X-Developer-Id: xxxxx'
    
    

    The above command returns JSON structured like this:

    HTTP/1.1 200 OK
    {
        "DK": {
            "dao": {
                "private": [
                    {
                        "title": "DAO Pakkeshop (0-1 kg)",
                        "max_size": {
                            "length": 50,
                            "height": 30,
                            "width": 30,
                            "weight": 1000
                        },
                        "weight": {
                            "from": 0,
                            "to": 1000
                        },
                        "prices": {
                            "incl_tax": 32,
                            "excl_Tax": 25.6
                        },
                        "services": [
                            {
                                "code": "servicepoint",
                                "description": "",
                                "required": true
                            }
                        ]
                    },
    
                ...
                ],
            ...
            },
        } 
    }
    
    

    country_code in ISO 3166-1 alpha-2 format. (eg: DK)

    HTTP Request

    GET https://api.coolrunner.dk/v3/products

    JSON Response Body

    Parameter Type Description
    country_code Array Country code in ISO 3166-1 alpha-2 format. (eg: DK)
    carrier Object Carrier (eg: dao)
    type Object Type of product (eg: private)
    title String Title for product (eg: DAO Pakkeshop (0-1 kg)
    max_size Object Max size for the product the carrier supports
    • length - Float - Length in centimeters (eg: 50).
    • height - Float - Height in centimeters (eg: 30).
    • width - Float - Width in centimeters (eg: 30).
    • weight - Float - Max weight in kilograms (eg: 1000).
    weight Object Interval for weight measured in grams
    • from - Float - From-interval for weight in grams (eg: 0).
    • to - Float - To-interval for weight in grams (eg: 1000).
    prices Object Prices for the product in danish kroners (DKK)
    • incl_tax - Float - Price including tax in kroners (eg: 32)
    • excl_tax - Float - Price excluding tax in kroners (eg: 25.6)
    services Object The service the product is
    • code - String - code for service (eg: servicepoint)
    • description - String - Description for the service (eg: "")
    • required - Boolean - Required for the service (eg: true)

    Manifests

    Upcoming...

    Reports

    Upcoming...

    Errors

    The CoolRunner API uses the following error codes:

    HTTP

    Error Code Meaning
    400 Bad Request -- Something is wrong.
    401 Unauthorized -- Your API credentials is wrong.
    403 Forbidden -- The endpoint is hidden for administrators only.
    404 Not Found -- The specified endpoint could not be found.
    406 Not Acceptable -- You requested a format that isn't json.
    410 Gone -- The entity requested has been removed from our servers.
    418 I'm a teapot.
    429 Too Many Requests -- Slow down!
    500 Internal Server Error -- We had a problem with our server. Try again later.
    503 Service Unavailable -- We're temporarily offline for maintenance. Please try again later.

    Service errors

    Error Code Service
    1000-1999 Internal
    2000-2099 PostNord
    2100-2199 DAO
    2200-2299 GLS
    2300-2399 PCN