Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
854 B
1
Indexable
Never
  @POST("products/reviews?consumer_key=ck_8adb598c52c8818e2920ba87b99d65f1e2c26360&consumer_secret=cs_4625fc02d5a68d1a4e66ec0114834aee7b30d94d")
    suspend fun postcomment(@Query("product_id")productId: Int = 671 , @Query("reviewer")reviewer:String = "date" , @Query("review")review:String = "nice" , @Query("reviewer_email")email:String= ""):CommentResponse
    @PUT("products/reviews/{id}?consumer_key=ck_8adb598c52c8818e2920ba87b99d65f1e2c26360&consumer_secret=cs_4625fc02d5a68d1a4e66ec0114834aee7b30d94d")
    suspend fun updatecomment(@Path("id")reviewid:Int , @Query("review")review:String = "nice"):CommentResponse
    @DELETE("products/reviews/{id}?consumer_key=ck_8adb598c52c8818e2920ba87b99d65f1e2c26360&consumer_secret=cs_4625fc02d5a68d1a4e66ec0114834aee7b30d94d")
    suspend fun deletecomment(@Path("id")reviewid:Int):CommentResponse