delivery
📄️ Create new shipment
Create a new transport shipment. Requires JWT authentication.
📄️ List all shipments
Retrieves a paginated list of all company shipments. Allows filtering by dates, statuses, and performing searches. Requires JWT authentication.
📄️ Get active shipments
Retrieves a paginated list of the company's active shipments (statuses 'planned' and 'in_progress').
📄️ Edit delivery
Updates the details of an existing shipment. Only certain fields can be modified depending on the shipment's current status. Requires JWT authentication.
📄️ Cancel delivery service
Cancels an existing shipment by changing its status to 'canceled'. Only shipments in 'planned' or 'in_progress' status can be canceled. Requires JWT authentication.
📄️ Approve delivery changes
Approves changes made to a replanned shipment. Changes the status to 'approved'
📄️ Save custom code
Updates the custom reference code for a shipment. This code is optional
📄️ Delete delivery
Permanently delete a shipment from the database (soft delete). Only shipments with a 'planned' status that have not started tracking can be deleted. Requires JWT authentication.