entityID value, such as GET Shipment, GET Order, or GET Return.
Example 1: Return Event
Return event notifications are triggered whenever a return moves through steps in the return process: authorized, opened, cancelled, closed, rejected, or updated. This sample displays a Return Opened case which is indicated by the topic field.Example 2: Product Event
In this example, a product was created. Similarly to the return notification example above, you can identify that it was a creation event by the topic. If the product was updated instead, then the topic would beproduct.updated.
Example 3: Order Events
When an order is updated, a notification is triggered to mark the event.Example 4: Shipment Status Event
Shipment status notifications are triggered whenever a shipment moves into a new status. Note that individual notifications are sent for each shipment on an order, all with the sameorderID. All shipment events include additional metadata, such as the new and old statuses that a shipment moved between, in the extendedProperties object. The strings used in shipment status notifications are:
This example demonstrates how these parameters would be defined when a shipment moves into the Fulfilled status. Note that if this were a shipment moving into the initial Ready state, the notification would simply not include the
oldStatus field.
Example 5: Shipment Workflow Event
Shipment workflow notifications are triggered whenever a shipment moves to another step in the fulfillment process. Note that individual notifications are sent for each shipment on an order, all with the sameorderID. All shipment events include additional metadata in the extendedProperties object. The metadata strings used in shipment workflow notifications are:
This example demonstrates how these parameters would be defined for a Shipment Accepted notification, in which the shipment moves to the ACCEPTED_SHIPMENT part of the fulfillment workflow.
Example 6: Shipment Item Event
When an item in a shipment is adjusted, a notification is triggered to mark the event. Even though this topic refers to an item, theentityID is still the shipment number. All shipment events include additional metadata in the extendedProperties object. The metadata strings used in shipment item notifications are:
This example demonstrates how these parameters would be defined for a notification sent when a line item is edited.

