PUT api/v1/offers/powerleveling
Update an existing powerleveling (boosting) offer.
i. Request Example
{
"offerId": 71394385,
"gameId": 3637,
"title": "Simple Title Update",
"offerDesc": "<p>Simple Title Update</p>",
"offerDuration": 30,
"agreeCheck": true,
"price": 69.98,
"totalUnit": 100,
"parentItemId": 863,
"itemId": ""
}
ii. Request Parameters
Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| offerId | int | Yes | Offer ID to update. |
| gameId | int | Yes | Game ID. |
| price | decimal | Yes | Offer price. |
| offerDuration | int | Yes | Offer duration in days(3, 7, 14, 30). |
| agreeCheck | bool | Yes | Agreement check. |
| title | string | Yes | Offer title. |
| offerDesc | string | No | Offer description. |
| totalUnit | int | Yes | Total units available. |
| parentItemId | int | Yes | Parent category ID. |
| itemId | int? | No | Category sub-item ID. |
iii. Response Example
Success Response
{
"code": 10000,
"message": "",
"requestId": "550e8400-e29b-41d4-a716-446655440000",
"data": {
"offerId": 71394386,
"navigateURL": "https://www.playerauctions.com/lol-boosting/71394386p!simple-title-update/",
"title": "Simple Title Update",
"productType": "powerleveling",
"gameName": "League of Legends",
"productName": "Power leveling",
"screenShot": "",
"recentLable": "LOL Power leveling",
"recentURL": "/offerCreation/?gameid=3637&type=powerleveling",
"imageBlacklist": ""
}
}
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | int | Response code. 10000 indicates success, other values indicate an error. |
| message | string | Response message. Contains error details on failure. |
| requestId | string | Unique identifier for the request, used for tracking. |
| data | object | Updated offer data. |
| offerId | int | Unique identifier for the updated offer. |
| navigateURL | string | Direct URL to view the offer on the marketplace. |
| title | string | The updated title of the offer. |
| productType | string | Type of product, always "powerleveling" for this endpoint. |
| gameName | string | Full name of the game associated with the offer. |
| productName | string | Display name of the product category. |
| screenShot | string | URL to the offer's screenshot image (empty if none). |
| recentLable | string | Label used for recent activity tracking. |
| recentURL | string | URL path for creating similar offers. |
| imageBlacklist | string | List of blacklisted image identifiers (empty if none). |
iv. Error Response Example
Error Response
{
"code": 10002,
"message": "Invalid parameter.",
"requestId": "550e8400-e29b-41d4-a716-446655440000"
}Common Error Codes
| Parameter | Type | Description |
|---|---|---|
| code | int | Error code. Common values: 10002 (Invalid parameter), 50001 (Internal server error). |
| message | string | Detailed error message explaining what went wrong. |
| requestId | string | Unique identifier for the request, used for tracking. |