{ "name": "DeleteCustomerProfile", "fully_qualified_name": "SquareupApi.DeleteCustomerProfile@0.1.0", "description": "Deletes a customer profile from a business.\n\nUse this tool to delete a customer profile, especially if created by merging existing profiles. The unique customer ID is required for deletion.", "toolkit": { "name": "ArcadeSquareupApi", "description": null, "version": "0.1.0" }, "input": { "parameters": [ { "name": "customer_identifier", "required": true, "description": "The unique identifier of the customer to be deleted.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "The ID of the customer to delete." }, "inferrable": true, "http_endpoint_parameter_name": "customer_id" }, { "name": "customer_profile_version", "required": false, "description": "The current version of the customer profile. Used for optimistic concurrency control.", "value_schema": { "val_type": "integer", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "The current version of the customer profile.\n\nAs a best practice, you should include this parameter to enable [optimistic concurrency](https://developer.squareup.com/docs/build-basics/common-api-patterns/optimistic-concurrency) control. For more information, see [Delete a customer profile](https://developer.squareup.com/docs/customers-api/use-the-api/keep-records#delete-customer-profile)." }, "inferrable": true, "http_endpoint_parameter_name": "version" } ] }, "output": { "description": "Response from the API endpoint 'DeleteCustomer'.", "available_modes": [ "value", "error", "null" ], "value_schema": { "val_type": "json", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null } }, "requirements": { "authorization": { "provider_id": "arcade-squareup", "provider_type": "oauth2", "id": null, "oauth2": { "scopes": [ "CUSTOMERS_WRITE" ] } }, "secrets": null, "metadata": null }, "deprecation_message": null, "metadata": { "object_type": "api_wrapper_tool", "version": "1.0.0", "description": "Tools that enable LLMs to interact directly with the squareup API." }, "http_endpoint": { "metadata": { "object_type": "http_endpoint", "version": "1.0.0", "description": "" }, "url": "https://connect.squareup.com/v2/customers/{customer_id}", "http_method": "DELETE", "headers": {}, "parameters": [ { "name": "version", "tool_parameter_name": "customer_profile_version", "description": "The current version of the customer profile.\n\nAs a best practice, you should include this parameter to enable [optimistic concurrency](https://developer.squareup.com/docs/build-basics/common-api-patterns/optimistic-concurrency) control. For more information, see [Delete a customer profile](https://developer.squareup.com/docs/customers-api/use-the-api/keep-records#delete-customer-profile).", "value_schema": { "val_type": "integer", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "The current version of the customer profile.\n\nAs a best practice, you should include this parameter to enable [optimistic concurrency](https://developer.squareup.com/docs/build-basics/common-api-patterns/optimistic-concurrency) control. For more information, see [Delete a customer profile](https://developer.squareup.com/docs/customers-api/use-the-api/keep-records#delete-customer-profile)." }, "accepted_as": "query", "required": false, "deprecated": false, "documentation_urls": [] }, { "name": "customer_id", "tool_parameter_name": "customer_identifier", "description": "The ID of the customer to delete.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "The ID of the customer to delete." }, "accepted_as": "path", "required": true, "deprecated": false, "documentation_urls": [] } ], "documentation_urls": [], "secrets": [ { "arcade_key": "auth_token", "parameter_name": "Authorization", "accepted_as": "header", "formatted_value": "Bearer {authorization}", "description": "The OAuth token to use for authentication.", "is_auth_token": true } ] } }