Retrieve all of our listings.
Please note that prices are in cents.
Send a GET request to http://lmnd.st/listings.{format}
You will receive a response like this:
Retrieve a single listing
Send a GET request to http://lmnd.st/listings/{id}.{format}
You will receive a response like this:
Create a new listing
Send a POSTrequest to http://lmnd.st/listings.{format}
Be sure to set your Content-type header properly.
You must send content like this:
You will receive a response like this. Be sure to store your management_url as it is the only way to update your listing.
Modify an existing listing.
Send a PUT request to http://lmnd.st/listings/{id}.{format}
Be sure to set your Content-type header properly.
You must send content like this be sure to include your management_url - this is authentication:
You will receive back a HTTP/1.1 200 OK code if successful, or a HTTP/1.1 401 Unauthorized code if your management url is incorrect.
To initiate a call between the buyer and seller, simply make a POST to http://lmnd.st/l/{ID} with "phonenumber" as the buyer's phone number in POST values.