Update Unique Pricing Config ------------------------------ Update an existing unique-date pricing config. The config is identified \ by its UUID in the path. The request must include the updated name and \ start time. On success, the response returns the updated config. **Request** - Method: ``PUT`` - Path: ``/api/dynamic_pricing/unique_pricing_config/{uuid}`` **Path parameters** .. list-table:: :widths: 20 15 65 :header-rows: 1 * - Name - Type - Description * - uuid - string - UUID of the unique-date pricing config to update. **Body parameters** Mandatory: .. list-table:: :widths: 25 15 60 :header-rows: 1 * - Name - Type - Description * - name - string - Updated name of the unique-date pricing config. * - start - string - Updated start date and time in ``Y-m-d H:i`` format, in the \ mandant's timezone (e.g., ``2026-01-01 06:00``). **Example request** .. code-block:: bash curl --location --request PUT 'https://example.beenergised.cloud/api/dynamic_pricing/unique_pricing_config/' \ --header 'x-api-token: ' \ --header 'Content-Type: application/json' \ --data '{ "name": "New Year Special (updated)", "start": "2026-01-01 06:00" }' **Response (200)** .. code-block:: json { "status": "success", "data": { "uuid": "", "name": "New Year Special (updated)", "start_time": "2026-01-01 06:00:00" } } **Error responses** - ``404``: Cost rate or unique pricing config not found. .. code-block:: json { "status": "error", "message": "Cost rate not found" } - ``400``: Validation error \ (e.g., the cost rate does not use unique-date pricing). .. code-block:: json { "status": "error", "message": "" } - ``500``: Generic server error. .. code-block:: json { "status": "error", "message": "Internal Server Error" }