deleteAssetById abstract method
- @DELETE("${Api.addToCart}/{cartId}/assets")
Future<CartModel>
deleteAssetById(
{ - @Path("cartId") required String cartId,
- @Query("assetId") String? assetId,
- @Query("startRange") String? startRange,
- @Query("endRange") String? endRange,
- @Query("productCode") String? productCode,
- @Header("X-User-Id") String xUserId = "",
- @Header("Content-Type") String type = "application/json",
- @Header("X-Roles") String xRoles = "",
})
Implementation
@DELETE("${Api.addToCart}/{cartId}/assets")
Future<CartModel> deleteAssetById(
{@Path("cartId") required String cartId,
@Query("assetId") String? assetId,
@Query("startRange") String? startRange,
@Query("endRange") String? endRange,
@Query("productCode") String? productCode,
@Header("X-User-Id") String xUserId = "",
@Header("Content-Type") String type = "application/json",
@Header("X-Roles") String xRoles = ""});