Consumers
publicly-accessible
Create consumer
Changed onCreates a consumer for the given tenant.
post/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. The only supported tenants are uk, au and nz
Request body
Example request
{
"emailAddress": "consumer@just-eat.com",
"password": "Pa55word",
"firstName": "Bob",
"lastName": "Smith",
"registrationSource": "Native"
}Response
Consumer created.
Example response
{
"type": "otac",
"token": "SKgaDl0wZxnwjNgLxBnU646PDTquWLHOyPuyzidIZIg="
}Changes
- warning
the optional response header
Retry-Afterremoved for the status500
- warning