Shopee SDK API Reference - v2.8.0
    Preparing search index...

    Interface CancelOrderPartialCancelItem

    CancelOrderPartialCancelItem sub-interface for CancelOrderRequest

    interface CancelOrderPartialCancelItem {
        item_id: number;
        model_id: number;
        model_quantity: number;
        order_item_id?: number;
        promotion_group_id?: number;
    }
    Index

    Properties

    item_id: number

    The unique identifier of the item to be partially cancelled.

    model_id: number

    The unique identifier of the model to be partially cancelled.

    model_quantity: number

    The quantity of the specified item model to be cancelled.

    order_item_id?: number

    The identify of order item. For items in one same bundle deal promotion, the order_item_id should share the same id, such as 1,2. For items not in bundle deal promotion, the order_item_id should be the same as item_id.

    promotion_group_id?: number

    The identify of product promotion.It's required for add on deal and bundle deal items.For items in one same add on deal or bundle deal promotion, the promotion_group_id should share the same id. For items not in add on deal or bundle deal promotion, the promotion_group_id should be 0. And the data is from promotion_group_id of v2,order.get_order_detail.