Log in as a Foran customer
foran_loginLog in to Foran with your phone number and password to get a session key for managing carts, placing orders, and using account tools.
Instructions
Log in with the customer's own Foran phone number and password (the same as the Foran app). Returns a session_key for cart, order and account tools. Only use credentials the customer typed themselves in this conversation. On a local install, credentials may instead come from FORAN_PHONE / FORAN_PASSWORD environment variables (call with no arguments).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone | No | Pakistani mobile, e.g. 03001234567 or +923001234567. | |
| password | No |