Webhooks
Send the order details your business needs to the systems your team already uses. ShopMagic’s WooCommerce webhooks integration lets you build a connection around your own process, so your team can spend less time entering the same information twice.
Webhooks
Works with ShopMagic
Move order details into your team’s workflow
Your internal tools may need a different set of details from the ones a standard connection provides. Build the transfer around the way your team handles orders, records purchases, or prepares its own reports.
-
Pass details to an internal system
Send selected details from new orders to your prepared internal system. Give colleagues the information their next task needs, without asking someone to enter the same details in both places.
-
Support your own reporting process
Send the order details your own reporting process needs to a tool prepared to receive them. Keep your team’s chosen view of the data useful, without collecting each purchase’s details by hand.
From an order event to your receiving system
Choose a WooCommerce event and add Call Webhook in ShopMagic. It sends an HTTP POST request with a JSON body to your endpoint, the address your receiving system is configured to accept data at. That system handles what happens next.
-
1. Choose the starting event
Select New Order in ShopMagic to send details when an order is created. Agree with the receiving system’s developer which fields it expects and how it should use them before preparing the request.
-
2. Prepare the outgoing data
Add Call Webhook, enter the receiving URL, and prepare the JSON body. Use available ShopMagic placeholders to supply values from the order, matching the field names and format your receiver expects.
-
3. Check the receiving side
Create a test order and inspect the data at the receiving system. Check the values it accepted and the result of its own processing, so you verify the connection beyond the ShopMagic action running.
Example workflow
New Order → Call Webhook → Configured receiving system
Internal order intake
{
"order_id": "{{ order.id }}",
"status": "{{ order.status }}"
}Order ID: 1042
Status: pending
Shape the outgoing connection around your process
ShopMagic supplies the starting event and the data available in that automation. You configure the destination and request body. The receiving system determines how those details become a record, report, or next step in your process.
-
Choose when to send the data
Tie the outgoing request to the ShopMagic event that suits your workflow. For example, use New Order to pass details from a newly created purchase to the receiving system you have prepared.
-
Choose the details to include
Build the request body with the details your receiver needs. Use placeholders available for the selected event, such as the order ID and status, and check the resolved values for a test order.
-
Use more than one destination
Add several Call Webhook actions to one automation when different systems need the data. Configure each action with its own receiving URL and body, then check the result at each destination.
What you’ll need
-
ShopMagic with Webhooks active
Install and activate ShopMagic and the ShopMagic Webhooks plugin on your WooCommerce store. Check that Call Webhook is available in the automation editor before preparing your outgoing connection.
-
A configured receiving system
Prepare an endpoint that accepts HTTP POST requests with JSON data. Your developer may need to configure the receiving system, since entering its address alone does not create a working connection.
-
An agreed format and access
Check the receiver’s field names, data format, and authentication requirements with the person building the connection. Confirm that the ShopMagic request meets them and test with data you control.
Set Up Webhooks
Enable Webhooks in ShopMagic and prepare the receiving system for your chosen data. Follow the guide to configure Call Webhook, then verify the request and the result at your receiver.