Support » Plugin: WooCommerce » Migration, API and webhooks

  • Resolved T4ng


    Hi there,

    We develop and test our WordPress in multiple environments, among which a staging environment.

    Our whole WordPress is under git, even plugins, and the deployment is automated, so that testing can be accurate.

    The staging environment allows us to validate things before pushing changes live. But also to test third party platforms, with which our WordPress, and especially WooCommerce works (ex: automation tools).

    To keep our testings reliable, and test with up to date content, we also built a CLI based script which picks the live environment database, cleans its non-needed data (orders, customers, …), enable/disables plugins, then deploys it to our test environment.

    This is very convenient. But there’s one drawback: migrating the database also comes with the live API and webhooks accesses.

    Is there a way to export/import API and webhooks?


Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support xue28 (woo-hc)


    Hi @schwipps

    Thanks for reaching out!

    Is there a way to export/import API and webhooks?

    I understand that you want to migrate the staging site to the live environment and would like to export/import API and webhooks.

    I haven’t found any specific solution to your needs, but you may want to take a look at these plugins which are both powerful migration tools for your reference:

    Duplicator – WordPress Migration Plugin
    WP Migrate Lite – WordPress Migration Made Easy

    Hope this helps!

    Thread Starter T4ng


    Hi @xue28,
    Thanks for your reply.
    I think we misunderstood each other.
    I migrate the live database TO the test environment, so that the content is up to date for testing. Not the other way around.
    The plugins you point help moving a whole environment, but won’t do anything regarding API and webhooks.
    What I’m looking for, is a way to kinda save/move aside API and webhooks data, then set them back on the staging environment, once it’s been updated.
    So that I can reconnect that staging environment with the third party tools, the same way these connections were set before the update process.

    Plugin Support Chris Moreira – a11n


    I would suggest checking this documentation, also we highly recommend contacting one of the services on our Customizations page.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.