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"}

 

(comment field is optional)

Response
body
empty on success
Returns200Accepted
40xOn error

 

Statuses beside FULLFILLED is not in the test environment yet, but will be available asap (5th April, Ketil Stadskleiv (Unlicensed)).

Allowed values for status

ValueDescriptionConditions
FULFILLEDThe order line is delivered to the end customer.Order line must have been processed without errors.
FULFILLED_BLOCKEDThe order line is delivered to the end customer and the seller does not allow any changes to be made to this line. 
RECEIVEDThe order line is received by the seller party 
REJECTEDThe seller does not accept this order lines, it is highly recommended that you also provide a comment when using this status.