Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation deleteProductsId
Synopsis
Documentation
:: forall m. MonadHTTP m | |
=> Text | id | Constraints: Maximum length of 5000 |
-> ClientT m (Response DeleteProductsIdResponse) | Monadic computation which returns the result of the operation |
DELETE /v1/products/{id}
<p>Delete a product. Deleting a product is only possible if it has no prices associated with it. Additionally, deleting a product with <code>type=good</code> is only possible if it has no SKUs associated with it.</p>
data DeleteProductsIdResponse Source #
Represents a response of the operation deleteProductsId
.
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), DeleteProductsIdResponseError
is used.
DeleteProductsIdResponseError String | Means either no matching case available or a parse error |
DeleteProductsIdResponse200 DeletedProduct | Successful response. |
DeleteProductsIdResponseDefault Error | Error response. |
Instances
Eq DeleteProductsIdResponse Source # | |
Defined in StripeAPI.Operations.DeleteProductsId | |
Show DeleteProductsIdResponse Source # | |
Defined in StripeAPI.Operations.DeleteProductsId showsPrec :: Int -> DeleteProductsIdResponse -> ShowS # show :: DeleteProductsIdResponse -> String # showList :: [DeleteProductsIdResponse] -> ShowS # |