create_store
Register a NEW Mystoq store (tenant). Returns the store id, slug and an access token. No auth needed. WRITE.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Store name. | |
| slug | No | Desired store address, the <slug>.mystoq.com part. Optional: derived from the store name when omitted. Latin letters, digits and hyphens, 3-30 chars. | |
| Yes | Owner email. | ||
| phone | Yes | Owner phone in Algeria (e.g. 0555123456). Required — a cash-on-delivery store cannot take an order without one. | |
| password | Yes | Account password (min 8). | |
| wilaya_id | No | Wilaya code 1-69 (optional). |