Search
×
Log in or create an account
If you have an account with us, please log in.

You have no items in your shopping cart.

Frequently Asked Questions

How can we help you?

banner image

How can I get delivery data by API?

See more details on Delivery Date page
User Guide

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
User Guide
Rate the answer?

Total rating: 3.7

If you didn’t find the answer on your question, please, ask here:

Back to top