You can submit a purchase request for a user by using the following URL and specifying the required parameters.
**Please note that this method is ONLY to be used for Buy-It-Now purchases.
| Method | URL |
| POST | https://api.fairwarningsoftware.com/v1.1.1/buy/[item-id] |
| Request |
| { "user_id": <user_id> } |
| Field | Type | Description |
| user_id | int | The ID of the user placing the bid |
If successful, a success response will be returned. If not, an error will be returned instead.
| Status | Response |
| 200 | { "success": <success> } |
| 401 | {"error":"The API keys provided are invalid."} |
| 403 | {"error":"API keys are missing."} |
| 500 | {"error": <custom error>} |
| Field | Type | Description |
| success | bool | Whether or not the request was successful |