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

    Interface ResponseHookContext

    interface ResponseHookContext {
        attempt: number;
        duration_ms: number;
        method: string;
        path: string;
        request_id?: string;
        status: number;
        url: string;
    }

    Hierarchy (View Summary)

    Index
    attempt: number

    1 for the first attempt, incremented on each retry.

    duration_ms: number
    method: string
    path: string

    API path, e.g. /order/get_order_list.

    request_id?: string
    status: number
    url: string

    Full URL with access_token and sign redacted.