GET api/v1/offers/powerleveling/{id}
Query a single powerleveling offer by ID.
i. Request Parameters
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | int | Yes | Offer ID. |
ii. Response Example
Success Response
{
"code": 10000,
"message": "",
"requestId": "550e8400-e29b-41d4-a716-446655440000",
"data": {
"totalUnit": 100,
"itemId": 516,
"itemPath": "516",
"parentItemId": 516,
"rootItem": 516,
"gameId": 3637,
"price": 69.990000,
"offerDuration": 30,
"title": "Simple Title",
"offerDesc": "<p>Simple Title Update</p>",
"offerId": 71394385,
"isAgree": false,
"memberId": 60000,
"state": 1,
"productType": "powerleveling"
}
}
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 | Powerleveling offer details. |
| totalUnit | int | Total quantity of the service units. |
| itemId | int | Unique identifier for the item. |
| itemPath | string | Hierarchy path of the item. |
| parentItemId | int | Identifier of the parent item in the hierarchy. |
| rootItem | int | Identifier of the root item in the hierarchy. |
| gameId | int | Unique identifier for the game. |
| price | float | Price of the powerleveling offer. |
| offerDuration | int | Duration of the offer in days. |
| title | string | Title of the powerleveling offer. |
| offerDesc | string | HTML formatted description of the offer. |
| offerId | int | Unique identifier for the offer. |
| isAgree | boolean | Indicates whether the offer terms are agreed upon. |
| memberId | int | Unique identifier for the member/seller. |
| state | int | Current state of the offer (0 closed, 1 active, 3 hidden). |
| productType | string | Type of product, always "powerleveling" for this endpoint. |
iii. Error Response Example
Error Response
{
"code": 10002,
"message": "Offer not found.",
"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. |