# Magento2\AmazonPaymentAddressManagementV1Api

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

Method | HTTP request | Description
------------- | ------------- | -------------
[**amazonPaymentAddressManagementV1GetBillingAddressPut()**](AmazonPaymentAddressManagementV1Api.md#amazonPaymentAddressManagementV1GetBillingAddressPut) | **PUT** /V1/amazon-billing-address/{amazonOrderReferenceId} | 
[**amazonPaymentAddressManagementV1GetShippingAddressPut()**](AmazonPaymentAddressManagementV1Api.md#amazonPaymentAddressManagementV1GetShippingAddressPut) | **PUT** /V1/amazon-shipping-address/{amazonOrderReferenceId} | 


## `amazonPaymentAddressManagementV1GetBillingAddressPut()`

```php
amazonPaymentAddressManagementV1GetBillingAddressPut($amazon_order_reference_id, $amazon_payment_address_management_v1_get_billing_address_put_body): string
```



### Example

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



$apiInstance = new Magento2\Api\AmazonPaymentAddressManagementV1Api(
    // 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()
);
$amazon_order_reference_id = 'amazon_order_reference_id_example'; // string
$amazon_payment_address_management_v1_get_billing_address_put_body = new \Magento2\Model\AmazonPaymentAddressManagementV1GetShippingAddressPutRequest(); // \Magento2\Model\AmazonPaymentAddressManagementV1GetShippingAddressPutRequest

try {
    $result = $apiInstance->amazonPaymentAddressManagementV1GetBillingAddressPut($amazon_order_reference_id, $amazon_payment_address_management_v1_get_billing_address_put_body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AmazonPaymentAddressManagementV1Api->amazonPaymentAddressManagementV1GetBillingAddressPut: ', $e->getMessage(), PHP_EOL;
}
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **amazon_order_reference_id** | **string**|  |
 **amazon_payment_address_management_v1_get_billing_address_put_body** | [**\Magento2\Model\AmazonPaymentAddressManagementV1GetShippingAddressPutRequest**](../Model/AmazonPaymentAddressManagementV1GetShippingAddressPutRequest.md)|  | [optional]

### Return type

**string**

### 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)

## `amazonPaymentAddressManagementV1GetShippingAddressPut()`

```php
amazonPaymentAddressManagementV1GetShippingAddressPut($amazon_order_reference_id, $amazon_payment_address_management_v1_get_shipping_address_put_body): string
```



### Example

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



$apiInstance = new Magento2\Api\AmazonPaymentAddressManagementV1Api(
    // 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()
);
$amazon_order_reference_id = 'amazon_order_reference_id_example'; // string
$amazon_payment_address_management_v1_get_shipping_address_put_body = new \Magento2\Model\AmazonPaymentAddressManagementV1GetShippingAddressPutRequest(); // \Magento2\Model\AmazonPaymentAddressManagementV1GetShippingAddressPutRequest

try {
    $result = $apiInstance->amazonPaymentAddressManagementV1GetShippingAddressPut($amazon_order_reference_id, $amazon_payment_address_management_v1_get_shipping_address_put_body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AmazonPaymentAddressManagementV1Api->amazonPaymentAddressManagementV1GetShippingAddressPut: ', $e->getMessage(), PHP_EOL;
}
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **amazon_order_reference_id** | **string**|  |
 **amazon_payment_address_management_v1_get_shipping_address_put_body** | [**\Magento2\Model\AmazonPaymentAddressManagementV1GetShippingAddressPutRequest**](../Model/AmazonPaymentAddressManagementV1GetShippingAddressPutRequest.md)|  | [optional]

### Return type

**string**

### 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)
