Skip to main content

Order Restored Webhook

POST 

/api/webhooks/wc-webhook/:id/order.restored

Inbound webhook endpoint called by WooCommerce when a trashed order is restored.

SKU.io clears the flag order.deleted set on the linked sales order (removes the tag, adds a note, resolves the alert), then applies the order payload as an update.

Route name: woocommerce.order_restored

If the numeric instance id in this URL is registered by more than one SKU.io account, the delivery is refused with 409 ("This webhook target is registered by more than one tenant; reconnect the integration to get its own webhook URL.") instead of being delivered to one of them.

Request​

Responses​

Successful response