Products
Create Product
Acceso
Miembro de la organización con este permiso:
products:update
Una clave API con scopes también necesita el permiso entre sus scopes.
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*numbertaxRegime?stringValue in
"STANDARD""EU_REVERSE_CHARGE""CO_CONTRACTOR""INTRA_COMMUNITY_SUPPLY""EXPORT""EXEMPT"disabled?booleanDefault
falseguardCustomerLedgerBalance?booleanconfiguredActions?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