Reference API Roblox

Engine API

Website

Related

Reference API Roblox

PurchaseOption

Specifies the type of purchase option in a bulk purchase prompt.

Items 2

HistoryNameValueDescription
715TimedOption1

A timed ownership option. The Value field specifies the duration in seconds.

715Permanent2

A permanent ownership purchase option.

Description

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.

History 3

Settings