Consumers
publicly-accessible
Get consumers details
Changed onCurrently this operation only supports retrieving a count of consumer accounts given an email address.
get/consumers/{tenant}
Request
- Base URLhttps://uk.api.just-eat.io
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
tenantstring required
The identifier for the tenant.
Query parameters
emailAddressstring required
Email address of the consumer.
accountType'registered' required
The account type of the consumer - currently only 'registered' accounts are supported.
countstring required
Returns the number of consumers that matches the emailAddress and accountType. The query value should be empty, e.g. /consumers/uk/?emailAddress=someone@email.com&accountType=registered&count.
Response
Success
Changes
- warning
the optional response header
Retry-Afterremoved for the status500
- warning