List of standard webhook topics
Topic | Displayed Name | Description | Ordered | Message structure |
|---|---|---|---|---|
| Buffer Import Completed | Notifies when an async buffer import is completed |
import_id: string
status: string | |
| Buffer Import Error Occurred | Notifies when a synchronous buffer import fails |
|
import_id?: string
errors: []
entity_id?: string
message: string
date: int64 |
| Asynchronous Buffer Import Error Occurred | Notifies when an asynchronous buffer import fails |
import_id?: string
errors: []
entity_id?: string
message: string
date: int64 | |
| Customer Import Completed | Notifies when an async customer import is completed |
import_id: string
status: string | |
| Customer Import Error Occurred | Notifies when a synchronous customer import method fails |
import_id?: string
errors: []
entity_id?: string
message: string
date: int64 | |
| Asynchronous Customer Import Error Occurred | Notifies when a asynchronous customer import fails |
import_id?: string
errors: []
entity_id?: string
message: string
date: int64 | |
| Transfer Import Completed | Notifies when an async transfer import is completed |
import_id: string
status: string | |
| Transfer Import Error Occurred | Notifies when a synchronous transfer import fails |
error: string
invalid_transfers: string
request_body: string
date: int64 | |
| Asynchronous Transfer Import Error Occurred | Notifies when an asynchronous transfer import fails |
import_id?: string
errors: []
entity_id?: string
message: string
date: int64 | |
| Stock Import Completed | Notifies when an async stock import is completed |
import_id: string
status: string | |
| Stock Import Error Occurred | Notifies when a synchronous stock import fails |
error: string
error_content: string
import_id: string
request_body: string
date: int64 | |
| Asynchronous Stock Import Error Occurred | Notifies when an asynchronous stock import fails
|
import_id?: string
errors: []
message: string
date: int64 | |
| Line Item Group State Change | Notifies of a state change for line item groups |
|
{
"order_id": "string",
"date": int64,
"old_state": "returning",
"new_state": "returned",
"order_item_id": "string",
"index_ranges": [
{
"start": int64,
"end": int64
}
],
"quantity": int64
} |
| Bundle State Change | Notifies of a state change for bundles |
{
"order_id": "string",
"date": int64,
"old_state": "returning",
"new_state": "returned",
"order_item_id": "string",
"index_ranges": [
{
"start": int64,
"end": int64
}
],
"quantity": int64
} | |
| Order State Change | Notifies of a state change for orders |
|
order_id: string
date: int64
old_state: string
new_state: string
|
| Parcel State Change | Notifies of a state change for parcels |
|
order_id: string
date: int64
old_state: string
new_state: string
parcel_id: string
|
| Entity Update | Notifies of OMS entities information changes (parcels, line item groups and orders) POP (endpoint_orders, containers, piece_groups) and RM (return_parcels, and return_line_item_groups) |
|
site_id: string
entity_id: string
entity_type: string
date: int64
diff: map[string]anyExample of diff content : {
"customer.information.fidelity_card": {
"old": "1864511344",
"new": "1946396581"
}
} |
| Orchestration Rules Changed |
Allows triggering of preparation order on time. When there is an orchestration rule change with a warehouse custom claim action triggered, line item groups are retrieved and a preparation order is sent to the warehouse. |
order_id: string
ruleset_id: string
from: string
to: string
custom_actions: []
action: string
rule_index: string
line_item_index_ranges: indexRange
rules_over: string
| |
| Candidates Added | Notifies that an endpoint is candidate for an order. |
site_id: string
order_id: string
endpoint_ids: []string
| |
| Candidates Removed | Notifies when an endpoint is no longer candidate for an order. |
site_id: string
order_id: string
endpoint_ids: []string
| |
| Rules Over | Notifies of a rules over transition for an order. |
site_id: string
order_id: string
ruleset_id: string
line_item_index_ranges: IndexRanges
site_id: string
order_id: string
ruleset_id: string | |
| Back From Rules Over | Notifies back from rules over |
site_id: string
order_id: string
ruleset_id: string | |
| Item Import Completed | Notifies of a completed item import |
import_id: string
status: string | |
| Item Import Error Occurred | Notifies when a synchronous item import using API POST /items or a PATCH /items method fails |
import_id?: string
errors: []
entity_id?: string
message: string
date: int64 | |
| Asynchronous Item Import Error Occurred | Notifies when an asynchronous item import fails |
import_id?: string
errors: []
entity_id?: string
message: string
date: int64 | |
| Payment Error | Notifies of errors during payment treatment |
psp: string
request_route: string
request_body: string
response_body: string | |
| Order Preparation Entity Change | Notifies of order preparation entity state changes (creation, update, removal) |
|
entity_id string
entity_type string
site_id string
date string
old_state string
new_state string |
| Return Parcel Creation | Notifies of the creation of a return parcel |
| |
|
| Notifies of a state change for a return_parcel
In case of return_parcel creation, |
|
{
"date": int64,
"old_state": "returning",
"new_state": "returned,
"order_id": string,
"return_parcel_id": string
} |
|
| Notifies of a state change for a return_line_item_group |
|
{
"date": int64,
"old_state": "returning",
"new_state": "returned",
"order_id": "string",
"return_parcel_id": "string",
"index_ranges": [
{
"start": int64,
"end": int64
}
],
"quantity": int64
} |
| Line Items Reservations Update | Notifies of a reservation update on a line item group (global reservation to endpoint reservation, future stock to on hand, endpoint reservation removal) |
|
added_reservations: []
id: string
order_id: string
sales_channel: string
global: string
line_item_index_ranges: index_ranges
quantity: int64
item_id: string
endpoint_id: string
eta_start: int64
eta_end: int64
stock_type: string
purchase_order_number: string
remaining_line_item_index_ranges: index_ranges
removed_reservations: []
id: string
order_id: string
sales_channel: string
global: string
line_item_index_ranges: index_ranges
quantity: int64
item_id: string
endpoint_id: string
eta_start: int64
eta_end: int64
stock_type: string
purchase_order_number: string
remaining_line_item_index_ranges: index_ranges
|
| Stock Coverage Import Completed | Notifies of a completed stock coverage import |
import_id: string
status: string | |
| Stock Coverage Import Error Occurred | Notifies when a synchronous stock coverage import fails |
import_id?: string
errors: []
entity_id?: string
message: string
date: int64 | |
| Asynchronous Stock Coverage Import Error Occurred | Notifies when an asynchronous stock coverage import fails |
import_id?: string
errors: []
entity_id?: string
message: string
date: int64 | |
| Stock Disposition Import Completed | Notifies of a completed stock disposition import |
import_id: string
status: string | |
| Stock Disposition Import Error Occurred | Notifies when a synchronous stock disposition import fails |
import_id?: string
errors: []
entity_id?: string
message: string
date: int64 | |
| Asynchronous Stock Disposition Import Error Occurred | Notifies when an asynchronous stock disposition import fails |
import_id?: string
errors: []
entity_id?: string
message: string
date: int64 | |
| Endpoint Import Completed | Notifies of a completed stock import |
import_id: string
status: string | |
| Endpoint Import Error Occurred | Notifies when a synchronous endpoint import fails |
import_id?: string
errors: []
entity_id?: string
message: string
date: int64 | |
| Asynchronous Endpoint Import Error Occurred | Notifies when an asynchronous endpoint import fails |
import_id?: string
errors: []
entity_id?: string
message: string
date: int64 | |
| User Import Completed | Notifies of a completed user import |
import_id: string
status: string | |
| User Import Error Occurred | Notifies when a synchronous user import fails |
import_id?: string
errors: []
entity_id?: string
message: string
date: int64 | |
| Asynchronous User Import Error Occurred | Notifies when an asynchronous user import fails |
import_id?: string
errors: []
entity_id?: string
message: string
date: int64 | |
| Carrier Error | Relays of errors during carrier communication |
carrier: string
request_route: string
request_body: string
response_body: string | |
|
| Notifies of the creation of a tracking link associated to a parcel (return parcel tracking link creation is not notified on this topic) |
carrier: string
tracking_link: string | |
|
| Notifies of the creation of a shipment associated to a parcel (return parcel shipment creation is not notified on this topic) |
carrier: string
endpoint_id: string
order_id: string
parcel_id: string
shipment_id: string
user_id: string | |
| Stock Export Completed | Notifies the completion of a stock export by file (SFTP) File name and other information regarding the import can be retrieved through a GET /file_jobs/:file_job_id
{
"site_id" : "your_site_id",
"token" : "your_token",
"fields" : [
"id",
"name",
"tmp_file_id",
"type",
"is_output",
"translator_id",
"usr_id",
"site_id",
"error",
"nb_line_written",
"nb_line_tried",
"nb_line_to_write",
"nb_line_errors",
"created_at",
"started_write_at",
"finished_at",
"sftp_name"
]
} | export_id string
file_job_id string
exported_lines_count int64 | |
| Order Expiration Reached | Notifies when an order expiration date is reached The notification is created using the |
object_id: string
object_type: string
order_id: string
expiration_name: string | |