> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mayar.id/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Bundling Detail

> Endpoint used to view the details of a bundling product

```bash Request Example theme={null}
curl --request GET 'https://api.mayar.id/hl/v2/bundling/a1b2c3d4-e5f6-4789-a012-3456789abcde' \
--header 'Authorization: Bearer Paste-Your-API-Key-Here'
```

```json Response Example 200 theme={null}
{
    "statusCode": 200,
    "messages": "success",
    "data": {
        "id": "a1b2c3d4-e5f6-4789-a012-3456789abcde",
        "name": "Paket Belajar Lengkap",
        "amount": 150000,
        "description": "<p>Paket bundling kelas online dan produk digital.</p>\n",
        "type": "bundling",
        "status": "active",
        "link": "paket-belajar-lengkap",
        "updatedAt": 1782557015266,
        "createdAt": 1773826841895,
        "subType": null,
        "tax": null,
        "items": null,
        "limit": null,
        "expiredAt": null,
        "redirectUrl": "",
        "notes": "Catatan internal paket bundling.",
        "terms": null,
        "target": null,
        "reason": null,
        "receiver": null,
        "usage": null,
        "category": null,
        "affiliateCommission": null,
        "paymentType": null,
        "qty": null,
        "bundlingProductType": "payment_link",
        "coverImageId": null,
        "multipleImageId": null,
        "customerId": null,
        "userId": "348e083d-315a-4e5c-96b1-5a2a98c48413",
        "event": null,
        "coverImage": null,
        "multipleImage": null,
        "customer": null,
        "user": {
            "id": "348e083d-315a-4e5c-96b1-5a2a98c48413",
            "accountId": "d4e5f6a7-b8c9-4012-d345-6789abcdef01",
            "account": {
                "id": "d4e5f6a7-b8c9-4012-d345-6789abcdef01",
                "name": "Mayar Demo Account"
            }
        },
        "products": [
            {
                "id": "6f8c19ff-2b6a-4c7e-9f1d-1a2b3c4d5e6f",
                "status": "ENABLED",
                "variantId": null,
                "updatedAt": 1773826843750,
                "paymentLinkId": "21d84338-7c2e-4a9b-8d3f-4e5f6a7b8c9d",
                "paymentLink": {
                    "id": "21d84338-7c2e-4a9b-8d3f-4e5f6a7b8c9d",
                    "name": "Kelas Online Dasar",
                    "type": "course",
                    "amount": 0,
                    "variant": null
                }
            },
            {
                "id": "b2c3d4e5-f6a7-4890-b123-456789abcdef",
                "status": "ENABLED",
                "variantId": null,
                "updatedAt": 1773826843750,
                "paymentLinkId": "348e083d-315a-4e5c-96b1-5a2a98c48413",
                "paymentLink": {
                    "id": "348e083d-315a-4e5c-96b1-5a2a98c48413",
                    "name": "Produk Digital Premium",
                    "type": "digital_product",
                    "amount": 100000,
                    "variant": null
                }
            }
        ]
    }
}
```

Endpoint:

```Production Production theme={null}
https://api.mayar.id/hl/v2/bundling/{uuId}
```

```Sandbox Sandbox theme={null}
https://api.mayar.io/hl/v2/bundling/{uuId}
```

## Authorization

**Authorization** `string` *required*

Example:

`Authorization | Bearer Paste-Your-API-Key-Here`

## Path Parameters

**uuId** `string` *required*

A unique identifier of the bundling product. If accessed through the dashboard,
it can be found in the URL on the bundling details page.

Example:

`a1b2c3d4-e5f6-4789-a012-3456789abcde`

## Response

Successful Response

### Main Structure (Root)

**statusCode** `integer`

Status code form API.

**messages** `string`

Status message that describes the status code.

**data** `object`

The bundling detail object.

### data Structure (Object)

**id** `string\<uuid\>`

Unique ID of the bundling product.

**name** `string`

Name of the bundling product.

**amount** `integer`

Price of the bundle.

**description** `string | null`

Bundle description (may contain HTML).

**type** `string`

Item type. Always `bundling`.

**status** `string`

Bundle status (example: `active`, `closed`).

**link** `string`

Unique link slug.

**updatedAt** `number (timestamp)`

Last update time in epoch format (ms).

**createdAt** `number (timestamp)`

Creation time in epoch format (ms).

**redirectUrl** `string | null`

Redirect URL after payment (if any).

**notes** `string | null`

Internal notes (if any).

**bundlingProductType** `string`

Type of products that make up the bundle (example: `payment_link`).

**coverImageId** `string\<uuid\> | null`

Cover image ID (if any).

**coverImage** `object | null`

Cover image details (if any).

**multipleImageId** `array | null`

Additional image IDs (if any).

**multipleImage** `array | null`

Additional image details (if any).

**userId** `string\<uuid\>`

ID of the merchant account that owns the bundle.

**user** `object`

Summary of the owning merchant account.

**products** `array of object`

List of products included in the bundle.

> [!NOTE]
>
> The detail object also returns a number of nullable product attributes shared
> across all product types — `subType`, `tax`, `items`, `limit`, `expiredAt`,
> `terms`, `target`, `reason`, `receiver`, `usage`, `category`,
> `affiliateCommission`, `paymentType`, `qty`, `customerId`, `customer`, and
> `event` — which are `null` for bundling products.

### user Structure (Object)

**id** `string\<uuid\>`

Merchant account ID.

**accountId** `string\<uuid\>`

Associated account ID.

**account** `object`

Account summary (`id`, `name`).

### products Structure (Array Of Object)

**id** `string\<uuid\>`

ID of the bundle-product link record.

**status** `string`

Status of the product within the bundle (example: `ENABLED`).

**variantId** `string\<uuid\> | null`

ID of the selected product variant (if any).

**updatedAt** `number (timestamp)`

Last update time of the bundle-product link in epoch format (ms).

**paymentLinkId** `string\<uuid\>`

ID of the underlying product/payment link.

**paymentLink** `object`

Summary of the underlying product/payment link (`id`, `name`, `type`,
`amount`, `variant`).

## Errors

**404 Not Found** `object`

Returned with `messages: "Bundling not found"` when no bundling product matches
the supplied `uuId`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.