Properties
Name | Type | Required | Description |
---|
| businessId | string | ✅ | Unique identifier for the business to which the product belongs. |
| createdAt | string | ✅ | Timestamp when the product was created. |
| isRecurring | boolean | ✅ | Indicates if the product is recurring (e.g., subscriptions). |
| productId | string | ✅ | Unique identifier for the product. |
| taxCategory | model | ✅ | Represents the different categories of taxation applicable to various products and services. |
| updatedAt | string | ✅ | Timestamp when the product was last updated. |
| currency | model | ❌ | |
| description | string | ❌ | Description of the product, optional. |
| image | string | ❌ | URL of the product image, optional. |
| name | string | ❌ | Name of the product, optional. |
| price | integer | ❌ | Price of the product, optional. The price is represented in the lowest denomination of the currency. For example: - In USD, a price of `$12.34` would be represented as `1234` (cents). - In JPY, a price of `¥1500` would be represented as `1500` (yen). - In INR, a price of `₹1234.56` would be represented as `123456` (paise). This ensures precision and avoids floating-point rounding errors. |
| priceDetail | model | ❌ | |
| taxInclusive | boolean | ❌ | Indicates if the price is tax inclusive |