Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation list_shipping_addresses
Synopsis
- list_shipping_addresses :: forall m. MonadHTTP m => List_shipping_addressesParameters -> ClientT m (Response List_shipping_addressesResponse)
- data List_shipping_addressesParameters = List_shipping_addressesParameters {
- list_shipping_addressesParametersPathAccount_id :: Text
- list_shipping_addressesParametersQueryBegin_time :: Maybe JsonDateTime
- list_shipping_addressesParametersQueryEnd_time :: Maybe JsonDateTime
- list_shipping_addressesParametersQueryIds :: Maybe [Text]
- list_shipping_addressesParametersQueryLimit :: Maybe Int
- list_shipping_addressesParametersQueryOrder :: Maybe List_shipping_addressesParametersQueryOrder
- list_shipping_addressesParametersQuerySort :: Maybe List_shipping_addressesParametersQuerySort
- mkList_shipping_addressesParameters :: Text -> List_shipping_addressesParameters
- data List_shipping_addressesParametersQueryOrder
- data List_shipping_addressesParametersQuerySort
- data List_shipping_addressesResponse
- list_shipping_addressesWithConfiguration :: forall m. MonadHTTP m => Configuration -> List_shipping_addressesParameters -> m (Response List_shipping_addressesResponse)
- list_shipping_addressesRaw :: forall m. MonadHTTP m => List_shipping_addressesParameters -> ClientT m (Response ByteString)
- list_shipping_addressesWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> List_shipping_addressesParameters -> m (Response ByteString)
Documentation
list_shipping_addresses Source #
:: forall m. MonadHTTP m | |
=> List_shipping_addressesParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT m (Response List_shipping_addressesResponse) | Monadic computation which returns the result of the operation |
GET /accounts/{account_id}/shipping_addresses
See the Pagination Guide to learn how to use pagination in the API and Client Libraries.
data List_shipping_addressesParameters Source #
Defines the object schema located at paths./accounts/{account_id}/shipping_addresses.GET.parameters
in the specification.
List_shipping_addressesParameters | |
|
mkList_shipping_addressesParameters Source #
Create a new List_shipping_addressesParameters
with all required fields.
data List_shipping_addressesParametersQueryOrder Source #
Defines the enum schema located at paths./accounts/{account_id}/shipping_addresses.GET.parameters.properties.queryOrder
in the specification.
Represents the parameter named 'order'
Sort order.
List_shipping_addressesParametersQueryOrderOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
List_shipping_addressesParametersQueryOrderTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
List_shipping_addressesParametersQueryOrderEnumAsc | Represents the JSON value |
List_shipping_addressesParametersQueryOrderEnumDesc | Represents the JSON value |
data List_shipping_addressesParametersQuerySort Source #
Defines the enum schema located at paths./accounts/{account_id}/shipping_addresses.GET.parameters.properties.querySort
in the specification.
Represents the parameter named 'sort'
Sort field. You *really* only want to sort by `updated_at` in ascending order. In descending order updated records will move behind the cursor and could prevent some records from being returned.
List_shipping_addressesParametersQuerySortOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
List_shipping_addressesParametersQuerySortTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
List_shipping_addressesParametersQuerySortEnumCreated_at | Represents the JSON value |
List_shipping_addressesParametersQuerySortEnumUpdated_at | Represents the JSON value |
data List_shipping_addressesResponse Source #
Represents a response of the operation list_shipping_addresses
.
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), List_shipping_addressesResponseError
is used.
List_shipping_addressesResponseError String | Means either no matching case available or a parse error |
List_shipping_addressesResponse200 ShippingAddressList | A list of an account's shipping addresses. |
List_shipping_addressesResponse404 Error | Incorrect site or account ID. |
List_shipping_addressesResponseDefault Error | Unexpected error. |
list_shipping_addressesWithConfiguration Source #
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> List_shipping_addressesParameters | Contains all available parameters of this operation (query and path parameters) |
-> m (Response List_shipping_addressesResponse) | Monadic computation which returns the result of the operation |
GET /accounts/{account_id}/shipping_addresses
The same as list_shipping_addresses
but accepts an explicit configuration.
list_shipping_addressesRaw Source #
:: forall m. MonadHTTP m | |
=> List_shipping_addressesParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT m (Response ByteString) | Monadic computation which returns the result of the operation |
GET /accounts/{account_id}/shipping_addresses
The same as list_shipping_addresses
but returns the raw ByteString
.
list_shipping_addressesWithConfigurationRaw Source #
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> List_shipping_addressesParameters | Contains all available parameters of this operation (query and path parameters) |
-> m (Response ByteString) | Monadic computation which returns the result of the operation |
GET /accounts/{account_id}/shipping_addresses
The same as list_shipping_addresses
but accepts an explicit configuration and returns the raw ByteString
.