...
URL | https://api.order.boknett.no/orders/{ID}/lines/{lineId} | ||
Method | POST | ||
Request headers | Authorization | Required | The token acquired from the Authentication Service. Formated "Boknett TGT-...." |
Date | Required | The timestamp the request was made. Must comply with RFC 1123 date formats. Example: Tue, 10 Jun 2014 16:23:42 GMT | |
Content-type | Required | application/json | |
Request body
| {"status": "STATUS_VALUE", "comment": "Free text comment included in order details"}
(comment field is optional) | ||
Response body | empty on success | ||
Returns | 200 | Accepted | |
40x | On 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
Value | Description | Conditions |
---|---|---|
FULFILLED | The order line is delivered to the end customer. | Order line must have been processed without errors. |
FULFILLED_BLOCKED | The order line is delivered to the end customer and the seller does not allow any changes to be made to this line. | |
RECEIVED | The order line is received by the seller party | |
REJECTED | The seller does not accept this order lines, it is highly recommended that you also provide a comment when using this status. |