Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation reactivate_unique_coupon_code
Synopsis
- reactivate_unique_coupon_code :: forall m. MonadHTTP m => ClientT m (Response Reactivate_unique_coupon_codeResponse)
- data Reactivate_unique_coupon_codeResponse
- reactivate_unique_coupon_codeWithConfiguration :: forall m. MonadHTTP m => Configuration -> m (Response Reactivate_unique_coupon_codeResponse)
- reactivate_unique_coupon_codeRaw :: forall m. MonadHTTP m => ClientT m (Response ByteString)
- reactivate_unique_coupon_codeWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> m (Response ByteString)
Documentation
reactivate_unique_coupon_code Source #
:: forall m. MonadHTTP m | |
=> ClientT m (Response Reactivate_unique_coupon_codeResponse) | Monadic computation which returns the result of the operation |
PUT /unique_coupon_codes/{unique_coupon_code_id}/restore
Restore a unique coupon code
data Reactivate_unique_coupon_codeResponse Source #
Represents a response of the operation reactivate_unique_coupon_code
.
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), Reactivate_unique_coupon_codeResponseError
is used.
Reactivate_unique_coupon_codeResponseError String | Means either no matching case available or a parse error |
Reactivate_unique_coupon_codeResponse200 UniqueCouponCode | A unique coupon code. |
Reactivate_unique_coupon_codeResponse400 Error | Bad request; perhaps missing or invalid parameters. |
Reactivate_unique_coupon_codeResponse422 Error | Unique coupon code cannot be restored for the provided reason. |
Reactivate_unique_coupon_codeResponseDefault Error | Unexpected error. |
reactivate_unique_coupon_codeWithConfiguration Source #
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> m (Response Reactivate_unique_coupon_codeResponse) | Monadic computation which returns the result of the operation |
PUT /unique_coupon_codes/{unique_coupon_code_id}/restore
The same as reactivate_unique_coupon_code
but accepts an explicit configuration.
reactivate_unique_coupon_codeRaw Source #
:: forall m. MonadHTTP m | |
=> ClientT m (Response ByteString) | Monadic computation which returns the result of the operation |
PUT /unique_coupon_codes/{unique_coupon_code_id}/restore
The same as reactivate_unique_coupon_code
but returns the raw ByteString
.
reactivate_unique_coupon_codeWithConfigurationRaw Source #
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> m (Response ByteString) | Monadic computation which returns the result of the operation |
PUT /unique_coupon_codes/{unique_coupon_code_id}/restore
The same as reactivate_unique_coupon_code
but accepts an explicit configuration and returns the raw ByteString
.