Added ride and related methods
Added the concept of a delivery-related ride to V8Preview2 (Ride
, as well as several methods for working with a new entity.
The ride is used when delivering orders using external courier services to track the order all the way from the initial status of searching for an external courier to the final status of delivering the order to the customer.
Basic properties of the ride:
Status
allows the waiter to see at what stage the delivery of the order to the client is.StatusDetails
allows you to transfer additional information about the ride from the external system to the front.ExternalId
— ride identifier in the external system.EcsId
— ID of the external courier service.
Added three methods for working with rides:
ChangeRideStatus
changes ride status (Ride.Status
).ChangeRideExternalId
allows you to specify a ride ID in an external system (Ride.ExternalId
).ChangeRideExternalCouier
changes the courier of an external courier service on a delivery-related ride.
This method replacesChangeDeliveryExternalCourier
, which was previously used to change the external courier in the delivery itself.