feat(medusa): Add metadata to StorePostCartsCartLineItemsItemReq (#4230)

This commit is contained in:
Erik Engervall
2023-07-19 17:51:49 +02:00
committed by GitHub
parent bfc0ea5695
commit 2f283996f8
6 changed files with 165 additions and 3 deletions
@@ -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",
},
}),
])
)