Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

TEST

Status
colourBlue
titleDELETEPATCH

Code Block
https://staging-ws.di.no/ws/json/parcel/booking/v-1/order/measurements/{identifiertrackingReference}

PRODUCTION

Status
colourBlue
titleDELETEPATCH

Code Block
https://ws.di.no/ws/json/parcel/booking/v-1/order/measurements/{identifiertrackingReference}

Authentication

This endpoint requires the user to be authenticated. Refer to the documentation here for more information on how to obtain a valid token to use in your request. 

...

Path-Parameters

Name

Example

Description

shipmentIdtrackingReference

70724761617883184370725940301070046

The message number tracking reference of the order that will be edited

...

Code Block
languagebash
curl -X PATCH \
  https://staging-ws.di.no/ws/json/parcel/booking/v-1/order/measurements/70724761603243701 370725940301070046\
  -H 'Authorization: Bearer $SECRET_WS_TOKEN' \
  -H 'Content-Type: application/json' \
  --data-raw '
    {
      "weightGrams" : 800,
      "lengthMm" : 120,
      "widthMm" : 80,
      "heightMm" : 170
    }'

...