Petfen
  1. Order APIs
Petfen
  • Petfen-Account
    • APIs
      • Shipping Address
        • Get List Shipping Address
        • Get Detail Shipping Address
        • Get Default Address
        • Create Shipping Address
        • Update Shipping Address
        • Delete Shipping Addres
      • Seller
        • Verify Phone Number
        • Confirm Phone Number
        • Create Shop
        • Login
        • Renew Access Token Copy
        • Change Password Copy
        • Forgot Password Copy
        • Confirm Forgot Password Copy
        • Logout Copy
      • User Bag
        • Add Item To Bag
        • List Item In Bag
        • Use Item
        • Undo Item To Bag
      • User
        • Register
        • Confirm Register with OTP
        • Login
        • Renew Access Token
        • Change Password
        • Forgot Password
        • Verify OTP Forgot Password
        • Resend OTP Forgot Password
        • Confirm Forgot Password
        • Logout
        • Get Account Info
        • List Accounts
        • Update Account
      • Shop
        • Get shop info
        • Follow Shop
        • UnFollow Shop
    • CMS
  • Petfen-Product
    • CMS
      • Internal CMS
        • Product
      • Product
      • Category
      • FlashSale
        • Get List Flash Sale
        • Create Flash Sale
        • Update Flash Sale
        • Get Detail Flash Sale
    • Client
      • Flash Sale
        • Get List Flash Sale
        • Get List Flash Sale Active
        • Get Detail Flash Sale
      • Category
        • Get List Category
        • Get Detail Category
      • Add Wishlist
      • Remove Wishlist
      • Get List Product
      • Get Detail Product
      • Get Detail Product By Id
      • Add Review
      • Get List Review
      • Get Shipping Methods List
      • Get Review Distribution
      • Get Filter Data
    • Seller
      • Product
  • Petfen-Order
    • Order - Create
    • Order - Cancel
    • Order - Update
    • Order - List
    • Order - Detail
    • Cart - Sync
    • Cart - List
    • Order - Detail With Payment Id
    • Order statistic
  • Petfen-Payment
    • Request Payment
    • Confirm Payment
  • Petfen-voucher
    • Cms
      • Customer Group
        • Create Customer Group
        • Update Customer Group
        • Get Customer Group
        • Detail Customer Group
        • Delete Customer Group
      • Voucher
        • Create Voucher
        • Get Detail Voucher
        • Get List Voucher
    • Client
      • Get Voucher info
      • Get List Voucher
      • Get voucher code available
      • Calculate Discount
      • Check Voucher Valid
  • Petfen-Shipping
    • GHN
      • Delivery
        • Get Province
        • Get Station
        • Get Print Order Token
        • Print Order
        • Get District
        • Get Ward
        • Picking Shifts
        • Delivery Service
        • Calculate Delivery Fee
        • Calculate Expected Delivery Time
        • Create Order
        • Update Order
        • Cancel Order
        • Return Order
        • Get Order Info
        • Update COD
      • Support Ticket
        • Create Support Ticket
        • Get List Ticket
        • Get Ticket Detail
    • Service
      • Delivery
        • Get Province
        • Get District
        • Get Ward
        • Get Picking Shift
        • Get Order Info
        • Delivery Method
        • Calculate Delivery Fee
        • Calculate Expected Delivery Time
        • Create Order
        • Update Order
        • Cancel Order
        • Print Order
        • Return Order
        • Delivery Again
        • Update COD
      • Support Ticket
        • Create
        • Feedback
        • Get List
        • Get Detail
      • IPN Transaction
    • Ahamove
      • Order APIs
        • Estimate order fee with services
          POST
        • Estimate order fee with services
          POST
        • Estimate order fee with group services
          POST
        • Estimate order fee with group services
          POST
        • Create order by service ID
          POST
        • Create order by service ID
          POST
        • Create order by group service ID
          POST
        • Create order by group service ID
          POST
        • Cancel order by order_id
          DELETE
        • Cancel order by order_id
          DELETE
        • Cancel order by tracking_number
          DELETE
        • Cancel order by tracking_number
          DELETE
        • Get order detail
          GET
        • Get order detail
          GET
        • Get multiple order detail
          GET
        • Get multiple order detail
          GET
        • Get order list by tracking number
          GET
        • Get order list by tracking number
          GET
        • Get order tracking link
          GET
        • Get order tracking link
          GET
        • Get order callback logs
          GET
        • Get order callback logs
          GET
        • Update order Information
          PATCH
        • Update order Information
          PATCH
        • Rate a supplier
          PUT
        • Rate a supplier
          PUT
      • Master Data
        • Get cities
        • Get cities
        • Get list of services
        • Get list of services
        • Get service details
        • Get service details
      • Account APIs
        • Register account
        • Register account
        • Authenticate token
        • Authenticate token
        • Add child account
        • Add child account
        • Activate child account
        • Activate child account
        • Remove child account
        • Remove child account
        • Get child accounts list
        • Get child accounts list
        • Update user profile
        • Update user profile
    • Get list providers
      GET
    • Get list Provinces
      GET
    • Get list communes
      GET
    • Get list methods
      GET
  • Testing
  • Petfen-Invoice
    • S-Invoice
      • Login
      • SInvoice - Create invoice
      • SInvoice - Kê khai thuế
      • SInvoice - Lấy file hóa đơn chuyển đổi (pdf)
    • Partner
      • Auth Login
      • Create Invoice
      • Create Draft Invoice
      • Download Invoice File
      • Get Invoices
      • Cancel Invoice
      • Tax Declaration
      • Invoice Stat
      • Reconciliation
    • Service
      • Create Invoice
      • Update Invoice
      • Download Invoice
      • Cancel Invoice
      • Update Tax Declaration
      • Get Invoices
      • Get Invoice Stat
      • Reconciliation
  • Interal
    • Internal - Get access token
  1. Order APIs

Get order list by tracking number

GET
/v3/orders/tracks/HD00001

Get a list of orders by tracking_number#

Overview
This api is used for partner to get a list of orders by tracking_number. See parameter to know more details about the available filter
Headers
KeyValueDescription
AuthorizationBearer {token}partner token
Request Params
KeyTypeRequiredDescription
countintfalseNumber of order in a page (default: 20, max: 100)
offsetintfalsePosition from which to return the result (default: 0)
from_timeintfalseUnix timestamp. Scan order which has create time greater than or equal from_time. If client do not submit value, its value is 7 days before
to_timeintfalseUnix timestamp. Scan order which has create time less than to_time. If client do not submit value, its value current time
tracking_numberstringtruequery follow "path.tracking_number"
Response
[
    {
        "_id": "23T05HDT",
        "path": [
            {
                "address": "372 Lê Văn Sỹ, Phường 14, Quận 3, Thành phố Hồ Chí Minh, Việt Nam"
            },
            {
                "address": "104 Trần Nhân Tôn, Phường 5, Quận 10, Hồ Chí Minh, Việt Nam",
                "tracking_number": "PMCAHM123456789"
            }
        ],
        "status": "CANCELLED",
        "service_id": "SGN-POOL",
        "create_time": 1675399558.6162026
    }
]
Errors
401: NOT_AUTHORIZED

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://partner-apistg.ahamove.com//v3/orders/tracks/HD00001' \
--header 'Authorization: Bearer <token>'

Responses

🟢200Success
application/json
Body

Example
{}
Modified at 2025-09-23 15:35:01
Previous
Get multiple order detail
Next
Get order list by tracking number
Built with