Mark orders as shipped
Last updated: 25-Sep-2019
Use markShipped to programmatically confirm the delivery of an order with physical products.
You can confirm the shipment only for orders with tangible products. You cannot mark as shipped orders that are no longer authorized (have been reversed).
Parameters | Type/Description |
---|---|
RefNo | String / Required |
The system-generated order reference. | |
TrackingNumber | String / Optional |
Tracking number that customers can use for checking the delivery of their products. | |
Comment | String / Optional |
Additional information displayed in the delivery confirmation email sent to end-users. | |
StopCustomerNotification | Boolean / Optional |
Possible values:
|
require('PATH_TO_AUTH');
$RefNo = "789527422";
$TrackingNumber = '921840912';
$StopCustomerNotification = 1;
$Comment = "We send this note to confirm the shipment of your products.";
try {
$markOrderAsShipped = $client->markShipped($sessionID, $RefNo, $TrackingNumber, $StopCustomerNotification, $Comment);
}
catch (SoapFault $e) {
echo "OrderShipped: " . $e->getMessage();
exit;
}
var_dump("OrderShipped", $markOrderAsShipped);
boolean
Do you have a question? If you didn’t find the answer you are looking for in our documentation, you can contact our Support teams for more information. If you have a technical issue or question, please contact us. We are happy to help.
We’ll help you choose the right payment solution for your business, wherever you want to sell, in-person or online. Our team of experts will happily discuss your needs.