/flatrateline
How does the flatrateline endpoint work?
Introduction
Always look to the model for list of required fields
Validation
During POST and PUT there is extra validation besides the required field check. The following combination of fields is not possible:
article_id and quantity filled and not filled turnovergroup_id
article_id used and is_manual_input = 1Â
is_no_article_price = 1 and not filled article_id
is_no_article_price = 1 and not filled price or price = 0
article_number and is_manual_input and not filled article_id
article_numer and article_id and is_manual_input = 1
sort_order wrong value (does already exist)
article_id but not filled article_number
article_id but article_number, does not belong to article_id
unit_type but not filled article_kind
article_kind but not filled unit_type
article_id or article_number and is_manual_input but then these must be filled article_kind and unit_type
Related articles
Â