Integrations link reference field to external order

For sales synced to Dear through an integration it is common to copy the reference field contents from the sales order then go look that up in the integrated service. It would be useful if a URL pattern could be specified in each integration to create links to the integrated system.


For example, we sync from WooCommerce and the order number ends up in the reference field. I'd like to click that and be taken to that order in WooCommerce.


Viewing or editing an order in WooCommerce has a default URL something like this:

https://example.com/wp-admin/post.php?post=123456&action=edit


The integration settings could allow specifying a URL pattern for such links with a placeholder for where the reference field goes. So I might specify something like this for my example:

https://example.com/wp-admin/post.php?post={reference}&action=edit


This would be flexible enough to handle many integrations without Dear needed to know how to link to them.

Login or Signup to post a comment