# destroyDiscountCode

### Arguments

| Argument                                                                                                                           | Description                        |
| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------- |
| input ([DestroyDiscountCodeInput](https://developer.firmhouse.com/graphql-api/api-reference/objects/destroy-discount-code-input)!) | Parameters for DestroyDiscountCode |

### DestroyDiscountCodeInput Arguments

| Argument                                                                         | Description                            |
| -------------------------------------------------------------------------------- | -------------------------------------- |
| id ([ID](https://developer.firmhouse.com/graphql-api/api-reference/objects/id)!) | The ID of the discount code to destroy |

### Return fields

#### discountCode ([DiscountCode](https://developer.firmhouse.com/graphql-api/api-reference/objects/discount-code))

#### errors (\[[ModelValidationError](https://developer.firmhouse.com/graphql-api/api-reference/objects/model-validation-error)!]!)
