Starting Address: Filled Automatically From Details of The Supplier/Warehouse From The API
Stopping Address: Filled Manually Or Auto From The Details of the Warehouse
Driver Name
Driver Contact: Phone Number
VehiculeId : Transportation Vehicule
Delivery Cost: This is Regardless of Any Type
Delivered Items: All Except W2W will have an indication that this will automatically create an invoice and its status will be changed according to the status of the delivery automatically.
Main Endpoints To Use :
GET Supplier/Summary: To Acquire The Suppliers List
GET Warehouse/Summary: To Acquire The List Of Warehouses
GET Products/Warehouse/{id}: If W2W And W2C
GET Products/Supplier/{id}: If S2W
I Will Give you all the capacities and costs you need to limit stuff :
I. W2W: Can't Send More Than The Items That Exist And Over The Limit Of The 2nd Warehouse
II. W2C: Can't Send More than Exists in the Warehouse And Show The Total Cost
III. S2W: Can't Send More than Warehouse Can Handle
Calculate the Total Cost Just To Show it to the user, Everything will be handled from the back when it's needed.
Deliveres/Transporation 101
Types :
What Inputs To Have :
TransportationTitle
CheckingDate: Initialization Date
Expected Arrival
Starting Address: Filled Automatically From Details of The Supplier/Warehouse From The API
Stopping Address: Filled Manually Or Auto From The Details of the Warehouse
Driver Name
Driver Contact: Phone Number
VehiculeId : Transportation Vehicule
Delivery Cost: This is Regardless of Any Type
Delivered Items: All Except W2W will have an indication that this will automatically create an invoice and its status will be changed according to the status of the delivery automatically.
Main Endpoints To Use :
I Will Give you all the capacities and costs you need to limit stuff : I. W2W: Can't Send More Than The Items That Exist And Over The Limit Of The 2nd Warehouse II. W2C: Can't Send More than Exists in the Warehouse And Show The Total Cost III. S2W: Can't Send More than Warehouse Can Handle
Calculate the Total Cost Just To Show it to the user, Everything will be handled from the back when it's needed.