[Resuelto] Woocommerce Order Management Integration via REST API
This support ticket is created hace 6 años. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.
We need to integrate a client WP/WooCommerce website with their order management system via a REST API.
The desired functionality is:
After a successful order, we need to sent order (product, date, SKU, custom fields and order notes) and buyer information (name, shipping and billing addresses, etc.) to the order management system via predefined REST endpoint.
This api call will provision a subscription account in the order management system and alert the order management team to configure the purchased subscription and deliver system access credential(s) to the buyer. Does Toolset provides capabilities to facilitate this kind of system integration?
Thanks!
Is there any documentation that you are following?
We are attempting to accomplish what is described here: enlace oculto
Is there a similar example that we can see?
Not yet.
What is the link to your site?
The Toolset and other required capabilities will be added to this site: enlace oculto
Toolset doesn't provide any particular integration with the REST API, beyond the basic option when registering a post type as to whether to expose it to the REST API. So you would be able to retrieve such posts (and their post meta) when using standard WordPress REST API endpoints, but that's it.
But from your description it sounds like this is really a question of WooCommerce support for the REST API, which I believe is fairly extensive, and so you may be able to build what you describe above, but it wouldn't involve Toolset as such.
Thank you Nigel. Yes, this is about hooking into the woocommerce order flow and triggering a call to ant EXTERNAL REST endpoint upon successful e-commerce transaction. I wondered if a Toolset Woocommerce view might enable this operation. Thanks for clarifying that it does not.