chore(order): custom display id (#14024)

* chore(order): Accept a custom display generator option

* chore(order): Accept a custom display generator option

* wip

* wip

* finalize

* Create tricky-olives-battle.md

* fields

* changeset

* update integration tests

* update migrations

* fix changeset
This commit is contained in:
Adrien de Peretti
2025-11-18 10:17:46 +01:00
committed by GitHub
parent 0a0c2f41d8
commit 6746fecd72
29 changed files with 479 additions and 260 deletions

View File

@@ -400,6 +400,7 @@ export const createOrderFulfillmentWorkflow = createWorkflow(
fields: [
"id",
"display_id",
"custom_display_id",
"status",
"customer_id",
"customer.*",

View File

@@ -740,6 +740,10 @@ export interface BaseOrder {
* The order's display ID.
*/
display_id?: number
/**
* The order's custom display ID.
*/
custom_display_id?: string
/**
* The order's status.
*/

View File

@@ -1036,6 +1036,11 @@ export interface OrderDTO {
*/
display_id: number
/**
* The order's custom display ID.
*/
custom_display_id?: string
/**
* The active order change, if any.
*