Products
Create Product
Dostęp
Członek organizacji z tym uprawnieniem:
products:update
Klucz API z zakresami potrzebuje też tego uprawnienia w swoich zakresach.
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