Just like sales data creation, receipts need to be updated in 7shifts as soon as they are updated in your system in order to ensure consistency. This, again, requires two services that accomplish the following:
As soon as a receipt that has previously been sent to 7shifts is updated in your system, you will need to make a PUT request to the /receipts endpoint using the structure described in the previous section (PUT Structure for /receipts)
Please note that the request URL requires you to specify the
external_id from your system that was used to create the receipt in the first place. This avoids having to map receipts between our unique identifiers and your own.
Putting the create and update receipts parts together, the full flow looks as follows: