From cc10c20f356d4fe98336d879f8c9523bb63e9e48 Mon Sep 17 00:00:00 2001 From: Alex Chiu Date: Mon, 2 Jan 2023 09:18:10 +0000 Subject: [PATCH] feat(medusa): Include `external_id` in CreateProductInput type (#2498) --- .changeset/pretty-flies-juggle.md | 5 +++++ packages/medusa/src/types/product.ts | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/pretty-flies-juggle.md diff --git a/.changeset/pretty-flies-juggle.md b/.changeset/pretty-flies-juggle.md new file mode 100644 index 0000000000000..d72bb5d58c52a --- /dev/null +++ b/.changeset/pretty-flies-juggle.md @@ -0,0 +1,5 @@ +--- +"@medusajs/medusa": patch +--- + +Include optional `external_id` property for CreateProductInput type diff --git a/packages/medusa/src/types/product.ts b/packages/medusa/src/types/product.ts index 4322c8ec87a5c..a5625832fcf33 100644 --- a/packages/medusa/src/types/product.ts +++ b/packages/medusa/src/types/product.ts @@ -133,6 +133,7 @@ export type CreateProductInput = { mid_code?: string material?: string metadata?: Record + external_id?: string | null } export type CreateProductProductTagInput = {