[API] Added parent_id in products endpoint, closes #6786