Products
Update Product
Access
Member of the organization with this permission:
products:update
An API key with scopes also needs the permission among its scopes.
PUT
Updates an existing product.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
id*stringapplication/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?createdAt*stringFormat
date-timeupdatedAt*stringFormat
date-timeOK
application/json- response
curl -X PUT 'https://api.tillor.eu/orgs//products/string' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "description": "string", "amountPerUnit": 0, "ledger": 0, "taxPercentage": 0, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}'Example Response
null