UNPKG

shopee-client

Version:
35 lines (34 loc) 697 B
export interface BoostFail { /** * to indicate error type. */ error_code: string; /** * Failed item id. */ id: number; /** * error description */ description: string; } export interface BoostBatchResult { /** * A list of item ids which have been boosted successfully. */ successes: number[]; /** * A list of failed-to-boost items, including error details. */ failures: BoostFail[]; } export default interface BoostResponse { /** * batch result details */ batch_result: BoostBatchResult; /** * The identifier of the API request for error tracking */ request_id: string; }