Customers | CMS {#snippet message(show: boolean)} {#if show && form?.message}
{form.message}
{/if} {/snippet}

Customers

Personal data from bookings — look someone up to send them a copy, correct it or erase it (GDPR).

Find a customer

{#if data.customers.length === 0}

{data.q ? 'No customer matches.' : 'No customers yet.'}

{:else} {#if data.truncated}

Showing customers from the newest orders only — search to narrow it down.

{/if} {/if}
{#if !customer}

Pick a customer to see everything stored about them.

{:else if !hasRecords}

{customer.email}

Nothing is stored for this email address.

{@render message(true)} {:else}

{current.name || customer.email}

{customer.email}

Export data (JSON)
{#if hasNotes} {/if}
{@render message(!form?.settings)}

Orders

    {#each customer.orders as order (order.id)}
  • {formatDateTime(order.created, data.timezone)} · {order.status} {money.format(order.total)}
      {#each order.lines as line}
    • {line.quantity}× {line.name}{line.start ? ` — ${formatDateTime(line.start, data.timezone)}` : ''}
    • {/each}
    {#if order.customerDetails.notes}

    "{order.customerDetails.notes}"

    {/if}
  • {/each}
{#if customer.unpaidBaskets.length}

Unpaid checkouts

Details typed at checkout without paying. Deleted automatically after {data.settings.abandonedBasketDays} days.

    {#each customer.unpaidBaskets as basket (basket.id)}
  • {formatDateTime(basket.updated, data.timezone)} — {basket.customerDetails.name || '(no name)'}{basket.customerDetails.phone ? ` · ${basket.customerDetails.phone}` : ''}
  • {/each}
{/if}

Erase this customer

For a request to be forgotten. Removes their name, email, phone and notes from every order (the amounts, services and dates stay, for your accounts) and deletes unpaid checkouts. Their payment also exists in Stripe and their booking emails in your email provider's logs — handle those in those services.

{#if upcoming.length}

They have {upcoming.length} upcoming booking{upcoming.length === 1 ? '' : 's'}.

{/if}
{/if}

Data retention

Applied automatically every night. Check how long your accountant needs booking records before turning on anonymising.

{@render message(!!form?.settings)}