Skip to Content
Paycose Docs
Products

Products

The product object

A product is something you sell, a good or a service. Prices belong to a product and set how much it costs and how often it is billed; you sell a product on invoices, quotes, subscriptions and Checkout Sessions through its prices.

Attributes

  • idstringRequired

    Unique identifier for the object.

  • objectstringRequired

    String naming the object's type.

  • livemodebooleanRequired

    true when the object exists in live mode, false in test mode.

  • createdtimestampRequired

    Time the object was created, in Unix seconds.

  • updatedtimestampRequired

    Time the object last changed, in Unix seconds.

  • namestringRequired

    Name of the product.

  • activebooleanRequired

    Whether the product can be used. An inactive product can't be added to invoices.

  • descriptionstringRequired

    Longer description of the product. Empty when none was given.

  • imagestringRequired

    URL of an image of the product. Empty when none was given.

  • metadataobjectRequired

    Key-value pairs for your own use. Product metadata is not currently stored, so this is an empty object.