API / Developers
Developer Center

Deal Object


JSON Object
Deal
Not all fields are returned on every method. This lists the available members of the Deal object.


Members

[id] The unique id for this deal (location).
[restaurant_name] The name of the restaurant.
[address] The street address of the restaurant.
[city] The city where the restaurant is located.
[state] The state (abbreviation, 2 chars) where the restaurant is located.
[postal] The zip code of the restuarant.
[description] The deal. A string value with the offer.
[chain_id] The ID of the chain. Every restaurant is in a chain, even if there is only one location.
[phone] The phone number of the restaurant.
[current_score] An integer value representing the reliability of this deal. Values range from 0 (not reliable) to 100 (extremely reliable).
[offered_sunday] True if the deal is offered on Sunday, False if not.
[offered_monday] True if the deal is offered on Monday, False if not.
[offered_tuesday] True if the deal is offered on Tuesday, False if not.
[offered_wednesday] True if the deal is offered on Wednesday, False if not.
[offered_thursday] True if the deal is offered on Thursday, False if not.
[offered_friday] True if the deal is offered on Friday, False if not.
[offered_saturday] True if the deal is offered on Saturday, False if not.
[is_free] True if the deal is a kids eat free offer, False if a kids eat cheap offer.
[count] When grouped (see the Nearby API) this integer value represents the number of locations in the chain.
[latitude] The geographic latitude of this location.
[longitude] The geographic longitude of this location.
[my_vote] The current device vote on this deal. Values are -1 for vote down, 0 for no vote, 1 for vote up.
[has_menu] True if the deal has an available menu, False if not.
[has_reviews] True if the deal has available reviews, False if not.