Versions Compared

Key

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

...

URLhttps://api.order.boknett.no/orders/{ID}/lines/{lineId}
MethodPOST
Request
headers

Authorization

Required

The token acquired from the Authentication Service.

Formated "Boknett TGT-...."

DateRequiredThe timestamp the request was made. Must comply with RFC 1123 date formats. Example: Tue, 10 Jun 2014 16:23:42 GMT
Content-typeRequiredapplication/json
Request body


{"status": "STATUS_VALUE", "comment": "Free text comment included in order details"}


Example for digital learning products (additional fields are optional but allows extra information around when a buyer can use the product to be sent when confirming the order. Important when this deviates from standards that can be read from metadata). Price amount is including tax, and tax is in %:

{"status": "STATUS_VALUE", "comment": "Free text comment included in order details", "valid_to":"2019-12-12", "valid_from": "2019-05-05", "price": {amount: 250.15, tax: 25} }


(comment field is optional)

Response
body
empty on success
Returns200Ok
40xOn error

...