recurly-client-0.1.0.0: Client for Recurly subscription management
Safe HaskellSafe-Inferred
LanguageHaskell2010

RecurlyClient.Operations.Deactivate_external_products

Description

Contains the different functions to run the operation deactivate_external_products

Synopsis

Documentation

deactivate_external_products Source #

Arguments

:: forall m. MonadHTTP m 
=> ClientT m (Response Deactivate_external_productsResponse)

Monadic computation which returns the result of the operation

DELETE /external_products/{external_product_id}

Deactivate an external product.

data Deactivate_external_productsResponse Source #

Represents a response of the operation deactivate_external_products.

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), Deactivate_external_productsResponseError is used.

Constructors

Deactivate_external_productsResponseError String

Means either no matching case available or a parse error

Deactivate_external_productsResponse200 ExternalProduct

Deactivated external product.

Deactivate_external_productsResponse404 Error

Bad request; perhaps missing or invalid parameters.

Deactivate_external_productsResponseDefault Error

Unexpected error.

deactivate_external_productsWithConfiguration Source #

Arguments

:: forall m. MonadHTTP m 
=> Configuration

The configuration to use in the request

-> m (Response Deactivate_external_productsResponse)

Monadic computation which returns the result of the operation

DELETE /external_products/{external_product_id}

The same as deactivate_external_products but accepts an explicit configuration.

deactivate_external_productsRaw Source #

Arguments

:: forall m. MonadHTTP m 
=> ClientT m (Response ByteString)

Monadic computation which returns the result of the operation

DELETE /external_products/{external_product_id}

The same as deactivate_external_products but returns the raw ByteString.

deactivate_external_productsWithConfigurationRaw Source #

Arguments

:: forall m. MonadHTTP m 
=> Configuration

The configuration to use in the request

-> m (Response ByteString)

Monadic computation which returns the result of the operation

DELETE /external_products/{external_product_id}

The same as deactivate_external_products but accepts an explicit configuration and returns the raw ByteString.