younifyd
Menu

Post 2026 07 Variant Variantid Converttobundle

Convert Variant to Bundle

POST/2026-07/variant/{variantId}:convertToBundle

Use it in a workflow

  1. Add a step and choose the ShipBob connector.
  2. Pick the Post 2026 07 Variant Variantid Converttobundle action (under ShipBob).
  3. Fill in the fields below, then reference the result from later steps as {{post202607VariantVariantidConverttobundle.response.data}}.

Request

Path parameters

variantIdinteger (int64)required

Request body

Enter the body as JSON in the step's Body field.

bundle_definitionarray<object>
quantityinteger (int32)
variant_idinteger (int64)
channel_metadataarray<oneOf>
namestring
skustring
json
{
  "bundle_definition": [
    {
      "quantity": 0,
      "variant_id": 0
    }
  ],
  "channel_metadata": [
    null
  ],
  "name": "string",
  "sku": "string"
}

Response

Returns 201 with an object. Read it in later steps with {{post202607VariantVariantidConverttobundle.response.data.<field>}}.

created_onstring (date-time)

Timestamp when the product was created

idinteger (int64)

Unique identifier for the product

namestring

Product name

taxonomyobject
idinteger (int32)

Unique identifier for the taxonomy

namestring

Name of this taxonomy category

parent_idinteger (int32)

ID of the parent category in the taxonomy hierarchy

parent_namestring

Name of the parent category in the taxonomy hierarchy

pathstring

Full hierarchical path of the taxonomy category (e.g., 'Electronics > Computers > Laptops')

typestring

Product type (e.g., 'Regular' or 'Bundle')

updated_onstring (date-time)

Timestamp when the product was last updated

user_idinteger (int64)

ID of the user who owns this product

variantsarray<oneOf>

List of variants belonging to this product. Each variant represents a specific SKU.

json
{
  "created_on": "2025-01-01T00:00:00Z",
  "id": 0,
  "name": "string",
  "taxonomy": {
    "id": 0,
    "name": "string",
    "parent_id": 0,
    "parent_name": "string",
    "path": "string"
  },
  "type": "string",
  "updated_on": "2025-01-01T00:00:00Z",
  "user_id": 0,
  "variants": [
    null
  ]
}

Need more? See the ShipBob guide for connection setup and behaviour shared by every action.