{"section":"tutorials","requestedLocale":"en","requestedSlug":"adding-or-editing-custom-checkout-fields","locale":"en","slug":"adding-or-editing-custom-checkout-fields","path":"docs/en/tutorials/b2b/organization-account/adding-or-editing-custom-checkout-fields.md","branch":"main","content":"> ⚠️ This feature is only available for stores using B2B Buyer Portal, which is currently available to select accounts.\r\n\r\nThe Custom checkout fields feature allows you to standardize information collection during the purchase flow by adding custom fields according to your business rules.\r\n\r\nThis feature helps ensure that data such as PO numbers, cost centers, or other internal information are correctly filled in at checkout, providing better operational control and compliance with company processes.\r\n\r\nThis article covers:\r\n\r\n- [Edit custom field](#edit-custom-field)\r\n- [Add custom field value](#add-custom-field-value)\r\n- [Edit custom field value](#edit-custom-field-value)\r\n\r\n> ℹ️ Currently, creating custom fields can be done via the [Custom Fields API](https://developers.vtex.com/docs/api-reference/custom-fields-api). For more information, see the [Custom fields integration guide](https://developers.vtex.com/docs/guides/custom-fields-integration).\r\n\r\n## Edit custom field\r\n\r\n![Buyer Portal B2B Organization Unit information page](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/pt/tutorials/b2b/organization-account/buyer-portal-b2b-organization-unit-information-page.png)\r\n\r\n1. Access the [Organization Account home screen](https://help.vtex.com/en/docs/tutorials/organization-account#accessing-the-organization-account).\r\n2. Click the name of the custom field you want to edit.\r\n3. On the custom field screen, click the cog icon (<i class=\"fas fa-cog\"></i>) at the top of the screen to edit the field details.\r\n4. In **List type**, choose whether the custom field values are used only by the organization unit (`Custom List`) or shared across other organization units of the contract (`Synchronized List`).\r\n5. In **Input level**, choose whether the custom field applies at the order level or the item level.\r\n6. In **Input requirement**, choose whether the field is optional or required.\r\n7. In **Default \\{field name\\}**, if needed, enter a default value to be prefilled on all orders where the field applies.\r\n8. Click `Save`.\r\n\r\n\r\n## Add custom field value\r\n\r\n1. Access the [Organization Account home screen](https://help.vtex.com/en/docs/tutorials/organization-account#accessing-the-organization-account).\r\n2. Click the name of the custom field you want to add a value to.\r\n3. On the custom field screen, click the `+` icon at the top of the screen.\r\n4. In the modal that appears, enter the value to assign to the custom field (for example, a PO number or cost center code).\r\n5. Click `Add`.\r\n\r\nAfter completing these steps, you will see a confirmation message indicating the value was successfully created for the custom field.\r\n\r\n\r\n## Edit custom field value\r\n\r\n1. Access the [Organization Account home screen](https://help.vtex.com/en/docs/tutorials/organization-account#accessing-the-organization-account).\r\n2. Click the name of the custom field you want to edit.\r\n3. On the custom field screen, click the ellipsis icon (<i class=\"fas fa-ellipsis-v\"></i>) next to the value you want to edit.\r\n4. Select one of the following options depending on the desired action:\r\n    * **Rename:** change the name of the value.\r\n    * **Set as default:** set the value as the default to be prefilled on all orders where the field applies.\r\n    * **Remove from unit:** remove the value from the organization unit to which it is assigned. This action does not delete the value from the system.\r\n    * **Delete:** permanently delete the value from the system.\r\n\r\n> ⚠️ Use the **Delete** option with caution. Deleting a value permanently removes it and all associated data across multiple organization units, which may affect access to historical and audit information. Once confirmed, this action cannot be undone."}