Login or create an account
If you have an account with us, please log in.

You have no items in your shopping cart.

How can I get delivery data by API?

To get delivery data by API, please use the following examples:

SOAP v1 example code:

$client = new SoapClient('http://example.com/api/soap/?wsdl');
$session = $client->login('amasty', 'password');
$orderIncrementId = '145000015';
$result = $client->call($session, 'amasty_deliverydate.getDeliverydate', $orderIncrementId);


SOAP v2 example code:

$client = new SoapClient('http://example.com/api/v2_soap/?wsdl');
$sessionId = $client->login('amasty', 'password');
$orderIncrementId = '145000015';
$result = $client->amastyDeliverydateGetDeliverydate($sessionId, $orderIncrementId);
See more details on Delivery Date page
Rate the answer?
Back to top