Shopee SDK API Reference - v1.11.0
    Preparing search index...

    Interface GetDiscountListResponse

    Response for the get discount list API

    interface GetDiscountListResponse {
        error: string;
        message: string;
        request_id: string;
        response: { discount_list: DiscountInfo[]; more: boolean };
        warning?: string | string[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    error: string

    Error code if any error occurred

    message: string

    Error message if any error occurred

    request_id: string

    The identifier for an API request for error tracking

    response: { discount_list: DiscountInfo[]; more: boolean }

    Type Declaration

    • discount_list: DiscountInfo[]

      The list of discounts matching the query parameters

    • more: boolean

      Indicates whether there are more pages of discounts to retrieve

    warning?: string | string[]

    Warning message or list of warning messages