Item Conditions
Default values for item condition in the backend are not provided; however, it is possible to manage them on the client side. Like we are doing it with our app by setting the default value for item condition to "not damaged". If no additional conditions are specified through the backend, the conditions will not be displayed.
Adding predefined item conditions
You can add localized itemConditions
to the returnConfiguration
via API.
The translation depends on the locale of the user using this endpoint and the tenantLocaleConfiguration as a fallback.
Using item conditions in itemReturns
A user of our API can use these predefined conditions or provide their own ones when creating or updating itemReturnLineItem
of an ItemReturn
.
The localized condition can be provided like this example:
When getting this ItemReturn
via REST oder GQL, you will receive an additional field called itemCondition
which contains only the localized value. This translation depends on the users locale.
Getting and setting these values via REST:
Last updated