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

RecurlyClient.Operations.Create_external_product_external_product_reference

Description

Contains the different functions to run the operation create_external_product_external_product_reference

Synopsis

Documentation

create_external_product_external_product_reference Source #

Arguments

:: forall m. MonadHTTP m 
=> ExternalProductReferenceCreate

The request body to send

-> ClientT m (Response Create_external_product_external_product_referenceResponse)

Monadic computation which returns the result of the operation

POST /external_products/{external_product_id}/external_product_references

Create an external product reference on an external product

data Create_external_product_external_product_referenceResponse Source #

Represents a response of the operation create_external_product_external_product_reference.

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

create_external_product_external_product_referenceWithConfiguration Source #

Arguments

:: forall m. MonadHTTP m 
=> Configuration

The configuration to use in the request

-> ExternalProductReferenceCreate

The request body to send

-> m (Response Create_external_product_external_product_referenceResponse)

Monadic computation which returns the result of the operation

POST /external_products/{external_product_id}/external_product_references

The same as create_external_product_external_product_reference but accepts an explicit configuration.

create_external_product_external_product_referenceRaw Source #

Arguments

:: forall m. MonadHTTP m 
=> ExternalProductReferenceCreate

The request body to send

-> ClientT m (Response ByteString)

Monadic computation which returns the result of the operation

POST /external_products/{external_product_id}/external_product_references

The same as create_external_product_external_product_reference but returns the raw ByteString.

create_external_product_external_product_referenceWithConfigurationRaw Source #

Arguments

:: forall m. MonadHTTP m 
=> Configuration

The configuration to use in the request

-> ExternalProductReferenceCreate

The request body to send

-> m (Response ByteString)

Monadic computation which returns the result of the operation

POST /external_products/{external_product_id}/external_product_references

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