Job steps
Payload formats for each notification type are defined in the corresponding Global-e API documentation (UOS, UODv2, COR, UpdateRMA, UpdateParcelStatus), which is not included in the cartridge package.
UpdateOrderStatus
When an order is cancelled on the SFCC side, send an order status update notification to Global-e (depending on integration scope).How it works
- Trigger the custom hook
globale.outboundOrderStatusUpdatewhen an order is cancelled, usingglobaleHooksHelper:
- The hook creates a notification custom object that this job step sends to the Global-e API.
Required customization
Triggerglobale.outboundOrderStatusUpdate with the correct order number and payload when an order is cancelled on the SFCC side.
UpdateOrderDispatch
When an order is dispatched, send an order dispatch notification to Global-e.How it works
Triggerglobale.outboundOrderDispatchUpdate:
Required customization
Triggerglobale.outboundOrderDispatchUpdate when a dispatch notification should be sent.
CreateOrderRefund
When an order refund should be issued, send a refund notification to Global-e.How it works
Triggerglobale.outboundOrderRefundUpdate. The payload must include header and body properties:
Required customization
Triggerglobale.outboundOrderRefundUpdate when a refund notification should be sent.
UpdateRMA
Sends RMA update notifications to Global-e. Use case: provide the merchant internal RMA number instead of the Global-e RMA number. Additional context may be available in your Global-e RMA integration documentation.How it works
Triggerglobale.outboundOrderRMAUpdate:
geDisableJobStep to false) when this notification type is in scope.
Required customization
Triggerglobale.outboundOrderRMAUpdate when an RMA notification should be sent.
UpdateParcelStatus
Sends parcel status update notifications to Global-e. Use case: update asynchronous parcel status when live API calls fail (for example, due to network issues). This step type is defined in the cartridge (custom.GlobaleUpdateParcelStatus) but is not included in the default jobs.xml. Add it to the GlobaleOrderNotifications job definition when required.
How it works
Triggerglobale.outboundParcelStatusUpdate:
Required customization
Triggerglobale.outboundParcelStatusUpdate when a parcel status notification should be sent.
