What is the difference between trackingIdnumber, trackingNumber and trackingCode ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

What is the difference between trackingIdnumber, trackingNumber and trackingCode ?

Andrea Perez
Hi, i want to develop a service to send the tracking number of the shipment automatically to the client. I am using a custom shipment method.
But, i really don't know where to put the tracking number of the package given to me.
I put it on the trackingNumber of the orderItemShipGroup entity, or the trackingCode in the ShipmentPackageRouteSeg entity or in the trackingIdNumber in the entity ShipmentRouteSegment?

All of those fields are the same?
I am seeing that the order view screen the client can see the trackingNumber stored in the orderItemShipGroup entity. But there are no service updating that value. Is this a deprecated field?

Witch field its the correct one?
Reply | Threaded
Open this post in threaded view
|

Re: What is the difference between trackingIdnumber, trackingNumber and trackingCode ?

Jacques Le Roux
Administrator
I will not get into details, just wanted to say that there is actually a service for updating OrderItemShipGroup.trackingNumber
Not too surprinsgly its name is updateTrackingNumber

If you don't need ShipmentPackageRouteSeg or/and ShipmentRouteSegment then it's the one to go with. Those are when you also handle
details of route shipment

Jacques

Andrea Perez wrote:

> Hi, i want to develop a service to send the tracking number of the shipment
> automatically to the client. I am using a custom shipment method.
> But, i really don't know where to put the tracking number of the package
> given to me.
> I put it on the trackingNumber of the orderItemShipGroup entity, or the
> trackingCode in the ShipmentPackageRouteSeg entity or in the
> trackingIdNumber in the entity ShipmentRouteSegment?
>
> All of those fields are the same?
> I am seeing that the order view screen the client can see the trackingNumber
> stored in the orderItemShipGroup entity. But there are no service updating
> that value. Is this a deprecated field?
>
> Witch field its the correct one?