From 9026f4b4f33c57ff49444aee8c32cd9758f848a4 Mon Sep 17 00:00:00 2001 From: Marvin Besselsen Date: Mon, 6 Nov 2023 12:52:41 +0100 Subject: [PATCH] Add store_id to Profile webapi output --- Service/WebApi/Profiles.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Service/WebApi/Profiles.php b/Service/WebApi/Profiles.php index 39d3c04..b71c42b 100755 --- a/Service/WebApi/Profiles.php +++ b/Service/WebApi/Profiles.php @@ -96,6 +96,7 @@ public function execute(int $storeId, array $extra = [], SearchCriteriaInterface foreach ($customers as $customer) { $mainData = [ "id" => $customer->getId(), + "store_id" => $customer->getStoreId(), "email" => $customer->getEmail(), "first_name" => $customer->getFirstname(), "middle_name" => $customer->getMiddlename(),