Mailbox Packet API

Introduction

This API is for ordering Pakke i postkassen (Mailbox Packet) shipments.

The Mailbox Packet service is available domestically in Norway, and will replace “Minipakke” and “Småpakker”.

Tracking with RFID

Mailbox Packet shipments can optionally be ordered with tracking using RFID.

How does tracking with RFID work?

Normally, we create PDF labels that can be printed on any printer.

If you opt for tracking, we create ZPL labels instead. ZPL stands for Zebra Programming Language (ZPL).

The labels will be ZPL code containing instructions for programming the passive RFID antenna in the printer’s labels with package numbers.

In addition to the RFID programming instructions, the ZPL code contains instructions for rendering the rest of the label (addresses, icons, barcode, etc.).

Special hardware required

RFID-tagged labels require special printer hardware. Currently we support the following printers:

  • Zebra R410
  • Zebra 500R

Without tracking

If you don’t have a supported printer, you cannot order shipments with tracking. In this case, we will create normal PDF labels that can be printed using any printer.

Authentication

The API requires authentication for all its endpoints. See the getting started guide on authentication if you’re not sure what this means.

Header Example Comment
X-MyBring-API-Uid john.doe@example.com Mybring login ID
X-MyBring-API-Key 1234abc-abcd-1234-5678-abcd1234abcd Mybring login’s API key

Those headers must be present for authenticating requests.

JSON API

We follow the JSON API specification with one
exception: we allow media type to be specified as application/json
instead of application/vnd.api+json.

Overview of endpoints

Base URL

https://api.bring.com/order/to-mailbox
Method Endpoint Usage
POST / Order shipment
GET /{orderId} Fetch previously ordered shipment

Order shipment

Order (or validate) a shipment.

New endpoint coming

Currently, we have only one endpoint for ordering shipments. This
endpoint requires all packages in the shipment to be ordered at once. We
are working on a new endpoint that can be used for generating labels before
placing the order. This will allow you to stick labels on packages so they’re
ready to be sent, then later place an order to get a waybill.

Error codes

From the JSON API specification,
we use code, title, and source.pointer to describe errors.

Code Meaning Example pointer
500 Internal, unknown application error /
1000 Missing field value /streetAddress
2000 Order must contain at least one package /packages
2500 Order can maximum contain 500 packages /packages
3000 Invalid email address /packages/0/email
4000 Invalid postal code /packages/1/postalCode
5000 User does not have access to customer number /customerNumber
5500 Customer hasn’t made agreement with Posten to send “Pakke i postkassen” /customerNumber
6000 Weight cannot be more than 2000 grams /packages/2/weight
7000 Priority must be A or B /packages/3/priority
8000 Invalid phone number /pacakges/4/phoneNumber
9000 Invalid JSON API resource type (must be orders) /data/type

Testing

This service will send actual production orders unless it is set to testing mode.
To use the test mode, you need to set the testIndicator flag to true in the order attributes.
Note that the examples below use "testIndicator":true, so remove this when implementing the API in your production system.

URL

https://api.bring.com/order/to-mailbox/

Request params

Header name Type Description
Content-Type string

Required. Specify request format (application/json)

Possible values
  • application/json
Accept string

Required. Specify response format (application/json)

Possible values
  • application/json
Query param Type Description
validate boolean

Optional. If this is set to true, the order will only be validated, not ordered in our production systems.

Request body

Field Type Description
data object

Required. JSON-API data object.

  type string

Required. JSON-API type.


Possible values:
  • orders
  attributes object

Required. Order properties.

    testIndicator boolean

Optional. Set to true when testing API implementation.

    customerNumber string

Required. API customer number for which to place the order.

    senderName string

Required. Sender’s name.


Example: Min Bedrift
    senderEmail string

Optional. Sender’s email address. Defaults to the user’s email address.


Pattern: .+@.+
    postalCode string

Required. Sender’s postal code. Must be a valid Norwegian postal code.

    streetAddress string

Required. Sender’s street address.

    reference string

Optional. A reference for the shipment that will be shown on the invoice.

    packages array

Required. The packages to send in this shipment.


Minimum number of items: 1
Maximum number of items: 500
      priority string

Required. Delivery speed (A-post or B-post).


Possible values:
  • A
  • B
      rfid boolean

Required. Whether to activate tracking with RFID for the package.

      weight integer

Required. Weight in grams.

      recipientName string

Required. Recipient name.

      postalCode string

Required. A valid Norwegian postal code.

      streetAddress string

Required. Recipient’s street address.

      phoneNumber string

Required. Recipient’s phone number, including country code.


Pattern: \+[0-9 ]+
Example: +4700000000
      email string

Required. Recipient’s email address.


Pattern: .+@.+
{
  "data": {
    "type": "orders",
    "attributes": {
      "customerNumber": "PARCELS_NORWAY-1234567890",
      "senderName": "Posten Norge AS",
      "postalCode": "0185",
      "streetAddress": "Biskop Gunnerus' gate 14A",
      "senderEmail": "sender@example.com",
      "reference": "Fredag uke 35",
      "testIndicator": true,
      "packages": [
        {
          "priority": "A",
          "rfid": true,
          "weight": 1200,
          "recipientName": "Arne Andersen",
          "postalCode": "9409",
          "streetAddress": "Brurvikvegen 10c",
          "phoneNumber": "+47 400 00 123",
          "email": "recipient@example.com"
        },
        {
          "priority": "A",
          "rfid": true,
          "weight": 350,
          "recipientName": "Berit Burger",
          "postalCode": "5018",
          "streetAddress": "Heggebakken 1",
          "phoneNumber": "+47 900 00 123",
          "email": "recipient@example.com"
        },
        {
          "priority": "A",
          "rfid": true,
          "weight": 800,
          "recipientName": "Charles Caspersen",
          "postalCode": "0650",
          "streetAddress": "Åkebergveien 56A",
          "phoneNumber": "+47 400 01 234",
          "email": "recipient@example.com"
        },
        {
          "priority": "B",
          "rfid": false,
          "weight": 200,
          "recipientName": "Dina Davidsen",
          "postalCode": "1337",
          "streetAddress": "Øvre torv 2",
          "phoneNumber": "+47 900 01 234",
          "email": "recipient@example.com"
        },
        {
          "priority": "B",
          "rfid": false,
          "weight": 150,
          "recipientName": "Eskil Erlandsen",
          "postalCode": "0666",
          "streetAddress": "Klosterheimveien 14",
          "phoneNumber": "+47 400 02 345",
          "email": "recipient@example.com"
        }
      ]
    }
  }
}
{
  "data": {
    "type": "orders",
    "attributes": {
      "customerNumber": "PARCELS_NORWAY-1234567890",
      "senderName": "Posten Norge AS",
      "postalCode": "0185",
      "streetAddress": "Biskop Gunnerus' gate 14A",
      "senderEmail": "sender@example.com",
      "reference": "Fredag uke 35",
      "testIndicator": true,
      "packages": [
        {
          "priority": "A",
          "rfid": false,
          "weight": 1200,
          "recipientName": "Arne Andersen",
          "postalCode": "9409",
          "streetAddress": "Brurvikvegen 10c",
          "phoneNumber": "+47 400 00 123",
          "email": "recipient@example.com"
        },
        {
          "priority": "A",
          "rfid": false,
          "weight": 350,
          "recipientName": "Berit Burger",
          "postalCode": "5018",
          "streetAddress": "Heggebakken 1",
          "phoneNumber": "+47 900 00 123",
          "email": "recipient@example.com"
        },
        {
          "priority": "A",
          "rfid": false,
          "weight": 800,
          "recipientName": "Charles Caspersen",
          "postalCode": "0650",
          "streetAddress": "Åkebergveien 56A",
          "phoneNumber": "+47 400 01 234",
          "email": "recipient@example.com"
        },
        {
          "priority": "B",
          "rfid": false,
          "weight": 200,
          "recipientName": "Dina Davidsen",
          "postalCode": "1337",
          "streetAddress": "Øvre torv 2",
          "phoneNumber": "+47 900 01 234",
          "email": "recipient@example.com"
        },
        {
          "priority": "B",
          "rfid": false,
          "weight": 150,
          "recipientName": "Eskil Erlandsen",
          "postalCode": "0666",
          "streetAddress": "Klosterheimveien 14",
          "phoneNumber": "+47 400 02 345",
          "email": "recipient@example.com"
        }
      ]
    }
  }
}

Responses

HTTP status code 200

The API returns 200 when validating the request by specifying query parameter validate=true.

Field Type Description
data object

JSON-API data object.

  type string

JSON-API type.


Pattern: order
  attributes object

Order properties.

    testIndicator boolean

Whether the validated order had the testIndicator flag set or not.

    customerNumber string

The API customer number for the validated order.

    customerName string

The name of the customer for the validated order.

    customerOrganizationNumber string

The organization number of the customer for the validated order.

    senderName string

The sender’s name.

    streetAddress string

The sender’s street address.

    postalCode string

The sender’s postal code.

    postalPlace string

The city/place for the postal code.

    email string

The sender’s email address.

    reference string

A reference for the shipment that will be shown on the invoice.

    priceWithoutVat number

Calculated price without VAT (MVA).

    priceWithVat number

Calulated price with VAT (MVA).

    vat number

Calculated VAT (MVA).

    currency string

The price’s currency.

    orderTime datetime

Timestamp for when the order was validated.

    packages array

Packages in this validated shipment.


Minimum number of items: 1
      priority string

Delivery speed (A-post or B-post).


Possible values:
  • A
  • B
      rfid boolean

Whether to tracking with RFID was activated for the package.

      recipientName string

Recipient’s name.

      streetAddress string

Recipient’s email address.

      postalCode string

Recipient’s postal code.

      postalPlace string

The city/place for the postal code.

      phoneNumber string

Recipient’s phone number.

      email string

Recipient’s email address.

      weight integer

Package weight in grams.

      agreementNumber boolean

Whether the customer has an agreement price for this package.

{
  "data": {
    "type": "order",
    "attributes": {
      "customerName": "Posten Norge AS",
      "customerOrganizationNumber": "984661185",
      "customerNumber": "PARCELS_NORWAY-1234567890",
      "senderName": "Posten Norge AS",
      "streetAddress": "Biskop Gunnerus' gate 14A",
      "postalCode": "0185",
      "postalPlace": "OSLO",
      "email": "sender@example.com",
      "reference": "Fredag uke 35",
      "priceWithoutVat": 189.45,
      "priceWithVat": 236.81,
      "vat": 47.36,
      "currency": "NOK",
      "orderTime": "2017-09-01T15:29:32.000+02:00",
      "testIndicator": true,
      "packages": [
        {
          "priority": "A",
          "rfid": true,
          "recipientName": "Arne Andersen",
          "streetAddress": "Brurvikvegen 10c",
          "postalCode": "9409",
          "postalPlace": "HARSTAD",
          "phoneNumber": "+47 400 00 123",
          "email": "recipient@example.com",
          "weight": 1200,
          "agreementNumber": false
        },
        {
          "priority": "A",
          "rfid": true,
          "recipientName": "Berit Burger",
          "streetAddress": "Heggebakken 1",
          "postalCode": "5018",
          "postalPlace": "BERGEN",
          "phoneNumber": "+47 900 00 123",
          "email": "recipient@example.com",
          "weight": 350,
          "agreementNumber": false
        },
        {
          "priority": "A",
          "rfid": true,
          "recipientName": "Charles Caspersen",
          "streetAddress": "Åkebergveien 56A",
          "postalCode": "0650",
          "postalPlace": "OSLO",
          "phoneNumber": "+47 400 01 234",
          "email": "recipient@example.com",
          "weight": 800,
          "agreementNumber": false
        },
        {
          "priority": "B",
          "rfid": false,
          "recipientName": "Dina Davidsen",
          "streetAddress": "Øvre torv 2",
          "postalCode": "1337",
          "postalPlace": "SANDVIKA",
          "phoneNumber": "+47 900 01 234",
          "email": "recipient@example.com",
          "weight": 200,
          "agreementNumber": false
        },
        {
          "priority": "B",
          "rfid": false,
          "recipientName": "Eskil Erlandsen",
          "streetAddress": "Klosterheimveien 14",
          "postalCode": "0666",
          "postalPlace": "OSLO",
          "phoneNumber": "+47 400 02 345",
          "email": "recipient@example.com",
          "weight": 200,
          "agreementNumber": false
        }
      ]
    }
  }
}

HTTP status code 201

On a successful order, the response gives information about the shipment.
Most importantly it contains a links to labels and waybill that have to
be printed and sent with the shipment:

  • labelUri: PDF for packages without tracking
  • rfidLabelUri: ZPL for packages with tracking
  • waybillUri: PDF for the shipment’s waybill
Field Type Description
data object

JSON-API data object.

  type string

JSON-API type.

  id string
  attributes object

Order properties.

    testIndicator boolean

Whether the placed order had the testIndicator flag set or not.

    id number

The ID of the order that was placed.

    customerNumber string

The API customer number for which the order was placed.

    customerName string

The name of the customer for which the order was placed.

    customerOrganizationNumber string

The organization number of the customer for which the order was placed.

    senderName string

Sender’s name.

    streetAddress string

Sender’s street address.

    postalCode string

Sender’s postal code.

    postalPlace string

The city/place for the postal code.

    email string

Sender’s email address for the order that was placed.


Pattern: .+@.+
    reference string

A reference for the shipment that will be shown on the invoice.

    labelUri string

URL to PDF label(s) for packages ordered without tracking.

    rfidLabelUri string

URL to ZPL label(s) for packages ordered with tracking.

    waybillUri string

URL to waybill PDF that has to be printed and sent with the shipment.

    orderNumberReference string

The order number reference for the placed order. This is the number on the waybill.

    priceWithoutVat number

Price of shipment without VAT (MVA).

    priceWithVat number

Price of shipment with VAT (MVA).

    vat number

How much of the price was VAT (MVA).

    currency string

The currency for the price.


Default value: NOK
    orderTime datetime

Timestamp for when the order was placed.


Example: 2017-09-01T14:00:00.000Z
    packages array

Packages in this shipment.


Minimum number of items: 1
      priority string

Delivery speed (A-post or B-post).


Possible values:
  • A
  • B
      rfid boolean

Whether to tracking for the package was activated.

      recipientName string

Recipient name.

      streetAddress string

Recipient’s street address.

      postalCode string

Recipient’s postal code.

      postalPlace string

The city/place for the postal code.

      phoneNumber string

Recipient’s phone number.


Pattern: \+[0-9 ]+
      email string

Recipient’s email address.


Pattern: .+@.+
      weight integer

Package weight in grams.

      shipmentNumber string

The shipment number for this package. A package in a PIP shipment will have both a shipment number and a package number.

      packageNumber string

The package number for this package. This goes on the label.

      agreementNumber boolean

Whether the customer has an agreement price for this package.

{
  "data": {
    "type": "order",
    "id": "2664",
    "attributes": {
      "id": 2664,
      "customerName": "Posten Norge AS",
      "customerOrganizationNumber": "984661185",
      "customerNumber": "PARCELS_NORWAY-1234567890",
      "senderName": "Posten Norge AS",
      "streetAddress": "Biskop Gunnerus' gate 14A",
      "postalCode": "0185",
      "postalPlace": "OSLO",
      "email": "sender@example.com",
      "reference": "Fredag uke 35",
      "priceWithoutVat": 189.45,
      "priceWithVat": 236.81,
      "vat": 47.36,
      "currency": "NOK",
      "orderTime": "2017-09-01T11:59:32.410168Z",
      "labelUri": "",
      "rfidLabelUri": "https://example.com/17673176-8531-48dd-b407-d84bb2f26a8b.zpl",
      "waybillUri": "https://example.com/bafc82c5-e8c2-4abf-4c0a-c40ff06eb4fa.pdf",
      "orderNumberReference": "20002429",
      "testIndicator": true,
      "packages": [
        {
          "priority": "A",
          "rfid": true,
          "recipientName": "Arne Andersen",
          "streetAddress": "Brurvikvegen 10c",
          "postalCode": "9409",
          "postalPlace": "HARSTAD",
          "phoneNumber": "+47 400 00 123",
          "email": "recipient@example.com",
          "weight": 1200,
          "shipmentNumber": "70438101412766736",
          "packageNumber": "LA297886201NO",
          "agreementNumber": false
        },
        {
          "priority": "A",
          "rfid": true,
          "recipientName": "Berit Burger",
          "streetAddress": "Heggebakken 1",
          "postalCode": "5018",
          "postalPlace": "BERGEN",
          "phoneNumber": "+47 900 00 123",
          "email": "recipient@example.com",
          "weight": 350,
          "shipmentNumber": "70438101412766743",
          "packageNumber": "LA297886215NO",
          "agreementNumber": false
        },
        {
          "priority": "A",
          "rfid": true,
          "recipientName": "Charles Caspersen",
          "streetAddress": "Åkebergveien 56A",
          "postalCode": "0650",
          "postalPlace": "OSLO",
          "phoneNumber": "+47 400 01 234",
          "email": "recipient@example.com",
          "weight": 800,
          "shipmentNumber": "70438101412766750",
          "packageNumber": "LA297886229NO",
          "agreementNumber": false
        },
        {
          "priority": "B",
          "rfid": true,
          "recipientName": "Dina Davidsen",
          "streetAddress": "Øvre torv 2",
          "postalCode": "1337",
          "postalPlace": "SANDVIKA",
          "phoneNumber": "+47 900 01 234",
          "email": "recipient@example.com",
          "weight": 200,
          "shipmentNumber": "70438101412766767",
          "packageNumber": "LA297886232NO",
          "agreementNumber": false
        },
        {
          "priority": "B",
          "rfid": true,
          "recipientName": "Eskil Erlandsen",
          "streetAddress": "Klosterheimveien 14",
          "postalCode": "0666",
          "postalPlace": "OSLO",
          "phoneNumber": "+47 400 02 345",
          "email": "recipient@example.com",
          "weight": 200,
          "shipmentNumber": "70438101412766774",
          "packageNumber": "LA297886246NO",
          "agreementNumber": false
        }
      ]
    }
  }
}
{
  "data": {
    "type": "order",
    "id": "2664",
    "attributes": {
      "id": 2664,
      "customerName": "Posten Norge AS",
      "customerOrganizationNumber": "984661185",
      "customerNumber": "PARCELS_NORWAY-1234567890",
      "senderName": "Posten Norge AS",
      "streetAddress": "Biskop Gunnerus' gate 14A",
      "postalCode": "0185",
      "postalPlace": "OSLO",
      "email": "sender@example.com",
      "reference": "Fredag uke 35",
      "priceWithoutVat": 189.45,
      "priceWithVat": 236.81,
      "vat": 47.36,
      "currency": "NOK",
      "orderTime": "2017-09-01T11:59:32.410Z",
      "labelUri": "",
      "rfidLabelUri": "https://example.com/17673176-8531-48dd-b407-d84bb2f26a8b.pdf",
      "waybillUri": "https://example.com/bafc82c5-e8c2-4abf-4c0a-c40ff06eb4fa.pdf",
      "orderNumberReference": "20002429",
      "testIndicator": true,
      "packages": [
        {
          "priority": "A",
          "rfid": false,
          "recipientName": "Arne Andersen",
          "streetAddress": "Brurvikvegen 10c",
          "postalCode": "9409",
          "postalPlace": "HARSTAD",
          "phoneNumber": "+47 400 00 123",
          "email": "recipient@example.com",
          "weight": 1200,
          "shipmentNumber": "70438101412766736",
          "packageNumber": "LA297886201NO",
          "agreementNumber": false
        },
        {
          "priority": "A",
          "rfid": false,
          "recipientName": "Berit Burger",
          "streetAddress": "Heggebakken 1",
          "postalCode": "5018",
          "postalPlace": "BERGEN",
          "phoneNumber": "+47 900 00 123",
          "email": "recipient@example.com",
          "weight": 350,
          "shipmentNumber": "70438101412766743",
          "packageNumber": "LA297886215NO",
          "agreementNumber": false
        },
        {
          "priority": "A",
          "rfid": false,
          "recipientName": "Charles Caspersen",
          "streetAddress": "Åkebergveien 56A",
          "postalCode": "0650",
          "postalPlace": "OSLO",
          "phoneNumber": "+47 400 01 234",
          "email": "recipient@example.com",
          "weight": 800,
          "shipmentNumber": "70438101412766750",
          "packageNumber": "LA297886229NO",
          "agreementNumber": false
        },
        {
          "priority": "B",
          "rfid": false,
          "recipientName": "Dina Davidsen",
          "streetAddress": "Øvre torv 2",
          "postalCode": "1337",
          "postalPlace": "SANDVIKA",
          "phoneNumber": "+47 900 01 234",
          "email": "recipient@example.com",
          "weight": 200,
          "shipmentNumber": "70438101412766767",
          "packageNumber": "LA297886232NO",
          "agreementNumber": false
        },
        {
          "priority": "B",
          "rfid": false,
          "recipientName": "Eskil Erlandsen",
          "streetAddress": "Klosterheimveien 14",
          "postalCode": "0666",
          "postalPlace": "OSLO",
          "phoneNumber": "+47 400 02 345",
          "email": "recipient@example.com",
          "weight": 200,
          "shipmentNumber": "70438101412766774",
          "packageNumber": "LA297886246NO",
          "agreementNumber": false
        }
      ]
    }
  }
}

HTTP status code 422

When the request contained invalid data, we return a 422 with a list
of errors for the shipment.

Field Type Description
errors array

List of errors.

  code string

Machine-readable description of error.

  title string

Human-readable description of error.

  source object
    pointer string

A JSON pointer to the invalid field.

{
  "errors": [
    {
      "code": "8000",
      "title": "Invalid phone number",
      "source": {
        "pointer": "/packages/0/phoneNumber"
      }
    }
  ]
}

HTTP status code 500

If we have an error in our backend, we’ll return a 500 error.

Field Type Description
errors array

List of errors.

  code string

Machine-readable description of error.

  title string

Human-readable description of error.

  source object
    pointer string

A JSON pointer to the invalid field.

{
  "errors":[
    {
      "code": "500",
      "title": "An unknown error occured",
      "source": {
        "pointer": "/"
      }
    }
  ]
}

Fetch order

URL

https://api.bring.com/order/to-mailbox/{orderId}

Request params

URI parameter Type Description
orderId string

Required. Id from when placing an order.

Header name Type Description
Accept string

Required. Specify response format (application/json)

Possible values
  • application/json

Responses

HTTP status code 200

Returns the same object that was returned when placing the order.

Field Type Description
data object

JSON-API data object.

  type string

JSON-API type.

  id string
  attributes object

Order properties.

    testIndicator boolean

Whether the placed order had the testIndicator flag set or not.

    id number

The ID of the order that was placed.

    customerNumber string

The API customer number for which the order was placed.

    customerName string

The name of the customer for which the order was placed.

    customerOrganizationNumber string

The organization number of the customer for which the order was placed.

    senderName string

Sender’s name.

    streetAddress string

Sender’s street address.

    postalCode string

Sender’s postal code.

    postalPlace string

The city/place for the postal code.

    email string

Sender’s email address for the order that was placed.


Pattern: .+@.+
    reference string

A reference for the shipment that will be shown on the invoice.

    labelUri string

URL to PDF label(s) for packages ordered without tracking.

    rfidLabelUri string

URL to ZPL label(s) for packages ordered with tracking.

    waybillUri string

URL to waybill PDF that has to be printed and sent with the shipment.

    orderNumberReference string

The order number reference for the placed order. This is the number on the waybill.

    priceWithoutVat number

Price of shipment without VAT (MVA).

    priceWithVat number

Price of shipment with VAT (MVA).

    vat number

How much of the price was VAT (MVA).

    currency string

The currency for the price.


Default value: NOK
    orderTime datetime

Timestamp for when the order was placed.


Example: 2017-09-01T14:00:00.000Z
    packages array

Packages in this shipment.


Minimum number of items: 1
      priority string

Delivery speed (A-post or B-post).


Possible values:
  • A
  • B
      rfid boolean

Whether to tracking for the package was activated.

      recipientName string

Recipient name.

      streetAddress string

Recipient’s street address.

      postalCode string

Recipient’s postal code.

      postalPlace string

The city/place for the postal code.

      phoneNumber string

Recipient’s phone number.


Pattern: \+[0-9 ]+
      email string

Recipient’s email address.


Pattern: .+@.+
      weight integer

Package weight in grams.

      shipmentNumber string

The shipment number for this package. A package in a PIP shipment will have both a shipment number and a package number.

      packageNumber string

The package number for this package. This goes on the label.

      agreementNumber boolean

Whether the customer has an agreement price for this package.

{
  "data": {
    "type": "order",
    "id": "2664",
    "attributes": {
      "id": 2664,
      "customerName": "Posten Norge AS",
      "customerOrganizationNumber": "984661185",
      "customerNumber": "PARCELS_NORWAY-1234567890",
      "senderName": "Posten Norge AS",
      "streetAddress": "Biskop Gunnerus' gate 14A",
      "postalCode": "0185",
      "postalPlace": "OSLO",
      "email": "sender@example.com",
      "reference": "Fredag uke 35",
      "priceWithoutVat": 189.45,
      "priceWithVat": 236.81,
      "vat": 47.36,
      "currency": "NOK",
      "orderTime": "2017-09-01T11:59:32.410Z",
      "labelUri": "",
      "rfidLabelUri": "https://example.com/17673176-8531-48dd-b407-d84bb2f26a8b.pdf",
      "waybillUri": "https://example.com/bafc82c5-e8c2-4abf-4c0a-c40ff06eb4fa.pdf",
      "orderNumberReference": "20002429",
      "testIndicator": true,
      "packages": [
        {
          "priority": "A",
          "rfid": false,
          "recipientName": "Arne Andersen",
          "streetAddress": "Brurvikvegen 10c",
          "postalCode": "9409",
          "postalPlace": "HARSTAD",
          "phoneNumber": "+47 400 00 123",
          "email": "recipient@example.com",
          "weight": 1200,
          "shipmentNumber": "70438101412766736",
          "packageNumber": "LA297886201NO",
          "agreementNumber": false
        },
        {
          "priority": "A",
          "rfid": false,
          "recipientName": "Berit Burger",
          "streetAddress": "Heggebakken 1",
          "postalCode": "5018",
          "postalPlace": "BERGEN",
          "phoneNumber": "+47 900 00 123",
          "email": "recipient@example.com",
          "weight": 350,
          "shipmentNumber": "70438101412766743",
          "packageNumber": "LA297886215NO",
          "agreementNumber": false
        },
        {
          "priority": "A",
          "rfid": false,
          "recipientName": "Charles Caspersen",
          "streetAddress": "Åkebergveien 56A",
          "postalCode": "0650",
          "postalPlace": "OSLO",
          "phoneNumber": "+47 400 01 234",
          "email": "recipient@example.com",
          "weight": 800,
          "shipmentNumber": "70438101412766750",
          "packageNumber": "LA297886229NO",
          "agreementNumber": false
        },
        {
          "priority": "B",
          "rfid": false,
          "recipientName": "Dina Davidsen",
          "streetAddress": "Øvre torv 2",
          "postalCode": "1337",
          "postalPlace": "SANDVIKA",
          "phoneNumber": "+47 900 01 234",
          "email": "recipient@example.com",
          "weight": 200,
          "shipmentNumber": "70438101412766767",
          "packageNumber": "LA297886232NO",
          "agreementNumber": false
        },
        {
          "priority": "B",
          "rfid": false,
          "recipientName": "Eskil Erlandsen",
          "streetAddress": "Klosterheimveien 14",
          "postalCode": "0666",
          "postalPlace": "OSLO",
          "phoneNumber": "+47 400 02 345",
          "email": "recipient@example.com",
          "weight": 200,
          "shipmentNumber": "70438101412766774",
          "packageNumber": "LA297886246NO",
          "agreementNumber": false
        }
      ]
    }
  }
}