Grouped Pricing min/max not displayed on Item rated response

edited September 30 in Developers
How can I get the exact min and max for item with grouped pricing.

Comments

  • Hi raymon_wend,

    Thank you for using our forums!

    When making a rated query to the /item endpoint, the min and max thresholds for any group pricing are shown in the response. There are two locations this is displayed, and here is an example:
    "item": {  
       "gprice": {
    "adults": {
    "1-2": "g",
    "3-4": "q"
    }
    },
    }
    
    "item": {
    "rate":{
    "event": [
    {
    "adults": {
    "amount": 234,
    "days": 1,
    "type": "g",
    "range": "3-4"
    },
    "adults~1-2": {
    "amount": 212,
    "type": "g"
    },
    "adults~3-4": {
    "amount": 234,
    "type": "q"
    },
    }
    ],
    }
    }

    The 'g' and 'q' values indicate how the group is priced:
    g = per group
    q = per quantity

    I hope this helps! If you have any more questions about a specific response you are seeing, please email us at support@checkfront.com so that we can better assist!

    All the best,
    Chase
    Technical Support Analyst
    Checkfront | www.checkfront.com/contact | Email: support@checkfront.com
  • Hi Chase,

    Thank you for your request, this really helps.

    Best Regards,
    Raymon

Sign In or Register to comment.