Sequence Request
Pull changes from our database.
Request
GET https://api.scanpay.dk/v2/{shopid}:seq:{prevseq} - prevseq is the
"seq"value you received in the previous seq response. To start at the beginning, set it to0.
Response
| JSON field | Description |
|---|---|
"changes": […]
| An array with changes after the requested sequence number in dependency order. |
"seq": 164
| The "prevseq" value for the next call when you have successfully merged all the changes into your database. |
Seq will return an arbitrary amount of changes. The total response size is currently limited to 64 KiB, except in the extremely unlikely event that a single change is larger than that. This limit is likely to change in the future so you must be prepared to receive larger responses.