Create Unique Pricing Config ------------------------------ Create a new unique-date pricing config for a cost rate. The cost rate \ must have ``dynamic_pricing`` set to ``2`` (exact date and time). The \ request must include the cost rate UUID, a config name, and a start \ time. On success, the response returns the created config. **Request** - Method: ``POST`` - Path: ``/api/dynamic_pricing/unique_pricing_config`` **Body parameters** Mandatory: .. list-table:: :widths: 25 15 60 :header-rows: 1 * - Name - Type - Description * - cost_rate_uuid - string - UUID of the cost rate to create the config for. * - name - string - Name of the unique-date pricing config. * - start_time - string - Start date and time in ``Y-m-d H:i:s`` format, in the mandant's \ timezone (e.g., ``2026-01-01 00:00:00``). **Example request** .. code-block:: bash curl --location --request POST 'https://example.beenergised.cloud/api/dynamic_pricing/unique_pricing_config' \ --header 'x-api-token: ' \ --header 'Content-Type: application/json' \ --data '{ "cost_rate_uuid": "", "name": "New Year Special", "start_time": "2026-01-01 00:00:00" }' **Response (200)** .. code-block:: json { "status": "success", "data": { "uuid": "", "name": "New Year Special", "start_time": "2026-01-01 00: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" }