feat(medusa): Add metadata to StorePostCartsCartLineItemsItemReq (#4230)
This commit is contained in:
@@ -769,6 +769,9 @@ describe("/store/carts", () => {
|
||||
"/store/carts/test-cart-3/line-items/test-item3/",
|
||||
{
|
||||
quantity: 3,
|
||||
metadata: {
|
||||
another: "prop",
|
||||
},
|
||||
},
|
||||
{ withCredentials: true }
|
||||
)
|
||||
@@ -782,6 +785,10 @@ describe("/store/carts", () => {
|
||||
variant_id: "test-variant-sale-cg",
|
||||
quantity: 3,
|
||||
adjustments: [],
|
||||
metadata: {
|
||||
"some-existing": "prop",
|
||||
another: "prop",
|
||||
},
|
||||
}),
|
||||
])
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user