---
schema_version: "1"
id: aece0e13ed4daed21b536e77bae688bf620fc7f17931a52e205f6e99be28d533
title: Create an Order or OrderItem Field Set
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/industries/cme/guides/comms-t-create-a-new-field-set.md
canonical_url: https://developer.salesforce.com/docs/industries/cme/guide/comms-t-create-a-new-field-set.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 46fcc8fb1c1b47a4895ea90864cd7d96c8198ed1a973ffa849f9252fb7d330b2
products:
  - Communications, Media, Energy and Utilities APIs (Managed Package)
  - Industries Developer Documentation
---
# Create an Order or OrderItem Field Set

To update any fields other than the fields in the preceding list, you can create a field set on Orders for Order field updates and OrderProducts for OrderItem field updates. The fieldset name and label should match CartAllowedFieldSet for both Orders and OrderProducts.

To create a new field set:

1.  Navigate to **Setup** then select either **Orders** or **OrderProducts**, then select **Field Sets**.

2.  Add a new fieldset with name and label. For this example, we will use: `CartAllowedFieldSet`

3.  Any customer created custom fields are allowed by SF Field Data security, when it is part of CartAllowedFieldSet Field Set. In this example, we are adding `Order Start Date`.

4.  Verify the new custom field is present:

    1.  Use the Create Cart API to create a new basket and save the CartContextKey.

    2.  Call the Create Cart API again using the CartContextKey and the new fieldset as shown using REST Explorer below:

        ![Create a New Field Set](https://developer.salesforce.com/docs/media/create_cart_fieldset.png)
