shopee-client
Version:
Shoppe Open API Client
38 lines (37 loc) • 954 B
TypeScript
import { Failure } from "./UpdatePriceBatchResponse";
export interface FailureVariant extends Failure {
/**
* Shopee's unique identifier for a variation of an item.
*/
variation_id: number;
}
export interface ModificationVariant {
/**
* Shopee's unique identifier for an item.
*/
item_id: number;
/**
* Shopee's unique identifier for a variation of an item.
*/
variation_id: number;
}
export interface BatchResultVariant {
/**
* Informations for failed price updating.
*/
failures: FailureVariant[];
/**
* List of item_id which have been updated successfully.
*/
modifications: string[] | ModificationVariant[];
}
export default interface UpdateVariantPriceBatchResponse {
/**
* Result of batch updating.
*/
batch_result: BatchResultVariant[];
/**
* The identifier for an API request for error tracking
*/
request_id: string;
}