• Resolved marc3515

    (@marc3515)


    Is there a way orders be marked complete when a tracking number is added via Rest API? Tracking is showing up from CJ and just need it to be marked complete, at the time the tracking number is added from CJ using Rest API. The checkbox “Set the “mark as shipped” option checked when adding tracking info to orders”, but I think this only happens when tracking is added manually or by CSV. Thx.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Zorem

    (@zorem)

    Hi @marc3515,

    Yes, you can mark orders as completed when a tracking number is added via Rest API.
    You need to add a parameter “status_shipped” 1 in the Rest API to mark order as completed.
    For more information check this documentation.

    Thanks,

    Plugin Author Zorem

    (@zorem)

    do you use the built in WooCommerce – CJDropshipping integration? do they have the option when you set it up to change the order status to completed?

    Thread Starter marc3515

    (@marc3515)

    The only thing I did to connect CJ and WC is add Rest API for Read/Write access. Nothing else.

    I sent message to CJ and they pointed me to their API, but looking at the documentation, it is not very clear in which or where to modify Rest API files on server to pass the complete status at the time tracking is added.

    I am insanely familiar with WP/Woocommerce, but have never needed to modify Rest API files before, so I am at a loss, regarding which file and the endpoints related to this.

    Plugin Author Zorem

    (@zorem)

    Hi, when they update WooCommerce API, they can use our Shipment tracking API endpoint to add the tracking information to the order. We provide the option to change the order status to Completed (Shipped) on the same API call. We will also contact them to check if they can add this option to their integration.

    Thread Starter marc3515

    (@marc3515)

    Tanks for the quick response, so I just need to wait? Is there anything I can do to rig, this to happen until they update API? 🙂

    Plugin Author Zorem

    (@zorem)

    I sent them an email just now, I am not familiar with their integration with WooCommerce and I will sure to update you once they get back to us.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Close/Mark Shipped Automatically’ is closed to new replies.