Square icon

Square

Consume Square API

Customer → Delete

AI-generated

Overview

This node interacts with the Square API to delete a customer by their Customer ID. It is useful in scenarios where you need to remove a customer's data from your Square account, such as when a customer requests account deletion or when cleaning up inactive customer records.

Use Case Examples

  1. Deleting a customer by providing their Customer ID to ensure their data is removed from the system.
  2. Automating customer data management by deleting customers who no longer engage with your services.

Properties

Name Meaning
Customer ID The unique identifier of the customer to be deleted.

Output

JSON

  • id - The ID of the deleted customer returned by the Square API.

Dependencies

  • Square API key credential for authentication.

Troubleshooting

  • If the Customer ID is invalid or does not exist, the node will throw an error indicating the customer could not be found.
  • Ensure the API credentials are correctly set and have the necessary permissions to delete customers.
  • If the node is set to continue on fail, errors will be returned in the output JSON with an error message property.

Discussion