Get Package Price 6 API
POST /getPackagePrice6
Description
This endpoint retrieves the price of a package based on the provided group ID, specifically for the getPackagePrice6
query.
Request
Endpoint: /getPackagePrice6
Method: POST
Body:
query getPackagePrice6 ($groupId: Int!) {
getPackagePrice6 (groupId: $groupId) {
groupId
price
}
}
GraphQL Variables:
{
"groupId": 0
}
Example Request
cURL:
curl --location 'YOUR_API_ENDPOINT' \
--header 'Content-Type: application/json' \
--data '{"query":"query getPackagePrice6 ($groupId: Int!) {\n getPackagePrice6 (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 likely an updated or alternative version of previous
getPackagePrice
queries. Verify any changes or additional data fields. - Prices may vary based on different factors, such as group size or service level. Always check for the latest price updates.
- If you encounter issues, confirm that the
groupId
is accurate and exists in the system.