29 March 2022
Composable Commerce
HTTP API
Enhancement
OrdersExtensibilityGraphQL

You can now add Custom Fields when you Create an Order from a Cart. With this, you can now store additional information, like payment reference, to your Order during checkout if required for your business logic.

Changes:

  • [API] Added optional custom field to OrderFromCartDraft.
  • [GraphQL API] Changed the OrderCartCommand type:
    • Added the custom field to OrderCartCommand type.

The following changes were introduced in terms of GraphQL SDL:

extend input OrderCartCommand {
  custom: CustomFieldsDraft
}