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

    Interface UpdateDiscountItemResponse

    Response for the update discount item API

    interface UpdateDiscountItemResponse {
        error: string;
        message: string;
        request_id: string;
        response: {
            count: number;
            discount_id: number;
            error_list: DiscountItemError[];
        };
        warning?: 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: {
        count: number;
        discount_id: number;
        error_list: DiscountItemError[];
    }

    Type Declaration

    • count: number

      The number of items successfully updated

    • discount_id: number

      Shopee's unique identifier for a discount activity

    • error_list: DiscountItemError[]

      List of items that failed to be updated

    warning?: string

    Warning message if any