Skip to content

Commit

Permalink
Update order-api.md
Browse files Browse the repository at this point in the history
  • Loading branch information
seynadi committed Oct 27, 2019
1 parent 8038854 commit c1ae4c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/order-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ To retrieve a list of orders from a supplier, please use the following endpoint:

There are three mandatory parameters for the call:

* `XXXXXXX-XXXX-XXXX-XXXXX-XXXXXXXXXXXX` is the token for API authentication that is attributed by REKKI to each supplier, please contact suppliers@rekki.com to request one. Include it in the request header `authorization: Bearer <TOKEN>`.
* `XXXXXXX-XXXX-XXXX-XXXXX-XXXXXXXXXXXX` is the token for API authentication that is attributed by REKKI to each supplier, please contact integrations@rekki.com to request one. Include it in the request header `authorization: Bearer <TOKEN>`.

* `{"since":1565610869}` send as POST body, **since** is the epoch timestamp (seconds since 01/01/1970 00:00) and will filter the orders **after or equal** to the specified timestamp. A very common use case is to `poll` for orders since the last successful request to avoid losing any information. The requested timestamp **must** be within the last 30 days and it **must** be an integer not a string.

Expand Down

0 comments on commit c1ae4c5

Please sign in to comment.