Fodimi
  1. Clients
Fodimi
  • Clients
    • Get list
      GET
    • Get client details
      GET
    • Get client orders list
      GET
    • Get client history
      GET
    • Update client details
      PUT
    • Create client
      POST
  • Schemas
    • Client list response
    • Client details response
    • Order list response
    • Client history logs
    • Order response
  1. Clients

Create client

Developing
POST
/clients

Request

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

Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://fodimi.pl/api_public/clients' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "email": "Test",
    "password": "SomePassword"
}'
Response Response Example
{
    "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 2025-10-31 07:36:29
Previous
Update client details
Next
Client list response
Built with