Skip to content

Latest commit

 

History

History
26 lines (14 loc) · 1.12 KB

File metadata and controls

26 lines (14 loc) · 1.12 KB

BundleIdentifiedItem

Determines a product from the customer's order items that meets bundle conditions.

Properties

Name Type Description
id String Unique identifier of the product or SKU that meets the bundle condition. This is an ID assigned by Voucherify.
_object ObjectEnum Determines the type of the object that meets the bundle condition.
itemIndex Integer Number assigned to the order line item in accordance with the order sent in the request. It starts with `0` for the first order line item in the request.
itemQuantity Integer Quantity of items that meet the bundle conditions. If the quantity in the order is higher than the quantity required by the bundle, this returns only the number that meets the bundle. For example, if the bundle requires `5` coffees, but the order includes `10` coffees, `item_quantity` returns `5`.

Enum: ObjectEnum

Name Value
PRODUCT "product"
SKU "sku"