---
title: "PUT /api/daily-closing/services"
description: "PUT`/api/daily-closing/services` ## Code Samples ```curl curl --request PUT --url 'https://test-api-v1.eezytool.ch/api/daily-closing/services?date=2024-01-15T09%3A30%3A00Z&accountId=string' --header 'Content-Type: application/json' --data '{ \"services\": [ { \"employeeId\": null, \"serviceKey\": null, \"amount\": null } ] }' const response = await fetch('https://test-api-v1.eezytool.ch/api/daily-closing/services?date=2024-01-15T09%3A30%3A00Z&accountId=string', { method: 'PUT', headers: { 'Content-Type': 'application/json' },…"
url: "https://test.eezytool.ch/docs/put-api-daily-closing-services/"
updated: "2026-10-15"
category: API documentation / DailyClosing
---

# PUT /api/daily-closing/services

PUT`/api/daily-closing/services`

## Code Samples

```curl

                curl --request PUT 
  --url 'https://test-api-v1.eezytool.ch/api/daily-closing/services?date=2024-01-15T09%3A30%3A00Z&accountId=string' 
  --header 'Content-Type: application/json' 
  --data '{
    "services": [
        {
            "employeeId": null,
            "serviceKey": null,
            "amount": null
        }
    ]
}'

                const response = await fetch('https://test-api-v1.eezytool.ch/api/daily-closing/services?date=2024-01-15T09%3A30%3A00Z&accountId=string', {
  method: 'PUT',
  headers: {
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "services": [
        {
            "employeeId": null,
            "serviceKey": null,
            "amount": null
        }
    ]
})
});

const data = await response.json();
console.log(data);

                import requests

headers = {
    "Content-Type": "application/json"
}

payload = {
    "services": [
        {
            "employeeId": null,
            "serviceKey": null,
            "amount": null
        }
    ]
}

response = requests.put("https://test-api-v1.eezytool.ch/api/daily-closing/services?date=2024-01-15T09%3A30%3A00Z&accountId=string", headers=headers, json=payload)

print(response.json())

                <?php
$curl = curl_init();

curl_setopt_array($curl, [
  CURLOPT_URL => 'https://test-api-v1.eezytool.ch/api/daily-closing/services?date=2024-01-15T09%3A30%3A00Z&accountId=string',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_CUSTOMREQUEST => 'PUT',
  CURLOPT_HTTPHEADER => [
  'Content-Type: application/json'
  ],
  CURLOPT_POSTFIELDS => '{
    "services": [
        {
            "employeeId": null,
            "serviceKey": null,
            "amount": null
        }
    ]
}',
]);

$response = curl_exec($curl);
curl_close($curl);

echo $response;

                using System.Net.Http;
using System.Text;

var client = new HttpClient();
var request = new HttpRequestMessage(new HttpMethod("PUT"), "https://test-api-v1.eezytool.ch/api/daily-closing/services?date=2024-01-15T09%3A30%3A00Z&accountId=string");
request.Content = new StringContent(@"{
    ""services"": [
        {
            ""employeeId"": null,
            ""serviceKey"": null,
            ""amount"": null
        }
    ]
}", Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);

                import java.net.URI;
import java.net.http.*;

HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("https://test-api-v1.eezytool.ch/api/daily-closing/services?date=2024-01-15T09%3A30%3A00Z&accountId=string"))
    .header("Content-Type", "application/json")
    .method("PUT", HttpRequest.BodyPublishers.ofString("""
{
    "services": [
        {
            "employeeId": null,
            "serviceKey": null,
            "amount": null
        }
    ]
}
"""))
    .build();

HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
```

## Response

```json

                {
    "statusTitle": "string",
    "message": "string",
    "statusCode": null,
    "isSuccessfull": true
}
```

## Query Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `date` | string (date-time) | **Required** | The date for which to update services Format: yyyy-MM-dd or yyyy-MM-ddTHH:mm:ss |
| `accountId` | string | **Required** | The account ID for which to update services |

## Request Body

Content type: `application/json` — **required**

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `services` | array of object | Optional |  |

```json

                {
    "services": [
        {
            "employeeId": null,
            "serviceKey": null,
            "amount": null
        }
    ]
}
```

## Responses

### 200 — OK

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `statusTitle` | string | Optional |  |
| `message` | string | Optional |  |
| `statusCode` | object (int32) | Optional |  |
| `isSuccessfull` | boolean | Optional |  |

```json

                {
    "statusTitle": "string",
    "message": "string",
    "statusCode": null,
    "isSuccessfull": true
}
```
