HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulestripeapi-3.0.0.0Haskell2010

StripeAPI.Operations.DeleteProductsId

Contains the different functions to run the operation deleteProductsId

  • 1 type
  • 1 value
  • Packagestripeapi-3.0.0.0
  • Exports2
  • LanguageHaskell2010
  • LicenceMIT
  • SourceDeleteProductsId.hs
valuedeleteProductsId
  1. :: MonadHTTP m
  2. => Text

    id | Constraints: Maximum length of 5000

  3. -> 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>

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.

Constructors

Instances2Eq, Show