stripeapi-1.0.0.0: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.DeleteSkusId

Description

Contains the different functions to run the operation deleteSkusId

Synopsis

Documentation

deleteSkusId Source #

Arguments

:: forall m. MonadHTTP m 
=> Text

id | Constraints: Maximum length of 5000

-> StripeT m (Response DeleteSkusIdResponse)

Monadic computation which returns the result of the operation

DELETE /v1/skus/{id}

<p>Delete a SKU. Deleting a SKU is only possible until it has been used in an order.</p>

data DeleteSkusIdResponse Source #

Represents a response of the operation deleteSkusId.

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

Constructors

DeleteSkusIdResponseError String

Means either no matching case available or a parse error

DeleteSkusIdResponse200 DeletedSku

Successful response.

DeleteSkusIdResponseDefault Error

Error response.