Closed usmansafdaru107 closed 3 years ago
hello @usmansafdaru107 , can you test again with the latest package 5.1.2? https://packagist.org/packages/aftership/aftership-php-sdk#5.1.2
I will close this ticket at the moment since version 5.1.2 should fix this issue, please reopen the ticket if needed
Delete Tracking "tracking_postal_code" is required for some couriers but is not entertained in this API if I am not wrong!
I solved my problem using this code
public function delete($slug, $trackingNumber, $code = null) { if (empty($slug)) { throw new AfterShipException('Slug cannot be empty'); }