---
title: "Creates the field template in the customer area."
method: POST
path: "/Litium/api/admin/customers/fieldTemplates"
tags: ["Customers field template"]
---

# Creates the field template in the customer area.

`POST /Litium/api/admin/customers/fieldTemplates`

## Request body

- union
  - LitiumCustomersGroupFieldTemplate, nullable — Represents a template to indicate which fields should be contained for the Litium.Customers.Group.
    - `$type` 'Litium.Customers.GroupFieldTemplate, Litium.Abstractions', required
    - `fieldGroups` LitiumFieldFrameworkFieldTemplateFieldGroup[], nullable — Gets or sets the field groups.
      - `collapsed` boolean — Gets or sets a value indicating whether this Litium.FieldFramework.FieldTemplateFieldGroup is collapsed.
      - `fields` string[], nullable — Gets or sets the fields.
      - `id` string, nullable — Gets or sets the identifier.
      - `useInStorefront` boolean — Gets or sets a value indicating whether this Litium.FieldFramework.FieldTemplateFieldGroup can be used in Storefront.
      - `localizations` LitiumFieldFrameworkLocalizationLitiumFieldFrameworkFieldTemplateFieldGroupLocalization
        - `en-US` LitiumFieldFrameworkFieldTemplateFieldGroupLocalization, nullable — Class FieldTemplateFieldGroupLocalization.
          - `name` string, nullable — Gets or sets the name.
        - `sv-SE` LitiumFieldFrameworkFieldTemplateFieldGroupLocalization, nullable — Class FieldTemplateFieldGroupLocalization.
          - `name` string, nullable — Gets or sets the name.
    - `areaType` string — Gets the type of the area.
    - `fields` FieldsFieldFrameworkGroupFieldTemplate
      - `_name` object
        - `en-US` string, nullable
        - `sv-SE` string, nullable
    - `id` string, nullable — Gets the identifier.
    - `systemId` string, uuid — Gets the system identifier.
    - `systemGenerated` boolean — Gets or sets a value indicating whether this Litium.FieldFramework.FieldTemplate is generated by system.
  - LitiumCustomersOrganizationFieldTemplate, nullable — Represents a template to indicate which fields should be contained for the Litium.Customers.Organization.
    - `$type` 'Litium.Customers.OrganizationFieldTemplate, Litium.Abstractions', required
    - `fieldGroups` LitiumFieldFrameworkFieldTemplateFieldGroup[], nullable — Gets or sets the field groups.
      - `collapsed` boolean — Gets or sets a value indicating whether this Litium.FieldFramework.FieldTemplateFieldGroup is collapsed.
      - `fields` string[], nullable — Gets or sets the fields.
      - `id` string, nullable — Gets or sets the identifier.
      - `useInStorefront` boolean — Gets or sets a value indicating whether this Litium.FieldFramework.FieldTemplateFieldGroup can be used in Storefront.
      - `localizations` LitiumFieldFrameworkLocalizationLitiumFieldFrameworkFieldTemplateFieldGroupLocalization
        - `en-US` LitiumFieldFrameworkFieldTemplateFieldGroupLocalization, nullable — Class FieldTemplateFieldGroupLocalization.
          - `name` string, nullable — Gets or sets the name.
        - `sv-SE` LitiumFieldFrameworkFieldTemplateFieldGroupLocalization, nullable — Class FieldTemplateFieldGroupLocalization.
          - `name` string, nullable — Gets or sets the name.
    - `areaType` string — Gets the type of the area.
    - `fields` FieldsFieldFrameworkOrganizationFieldTemplate
      - `_name` object
        - `en-US` string, nullable
        - `sv-SE` string, nullable
    - `id` string, nullable — Gets the identifier.
    - `systemId` string, uuid — Gets the system identifier.
    - `systemGenerated` boolean — Gets or sets a value indicating whether this Litium.FieldFramework.FieldTemplate is generated by system.
  - LitiumCustomersPersonFieldTemplate, nullable — Represent a template to indicate which fields should be contained for the Litium.Customers.Person.
    - `$type` 'Litium.Customers.PersonFieldTemplate, Litium.Abstractions', required
    - `fieldGroups` LitiumFieldFrameworkFieldTemplateFieldGroup[], nullable — Gets or sets the field groups.
      - `collapsed` boolean — Gets or sets a value indicating whether this Litium.FieldFramework.FieldTemplateFieldGroup is collapsed.
      - `fields` string[], nullable — Gets or sets the fields.
      - `id` string, nullable — Gets or sets the identifier.
      - `useInStorefront` boolean — Gets or sets a value indicating whether this Litium.FieldFramework.FieldTemplateFieldGroup can be used in Storefront.
      - `localizations` LitiumFieldFrameworkLocalizationLitiumFieldFrameworkFieldTemplateFieldGroupLocalization
        - `en-US` LitiumFieldFrameworkFieldTemplateFieldGroupLocalization, nullable — Class FieldTemplateFieldGroupLocalization.
          - `name` string, nullable — Gets or sets the name.
        - `sv-SE` LitiumFieldFrameworkFieldTemplateFieldGroupLocalization, nullable — Class FieldTemplateFieldGroupLocalization.
          - `name` string, nullable — Gets or sets the name.
    - `areaType` string — Gets the type of the area.
    - `fields` FieldsFieldFrameworkPersonFieldTemplate
      - `_name` object
        - `en-US` string, nullable
        - `sv-SE` string, nullable
    - `id` string, nullable — Gets the identifier.
    - `systemId` string, uuid — Gets the system identifier.
    - `systemGenerated` boolean — Gets or sets a value indicating whether this Litium.FieldFramework.FieldTemplate is generated by system.
  - LitiumCustomersTargetGroupFieldTemplate, nullable — Represents a template to indicate which fields should be contained for the Litium.Customers.TargetGroup.
    - `$type` 'Litium.Customers.TargetGroupFieldTemplate, Litium.Abstractions', required
    - `fieldGroups` LitiumFieldFrameworkFieldTemplateFieldGroup[], nullable — Gets or sets the field groups.
      - `collapsed` boolean — Gets or sets a value indicating whether this Litium.FieldFramework.FieldTemplateFieldGroup is collapsed.
      - `fields` string[], nullable — Gets or sets the fields.
      - `id` string, nullable — Gets or sets the identifier.
      - `useInStorefront` boolean — Gets or sets a value indicating whether this Litium.FieldFramework.FieldTemplateFieldGroup can be used in Storefront.
      - `localizations` LitiumFieldFrameworkLocalizationLitiumFieldFrameworkFieldTemplateFieldGroupLocalization
        - `en-US` LitiumFieldFrameworkFieldTemplateFieldGroupLocalization, nullable — Class FieldTemplateFieldGroupLocalization.
          - `name` string, nullable — Gets or sets the name.
        - `sv-SE` LitiumFieldFrameworkFieldTemplateFieldGroupLocalization, nullable — Class FieldTemplateFieldGroupLocalization.
          - `name` string, nullable — Gets or sets the name.
    - `areaType` string — Gets the type of the area.
    - `fields` FieldsFieldFrameworkTargetGroupFieldTemplate
      - `_name` object
        - `en-US` string, nullable
        - `sv-SE` string, nullable
    - `id` string, nullable — Gets the identifier.
    - `systemId` string, uuid — Gets the system identifier.
    - `systemGenerated` boolean — Gets or sets a value indicating whether this Litium.FieldFramework.FieldTemplate is generated by system.

## Response `200`

OK

- union
  - LitiumCustomersGroupFieldTemplate, nullable — Represents a template to indicate which fields should be contained for the Litium.Customers.Group.
    - `$type` 'Litium.Customers.GroupFieldTemplate, Litium.Abstractions', required
    - `fieldGroups` LitiumFieldFrameworkFieldTemplateFieldGroup[], nullable — Gets or sets the field groups.
      - `collapsed` boolean — Gets or sets a value indicating whether this Litium.FieldFramework.FieldTemplateFieldGroup is collapsed.
      - `fields` string[], nullable — Gets or sets the fields.
      - `id` string, nullable — Gets or sets the identifier.
      - `useInStorefront` boolean — Gets or sets a value indicating whether this Litium.FieldFramework.FieldTemplateFieldGroup can be used in Storefront.
      - `localizations` LitiumFieldFrameworkLocalizationLitiumFieldFrameworkFieldTemplateFieldGroupLocalization
        - `en-US` LitiumFieldFrameworkFieldTemplateFieldGroupLocalization, nullable — Class FieldTemplateFieldGroupLocalization.
          - `name` string, nullable — Gets or sets the name.
        - `sv-SE` LitiumFieldFrameworkFieldTemplateFieldGroupLocalization, nullable — Class FieldTemplateFieldGroupLocalization.
          - `name` string, nullable — Gets or sets the name.
    - `areaType` string — Gets the type of the area.
    - `fields` FieldsFieldFrameworkGroupFieldTemplate
      - `_name` object
        - `en-US` string, nullable
        - `sv-SE` string, nullable
    - `id` string, nullable — Gets the identifier.
    - `systemId` string, uuid — Gets the system identifier.
    - `systemGenerated` boolean — Gets or sets a value indicating whether this Litium.FieldFramework.FieldTemplate is generated by system.
  - LitiumCustomersOrganizationFieldTemplate, nullable — Represents a template to indicate which fields should be contained for the Litium.Customers.Organization.
    - `$type` 'Litium.Customers.OrganizationFieldTemplate, Litium.Abstractions', required
    - `fieldGroups` LitiumFieldFrameworkFieldTemplateFieldGroup[], nullable — Gets or sets the field groups.
      - `collapsed` boolean — Gets or sets a value indicating whether this Litium.FieldFramework.FieldTemplateFieldGroup is collapsed.
      - `fields` string[], nullable — Gets or sets the fields.
      - `id` string, nullable — Gets or sets the identifier.
      - `useInStorefront` boolean — Gets or sets a value indicating whether this Litium.FieldFramework.FieldTemplateFieldGroup can be used in Storefront.
      - `localizations` LitiumFieldFrameworkLocalizationLitiumFieldFrameworkFieldTemplateFieldGroupLocalization
        - `en-US` LitiumFieldFrameworkFieldTemplateFieldGroupLocalization, nullable — Class FieldTemplateFieldGroupLocalization.
          - `name` string, nullable — Gets or sets the name.
        - `sv-SE` LitiumFieldFrameworkFieldTemplateFieldGroupLocalization, nullable — Class FieldTemplateFieldGroupLocalization.
          - `name` string, nullable — Gets or sets the name.
    - `areaType` string — Gets the type of the area.
    - `fields` FieldsFieldFrameworkOrganizationFieldTemplate
      - `_name` object
        - `en-US` string, nullable
        - `sv-SE` string, nullable
    - `id` string, nullable — Gets the identifier.
    - `systemId` string, uuid — Gets the system identifier.
    - `systemGenerated` boolean — Gets or sets a value indicating whether this Litium.FieldFramework.FieldTemplate is generated by system.
  - LitiumCustomersPersonFieldTemplate, nullable — Represent a template to indicate which fields should be contained for the Litium.Customers.Person.
    - `$type` 'Litium.Customers.PersonFieldTemplate, Litium.Abstractions', required
    - `fieldGroups` LitiumFieldFrameworkFieldTemplateFieldGroup[], nullable — Gets or sets the field groups.
      - `collapsed` boolean — Gets or sets a value indicating whether this Litium.FieldFramework.FieldTemplateFieldGroup is collapsed.
      - `fields` string[], nullable — Gets or sets the fields.
      - `id` string, nullable — Gets or sets the identifier.
      - `useInStorefront` boolean — Gets or sets a value indicating whether this Litium.FieldFramework.FieldTemplateFieldGroup can be used in Storefront.
      - `localizations` LitiumFieldFrameworkLocalizationLitiumFieldFrameworkFieldTemplateFieldGroupLocalization
        - `en-US` LitiumFieldFrameworkFieldTemplateFieldGroupLocalization, nullable — Class FieldTemplateFieldGroupLocalization.
          - `name` string, nullable — Gets or sets the name.
        - `sv-SE` LitiumFieldFrameworkFieldTemplateFieldGroupLocalization, nullable — Class FieldTemplateFieldGroupLocalization.
          - `name` string, nullable — Gets or sets the name.
    - `areaType` string — Gets the type of the area.
    - `fields` FieldsFieldFrameworkPersonFieldTemplate
      - `_name` object
        - `en-US` string, nullable
        - `sv-SE` string, nullable
    - `id` string, nullable — Gets the identifier.
    - `systemId` string, uuid — Gets the system identifier.
    - `systemGenerated` boolean — Gets or sets a value indicating whether this Litium.FieldFramework.FieldTemplate is generated by system.
  - LitiumCustomersTargetGroupFieldTemplate, nullable — Represents a template to indicate which fields should be contained for the Litium.Customers.TargetGroup.
    - `$type` 'Litium.Customers.TargetGroupFieldTemplate, Litium.Abstractions', required
    - `fieldGroups` LitiumFieldFrameworkFieldTemplateFieldGroup[], nullable — Gets or sets the field groups.
      - `collapsed` boolean — Gets or sets a value indicating whether this Litium.FieldFramework.FieldTemplateFieldGroup is collapsed.
      - `fields` string[], nullable — Gets or sets the fields.
      - `id` string, nullable — Gets or sets the identifier.
      - `useInStorefront` boolean — Gets or sets a value indicating whether this Litium.FieldFramework.FieldTemplateFieldGroup can be used in Storefront.
      - `localizations` LitiumFieldFrameworkLocalizationLitiumFieldFrameworkFieldTemplateFieldGroupLocalization
        - `en-US` LitiumFieldFrameworkFieldTemplateFieldGroupLocalization, nullable — Class FieldTemplateFieldGroupLocalization.
          - `name` string, nullable — Gets or sets the name.
        - `sv-SE` LitiumFieldFrameworkFieldTemplateFieldGroupLocalization, nullable — Class FieldTemplateFieldGroupLocalization.
          - `name` string, nullable — Gets or sets the name.
    - `areaType` string — Gets the type of the area.
    - `fields` FieldsFieldFrameworkTargetGroupFieldTemplate
      - `_name` object
        - `en-US` string, nullable
        - `sv-SE` string, nullable
    - `id` string, nullable — Gets the identifier.
    - `systemId` string, uuid — Gets the system identifier.
    - `systemGenerated` boolean — Gets or sets a value indicating whether this Litium.FieldFramework.FieldTemplate is generated by system.

## Other responses

- `201` — Created

---

[API](https://skmtc.dev/litium/apis/litium-admin-web-api.md) · [All operations](https://skmtc.dev/litium/apis/litium-admin-web-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/litium/litium-admin-web-api/revisions/a65881b0d0c6/schema)
