Check coverage

Confirm that Helthjem can deliver to an address before you show a delivery option at checkout.

How it works

Send the address and a transport solution to the Single Address Check endpoint. If the address is covered, the response tells you which freight product Helthjem would use. If it isn't covered, the endpoint returns 400 with errorKey: no.carrier.support.

When to check coverage

  • With a fallback solution, such as TS 1, you don't need to check coverage. Helthjem picks the best available delivery method when you book. This is the simplest option, but you don't control which method the consumer gets.
  • With stand-alone solutions, such as TS 2 or TS 86, check coverage at checkout. Your checkout then only shows the options that are available for the address.

Check each transport solution

If you offer several Helthjem transport solutions at checkout, check coverage for each of them.

Example 1: Confirm home delivery

A shop wants to offer home delivery at checkout. After the consumer enters their address, the shop checks coverage with transportSolutionId: 2, which contains only home delivery (FP 1).

Request

{
    "shopId": 16,
    "transportSolutionId": 2,
    "customerName": "Ola Nordmann",
    "address": "Kongsberggata 18",
    "zipCode": "0468",
    "postalName": "Oslo",
    "countryCode": "NO",
    "weight": 1000
}

Response

{
    "productName": "HELTHJEM",
    "routeName": "21507",
    "companyId": 1,
    "routing": "16-0-x21507x1466",
    "routingCode": "1",
    "routeAddress": "TÅSENVEIEN 26",
    "routeDescription": "BUDSENTRAL TÅSEN",
    "handoverId": 3223047,
    "handoverCity": "OSLO",
    "handoverZipCode": "484",
    "handoverStreetName": "SANDAKERVEIEN",
    "handoverStreetNumber": 121,
    "handoverDescription": "MNO TRYKK NYDALEN",
    "routingDescription": "TÅSEN",
    "plannedDeparture": "2230"
}
Response Meaning Show home delivery?
200 with "productName": "HELTHJEM" Home delivery is available. Yes
400 with errorKey: no.carrier.support No home delivery for this address. No

Example 2: Confirm service point delivery

A shop wants to offer service point delivery. It checks coverage with transportSolutionId: 62, which contains Helthjem service points (FP 55) and PostNord service points (FP 3) as a fallback.

Request

{
    "shopId": 16,
    "transportSolutionId": 62,
    "customerName": "Ola Nordmann",
    "address": "Å-veien 45",
    "zipCode": "8392",
    "postalName": "Sørvågen",
    "countryCode": "NO",
    "weight": 1000
}

Response

{
    "productName": "Helthjem_SHOP",
    "routeName": "",
    "companyId": null,
    "routing": "476-26",
    "routingCode": null,
    "routeAddress": "MOSKENESVEIEN 865",
    "routeDescription": null,
    "handoverId": null,
    "handoverCity": null,
    "handoverZipCode": null,
    "handoverStreetName": null,
    "handoverStreetNumber": null,
    "handoverDescription": null,
    "routingDescription": "LOFOTEN",
    "plannedDeparture": null
}
Response Meaning Show service point delivery?
200 with "productName": "Helthjem_SHOP" A Helthjem service point is available. Yes
200 with "productName": "POSTNORD_MYPACK" A PostNord service point is available. Yes
400 with errorKey: no.carrier.support No service point delivery for this address. No

Product names in the response

The productName in the response tells you which freight product Helthjem would use. Match the values exactly as shown, including upper and lower case.

Freight product productName
1: Home delivery HELTHJEM
5: Express home delivery HELTHJEM_EKSPRESS
55: Helthjem service point Helthjem_SHOP
3: PostNord service point POSTNORD_MYPACK
95: Parcel locker Helthjem_PARCEL_LOCKER
4: Return from home HELTHJEM_RETUR
56: Service point return Helthjem_SHOP_RETURN
91: Labelless service point return HELTHJEM_C2B_SHOP
20: PostNord service point return PN_MYPACK_RETUR
26: C2C send from home HELTHJEM_MEGTILDEG
92: C2C send from service point, small HELTHJEM_C2C_SMALL
93: C2C send from service point, medium/large HELTHJEM_C2C_MEDIUM_LARGE

Next steps

Last updated