stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetProductsId

Description

Contains the different functions to run the operation getProductsId

Synopsis

Documentation

getProductsId Source #

Arguments

:: forall m. MonadHTTP m 
=> GetProductsIdParameters

Contains all available parameters of this operation (query and path parameters)

-> ClientT m (Response GetProductsIdResponse)

Monadic computation which returns the result of the operation

GET /v1/products/{id}

<p>Retrieves the details of an existing product. Supply the unique product ID from either a product creation request or the product list, and Stripe will return the corresponding product information.</p>

data GetProductsIdParameters Source #

Defines the object schema located at paths./v1/products/{id}.GET.parameters in the specification.

Constructors

GetProductsIdParameters 

Fields

data GetProductsIdResponse Source #

Represents a response of the operation getProductsId.

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

Constructors

GetProductsIdResponseError String

Means either no matching case available or a parse error

GetProductsIdResponse200 Product

Successful response.

GetProductsIdResponseDefault Error

Error response.