Skip to main content

Create a new bundle

POST 

/v1/bundles

Create a new bundle

Request

Body

required

Create Bundle Input

    name stringrequired

    The name for this bundle.

    description stringrequired

    The description for this bundle.

    discount number

    The discount percentage this bundle.

    condition string

    Possible values: [ALL, EP]

    The discount condition for this bundle. Discount can be applied for Extra Products (EP) or All Products (ALL).

    price number

    The bundle prices.

    taxZone string

    Default value: NL

    The bundle tax zone.

    addBundleItems

    object[]

    Items for this bundle.

  • Array [

  • productId numberrequired

    The bundles primary product identifier

    isLeader stringnullable

    Possible values: [Y, N]

    Default value: N

    Indicates whether the product is leader for this bundle.

  • ]

Responses

Bundle created

Schema

    id integerrequired

    The bundles primary identifier

    comboId integerdeprecated

    [DEPRECATED] The bundles identifier for Propeller internal use

    name stringrequired

    The name for this bundle.

    description stringnullable

    The description for this bundle.

    discount numbernullable

    The discount percentage this bundle.

    condition stringnullable

    Possible values: [ALL, EP]

    The discount condition for this bundle. Discount can be applied for Extra Products (EP) or All Products (ALL).

    price

    object

    nullable

    net number

    Net price of the bundle after discounts applied

    gross number

    Gross price of the bundle after discounts applied

    originalNet number

    Original net price of the bundle before discounts applied

    originalGross number

    Original gross price of the bundle before discounts applied

    items

    object[]

    nullable

    Items for this bundle.

  • Array [

  • productId numberrequired

    The bundles primary product identifier

    price

    object

    nullable

    net number

    Net price of the bundle after discounts applied

    gross number

    Gross price of the bundle after discounts applied

    originalNet number

    Original net price of the bundle before discounts applied

    originalGross number

    Original gross price of the bundle before discounts applied

    isLeader stringrequired

    Possible values: [Y, N]

    Indicates whether the product is leader for this bundle.

  • ]

Loading...