Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Operations.Update_external_product
Description
Contains the different functions to run the operation update_external_product
Synopsis
- update_external_product :: forall m. MonadHTTP m => ExternalProductUpdate -> ClientT m (Response Update_external_productResponse)
- data Update_external_productResponse
- update_external_productWithConfiguration :: forall m. MonadHTTP m => Configuration -> ExternalProductUpdate -> m (Response Update_external_productResponse)
- update_external_productRaw :: forall m. MonadHTTP m => ExternalProductUpdate -> ClientT m (Response ByteString)
- update_external_productWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> ExternalProductUpdate -> m (Response ByteString)
Documentation
update_external_product Source #
Arguments
:: forall m. MonadHTTP m | |
=> ExternalProductUpdate | The request body to send |
-> ClientT m (Response Update_external_productResponse) | Monadic computation which returns the result of the operation |
PUT /external_products/{external_product_id}
Update an external product
data Update_external_productResponse Source #
Represents a response of the operation update_external_product
.
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), Update_external_productResponseError
is used.
Constructors
Update_external_productResponseError String | Means either no matching case available or a parse error |
Update_external_productResponse200 ExternalProduct | Settings for an external product. |
Update_external_productResponse404 Error | Bad request; perhaps missing or invalid parameters. |
Update_external_productResponseDefault Error | Unexpected error. |
Instances
update_external_productWithConfiguration Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> ExternalProductUpdate | The request body to send |
-> m (Response Update_external_productResponse) | Monadic computation which returns the result of the operation |
PUT /external_products/{external_product_id}
The same as update_external_product
but accepts an explicit configuration.
update_external_productRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> ExternalProductUpdate | The request body to send |
-> ClientT m (Response ByteString) | Monadic computation which returns the result of the operation |
PUT /external_products/{external_product_id}
The same as update_external_product
but returns the raw ByteString
.
update_external_productWithConfigurationRaw Source #
Arguments
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> ExternalProductUpdate | The request body to send |
-> m (Response ByteString) | Monadic computation which returns the result of the operation |
PUT /external_products/{external_product_id}
The same as update_external_product
but accepts an explicit configuration and returns the raw ByteString
.