Shopee SDK API Reference - v2.8.0
    Preparing search index...

    Interface GetTrackingNumberRequest

    Request parameters for get_tracking_number

    After arranging shipment (v2.logistics.ship_order) for the integrated channel, use this api to get the tracking_number, which is a required parameter for creating shipping labels. The api response can return tracking_number empty, since this info is dependent from the 3PL, due to this it is allowed to keep calling the api within 5 minutes interval, until the tracking_number is returned.

    interface GetTrackingNumberRequest {
        order_sn: string;
        package_number?: string;
        response_optional_fields?: string | number;
    }
    Index

    Properties

    order_sn: string

    Shopee's unique identifier for an order.

    package_number?: string

    Shopee's unique identifier for the package under an order. You should't fill the field with empty string when there isn't a package number.

    response_optional_fields?: string | number

    Indicate response fields you want to get. Please select from the below response parameters. If you input an object field, all the params under it will be included automatically in the response. If there are multiple response fields you want to get, you need to use English comma to connect them. Available values: plp_number, first_mile_tracking_number,last_mile_tracking_number