Understand how merchant information maps to OpenAI fields.
By default, the following fields are mapped from Custom Fields on the Store. Each field should be a CustomFieldStringType. You can modify the template to source these values from another location or hardcode them.
| OpenAI Field | Related commercetools field | Required | Mapping Logic |
|---|---|---|---|
seller_name | store.custom.fields.sellerName | Required | The localized name of the Store or Channel. For example: Example Store. |
seller_url | store.custom.fields.sellerStoreUrl | Required | A direct link to the Store or Channel. For example: https://example.com/store. |
seller_privacy_policy | store.custom.fields.sellerPrivacyPolicyUrl | Required, if enable_checkout is true | A direct link to the Store or Channel's privacy policy. For example: https://example.com/privacy. |
seller_tos | store.custom.fields.sellerTermsOfServiceUrl | Required, if enable_checkout is true | A direct link to the Store or Channel's terms of service. For example: https://example.com/terms. |