Skip to main content

Update an existing bundle

PUT 

/v1/bundles/:id

Update an existing bundle

Request

Path Parameters

    id integerrequired

    Bundle identifier

    Example: 1234

Body

required

Update Bundle Input

    name string

    The name for this bundle.

    description string

    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.

Responses

Bundle updated

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...