...
For example, in NetSuite there are Sales Order objects, and each Sales Order may have multiple Item Fulfillment records which represent the pick task and shipment.
This sync must take into account the mappings that have been configured by the administrator.
Order sync must be able to recover in the case of order sync failing
For example, if a shipment sync (or any request to SH the ShipHawk API) failed:
save Save detailed information to logs that can be accessed by an administrator
ensure Ensure there is a system that will try sending the record again after some time
if If fails constantly (10 attempts over 5 hours with exponential delay) - , mark the order/fulfillment as failed to sync.
Allow the user to manually sync an order to ShipHawk by clicking a button
...