4. Update Tracking Number

Learn how to update the tracking number for Trendyol orders, including required parameters and conditions for Europe and Gulf regions.

This method is used to notify Trendyol of the order's package tracking number.

  • Header Parameter: "storeFrontCode" is required.
  • Required Fields: "cargoSenderNumber" and "providerCode".
  • If an order has been cancelled, use the getShipmentPackages service to update the shipping code for the current package number.
  • If the package is in "Undelivered", "Delivered", or "Returned" status, you will receive the error: Shipment tracking number cannot be updated.
  • If the tracking code has been previously provided, you can update it in "Picking", "Invoiced", and "Shipped" status. However, after the "Shipped" status, updating with a new tracking code will result in an error.
  • Once "cargoSenderNumber" is notified, it can be updated in "Picking", "Invoiced", and "Shipped" status.
  • The shipping code cannot be used for packages with "Shipped" or "Delivered" status.
  • If a package's cargo number is updated and a notification of unsupplied is made, a new package and cargo code will be created. The cargo code of the new package must be updated again through the integration.
  • Shipment packages can be split after the tracking number is updated. If split, a new package and cargo code will be created, requiring an update of the new package's cargo code through the integration.
  • To use this service (update tracking number), the package status should be notified as "Picking". If not, notify the package as "Picking" before using this service.

PUT updateTrackingNumber

Sample Service Request

{
  "cargoSenderNumber": "123",
  "providerCode": "DHLMP",
  "returnTrackingNumber": "137456971563" // Optional
}

Sample Service Response

HTTP 200