Products
Create Product
Toegang
Lid van de organisatie met dit recht:
products:update
Een API-sleutel met scopes heeft het recht ook in zijn scopes nodig.
POST
Creates a new product.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
application/json- body
name*stringdescription*string|nullamountPerUnit*numberledger*number|nulltaxPercentage*numberRange
0 <= value <= 100taxRegime?stringValue in
"STANDARD""EU_REVERSE_CHARGE""CO_CONTRACTOR""INTRA_COMMUNITY_SUPPLY""EXPORT""EXEMPT"disabled?booleanDefault
falseguardCustomerLedgerBalance?booleanguardAdditionalLedgers?array<>Items
items <= 20configuredActions?array<>Default
[]metadata?Default
{}customFields?OK
application/json- response
curl -X POST 'https://api.tillor.eu/orgs//products' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "description": "string", "amountPerUnit": 0, "ledger": 0, "taxPercentage": 0}'Example Response
null