recurly-client-0.1.0.0: Client for Recurly subscription management
Safe HaskellSafe-Inferred
LanguageHaskell2010

RecurlyClient.Operations.Update_shipping_address

Description

Contains the different functions to run the operation update_shipping_address

Synopsis

Documentation

update_shipping_address Source #

Arguments

:: forall m. MonadHTTP m 
=> Update_shipping_addressParameters

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

-> ShippingAddressUpdate

The request body to send

-> ClientT m (Response Update_shipping_addressResponse)

Monadic computation which returns the result of the operation

PUT /accounts/{account_id}/shipping_addresses/{shipping_address_id}

Update an account's shipping address

data Update_shipping_addressParameters Source #

Defines the object schema located at paths./accounts/{account_id}/shipping_addresses/{shipping_address_id}.PUT.parameters in the specification.

Constructors

Update_shipping_addressParameters 

Fields

data Update_shipping_addressResponse Source #

Represents a response of the operation update_shipping_address.

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

Constructors

Update_shipping_addressResponseError String

Means either no matching case available or a parse error

Update_shipping_addressResponse200 ShippingAddress

The updated shipping address.

Update_shipping_addressResponse400 Error

Bad request, perhaps invalid JSON?

Update_shipping_addressResponse404 Error

Incorrect site, account, or shipping address ID.

Update_shipping_addressResponse422 Error

Invalid request parameters

Update_shipping_addressResponseDefault Error

Unexpected error.

update_shipping_addressWithConfiguration Source #

Arguments

:: forall m. MonadHTTP m 
=> Configuration

The configuration to use in the request

-> Update_shipping_addressParameters

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

-> ShippingAddressUpdate

The request body to send

-> m (Response Update_shipping_addressResponse)

Monadic computation which returns the result of the operation

PUT /accounts/{account_id}/shipping_addresses/{shipping_address_id}

The same as update_shipping_address but accepts an explicit configuration.

update_shipping_addressRaw Source #

Arguments

:: forall m. MonadHTTP m 
=> Update_shipping_addressParameters

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

-> ShippingAddressUpdate

The request body to send

-> ClientT m (Response ByteString)

Monadic computation which returns the result of the operation

PUT /accounts/{account_id}/shipping_addresses/{shipping_address_id}

The same as update_shipping_address but returns the raw ByteString.

update_shipping_addressWithConfigurationRaw Source #

Arguments

:: forall m. MonadHTTP m 
=> Configuration

The configuration to use in the request

-> Update_shipping_addressParameters

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

-> ShippingAddressUpdate

The request body to send

-> m (Response ByteString)

Monadic computation which returns the result of the operation

PUT /accounts/{account_id}/shipping_addresses/{shipping_address_id}

The same as update_shipping_address but accepts an explicit configuration and returns the raw ByteString.