Proposal For API Courier Integration Deletion & Updates

Proposal summary 

The proposal covers the scope of API courier integration deletion and updates. 

Requirement  

  • If an Item Fulfillment record is deleted from NetSuite corresponding order in courier account need to be deleted. 
  • If the ship method is changed from methods supported for stream, then the corresponding order in courier account should be deleted. 
  • If the shipment for an already deleted order from Courier is again changed to ship method supported for Courier, an order need to be created for the corresponding IF in Courier. 
  • Need to exclude the selected items from creating the label in Courier account. 

Our Solution 

  1. Order Deletion:  

The order created in stream account will be deleted in the following scenarios. 

1)When an item Fulfillment record is deleted from NetSuite, corresponding order in courier account in Simplee/SKG will be deleted. 

2)When the shipment method is changed from the shipments other than the following and the “Courier Tracking Id” field in Courier Integration subtab is not empty: 

For simplee: 

  • SGK 2MAN Standard 
  • SGK 2MAN Packaging removal 
  • SGK 2MAN Platinum                           

 For SGK: 

  • SGK Warehouse Standard 
  • SGK Packaging removal  
  • SGK Platinum        

In the above two scenarios, a delete request will be sent via courier Delete API for deleting the order for both Simplee & SGK warehouse 

A check box will be created in NetSuite “Deleted from courier” and will be checked on successful deletion from courier account. And the tracking ID and Tracking URL will be removed from the ”Courier Integration” subtab in NetSuite. 

API:   https://www.go2stream.net/api/orders/orders/{orderNo

OrderNo – is the order reference number created in Courier for the IF ex: IF3389HL 

  1. Order resync: 

         For already deleted order in Courier account(“Deleted from courier” checkbox will be checked in NetSuite), If shipment method is again changed to shipments supported for Courier in the IF record in NetSuite, a new order will be created in Courier account. And on successful creation of order in courier account, Tracking ID & Tracking URL will be saved in “courier Integration” subtab. Also the “Deleted from courier” checkbox will be unchecked. 
The shipment method considered are:  
For simplee: 

  • SGK 2MAN Standard 
  • SGK 2MAN Packaging removal 
  • SGK 2MAN Platinum                           

 For SGK: 

  • SGK Warehouse Standard 
  • SGK Packaging removal  
  • SGK Platinum        
  1. Omitting selected Items from Order creation in Courier account:  

       A check box “Exclude from courier order” will be created in NetSuite in item line in IF record. If the box is checked, then item will not be considered for the order created in courier. If the box is unchecked, the item will be included in the  order created in courier. 

For Kit items, if kit item is checked in IF, then all the member items will be omitted from the order created in courier account. If kit item is unchecked, then all member items will be included in the order created in courier account. 

Default Value: We will create a custom check box field in Item record “Eliminate from Courier Order”. The default value will be false. If the field is checked in item record, then It will be auto populated in the “Exclude from courier order” line field in the newly created item fulfillment records. It will not copy the value from the item record for the existing IF. You will have the option to check/uncheck this field from IF also. 

 Assumptions 

Leave a comment

Your email address will not be published. Required fields are marked *