Product Collections let you group related products (e.g., Starter, Pro, Enterprise plans) under one umbrella. Display all options in a single checkout, define upgrade/downgrade paths, and give customers the flexibility to switch plans directly from the Customer Portal.

Key Highlights
- Collection-based structure: Group related products (plans, tiers, pricing options) under a single collection for organized management.
- One collection, many products: Include multiple products like Starter, Pro, Lifetime, etc., each with its own pricing model.
- Dynamic checkout experience: Display all products from a collection in one checkout view, letting customers choose their preferred plan.
- Merchant-level control: Enable, disable, and reorder products within each collection. The first product is automatically pre-selected at checkout.
- Lifecycle awareness: Enable customers to upgrade or downgrade between products in the same collection via the Customer Portal.
Creating a Product Collection
Product Collections are created and managed from the dashboard or via API. Each collection acts as a container for related products.1
Create the collection
Define the collection with a name and optional description. Upload an image to visually represent the collection in checkout.
Collection fields:

- Name (required): Display name for the collection (e.g., “SaaS Plans”, “License Tiers”)
- Description (optional): Brief explanation shown in checkout
- Image (optional): Visual branding for the collection
2
Add products to the collection
Add existing products to your collection. Products can be organized into groups for better structure.
Product organization:

- Groups: Optionally organize products into named groups (e.g., “Monthly Plans”, “Annual Plans”)
- Ungrouped products: Products without a group appear at the collection level
- Ordering: Drag and drop to set the display order
3
Configure ordering and visibility
Control the display order and visibility of products within the collection.Configuration options:
- Product status: Enable or disable individual products within the collection
- Display order: Drag and drop to set the sequence products appear in checkout
The first product in the collection is automatically pre-selected as the default at checkout. Reorder products to change which one is selected by default.
Collection Checkout
Collections enable a unified checkout experience where customers can view and select from all available products in one place.Checkout Types
Collection Checkout Experience
When using a collection checkout:- All active products displayed: Customers see every enabled product in the collection
- First product pre-selected: The first product in the collection order is automatically selected
- Product details shown: Each product displays its name, description, and pricing
- Single selection: Customer selects one product to purchase
- Standard flow continues: After selection, the checkout proceeds with the chosen product’s pricing and billing settings

API Integration
Create a checkout session for a collection:Customer Portal Integration
Customers can upgrade or downgrade between products within the same collection directly from the Customer Portal.Plan Management Actions

Upgrade/Downgrade Rules
- Upgrades and downgrades are only available between products within the same collection
- Proration is applied based on your subscription settings
- Email notifications are sent to the business on every upgrade, downgrade, or cancellation

Customers cannot change to products outside their current collection. Create separate collections for distinct product lines.
Subscription Settings
Cấu hình cách đăng ký và thay đổi gói hoạt động trên toàn bộ doanh nghiệp của bạn từ Cài đặt → Đăng ký trong bảng điều khiển của bạn.
Available Settings
Thay đổi gói qua Cổng thông tin khách hàng bị tắt theo mặc định. Kích hoạt “Cho phép Cập Nhật Đăng Ký” trong Cài đặt → Đăng ký để cho phép khách hàng nâng cấp hoặc hạ cấp giữa các sản phẩm trong cùng một bộ sưu tập.
Tắt “Allow Subscription Cancellation” sẽ ẩn tính năng tự hủy đối với customers và từ chối các yêu cầu hủy được thực hiện thông qua Customer Portal API. Các thao tác hủy của riêng merchant không bị ảnh hưởng. Xem Hủy một Subscription.
Để biết chi tiết về cách các lần sử dụng trial được đối chiếu và ghi nhận, xem Ngăn lạm dụng Trial.
Subscription Plan Changes
Tìm hiểu thêm về các chế độ proration và hành vi khi thay đổi plan.
Quản lý Collections
Product Collections có thể được quản lý thông qua dashboard của Dodo Payments hoặc theo cách lập trình thông qua API. API cung cấp toàn quyền kiểm soát việc tạo collection, cập nhật, tải lên hình ảnh, lưu trữ, cũng như quản lý các nhóm lồng nhau và products.Thao tác trên Dashboard
- Tạo: Thiết lập các collections mới cùng products và groups
- Cập nhật: Thay đổi tên, mô tả, hình ảnh và cách tổ chức products
- Sắp xếp lại: Kéo và thả để thay đổi thứ tự hiển thị của products
- Bật/Tắt products: Kiểm soát những products xuất hiện trong checkout
- Lưu trữ: Ẩn một collection mà không xóa vĩnh viễn (có thể bỏ lưu trữ sau)

Quản lý API
Các endpoints sau đây cho phép bạn tạo, cập nhật, truy xuất, lưu trữ và sắp xếp các product collections theo cách lập trình — bao gồm quản lý các groups lồng nhau và products bên trong chúng.Listing Product Collections
Listing Product Collections
Lấy tất cả product collections được liên kết với tài khoản của bạn bằng một yêu cầu
GET đến endpoint /product-collections. Hỗ trợ phân trang, lọc theo brand và bao gồm các collections đã lưu trữ.List Product Collections API
Xem cấu trúc request và response chi tiết trong tài liệu API List Product Collections.
Creating a Product Collection
Creating a Product Collection
Tạo một product collection mới bằng cách gửi yêu cầu
POST đến endpoint /product-collections với các thông tin như tên, mô tả và brand.Create Product Collection API
Xem cấu trúc request và response chi tiết trong tài liệu API Create Product Collection.
Retrieving a Product Collection
Retrieving a Product Collection
Lấy thông tin chi tiết về một product collection cụ thể — bao gồm các groups và product items — bằng một yêu cầu
GET đến endpoint /product-collections/{id}.Get Product Collection API
Xem cấu trúc request và response chi tiết trong tài liệu API Get Product Collection.
Updating a Product Collection
Updating a Product Collection
Sửa đổi thông tin của một product collection (tên, mô tả, brand, v.v.) bằng cách gửi yêu cầu
PATCH đến endpoint /product-collections/{id}.Update Product Collection API
Xem cấu trúc request và response chi tiết trong tài liệu API Update Product Collection.
Uploading Collection Images
Uploading Collection Images
Liên kết hình ảnh với một collection bằng cách tải hình ảnh lên thông qua pre-signed URL. Yêu cầu URL tải lên từ endpoint
/product-collections/{id}/images, sau đó PUT hình ảnh đến URL được trả về trong vòng 60 giây.Update Collection Images API
Xem cấu trúc request và response chi tiết trong tài liệu API Update Collection Images.
Archiving a Product Collection
Archiving a Product Collection
Lưu trữ một collection bằng cách gửi yêu cầu
DELETE đến endpoint /product-collections/{id}. Thao tác này ẩn collection khỏi việc sử dụng mới nhưng không xóa vĩnh viễn collection.Archive Product Collection API
Xem cấu trúc request và response chi tiết trong tài liệu API Archive Product Collection.
Unarchiving a Product Collection
Unarchiving a Product Collection
Khôi phục một collection đã lưu trữ bằng cách gửi yêu cầu
POST đến endpoint /product-collections/{id}/unarchive.Unarchive Product Collection API
Xem cấu trúc request và response chi tiết trong tài liệu API Unarchive Product Collection.
Managing Groups within a Collection
Managing Groups within a Collection
Groups giúp bạn tổ chức products bên trong một collection (ví dụ: “Monthly Plans” và “Annual Plans”). Sử dụng các groups endpoints để thêm, cập nhật hoặc xóa groups trong một collection.
- Tạo một group:
POST /product-collections/{id}/groups - Cập nhật một group:
PATCH /product-collections/{id}/groups/{group_id} - Xóa một group:
DELETE /product-collections/{id}/groups/{group_id}
Create Group
Thêm một group mới vào product collection.
Update Group
Sửa đổi tên hoặc các thuộc tính của một group.
Delete Group
Xóa một group khỏi collection.
Managing Products within a Group
Managing Products within a Group
Quản lý các product items riêng lẻ bên trong một group — thêm products mới, cập nhật các items hiện có (chẳng hạn như thứ tự hiển thị) hoặc xóa hoàn toàn chúng.
- Thêm products vào một group:
POST /product-collections/{id}/groups/{group_id}/items - Cập nhật một group item:
PATCH /product-collections/{id}/groups/{group_id}/items/{item_id} - Xóa một group item:
DELETE /product-collections/{id}/groups/{group_id}/items/{item_id}
Add Products to Group
Thêm một hoặc nhiều products vào một group trong collection.
Update Group Item
Cập nhật một product item trong group.
Delete Group Item
Xóa một product item khỏi group.
Best Practices
- Nhóm hợp lý: Tổ chức products theo chu kỳ thanh toán (hàng tháng/hàng năm) hoặc cấp tính năng (starter/pro/enterprise)
- Sắp xếp có chiến lược: Đặt plan phổ biến hoặc được đề xuất nhất ở vị trí đầu tiên vì plan này sẽ được chọn trước tại checkout
- Đặt tên rõ ràng: Tên products nên truyền đạt rõ sự khác biệt về giá trị
- Bật cả hai chiều: Cho phép cả upgrade và downgrade để mang lại sự linh hoạt cho customers
- Cân nhắc proration: Chọn chế độ proration phù hợp với mô hình kinh doanh của bạn
- Kiểm thử kỹ lưỡng: Xác minh các flow checkout và thay đổi plan trong test mode trước khi go-live
Bạn đã sẵn sàng tạo product collections và cung cấp cho customers trải nghiệm lựa chọn plan thống nhất.
Products
Tạo các products one-time, subscription hoặc usage-based để thêm vào collections.
Checkout
Hiển thị các products của collection trong trải nghiệm checkout thống nhất.
Customer Portal
Cho phép customers upgrade hoặc downgrade trong cùng một collection.
Subscriptions
Quản lý các recurring plans với proration và thay đổi plan.