> 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.draftorders.DeleteDraftOrder

- Component: `appmixer.shopify.draftorders.DeleteDraftOrder`
- 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.draftorders.DeleteDraftOrder>

Delete a draft order. Needs the write_draft_orders access scope on the Shopify app.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Draft Order ID (`id`) | text | The ID of the draft order: the global ID (gid://shopify/DraftOrder/123) or the numeric ID from the draft order's admin URL. |

## Output ports

### Port `out`

_No fields defined for this port._

## Full metadata (component.json)

```json
{
  "name": "appmixer.shopify.draftorders.DeleteDraftOrder",
  "description": "Delete a draft order. Needs the write_draft_orders access scope on the Shopify app.",
  "author": "Appmixer <info@appmixer.com>",
  "private": false,
  "auth": {
    "service": "appmixer:shopify",
    "scope": [
      "read_draft_orders",
      "write_orders"
    ]
  },
  "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": "Draft Order ID",
            "index": 1,
            "tooltip": "The ID of the draft order: the global ID (gid://shopify/DraftOrder/123) or the numeric ID from the draft order's admin URL."
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out"
    }
  ],
  "icon": "(data URI omitted)"
}
```
