Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation create_external_product_external_product_reference
Synopsis
- create_external_product_external_product_reference :: forall m. MonadHTTP m => ExternalProductReferenceCreate -> ClientT m (Response Create_external_product_external_product_referenceResponse)
- data Create_external_product_external_product_referenceResponse
- = Create_external_product_external_product_referenceResponseError String
- | Create_external_product_external_product_referenceResponse201 ExternalProductReferenceMini
- | Create_external_product_external_product_referenceResponse404 Error
- | Create_external_product_external_product_referenceResponseDefault Error
- create_external_product_external_product_referenceWithConfiguration :: forall m. MonadHTTP m => Configuration -> ExternalProductReferenceCreate -> m (Response Create_external_product_external_product_referenceResponse)
- create_external_product_external_product_referenceRaw :: forall m. MonadHTTP m => ExternalProductReferenceCreate -> ClientT m (Response ByteString)
- create_external_product_external_product_referenceWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> ExternalProductReferenceCreate -> m (Response ByteString)
Documentation
create_external_product_external_product_reference Source #
:: 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_referenceResponseError String | Means either no matching case available or a parse error |
Create_external_product_external_product_referenceResponse201 ExternalProductReferenceMini | Details for the external product reference. |
Create_external_product_external_product_referenceResponse404 Error | Incorrect site. |
Create_external_product_external_product_referenceResponseDefault Error | Unexpected error. |
Instances
Show Create_external_product_external_product_referenceResponse Source # | |
Eq Create_external_product_external_product_referenceResponse Source # | |
create_external_product_external_product_referenceWithConfiguration Source #
:: 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 #
:: 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 #
:: 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
.