docs

Product

A Product represents a good or service you sell. Products carry only descriptive information (name, description, images), while their pricing is described separately by Price objects. A single Product can have many Prices: for example, the same digital course offered in EGP and USD, or at different tiers. Use Products to model your catalog and Prices to model how each is sold.

{
  "id": "prod_abc123",
  "object": "product",
  "name": "Premium Plan",
  "description": "string",
  "image": "string",
  "unitLabel": "string",
  "active": true,
  "isSystemCreated": false,
  "metadata": {},
  "defaultPriceId": "string",
  "merchantId": "merch_xyz789",
  "prices": [
    {
      "id": "price_abc123",
      "object": "price",
      "name": "string",
      "description": "string",
      "currency": "EGP",
      "unitAmount": 0,
      "type": "ONE_TIME",
      "recurring": {},
      "customUnitAmount": {},
      "stock": 0,
      "startDate": "string",
      "expirationDate": "string",
      "active": true,
      "createdAt": "string",
      "updatedAt": "string",
      "productId": "string"
    }
  ],
  "createdAt": "string",
  "updatedAt": "string"
}