curl --location -g --request POST 'https://.daftra.com/api2/clients' \
--header 'Accept: application/json' \
--header 'apikey: ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "Client": {
        "is_offline": true,
        "client_number": "0000715",
        "staff_id": 0,
        "business_name": "John Smith",
        "first_name": "",
        "last_name": "",
        "email": "user@example.com",
        "password": "string",
        "address1": "string",
        "address2": "string",
        "city": "string",
        "state": "string",
        "postal_code": "string",
        "phone1": "string",
        "phone2": "string",
        "country_code": "str",
        "notes": "string",
        "active_secondary_address": true,
        "secondary_name": "string",
        "secondary_address1": "string",
        "secondary_address2": "string",
        "secondary_city": "string",
        "secondary_state": "string",
        "secondary_postal_code": "string",
        "secondary_country_code": "string",
        "default_currency_code": "strin",
        "follow_up_status": null,
        "category": "string",
        "group_price_id": 0,
        "timezone": 0,
        "bn1": "string",
        "bn1_label": "string",
        "bn2_label": "string",
        "bn2": "string",
        "starting_balance": null,
        "type": null,
        "birth_date": "2018-05-10",
        "gender": null,
        "map_location": null,
        "credit_limit": 0,
        "credit_period": 0
    }
}'