/v1/customers/{customer}/discountRemoves the currently applied discount on a customer.
| Name | Description |
|---|---|
| customer* |
object (no properties in spec)
| Field | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| checkout_session | string | The Checkout session that this coupon is applied to, if it is applied to a particular session in payment mode. Not present for subscription mode. | |||||||||
| customer | string | customer | deleted_customer | The ID of the customer associated with this discount. | |||||||||
| customer_account | string | The ID of the account representing the customer associated with this discount. | |||||||||
| deleted* | boolean | Always true for a deleted object | |||||||||
| id* | string | The ID of the discount object. Discounts can't be fetched by ID. Use | |||||||||
| invoice | string | The invoice that the discount's coupon was applied to, if it was applied directly to a particular invoice. | |||||||||
| invoice_item | string | The invoice item | |||||||||
| object* | string | String representing the object's type. Objects of the same type share the same value. | |||||||||
| promotion_code | string | promotion_code | The promotion code applied to create this discount. | |||||||||
| source* | discount_source | 2 nested fields
| |||||||||
| start* | integer (unix-time) | Date that the coupon was applied. | |||||||||
| subscription | string | The subscription that this coupon is applied to, if it is applied to a particular subscription. | |||||||||
| subscription_item | string | The subscription item that this coupon is applied to, if it is applied to a particular subscription item. |