(
self, *, listing_id: int, price: int
)
| 443 | return response |
| 444 | |
| 445 | async def make_offer( |
| 446 | self, *, listing_id: int, price: int |
| 447 | ) -> Optional[dict]: |
| 448 | parameters = "/offers" |
| 449 | method = "POST" |
| 450 | json_data = { |
| 451 | "contract_id": str(listing_id), |
| 452 | "price": price, |
| 453 | "cancel_previous_offer": False |
| 454 | } |
| 455 | response = await self._request(method=method, parameters=parameters, json_data=json_data) |
| 456 | return response |
| 457 | |
| 458 | async def buy_now( |
| 459 | self, *, total_price: int, listing_id: str |