Skip to main content
POST
Create

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
bundle_item
object

Response

200 - application/json

Success

id
string | null

The UUID of the specific object.

object
string

A string describing the object type returned.

basis_amount
integer | null

Optional relative weighting input (in cents) for this component. Nil uses default weighting by quantity.

quantity
integer

The quantity of this component in the bundle.

position
integer | null

The position of this item within the bundle.

metadata
object

Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.

bundle_product

Expandable – The associated bundle product ID.

component_product

Expandable – The associated component product ID.

current_version
boolean

Whether the returned version is the current one on the bundle item.

component_variants

Expandable – Property not returned unless expanded.

component_variant_options

Expandable – Property not returned unless expanded.

created_at
integer | null

Time at which the object was created. Measured in seconds since the Unix epoch.

updated_at
integer | null

Time at which the object was last updated. Measured in seconds since the Unix epoch.