Skip to content
Get started

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

products.create_product_free_fields(ProductCreateProductFreeFieldsParams**kwargs) -> ProductCreateProductFreeFieldsResponse
POST/api/v2/public/products/freefields

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

ParametersExpand Collapse
free_fields: Optional[Iterable[FreeField]]

The product free fields to create or update.

country_code: str
minLength1
free_fields: Iterable[FreeFieldFreeField]
key: Optional[str]
sort_order: Optional[int]
formatint32
value: Optional[str]
product_number: str
minLength1
entity_type: Optional[str]
ReturnsExpand Collapse
class ProductCreateProductFreeFieldsResponse:

Standard success response returned by mutation endpoints.

success: bool

Indicates whether the operation completed successfully.

data: Optional[str]

Optional data payload returned by the operation.

message: Optional[str]

Human-readable message describing the result.

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

import os
from colleqtive_sdk import Colleqtive

client = Colleqtive(
    bearer_token=os.environ.get("COLLEQTIVE_BEARER_TOKEN"),  # This is the default and can be omitted
)
response = client.products.create_product_free_fields()
print(response.success)
{
  "success": true,
  "data": "data",
  "message": "message"
}
Returns Examples
{
  "success": true,
  "data": "data",
  "message": "message"
}