Track an order

GET /order-tracking/:id

This endpoint allows you track an existing order.

Headers

Header
Type
Description

Authorization

string

Bearer token.

Response

{
    "order": {
        "user": "ObjectId",
        "assignedTo": "ObjectId",
        "items": [
            {
                "product": "ObjectId",
                "quantity": 1,
                "trackingLink": "String",
                "variantId": "String",
                "productPrice": "String",
                "variantName": "String",
                "status": "Pending"
            }
        ],
        "totalAmount": 100,
        "creditUsed": 10,
        "shippingCost": 5,
        "taxFee": 3,
        "membershipDiscount": 2,
        "paymentMethodId": "String",
        "cardId": "String",
        "shippingAddress": "ObjectId",
        "shippingAddressFull": "Mixed",
        "guestOrder": false,
        "guestInformation": "Mixed",
        "orderCode": "String",
        "status": "Pending",
        "addOns": [
            {
                "name": "String",
                "percentage": 5,
                "amount": 10
            }
        ],
        "createdAt": "Date",
        "updatedAt": "Date"
    }
}

Last updated