Products
Register Demand
Register "I need this" against a tentative listing.
Open to anonymous visitors on purpose: the whole value of a demand probe is the count, and putting a signup in front of the button would measure willingness to register rather than willingness to buy. An anonymous caller is identified by the session_id their client sends.
Pressing twice is not an error — the second press returns the same count with already_registered: true, so a retry or a double click cannot inflate the number. Optional coordinates say where the demand is, which is what tells a seller whether it is within their delivery range.
post/v1/products/{product_id}/demand
Request
- Base URL: http://localhost:8000
- URL: http://localhost:8000/v1/products/{product_id}/demand
- Auth: HTTP bearer
Path parameters
product_idinteger required
Headers
X-API-Keystring nullable
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 2 revisions of this API.