How to get name of packages for specfic item

edited August 9 in Developers
Hi,

I am consuming API   GET '/api/3.0/item/{item_id}/cal' but getting response without package name, let me shere response of a package of specific item. Could be possible to share suggestion for how to get packages name along with response.

Array ( [package_id] => 90 [package_key] => 90 [optin] => O [package_rate] => 50 [select_package_params] => 1 )

Thanks


Comments

  • Hello Taliv,

    Thank you for using our forums!

    The `item/cal` endpoint is meant to return the availability of each individual item. It does not give information about the item's package add-ons.

    You could use something like `item/cal?item_id=1,2,3...` to query multiple items at the same time. That way, you could query the parent item as well as any package add-ons.

    If you are just trying to find which package add-ons an item has, then you would need to make a rated query for that item:
    `item/{item_id}?start_date={date}

    The response will contain 'item -> package', which will show which items are attached as package add-ons.

    I hope this helps, and let us know if you have any more questions.

    All the best,

    Chase
    Technical Support Analyst
    Checkfront | www.checkfront.com/contact | Email: support@checkfront.com

  • edited August 14
    Thanks, receive details of the package of particular item. 


Sign In or Register to comment.