# Magento2\QuoteShipmentEstimationV1Api

All URIs are relative to https://magento2.talisman-innovations.com/rest/default.

Method | HTTP request | Description
------------- | ------------- | -------------
[**quoteShipmentEstimationV1EstimateByExtendedAddressPost()**](QuoteShipmentEstimationV1Api.md#quoteShipmentEstimationV1EstimateByExtendedAddressPost) | **POST** /V1/carts/{cartId}/estimate-shipping-methods | 
[**quoteShipmentEstimationV1EstimateByExtendedAddressPost_0()**](QuoteShipmentEstimationV1Api.md#quoteShipmentEstimationV1EstimateByExtendedAddressPost_0) | **POST** /V1/carts/mine/estimate-shipping-methods | 


## `quoteShipmentEstimationV1EstimateByExtendedAddressPost()`

```php
quoteShipmentEstimationV1EstimateByExtendedAddressPost($cart_id, $quote_shipment_estimation_v1_estimate_by_extended_address_post_body): \Magento2\Model\QuoteDataShippingMethodInterface[]
```



Estimate shipping by address and return list of available shipping methods

### Example

```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new Magento2\Api\QuoteShipmentEstimationV1Api(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client()
);
$cart_id = 'cart_id_example'; // string
$quote_shipment_estimation_v1_estimate_by_extended_address_post_body = new \Magento2\Model\QuoteShipmentEstimationV1EstimateByExtendedAddressPostRequest(); // \Magento2\Model\QuoteShipmentEstimationV1EstimateByExtendedAddressPostRequest

try {
    $result = $apiInstance->quoteShipmentEstimationV1EstimateByExtendedAddressPost($cart_id, $quote_shipment_estimation_v1_estimate_by_extended_address_post_body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling QuoteShipmentEstimationV1Api->quoteShipmentEstimationV1EstimateByExtendedAddressPost: ', $e->getMessage(), PHP_EOL;
}
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **cart_id** | **string**|  |
 **quote_shipment_estimation_v1_estimate_by_extended_address_post_body** | [**\Magento2\Model\QuoteShipmentEstimationV1EstimateByExtendedAddressPostRequest**](../Model/QuoteShipmentEstimationV1EstimateByExtendedAddressPostRequest.md)|  | [optional]

### Return type

[**\Magento2\Model\QuoteDataShippingMethodInterface[]**](../Model/QuoteDataShippingMethodInterface.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: `*/*`

[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)

## `quoteShipmentEstimationV1EstimateByExtendedAddressPost_0()`

```php
quoteShipmentEstimationV1EstimateByExtendedAddressPost_0($quote_shipment_estimation_v1_estimate_by_extended_address_post_body): \Magento2\Model\QuoteDataShippingMethodInterface[]
```



Estimate shipping by address and return list of available shipping methods

### Example

```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new Magento2\Api\QuoteShipmentEstimationV1Api(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client()
);
$quote_shipment_estimation_v1_estimate_by_extended_address_post_body = new \Magento2\Model\QuoteShipmentEstimationV1EstimateByExtendedAddressPostRequest(); // \Magento2\Model\QuoteShipmentEstimationV1EstimateByExtendedAddressPostRequest

try {
    $result = $apiInstance->quoteShipmentEstimationV1EstimateByExtendedAddressPost_0($quote_shipment_estimation_v1_estimate_by_extended_address_post_body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling QuoteShipmentEstimationV1Api->quoteShipmentEstimationV1EstimateByExtendedAddressPost_0: ', $e->getMessage(), PHP_EOL;
}
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **quote_shipment_estimation_v1_estimate_by_extended_address_post_body** | [**\Magento2\Model\QuoteShipmentEstimationV1EstimateByExtendedAddressPostRequest**](../Model/QuoteShipmentEstimationV1EstimateByExtendedAddressPostRequest.md)|  | [optional]

### Return type

[**\Magento2\Model\QuoteDataShippingMethodInterface[]**](../Model/QuoteDataShippingMethodInterface.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: `*/*`

[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to Model list]](../../README.md#models)
[[Back to README]](../../README.md)
