feat: CartRegion link, definition + workflow (#6392)
This commit is contained in:
1 parent
7df4947ecf
commit
24fb102a56
17 files changed
+495
-218
No files matched your search
@@ -1,4 +1,4 @@
|
||||
export * from "./common"
|
||||
export * from "./mutations"
|
||||
export * from "./service"
|
||||
|
||||
export * from "./workflows"
|
||||
@@ -0,0 +1,20 @@
|
||||
import {
|
||||
CreateAddressDTO,
|
||||
CreateLineItemDTO,
|
||||
UpdateAddressDTO,
|
||||
} from "./mutations"
|
||||
|
||||
export interface CreateCartWorkflowInputDTO {
|
||||
region_id?: string
|
||||
customer_id?: string
|
||||
sales_channel_id?: string
|
||||
email?: string
|
||||
currency_code: string
|
||||
shipping_address_id?: string
|
||||
billing_address_id?: string
|
||||
shipping_address?: CreateAddressDTO | UpdateAddressDTO
|
||||
billing_address?: CreateAddressDTO | UpdateAddressDTO
|
||||
metadata?: Record<string, unknown>
|
||||
|
||||
items?: CreateLineItemDTO[]
|
||||
}
|
||||
Reference in new issue
Block a user