Update an existing bundle
PUT/v1/bundles/:id
Update an existing bundle
Request
Path Parameters
Bundle identifier
- application/json
Body
required
Update Bundle Input
The name for this bundle.
The description for this bundle.
The discount percentage this bundle.
Possible values: [ALL
, EP
]
The discount condition for this bundle. Discount can be applied for Extra Products (EP) or All Products (ALL).
The bundle prices.
Default value: NL
The bundle tax zone.
Responses
- 200
- 400
- 404
- 409
- 500
Bundle updated
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
The bundles primary identifier
[DEPRECATED] The bundles identifier for Propeller internal use
The name for this bundle.
The description for this bundle.
The discount percentage this bundle.
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 price of the bundle after discounts applied
Gross price of the bundle after discounts applied
Original net price of the bundle before discounts applied
Original gross price of the bundle before discounts applied
items
object[]
nullable
Items for this bundle.
The bundles primary product identifier
price
object
nullable
Net price of the bundle after discounts applied
Gross price of the bundle after discounts applied
Original net price of the bundle before discounts applied
Original gross price of the bundle before discounts applied
Possible values: [Y
, N
]
Indicates whether the product is leader for this bundle.
{
"id": 0,
"name": "string",
"description": "string",
"discount": 0,
"condition": "ALL",
"price": {
"net": 0,
"gross": 0,
"originalNet": 0,
"originalGross": 0
},
"items": [
{
"productId": 0,
"price": {
"net": 0,
"gross": 0,
"originalNet": 0,
"originalGross": 0
},
"isLeader": "Y"
}
]
}
Bad request
Bundle not found
Bundle already exists
Update bundle error