Skip to main content

BundleCreateInput

Fields required to create a product bundle.

input BundleCreateInput {
name: String!
slug: String
seller: ID
price: PositiveDecimal!
currency: String
sku: String
isPublished: Boolean!
components: [BundleItemInput!]!
}

Fields

BundleCreateInput.name ● String! non-null scalar

Bundle display name.

BundleCreateInput.slug ● String scalar

URL slug. Auto-generated from name when omitted.

BundleCreateInput.seller ● ID scalar

Seller that owns this bundle. Defaults to the caller's seller for non-MPO users. MPO must provide this field.

BundleCreateInput.price ● PositiveDecimal! non-null scalar

Fixed bundle price (the customer-facing amount).

BundleCreateInput.currency ● String scalar

Bundle currency. Defaults to the seller's default currency.

BundleCreateInput.sku ● String scalar

SKU for the bundle's sellable variant.

BundleCreateInput.isPublished ● Boolean! non-null scalar

Whether the bundle is immediately published.

BundleCreateInput.components ● [BundleItemInput!]! non-null input

List of component variants composing the bundle. Must contain at least 2 components.

Member Of

bundleCreate mutation

Was this page helpful?