Function /seller/counteroffer/get
Function invocation
https://json.aftermarket.pl/seller/counteroffer/get
Function description
Returns submitted counteroffer. The seller can propose a higher price to the buyer, and such proposition is called a counteroffer.
Input parameters
This function takes the following input parameters:
| Parameter | Type | Required | Default value | Description |
|---|---|---|---|---|
| counterOfferId | integer | YES | Counteroffer identifier |
Return value
Information about a submitted counteroffer (list of structures with the following fields):
| Field name | Type | Description |
|---|---|---|
| buyType | string | Selling document selected by the buyer (vat - invoice from Aftermaket.pl, novat - invoice without vat from seller company, person - without document) |
| counterOfferId | integer | Counteroffer identifier |
| currency | string | Counteroffer currency |
| expires | integer | Counteroffer expiration time as a Unix timestamp |
| listingId | integer | Counteroffer listing identifier |
| memberId | string | Buyer identifier |
| message | string | Message to the buyer |
| name | string | Domain name |
| nameIDN | string | Domain name (internationalized) |
| price | float | Counteroffer amount |
| sellerId | string | Seller identifier |
| status | string | Counteroffer status (one of offer, accept, buynow, reject, expire, paid, unpaid, withdraw, close) |
| time | integer | Offer time as a Unix timestamp |