changeUserId method

  1. @override
Future<LinkFiveActiveProducts> changeUserId(
  1. String? userId
)
override

Should change the USER ID.

Implementation

@override
Future<LinkFiveActiveProducts> changeUserId(String? userId) async {
  final uri = _makeUri("api/v1/purchases/user/customer-user-id");

  final response = await httpClient.put(uri, headers: await _headers);
  return _parseOneTimePurchaseListResponse(response);
}