Get Package Price 12 API
POST /getPackagePrice12
Description
This endpoint retrieves the price of a package based on the provided group ID, specifically for the getPackagePrice12
query.
Request
Endpoint: /getPackagePrice12
Method: POST
Body:
query getPackagePrice12 ($groupId: Int!) {
getPackagePrice12 (groupId: $groupId) {
groupId
price
}
}
GraphQL Variables:
{
"groupId": 0
}
Example Request
cURL:
curl --location 'YOUR_API_ENDPOINT' \
--header 'Content-Type: application/json' \
--data '{"query":"query getPackagePrice12 ($groupId: Int!) {\n getPackagePrice12 (groupId: $groupId) {\n groupId\n price\n }\n}","variables":{"groupId":0}}'
Response
The response will include the package price details:
groupId
: The ID of the group for which the package price is being retrieved.price
: The price of the package associated with the provided group ID.
Errors
- 404 Not Found: The provided
groupId
does not exist. - 500 Internal Server Error: Server error while processing the request.
- 400 Bad Request: Invalid
groupId
provided.
Notes
- Ensure that you provide a valid
groupId
to retrieve the correct package price. - This endpoint is specifically for retrieving price information related to
getPackagePrice12
. Verify any differences from other package price endpoints. - Prices may be updated periodically. Check for the latest pricing information to ensure accuracy.
- If you experience issues, verify that the
groupId
exists and is correctly provided.