following is my code
$client = new SoapClient('My api url');
$session = $client->login('username', '*********');
$result = $client->customerAddressInfo($session, $address_id);
Following is the error
Uncaught SoapFault exception: [102] Address not exists.
Can anyone explain where am i going wrong.
Best Answer
To get order shipment detail via API use below code:
Above code will return you order details array including billing, shipping, items, etc.
To get order shipping address user
$result['shipping_address']
.Hope this will help you.
Note: Please change
API URL
,Login Detail
, andOrder #
with your detail.