Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
PurchaseOption
The PurchaseOption enum specifies the type of purchase option when building the PurchaseOptions array for MarketplaceService:PromptBulkPurchase().
Use TimedOption for timed option durations and Permanent for standard full-price purchase. Only one entry is allowed in PurchaseOptions; providing more than one throws an error.
Do not hardcode duration values when using TimedOption. Always retrieve available durations from the backend APIs and pass them through, as they may change at any time.
Items
| Name | Value | Description |
|---|---|---|
| TimedOption | 1 | A timed ownership option. The Value field specifies the duration in seconds. |
| Permanent | 2 | A permanent ownership purchase option. |
TimedOption
A timed ownership option. The Value field specifies the duration in seconds.
| Field | Value |
|---|---|
| value | 1 |
Permanent
A permanent ownership purchase option.
| Field | Value |
|---|---|
| value | 2 |