Skip to content
Get started

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.

ParametersExpand Collapse
ProductCreateProductFreeFieldsParams parameters
IReadOnlyList<FreeField>? freeFields

The product free fields to create or update.

required string CountryCode
minLength1
required IReadOnlyList<FreeField> FreeFields
string? Key
Int? SortOrder
formatint32
string? Value
required string ProductNumber
minLength1
string? EntityType
ReturnsExpand Collapse
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.

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

ProductCreateProductFreeFieldsParams parameters = new();

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

Console.WriteLine(response);
{
  "success": true,
  "data": "data",
  "message": "message"
}
Returns Examples
{
  "success": true,
  "data": "data",
  "message": "message"
}