• Studio

  • Studio API

  • Bots

  • Web API

  • Designer Resources

  • Host Resources

  • WorldProductPurchase

    Inherits from: Object

    Represents a product purchase made by a player in the game.

    Properties

    ServerOnly

    The purchase ID of the product purchase.

    print(WorldProductPurchase.purchase_id)
    
    ServerOnly

    The product ID of the product.

    print(WorldProduct.product_id)
    

    user_id

    string

    ServerOnly

    The user ID of the player who made the purchase.

    print(WorldProductPurchase.user_id)
    
    ServerOnly

    The date and time the purchase was made.

    print(WorldProductPurchase.purchase_date)
    

    Updated 2 months ago

    PocketWorlds Icon

    © 2024 Pocket Worlds. All rights reserved.