Customers

Update an associated barcode for a customer

This endpoint updates the details of an associated barcode for a customer.

put/shop/customers/{customerId}/barcodes/{barcodeId}

Request body

payment_method_idstring uuid nullable

Identifier of the customer's saved payment method to attach to this wearable/access barcode. The barcode can then be used to pay at any in-resort POS via "charge to card on file". Pass null to clear the attachment.

order_idstring object-id nullable

Identifier of an in-progress order to attach to this barcode. Lets a scanned barcode pull up the linked order at the POS (for example to keep adding items during a spa visit). Pass null to detach.

expires_atstring date-time nullable

The expiry date to set for the associated barcode.

Response

The payment method for the wearable device was successfully retrieved

Changes