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

    Interface EndVoucherResponse

    Response for the end voucher API

    interface EndVoucherResponse {
        error: string;
        message: string;
        request_id: string;
        response: { voucher_id: number };
        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: { voucher_id: number }

    Type Declaration

    • voucher_id: number

      The unique identifier for the voucher that was ended

    warning?: string | string[]

    Warning message or list of warning messages