REST API or WC_Order::update_status() action to update order status with given conditions

My store is built on WooCommerce with WP-Lister for eBay Pro ([url removed, login to view]) and WP-Lister for Amazon Pro ([url removed, login to view]) plugins. At the time of completing the orders they have no shipping information – it is bulk imported to WooCommerce later, therefore I need both plugins resubmit order details to eBay and Amazon.

The task is to write a function/action which will use REST API or WC_Order::update_status() to re-update orders’ status to Completed. Conditions:

- Only orders made on eBay or Amazon with provided tracking number will be updated (either tracking_number or wpla_tracking_number custom fields for the order have value)

- update orders for which status change from Processing/On hold/Pending payment to Completed occurred today().

Action will be executed from server’s Cron one time daily and I would like also to have a possibility of manual execution for given date, i.e. by entering:

https://mywebsite/wp-admin/[url removed, login to view]?2018-03-03

action will be executed for all orders completed on 2018-03-03 for which one of the fields: tracking_number or wpla_tracking_number is not empty.

Kemahiran: PHP, WooCommerce

Lihat lagi: linnworks update order shipping status prestashop, myspace update status api, myspace php api update status, update_status woocommerce, woocommerce update order status, $order->update_status, woocommerce order update_status, woocommerce mysql update order status, woocommerce orders page, woocommerce cancel order email, woocommerce order status, connect twitter api update status javascript, api interactiv brokers limit order, api facebook update status, order number order cookie php, virtuemart thank order success order successfully placed, vbulletin rest api, heywatch rest api developers, list twitter followers rest api, heywatch rest api php examples

Tentang Majikan:
( 1 ulasan ) Blackpool, Poland

ID Projek: #16414798

Dianugerahkan kepada:


Hello, I would like to build your function for handling order status. Let's discuss more details. Thank you!

£55 GBP dalam sehari
(57 Ulasan)

4 pekerja bebas membida secara purata £29 untuk pekerjaan ini


hi sir,i am professional developer.i have 3 years experience.i see your description and i will do your work properly i will do migration 1 website to another website.i will help you your move to desk articles section.i Lagi

£23 GBP dalam sehari
(0 Ulasan)

Yes ,i'm ready to do your works.I do the job very carefully..I'll try until you [login to view URL] can trust me.I have 5 years of experience in this [login to view URL] you want to know more information, please contact me inbox. I will tell Lagi

£18 GBP dalam sehari
(0 Ulasan)
£18 GBP dalam sehari
(0 Ulasan)