feat: admin api - allow customers to be created and updated with metadata (#824)

* feat: admin api - allow customers to be created and updated with metadata

* feat: add integration test for metadata
This commit is contained in:
Derek Wene
2021-11-18 11:50:36 -06:00
committed by GitHub
parent 373532ecbc
commit 2d9879ea09
4 changed files with 46 additions and 49 deletions

View File

@@ -157,6 +157,7 @@ describe("/admin/customers", () => {
first_name: "newf",
last_name: "newl",
email: "new@email.com",
metadata: { foo: "bar" },
},
{
headers: {
@@ -174,6 +175,7 @@ describe("/admin/customers", () => {
first_name: "newf",
last_name: "newl",
email: "new@email.com",
metadata: { foo: "bar" },
})
)
})