1. Clients
Fodimi
  • Clients
    • Get list
      GET
    • Create client
      GET
    • Get client orders list
      GET
    • Get client history
      GET
    • Update client details
      PUT
    • Create client
      GET
    • Create client
      POST
  • Orders
    • Get Order Details
      GET
    • Get orders list
      GET
    • Change order status
      PUT
    • Create an order
      POST
    • Quote an order
      POST
  • Menu
    • Get menu
      GET
    • Update Product visibility
      PUT
    • Bulk update menu translations
      PATCH
    • Update product translations
      PATCH
    • Update category translations
      PATCH
    • Update addon group translations
      PATCH
    • Update addon translations
      PATCH
    • Update variant group translations
      PATCH
    • Update variant translations
      PATCH
  • Webhooks
    • Order status changed
    • Order closed
    • Order canceled
    • Client created
    • Client details changed
    • Client points changed
    • Delivery status changed
  • Webhooks (sent by Fodimi)
    • Order status changed
    • Order closed
    • Order canceled
    • Client created
    • Client details changed
    • Client points changed
    • Delivery status changed
  • Account
    • Who am I
  • Schemas
    • Clients
      • Client list response
      • Client details response
      • Client history logs
    • Orders
      • Order list response
      • Order response
      • Order detailed response
      • Order product response
    • Menu translations section result
    • Menu translations not found
    • Validation error
  1. Clients

Create client

POST
/clients
Creates a client in the company database. The e-mail must be unique inside the company.
Required ability: clients:write

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/jsonRequired

Examples

Responses

🟢200OK
application/json
Created client.
Bodyapplication/json

🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠429
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://fodimi.pl/api_public/clients' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "email": "jan.kowalski@example.com",
    "password": "tajne-haslo",
    "name": "Jan",
    "surname": "Kowalski",
    "phone": "+48600000000",
    "loyalty_program_points": 0,
    "notification_settings": {
        "orders": true,
        "newsletter": false,
        "sms": false
    }
}'
Response Response Example
200 - Example 1
{
    "uid": "string",
    "name": "string",
    "surname": "string",
    "email": "string",
    "phone": "string",
    "is_hidden": true,
    "created_at": "string",
    "notification_settings": {
        "orders": true,
        "newsletter": true,
        "sms": true
    },
    "loyalty_program_points": 0,
    "orders_count": 0,
    "birth_date": "string"
}
Modified at 2026-09-12 08:45:17
Previous
Create client
Next
Get Order Details
Built with