Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation deleteCustomersCustomerDiscount
Synopsis
- deleteCustomersCustomerDiscount :: forall m. MonadHTTP m => Text -> ClientT m (Response DeleteCustomersCustomerDiscountResponse)
- data DeleteCustomersCustomerDiscountResponse
Documentation
deleteCustomersCustomerDiscount Source #
:: forall m. MonadHTTP m | |
=> Text | customer | Constraints: Maximum length of 5000 |
-> ClientT m (Response DeleteCustomersCustomerDiscountResponse) | Monadic computation which returns the result of the operation |
DELETE /v1/customers/{customer}/discount
<p>Removes the currently applied discount on a customer.</p>
data DeleteCustomersCustomerDiscountResponse Source #
Represents a response of the operation deleteCustomersCustomerDiscount
.
The response constructor is chosen by the status code of the response. If no case matches (no specific case for the response code, no range case, no default case), DeleteCustomersCustomerDiscountResponseError
is used.
DeleteCustomersCustomerDiscountResponseError String | Means either no matching case available or a parse error |
DeleteCustomersCustomerDiscountResponse200 DeletedDiscount | Successful response. |
DeleteCustomersCustomerDiscountResponseDefault Error | Error response. |