# Sandbox Dashboard part 3: Customers

DevFeed: [Sandbox Dashboard part 3: Customers](<https://devfeed.tech/articles/sandbox-dashboard-part-3-customers-15836.md>)

Original publisher: [Read original article](<https://developer.squareup.com/blog/sandbox-dashboard-part-3-customers>)

Author: Tristan Sokol

Published: 2017-08-11T17:25:01Z

Content type: tutorial

Language: en

Sources: [Square Corner](<https://devfeed.tech/sources/square-corner-blog-medium.md>)

Topics: [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [dashboards](<https://devfeed.tech/topics/dashboards.md>), [forEach](<https://devfeed.tech/topics/foreach.md>)

Tags: [ajax](<https://devfeed.tech/tags/ajax.md>), [api](<https://devfeed.tech/tags/api.md>), [apis](<https://devfeed.tech/tags/apis.md>), [customer](<https://devfeed.tech/tags/customer.md>), [customers](<https://devfeed.tech/tags/customers.md>), [dashboard](<https://devfeed.tech/tags/dashboard.md>), [delete](<https://devfeed.tech/tags/delete.md>), [dialog](<https://devfeed.tech/tags/dialog.md>), [display](<https://devfeed.tech/tags/display.md>), [email](<https://devfeed.tech/tags/email.md>), [errors](<https://devfeed.tech/tags/errors.md>), [exception](<https://devfeed.tech/tags/exception.md>), [file](<https://devfeed.tech/tags/file.md>), [flex](<https://devfeed.tech/tags/flex.md>), [function](<https://devfeed.tech/tags/function.md>), [functionality](<https://devfeed.tech/tags/functionality.md>), [gui](<https://devfeed.tech/tags/gui.md>), [id](<https://devfeed.tech/tags/id.md>), [information](<https://devfeed.tech/tags/information.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [sandbox](<https://devfeed.tech/tags/sandbox.md>)

## AI overview

The article adds a Customers page to a PHP sandbox dashboard. It calls Square's `ListCustomers` endpoint and displays each customer's creation time, name, and available email or phone number. A Delete link prompts for confirmation, then sends the customer ID by AJAX POST to a PHP script. That script checks for a customer ID and session access token, calls Square's `deleteCustomer()` method, and returns a success or error response; on success, the row is removed from the page.

## Source excerpt

A continuation on how to make a dashboard for your sandbox developer account