feat(core-flows,medusa,types,utils): adds update cart API with promotions (#6514)

what:

- adds update cart API
  - workflow
  - promotions
  - sales channel
  - region
  - customer
This commit is contained in:
Riqwan Thamir authored and GitHub committed 2024-02-27 12:09:30 +00:00
1 parent 608c10383a
commit f5c2256286
20 files changed
+435 -96

No files matched your search

+2 -2
View File
@@ -14,11 +14,11 @@ export interface CreateCartDTO {
export interface UpdateCartDTO {
id: string
region_id?: string | null
region_id?: string
customer_id?: string | null
sales_channel_id?: string | null
email?: string | null
currency_code?: string | null
currency_code?: string
metadata?: Record<string, unknown> | null
adjustments?: (CreateLineItemAdjustmentDTO | UpdateLineItemAdjustmentDTO)[]