diff --git a/workspaces/liferay-marketplace-workspace/client-extensions/liferay-marketplace-custom-element/src/pages/PublisherDashboard/pages/Apps/AppCreationFlow/DefineAppProfilePage/DefineAppProfilePage.tsx b/workspaces/liferay-marketplace-workspace/client-extensions/liferay-marketplace-custom-element/src/pages/PublisherDashboard/pages/Apps/AppCreationFlow/DefineAppProfilePage/DefineAppProfilePage.tsx
index 52c0fe8ed48ada..6327389838e8e3 100644
--- a/workspaces/liferay-marketplace-workspace/client-extensions/liferay-marketplace-custom-element/src/pages/PublisherDashboard/pages/Apps/AppCreationFlow/DefineAppProfilePage/DefineAppProfilePage.tsx
+++ b/workspaces/liferay-marketplace-workspace/client-extensions/liferay-marketplace-custom-element/src/pages/PublisherDashboard/pages/Apps/AppCreationFlow/DefineAppProfilePage/DefineAppProfilePage.tsx
@@ -22,7 +22,6 @@ import {TYPES} from '../AppContext/actionTypes';
import './DefineAppProfilePage.scss';
import MultiSelect from '../../../../../../components/MultiSelect/MultiSelect';
import UploadLogo from '../../../../../../components/UploadLogo/UploadLogo';
-import {useMarketplaceContext} from '../../../../../../context/MarketplaceContext';
import {PRODUCT_SPECIFICATION_KEY} from '../../../../../../enums/Product';
import i18n from '../../../../../../i18n';
import HeadlessCommerceAdminCatalogImpl from '../../../../../../services/rest/HeadlessCommerceAdminCatalog';
@@ -63,7 +62,6 @@ export function DefineAppProfilePage({
},
dispatch,
] = useAppContext();
- const {channel} = useMarketplaceContext();
const handleLogoUpload = (files: FileList) => {
const file = files[0];
@@ -123,17 +121,6 @@ export function DefineAppProfilePage({
appDescription: appDescription?.replace(/\n/g, '
'),
appName,
catalogId,
- productChannels: [
- {
- channelId: channel?.id as number,
- currencyCode: channel?.currencyCode as string,
- externalReferenceCode:
- channel?.externalReferenceCode as string,
- id: channel?.id as number,
- name: channel?.name as string,
- type: channel?.type as string,
- },
- ],
productSpecifications: [
{
specificationKey:
diff --git a/workspaces/liferay-marketplace-workspace/client-extensions/liferay-marketplace-custom-element/src/pages/PublisherDashboard/pages/Apps/index.tsx b/workspaces/liferay-marketplace-workspace/client-extensions/liferay-marketplace-custom-element/src/pages/PublisherDashboard/pages/Apps/index.tsx
index 8e1cc06525e213..9dc29ed6ad7cf0 100644
--- a/workspaces/liferay-marketplace-workspace/client-extensions/liferay-marketplace-custom-element/src/pages/PublisherDashboard/pages/Apps/index.tsx
+++ b/workspaces/liferay-marketplace-workspace/client-extensions/liferay-marketplace-custom-element/src/pages/PublisherDashboard/pages/Apps/index.tsx
@@ -41,7 +41,7 @@ const Apps = () => {
.build(),
'images.accountId': '-1',
'nestedFields':
- 'attachments,images,productChannels,productSpecifications,skus',
+ 'attachments,images,productSpecifications,skus',
'page': page.toString(),
'skus.accountId': '-1',
'sort': 'createDate:desc',
diff --git a/workspaces/liferay-marketplace-workspace/client-extensions/liferay-marketplace-custom-element/src/pages/PublisherDashboard/pages/Solutions/index.tsx b/workspaces/liferay-marketplace-workspace/client-extensions/liferay-marketplace-custom-element/src/pages/PublisherDashboard/pages/Solutions/index.tsx
index 17666f750cd22a..d6a26559c3d8a0 100644
--- a/workspaces/liferay-marketplace-workspace/client-extensions/liferay-marketplace-custom-element/src/pages/PublisherDashboard/pages/Solutions/index.tsx
+++ b/workspaces/liferay-marketplace-workspace/client-extensions/liferay-marketplace-custom-element/src/pages/PublisherDashboard/pages/Solutions/index.tsx
@@ -61,7 +61,7 @@ const Solutions = () => {
.build(),
'images.accountId': '-1',
'nestedFields':
- 'attachments,images,productChannels,productSpecifications,skus',
+ 'attachments,images,productSpecifications,skus',
'page': page.toString(),
'skus.accountId': '-1',
})
diff --git a/workspaces/liferay-marketplace-workspace/client-extensions/liferay-marketplace-custom-element/src/services/rest/HeadlessCommerceAdminCatalog.ts b/workspaces/liferay-marketplace-workspace/client-extensions/liferay-marketplace-custom-element/src/services/rest/HeadlessCommerceAdminCatalog.ts
index 7f57c6bc6cc9e4..d05b5c0be4f140 100644
--- a/workspaces/liferay-marketplace-workspace/client-extensions/liferay-marketplace-custom-element/src/services/rest/HeadlessCommerceAdminCatalog.ts
+++ b/workspaces/liferay-marketplace-workspace/client-extensions/liferay-marketplace-custom-element/src/services/rest/HeadlessCommerceAdminCatalog.ts
@@ -40,7 +40,6 @@ class HeadlessCommerceAdminCatalog {
categories,
description,
name,
- productChannels,
productStatus,
workflowStatusInfo,
}: {
@@ -48,7 +47,6 @@ class HeadlessCommerceAdminCatalog {
categories: Partial[];
description: string;
name: string;
- productChannels?: Partial[];
productStatus?: number;
workflowStatusInfo?: number;
}) {
@@ -60,7 +58,6 @@ class HeadlessCommerceAdminCatalog {
categories,
description: {en_US: description},
name: {en_US: name},
- productChannels,
productConfiguration: {
allowBackOrder: true,
maxOrderQuantity: 1,
diff --git a/workspaces/liferay-marketplace-workspace/client-extensions/liferay-marketplace-custom-element/src/types.d.ts b/workspaces/liferay-marketplace-workspace/client-extensions/liferay-marketplace-custom-element/src/types.d.ts
index 020e9dc9e2fb87..73f89d71d7c5bc 100644
--- a/workspaces/liferay-marketplace-workspace/client-extensions/liferay-marketplace-custom-element/src/types.d.ts
+++ b/workspaces/liferay-marketplace-workspace/client-extensions/liferay-marketplace-custom-element/src/types.d.ts
@@ -527,8 +527,6 @@ interface Product {
modifiedDate: string;
name: {[key: string]: string};
price?: number;
- productChannelFilter?: boolean;
- productChannels: Channel[];
productId: number;
productSpecifications: ProductSpecification[];
productStatus: number;
diff --git a/workspaces/liferay-marketplace-workspace/client-extensions/liferay-marketplace-custom-element/src/utils/api.ts b/workspaces/liferay-marketplace-workspace/client-extensions/liferay-marketplace-custom-element/src/utils/api.ts
index 3bbcdec9bf5ed3..068425a11b5cf4 100755
--- a/workspaces/liferay-marketplace-workspace/client-extensions/liferay-marketplace-custom-element/src/utils/api.ts
+++ b/workspaces/liferay-marketplace-workspace/client-extensions/liferay-marketplace-custom-element/src/utils/api.ts
@@ -46,14 +46,12 @@ export function createApp({
appDescription,
appName,
catalogId,
- productChannels,
productSpecifications,
}: {
appCategories: Categories[];
appDescription: string;
appName: string;
catalogId: number;
- productChannels?: Partial[];
productSpecifications?: ProductSpecification[];
}) {
return fetch(
@@ -65,8 +63,6 @@ export function createApp({
categories: appCategories,
description: {en_US: appDescription},
name: {en_US: appName},
- productChannelFilter: true,
- productChannels,
productConfiguration: {allowBackOrder: true},
productSpecifications,
productStatus: 2,
diff --git a/workspaces/liferay-marketplace-workspace/client-extensions/liferay-marketplace-site-initializer/site-initializer/resource-permissions.json b/workspaces/liferay-marketplace-workspace/client-extensions/liferay-marketplace-site-initializer/site-initializer/resource-permissions.json
index 5a02bfa4db3bce..0b191ddf43b7f2 100644
--- a/workspaces/liferay-marketplace-workspace/client-extensions/liferay-marketplace-site-initializer/site-initializer/resource-permissions.json
+++ b/workspaces/liferay-marketplace-workspace/client-extensions/liferay-marketplace-site-initializer/site-initializer/resource-permissions.json
@@ -128,15 +128,6 @@
"roleName": "Guest",
"scope": "1"
},
- {
- "actionIds": [
- "UPDATE"
- ],
- "primKey": "0",
- "resourceName": "com.liferay.commerce.product.model.CommerceChannel",
- "roleName": "Supplier",
- "scope": "1"
- },
{
"actionIds": [
"VIEW"