> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.shopify.customers.DeleteCustomer

- Component: `appmixer.shopify.customers.DeleteCustomer`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.shopify 4.1.0](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.customers.DeleteCustomer>

Delete a customer. Shopify refuses to delete a customer who has orders.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Customer (`id`) | text | Pick a customer, or enter its ID — the global ID (gid://shopify/Customer/…) or the numeric ID. |

## Output ports

### Port `out`

_No fields defined for this port._

## Full metadata (component.json)

```json
{
  "name": "appmixer.shopify.customers.DeleteCustomer",
  "description": "Delete a customer. Shopify refuses to delete a customer who has orders.",
  "author": "Jimoh Damilola <jimoh@client.io>",
  "private": false,
  "auth": {
    "service": "appmixer:shopify",
    "scope": [
      "write_customers"
    ]
  },
  "quota": {
    "manager": "appmixer:shopify",
    "resources": "requests",
    "scope": {
      "userId": "{{userId}}"
    }
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id"
        ]
      },
      "inspector": {
        "inputs": {
          "id": {
            "type": "text",
            "label": "Customer",
            "index": 0,
            "tooltip": "Pick a customer, or enter its ID — the global ID (gid://shopify/Customer/…) or the numeric ID.",
            "source": {
              "url": "/component/appmixer/shopify/customers/FindCustomers?outPort=out",
              "data": {
                "properties": {
                  "isSource": true
                },
                "messages": {
                  "in/outputType": "array"
                },
                "transform": "./FindCustomers#customersToSelectArray"
              }
            }
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out"
    }
  ],
  "icon": "(data URI omitted)"
}
```
