Skip to content
Last updated

Version 1.1 Changes

The following changes were introduced to support Pay at Table scenarios.

  • Added the update sale endpoint to allow both the POS and partner App to update the OPEN sale.
  • Added the SALE_UPDATED webhook event for the POS to be notified when changes are made to the sale.
  • Added the SALE_CLOSED webhook event for the POS to be notified when the sale status changes from OPEN to CLOSED.

The following change was introduced to support reopened sales.

  • Added the SALE_REOPENED webhook event for the App to be notified when a new sale has been created with status REOPENED.

The following change was introduced to support sales listing.

  • Added the dateType filter which allows the searching of sales on different date fields (previously only createdAt).

Sale Entity

New/updated FieldDescriptionChangeChange Description
versionRepresents the last read version of the sale returned by the GET request. If this version is out of date, the request will fail with a 412. Get the latest sale and merge it with the values from this request, then retry with the latest version.NewAdded to handle accidental overwrites for the PATCH request since multiple partners can modify the same sale.
statusAn enum describing the status of the saleUpdatedNew status enum values OPEN and REOPENED added
closedZonedDateTimeThe time local time the sale was closed on the partner.UpdatedThis value is now optional for OPEN sales
parentSaleIdThe original sale id referencing the previous sale that was reopenedNewThis attribute can only be set when creating a REOPENED sale
items.hiddenThis can be set by the POS to indicate that this item should be hidden by the partner AppNewAdded new optional hidden field to items
payments.methodThe payment methodUpdatedNew payment enum added called ONLINE for sales made via partner App
payments.itemsOptional list that indicates which line items this payment is forNewAdded optional items array to payments. This allows partners to track which items are partially or fully paid for
paymentsPayments made for the saleUpdatedPayments is now optional for OPEN sales
taxThe total amount (in cents) of tax collected for this sale by the merchant.UpdatedTax is now optional for OPEN sales
customer.nameName of the customerRemovedCustomer name has been removed as it was deprecated in version 1.0
customer.idId of the customerUpdatedCustomer id is now optional
registerInformation about which register in the venue was usedUpdatedRegister fields are now optional