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

    Type Alias FetchOptions

    FetchOptions: Omit<RequestInit, "body"> & {
        auth?: AuthType;
        body?: unknown;
        params?: any;
        request?: RequestOptions;
        timestampPaths?: string[];
    }

    Type Declaration

    • Optionalauth?: AuthType

      true signs with the token's shop_id; "user", "merchant" and "principal" sign with the token's user_id, merchant_id or principal_id, matching the API type in Shopee's docs.

    • Optionalbody?: unknown
    • Optionalparams?: any
    • Optionalrequest?: RequestOptions

      Per-call options supplied by the caller of a manager method.

    • OptionaltimestampPaths?: string[]