CreateProductBodyDto
Quantity/amount of the product
Id of the unit used in the product
1Flexibility setting for the product
Possible values: [fixed, provisional, estimate]
Recurring billing frequency
Possible values: [once, daily, weekly, monthly, yearly]
Unique custom identifier for the product
COMPONENT-123Whether the product is active
Whether the product is optional
Whether the amount is adjustable by the client
Minimum allowed amount (when amountAdjustable is true)
Maximum allowed amount (when amountAdjustable is true)
Whether only whole numbers are allowed (when amountAdjustable is true)
currencies object[]
Array of currency configurations for this product, currencies must also be available in the workspace settings
Currency code
Possible values: [USD, AUD, GBP, CAD, CNY, EUR, INR, JPY, AED, CHF, BTC, ETH]
Price in the specified currency
2495VAT id for this currency
5Discount amount
Unit for the discount
Possible values: [percentage, currency]
{
"amount": 0,
"unitId": 1,
"flexibility": "fixed",
"recurring": "once",
"productCode": "COMPONENT-123",
"active": true,
"optional": true,
"amountAdjustable": true,
"minimumAmount": 0,
"maximumAmount": 0,
"wholeNumbers": true,
"currencies": [
{
"currency": "USD",
"price": 2495,
"vatId": 5,
"discount": 0,
"discountUnit": "percentage"
}
]
}