...
URL | https://api.order.boknett.no/orders/{ID}/update | ||
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 | {"ean": "EAN of product", "number": negative number} | ||
Response body | empty on success | ||
Returns | 200 | Ok | |
403 | Is returned if you do not have access to update to the given number (e.g. number is higher than total on order, or set as FULFILLED_BLOCKED) | ||
40x | On error |
...