## Creates or updates submitted product free fields. Existing keys not included in the request are unchanged.

`ProductCreateProductFreeFieldsResponse Products.CreateProductFreeFields(ProductCreateProductFreeFieldsParams?parameters, CancellationTokencancellationToken = default)`

**post** `/api/v2/public/products/freefields`

Creates or updates submitted product free fields. Existing keys not included in the request are unchanged.

### Parameters

- `ProductCreateProductFreeFieldsParams parameters`

  - `IReadOnlyList<FreeField>? freeFields`

    The product free fields to create or update.

    - `required string CountryCode`

    - `required IReadOnlyList<FreeField> FreeFields`

      - `string? Key`

      - `Int? SortOrder`

      - `string? Value`

    - `required string ProductNumber`

    - `string? EntityType`

### Returns

- `class ProductCreateProductFreeFieldsResponse:`

  Standard success response returned by mutation endpoints.

  - `required Boolean Success`

    Indicates whether the operation completed successfully.

  - `string? Data`

    Optional data payload returned by the operation.

  - `string? Message`

    Human-readable message describing the result.

### Example

```csharp
ProductCreateProductFreeFieldsParams parameters = new();

var response = await client.Products.CreateProductFreeFields(parameters);

Console.WriteLine(response);
```

#### Response

```json
{
  "success": true,
  "data": "data",
  "message": "message"
}
```
