Title: Programatically Adding Tracking Number into the order?
Last modified: March 7, 2024

---

# Programatically Adding Tracking Number into the order?

 *  [Differ](https://wordpress.org/support/users/differ776734/)
 * (@differ776734)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/programatically-adding-tracking-number-into-the-order/)
 * I need to insert the tracking number programmatically ( when I receive it from
   the shipping provider )
 * I can do it using Aftership API, but is there any easy approach using the existing
   code of the plugin?
 * I think something from this file can help
   [https://github.com/AfterShip/aftership-apps-woocommerce/blob/master/includes/class-aftership-actions.php](https://github.com/AfterShip/aftership-apps-woocommerce/blob/master/includes/class-aftership-actions.php)
 * any help appreciated

The topic ‘Programatically Adding Tracking Number into the order?’ is closed to 
new replies.

 * ![](https://ps.w.org/aftership-woocommerce-tracking/assets/icon-256x256.png?rev
   =2856422)
 * [AfterShip Tracking - All-In-One WooCommerce Order Tracking (Free plan available)](https://wordpress.org/plugins/aftership-woocommerce-tracking/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/aftership-woocommerce-tracking/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/aftership-woocommerce-tracking/)
 * [Active Topics](https://wordpress.org/support/plugin/aftership-woocommerce-tracking/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/aftership-woocommerce-tracking/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/aftership-woocommerce-tracking/reviews/)

## Tags

 * [aftership](https://wordpress.org/support/topic-tag/aftership/)
 * [api](https://wordpress.org/support/topic-tag/api/)
 * [tracking](https://wordpress.org/support/topic-tag/tracking/)

 * 0 replies
 * 1 participant
 * Last reply from: [Differ](https://wordpress.org/support/users/differ776734/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/programatically-adding-tracking-number-into-the-order/)
 * Status: not resolved