For the complete documentation index, see llms.txt. This page is also available as Markdown.

Webhooks

Note: This page provides technical guidance on configuring and receiving webhook notifications from merchOne. For instructions on setting up your merchOne account, managing stores, and using the merchOne application, please visit the merchOne Knowledge Base. To explore merchOne’s available products and services, please visit merchOne.com.

Introduction

Webhooks allow your application to receive real-time notifications about events in your merchOne orders. When specific events occur (order cancellation, shipment, tracking updates, etc.), merchOne sends a POST request to your configured webhook URL with event details in JSON format.

Configuration

1

Log in and open dashboard

Log in to your merchOne account and navigate to the dashboard.

2

Open Stores settings

Navigate to the Stores page and access the Settings for the specific store where you wish to add a webhook.

3

Find the Webhook section

Scroll to the Webhook section.

4

Add your webhook URL

Add your webhook URL to the Webhook URL field.

5

Save

Click Save.

Webhook Delivery

Request Format

  • Method: POST

  • Content-Type: application/json

  • Timeout: 60 seconds

Retry Policy

If your webhook endpoint fails to respond with a 2xx status code, merchOne will automatically retry the delivery:

Attempt
Wait Time

1st retry

1 minute

2nd retry

5 minutes

3rd retry

10 minutes

4th retry

20 minutes

5th retry

30 minutes

If your endpoint accumulates 10 or more failed webhook deliveries in a single day, you will receive a notification email.

Expected Response

Your endpoint should return a 200 OK (or any 2xx) status code to acknowledge receipt. The response body is ignored.

Webhook Events

merchOne supports the following webhook event types:

Event Type
Description

shipment_sent

Triggered when an order shipment is dispatched

shipment_tracking_event

Triggered when a tracking status update is received

order_canceled

Triggered when an order is canceled

order_failed

Triggered when an order encounters an error

order_commented

Triggered when a comment is added to an order

Event-Specific Data Fields

Each webhook event includes the full order object plus event-specific data:

Event Type
Extra Fields
Description

shipment_sent

shipment

Shipment details with tracking info and items

shipment_tracking_event

event

Tracking status, location, details, and date

order_canceled

author

Who canceled the order (API, System, or user name)

order_failed

reason

Error message describing why the order failed

order_commented

comment

The comment text added to the order

Event Payloads

Shipment Sent (shipment_sent)

Triggered when an order shipment is dispatched from the fulfillment center.

Shipment Tracking Event (shipment_tracking_event)

Triggered when a tracking status update is received for a shipment.

Possible tracking statuses:

  • in_transit - Package is on the way

  • out_for_delivery - Package is out for delivery

  • delivered - Package has been delivered

  • exception - Delivery exception occurred

  • returned - Package returned to sender

Order Canceled (order_canceled)

Triggered when an order is canceled.

Possible author values:

  • "via API" - Canceled via API request

  • "by System (Automatic)" - Automatically canceled by the system

  • "by John Doe" - Canceled by a user

  • "by our administrator, John Doe" - Canceled by an admin

Order Failed (order_failed)

Triggered when an order encounters an error during processing.

Order Commented (order_commented)

Triggered when a comment is added to an order by merchOne staff.

Troubleshooting

Not receiving webhooks?

1

Verify webhook URL

Verify your webhook URL is correctly configured in Store Settings.

2

Check endpoint accessibility

Ensure your endpoint is publicly accessible (not behind a firewall).

3

Return correct status

Check that your endpoint returns a 200 OK response.

4

Verify SSL

Verify your SSL certificate is valid (HTTPS required).

Last updated