reorderPersonalRecommendations method

Future<ReorderListResponse> reorderPersonalRecommendations(
  1. List<int> ids
)

Reorder all items on a user's personal recommendations by sending the updated rank of list item ids.

Use the /sync/recommendations method to get all list item ids.

ids - the updated rank of recommendation ids.

🔒 OAuth Required

Implementation

Future<ReorderListResponse> reorderPersonalRecommendations(
    List<int> ids) async {
  return await _manager._authenticatedPost<ReorderListResponse>(
      "sync/recommendations/reorder",
      body: jsonEncode({"rank": ids}));
}