Get in trade reasons
Returns a list of reasons for changing the in trade status. This is used in conjunction with the set in trade status API.
| URL: | https://api.trademe.co.nz/v1/InTradeReasons.{file_format} |
|---|---|
| HTTP Method: | GET |
| Requires Authentication? | Yes |
| Permission Required: | None |
| Supported Formats: | XML, JSON |
| Rate Limited? | Yes |
URL parameters
| file_format | Enumeration (required) | The format of the response. | ||||
|---|---|---|---|---|---|---|
|
||||||
Returns
Collection of <InTradeReason>
List of in trade reasons
| ReasonId | Integer |
The reason id to use in set in trade status API. |
|---|---|---|
| Description | String or null |
The display description. |
| IsOptInReason | Boolean |
Determines whether this reason can be used to set the in trade status to true. |
| IsOptOutReason | Boolean |
Determines whether this reason can be used to set the in trade status to false. |
| NeedsComment | Boolean |
Determines whether this reason needs an additional comment when using in set in trade status API. |