GetComponentsResponseDto
Cursor for fetching the next page of results
eyJsYXN0SWQiOiIxMjNlNDU2NyIsImxhc3RWYWx1ZSI6IjIwMjQtMDYtMTAifQCursor for fetching the previous page of results
eyJmaXJzdElkIjoiOTg3ZmVkY2IiLCJmaXJzdFZhbHVlIjoiMjAyNC0wNS0xNSJ9Total amount of results
results object[]required
List of components matching the query criteria
Unique identifier for the component
1Name of the component
ShoesLanguage of the component
Possible values: [nl, en, de]
category object
Category of the component
Unique identifier for the category
1Name of the category
Apparelproduct object
Product info
Quantity/amount of the product
1unit objectrequired
Unit configuration for this product
Unique identifier for the unit
1unitLanguages object[]required
Translations of the unit in different languages
Language code
Possible values: [nl, en, de]
Singular form of the unit in this language
hourPlural form of the unit in this language
hoursWhether the unit is global
Flexibility setting for the product
Possible values: [fixed, provisional, estimate]
Recurring billing frequency
Possible values: [once, daily, weekly, monthly, yearly]
Whether the product is optional
Whether the amount is adjustable by the client
Minimum allowed amount for the client to set
0Maximum allowed amount for the client to set
1000Whether only whole numbers are allowed for amounts set by the client
currencies object[]required
Array of currency configurations for this product
Currency code
Possible values: [USD, AUD, GBP, CAD, CNY, EUR, INR, JPY, AED, CHF, BTC, ETH]
Price in the specified currency
Discount amount
Unit for the discount
Possible values: [currency, percentage]
vat objectrequired
VAT configuration for this currency
Unique identifier of the VAT configuration
5Name/type of the VAT configuration
Possible values: [exempt, incl_low, incl_high, excl_low, excl_high]
VAT percentage
Country code for the VAT
Possible values: [nl, be, de]
Whether VAT is included in the price
Custom identifier for the product
SHOES-123Whether the product is active
Date when the component was created
Date when the component was last updated
{
"nextCursor": "eyJsYXN0SWQiOiIxMjNlNDU2NyIsImxhc3RWYWx1ZSI6IjIwMjQtMDYtMTAifQ",
"previousCursor": "eyJmaXJzdElkIjoiOTg3ZmVkY2IiLCJmaXJzdFZhbHVlIjoiMjAyNC0wNS0xNSJ9",
"total": 0,
"results": [
{
"id": 1,
"name": "Shoes",
"language": "nl",
"category": {
"id": 1,
"name": "Apparel"
},
"product": {
"amount": 1,
"unit": {
"id": 1,
"unitLanguages": [
{
"language": "nl",
"singular": "hour",
"plural": "hours"
}
],
"global": true
},
"flexibility": "fixed",
"recurring": "once",
"optional": true,
"amountAdjustable": true,
"minimumAmount": 0,
"maximumAmount": 1000,
"wholeNumbers": true,
"currencies": [
{
"currency": "USD",
"price": 0,
"discount": 0,
"discountUnit": "currency",
"vat": {
"id": 5,
"name": "exempt",
"percentage": 0,
"country": "nl",
"including": true
}
}
],
"productCode": "SHOES-123",
"active": true
},
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z"
}
]
}