@gofynd/fdk-client-javascript 3.3.3 → 3.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/sdk/application/Cart/CartApplicationClient.d.ts +30 -30
- package/sdk/application/Cart/CartApplicationClient.js +30 -30
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +30 -30
- package/sdk/application/Catalog/CatalogApplicationClient.js +30 -30
- package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
- package/sdk/application/Common/CommonApplicationClient.js +2 -2
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +3 -3
- package/sdk/application/Communication/CommunicationApplicationClient.js +3 -3
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +16 -16
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +16 -16
- package/sdk/application/Content/ContentApplicationClient.d.ts +24 -24
- package/sdk/application/Content/ContentApplicationClient.js +24 -24
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +3 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +3 -3
- package/sdk/application/Finance/FinanceApplicationClient.d.ts +2 -2
- package/sdk/application/Finance/FinanceApplicationClient.js +2 -2
- package/sdk/application/Lead/LeadApplicationClient.d.ts +5 -5
- package/sdk/application/Lead/LeadApplicationClient.js +5 -5
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +9 -9
- package/sdk/application/Logistic/LogisticApplicationClient.js +9 -9
- package/sdk/application/Order/OrderApplicationClient.d.ts +12 -12
- package/sdk/application/Order/OrderApplicationClient.js +12 -12
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +46 -46
- package/sdk/application/Payment/PaymentApplicationClient.js +46 -46
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +7 -7
- package/sdk/application/Rewards/RewardsApplicationClient.js +7 -7
- package/sdk/application/Share/ShareApplicationClient.d.ts +7 -7
- package/sdk/application/Share/ShareApplicationClient.js +7 -7
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +4 -4
- package/sdk/application/Theme/ThemeApplicationClient.js +4 -4
- package/sdk/application/User/UserApplicationClient.d.ts +47 -47
- package/sdk/application/User/UserApplicationClient.js +47 -47
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +1 -1
- package/sdk/application/Webhook/WebhookApplicationClient.js +1 -1
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +6 -6
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +6 -6
- package/sdk/partner/Lead/LeadPartnerClient.d.ts +7 -7
- package/sdk/partner/Lead/LeadPartnerClient.js +7 -7
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +2 -2
- package/sdk/partner/Lead/LeadPartnerModel.js +1 -1
- package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +25 -25
- package/sdk/partner/Logistics/LogisticsPartnerClient.js +25 -25
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +57 -3
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +40 -1
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +24 -24
- package/sdk/partner/Theme/ThemePartnerClient.js +24 -24
- package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +10 -10
- package/sdk/partner/Webhook/WebhookPartnerClient.js +10 -10
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +2 -2
- package/sdk/partner/Webhook/WebhookPartnerModel.js +1 -1
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +3 -3
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +3 -3
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +2 -2
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +1 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +1 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +1 -1
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +5 -5
- package/sdk/platform/Billing/BillingPlatformClient.js +5 -5
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +62 -62
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +62 -62
- package/sdk/platform/Cart/CartPlatformModel.d.ts +62 -3
- package/sdk/platform/Cart/CartPlatformModel.js +33 -1
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +66 -66
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +66 -66
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +89 -82
- package/sdk/platform/Catalog/CatalogPlatformClient.js +121 -85
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +61 -3
- package/sdk/platform/Catalog/CatalogPlatformModel.js +42 -1
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +46 -5
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +21 -4
- package/sdk/platform/Common/CommonPlatformClient.d.ts +2 -2
- package/sdk/platform/Common/CommonPlatformClient.js +2 -2
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +67 -67
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +67 -67
- package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +1 -1
- package/sdk/platform/Communication/CommunicationPlatformClient.js +1 -1
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +2 -2
- package/sdk/platform/Communication/CommunicationPlatformModel.js +1 -1
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +14 -14
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +14 -14
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +2 -2
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +1 -1
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +32 -32
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +32 -32
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +11 -11
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +11 -11
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +2 -2
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +1 -1
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +107 -107
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +107 -107
- package/sdk/platform/Content/ContentPlatformClient.d.ts +40 -40
- package/sdk/platform/Content/ContentPlatformClient.js +40 -40
- package/sdk/platform/Content/ContentPlatformModel.d.ts +2 -2
- package/sdk/platform/Content/ContentPlatformModel.js +1 -1
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +11 -11
- package/sdk/platform/Discount/DiscountPlatformClient.js +11 -11
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +2 -2
- package/sdk/platform/Discount/DiscountPlatformModel.js +1 -1
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +4 -4
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +4 -4
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +6 -6
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +6 -6
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +10 -10
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +10 -10
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +9 -9
- package/sdk/platform/Lead/LeadPlatformClient.js +9 -9
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +2 -2
- package/sdk/platform/Lead/LeadPlatformModel.js +1 -1
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +5 -5
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +5 -5
- package/sdk/platform/Order/OrderPlatformClient.d.ts +58 -58
- package/sdk/platform/Order/OrderPlatformClient.js +58 -58
- package/sdk/platform/Order/OrderPlatformModel.d.ts +9 -9
- package/sdk/platform/Order/OrderPlatformModel.js +6 -6
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +2 -2
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +2 -2
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +51 -51
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +51 -51
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +10 -10
- package/sdk/platform/Payment/PaymentPlatformClient.js +10 -10
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +85 -3
- package/sdk/platform/Payment/PaymentPlatformModel.js +49 -1
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +12 -12
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +12 -12
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +2 -2
- package/sdk/platform/Rewards/RewardsPlatformModel.js +1 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +38 -38
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +38 -38
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +28 -28
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +28 -28
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +59 -3
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +42 -1
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +5 -5
- package/sdk/platform/Share/SharePlatformApplicationClient.js +5 -5
- package/sdk/platform/Share/SharePlatformModel.d.ts +2 -2
- package/sdk/platform/Share/SharePlatformModel.js +1 -1
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +22 -22
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +22 -22
- package/sdk/platform/Theme/ThemePlatformClient.d.ts +4 -4
- package/sdk/platform/Theme/ThemePlatformClient.js +4 -4
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +34 -34
- package/sdk/platform/User/UserPlatformApplicationClient.js +34 -34
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +9 -9
- package/sdk/platform/Webhook/WebhookPlatformClient.js +9 -9
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +2 -2
- package/sdk/platform/Webhook/WebhookPlatformModel.js +1 -1
- package/sdk/public/Catalog/CatalogPublicClient.d.ts +1 -1
- package/sdk/public/Catalog/CatalogPublicClient.js +1 -1
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +2 -2
- package/sdk/public/Configuration/ConfigurationPublicClient.js +2 -2
- package/sdk/public/Content/ContentPublicClient.d.ts +14 -14
- package/sdk/public/Content/ContentPublicClient.js +14 -14
- package/sdk/public/Partner/PartnerPublicClient.d.ts +1 -1
- package/sdk/public/Partner/PartnerPublicClient.js +1 -1
- package/sdk/public/Webhook/WebhookPublicClient.d.ts +5 -5
- package/sdk/public/Webhook/WebhookPublicClient.js +5 -5
|
@@ -21,7 +21,7 @@ class Catalog {
|
|
|
21
21
|
* @returns {Promise<CatalogPlatformModel.SuccessResponseSchema>} - Success response
|
|
22
22
|
* @name addInventory
|
|
23
23
|
* @summary: Create Inventory
|
|
24
|
-
* @description: Allows add Inventory for particular size and selling location. - Check out [method documentation](https://
|
|
24
|
+
* @description: Allows add Inventory for particular size and selling location. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/addInventory/).
|
|
25
25
|
*/
|
|
26
26
|
async addInventory(
|
|
27
27
|
{ itemId, size, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -104,7 +104,7 @@ class Catalog {
|
|
|
104
104
|
* @returns {Promise<CatalogPlatformModel.GetAllSizes>} - Success response
|
|
105
105
|
* @name allSizes
|
|
106
106
|
* @summary: Get product sizes
|
|
107
|
-
* @description: Retrieve all available sizes for a product. - Check out [method documentation](https://
|
|
107
|
+
* @description: Retrieve all available sizes for a product. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/allSizes/).
|
|
108
108
|
*/
|
|
109
109
|
async allSizes(
|
|
110
110
|
{ itemId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -181,7 +181,7 @@ class Catalog {
|
|
|
181
181
|
* @returns {Promise<CatalogPlatformModel.BulkHsnResponseSchema>} - Success response
|
|
182
182
|
* @name bulkHsnCode
|
|
183
183
|
* @summary: Create Bulk update HSN
|
|
184
|
-
* @description: Execute bulk updates for HSN codes across multiple products. - Check out [method documentation](https://
|
|
184
|
+
* @description: Execute bulk updates for HSN codes across multiple products. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/bulkHsnCode/).
|
|
185
185
|
*/
|
|
186
186
|
async bulkHsnCode(
|
|
187
187
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -258,7 +258,7 @@ class Catalog {
|
|
|
258
258
|
* @returns {Promise<CatalogPlatformModel.SuccessResponseSchema>} - Success response
|
|
259
259
|
* @name createBulkInventory
|
|
260
260
|
* @summary: Create bulk inventory
|
|
261
|
-
* @description: Helps to create products in bulk push to kafka for approval/creation. - Check out [method documentation](https://
|
|
261
|
+
* @description: Helps to create products in bulk push to kafka for approval/creation. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/createBulkInventory/).
|
|
262
262
|
*/
|
|
263
263
|
async createBulkInventory(
|
|
264
264
|
{ batchId, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -339,7 +339,7 @@ class Catalog {
|
|
|
339
339
|
* @returns {Promise<CatalogPlatformModel.BulkResponseSchema>} - Success response
|
|
340
340
|
* @name createBulkInventoryJob
|
|
341
341
|
* @summary: Create bulk inventory upload job
|
|
342
|
-
* @description: Helps to create a bulk Inventory upload job. - Check out [method documentation](https://
|
|
342
|
+
* @description: Helps to create a bulk Inventory upload job. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/createBulkInventoryJob/).
|
|
343
343
|
*/
|
|
344
344
|
async createBulkInventoryJob(
|
|
345
345
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -420,7 +420,7 @@ class Catalog {
|
|
|
420
420
|
* @returns {Promise<CatalogPlatformModel.BulkResponseSchema>} - Success response
|
|
421
421
|
* @name createBulkProductUploadJob
|
|
422
422
|
* @summary: Create products bulk upload
|
|
423
|
-
* @description: This API helps to create a bulk products upload job. - Check out [method documentation](https://
|
|
423
|
+
* @description: This API helps to create a bulk products upload job. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/createBulkProductUploadJob/).
|
|
424
424
|
*/
|
|
425
425
|
async createBulkProductUploadJob(
|
|
426
426
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -502,7 +502,7 @@ class Catalog {
|
|
|
502
502
|
* Success response
|
|
503
503
|
* @name createInventoryExport
|
|
504
504
|
* @summary: Create inventory export
|
|
505
|
-
* @description: creates export job for inventory data associated with a company - Check out [method documentation](https://
|
|
505
|
+
* @description: creates export job for inventory data associated with a company - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/createInventoryExport/).
|
|
506
506
|
*/
|
|
507
507
|
async createInventoryExport(
|
|
508
508
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -582,7 +582,7 @@ class Catalog {
|
|
|
582
582
|
* Success response
|
|
583
583
|
* @name createInventoryExportJob
|
|
584
584
|
* @summary: Create inventory export job
|
|
585
|
-
* @description: Helps to create a Inventory export job. - Check out [method documentation](https://
|
|
585
|
+
* @description: Helps to create a Inventory export job. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/createInventoryExportJob/).
|
|
586
586
|
*/
|
|
587
587
|
async createInventoryExportJob(
|
|
588
588
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -665,7 +665,7 @@ class Catalog {
|
|
|
665
665
|
*
|
|
666
666
|
* @name createMarketplaceOptin
|
|
667
667
|
* @summary: Create or Update opt-in infomation
|
|
668
|
-
* @description: Allows to create opt-in information for a specific company. - Check out [method documentation](https://
|
|
668
|
+
* @description: Allows to create opt-in information for a specific company. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/createMarketplaceOptin/).
|
|
669
669
|
*/
|
|
670
670
|
async createMarketplaceOptin(
|
|
671
671
|
{ marketplaceSlug, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -748,7 +748,7 @@ class Catalog {
|
|
|
748
748
|
* @returns {Promise<CatalogPlatformModel.SuccessResponseObject>} - Success response
|
|
749
749
|
* @name createProduct
|
|
750
750
|
* @summary: Create product
|
|
751
|
-
* @description: Users can create a product using this API, associating it with the provided company ID - Check out [method documentation](https://
|
|
751
|
+
* @description: Users can create a product using this API, associating it with the provided company ID - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/createProduct/).
|
|
752
752
|
*/
|
|
753
753
|
async createProduct(
|
|
754
754
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -827,7 +827,7 @@ class Catalog {
|
|
|
827
827
|
* @returns {Promise<CatalogPlatformModel.SuccessResponseSchema>} - Success response
|
|
828
828
|
* @name createProductAssetsInBulk
|
|
829
829
|
* @summary: Create product assets in bulk
|
|
830
|
-
* @description: Helps to create a bulk asset upload job. - Check out [method documentation](https://
|
|
830
|
+
* @description: Helps to create a bulk asset upload job. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/createProductAssetsInBulk/).
|
|
831
831
|
*/
|
|
832
832
|
async createProductAssetsInBulk(
|
|
833
833
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -910,7 +910,7 @@ class Catalog {
|
|
|
910
910
|
*
|
|
911
911
|
* @name createProductBundle
|
|
912
912
|
* @summary: Create product bundle
|
|
913
|
-
* @description: Create product bundle in the catalog associated to a specific company - Check out [method documentation](https://
|
|
913
|
+
* @description: Create product bundle in the catalog associated to a specific company - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/createProductBundle/).
|
|
914
914
|
*/
|
|
915
915
|
async createProductBundle(
|
|
916
916
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -991,7 +991,7 @@ class Catalog {
|
|
|
991
991
|
*
|
|
992
992
|
* @name createProductExportJob
|
|
993
993
|
* @summary: Create product export job
|
|
994
|
-
* @description: Allows to create a product export job for a company. - Check out [method documentation](https://
|
|
994
|
+
* @description: Allows to create a product export job for a company. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/createProductExportJob/).
|
|
995
995
|
*/
|
|
996
996
|
async createProductExportJob(
|
|
997
997
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1072,7 +1072,7 @@ class Catalog {
|
|
|
1072
1072
|
* @returns {Promise<CatalogPlatformModel.SuccessResponseSchema>} - Success response
|
|
1073
1073
|
* @name createProductsInBulk
|
|
1074
1074
|
* @summary: Create products in bulk
|
|
1075
|
-
* @description: Helps to create products in bulk push to kafka for approval/creation. - Check out [method documentation](https://
|
|
1075
|
+
* @description: Helps to create products in bulk push to kafka for approval/creation. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/createProductsInBulk/).
|
|
1076
1076
|
*/
|
|
1077
1077
|
async createProductsInBulk(
|
|
1078
1078
|
{ batchId, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1153,7 +1153,7 @@ class Catalog {
|
|
|
1153
1153
|
* @returns {Promise<CatalogPlatformModel.SuccessResponseSchema>} - Success response
|
|
1154
1154
|
* @name createSizeGuide
|
|
1155
1155
|
* @summary: Create size guide
|
|
1156
|
-
* @description: Allows to create a size guide associated to a seller - Check out [method documentation](https://
|
|
1156
|
+
* @description: Allows to create a size guide associated to a seller - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/createSizeGuide/).
|
|
1157
1157
|
*/
|
|
1158
1158
|
async createSizeGuide(
|
|
1159
1159
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1232,7 +1232,7 @@ class Catalog {
|
|
|
1232
1232
|
* @returns {Promise<CatalogPlatformModel.SuccessResponseSchema>} - Success response
|
|
1233
1233
|
* @name deleteBulkInventoryJob
|
|
1234
1234
|
* @summary: Delete inventory bulk upload job
|
|
1235
|
-
* @description: Allows to delete bulk Inventory job associated with company. - Check out [method documentation](https://
|
|
1235
|
+
* @description: Allows to delete bulk Inventory job associated with company. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/deleteBulkInventoryJob/).
|
|
1236
1236
|
*/
|
|
1237
1237
|
async deleteBulkInventoryJob(
|
|
1238
1238
|
{ batchId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1313,7 +1313,7 @@ class Catalog {
|
|
|
1313
1313
|
* @returns {Promise<CatalogPlatformModel.SuccessResponseSchema>} - Success response
|
|
1314
1314
|
* @name deleteProduct
|
|
1315
1315
|
* @summary: Delete product
|
|
1316
|
-
* @description: Users can delete a product by providing the item_id and company_id. - Check out [method documentation](https://
|
|
1316
|
+
* @description: Users can delete a product by providing the item_id and company_id. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/deleteProduct/).
|
|
1317
1317
|
*/
|
|
1318
1318
|
async deleteProduct(
|
|
1319
1319
|
{ itemId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1392,7 +1392,7 @@ class Catalog {
|
|
|
1392
1392
|
* @returns {Promise<CatalogPlatformModel.SuccessResponseSchema>} - Success response
|
|
1393
1393
|
* @name deleteProductBulkJob
|
|
1394
1394
|
* @summary: Delete product bulk-upload job
|
|
1395
|
-
* @description: Allows to delete bulk product job associated with company. - Check out [method documentation](https://
|
|
1395
|
+
* @description: Allows to delete bulk product job associated with company. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/deleteProductBulkJob/).
|
|
1396
1396
|
*/
|
|
1397
1397
|
async deleteProductBulkJob(
|
|
1398
1398
|
{ batchId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1472,7 +1472,7 @@ class Catalog {
|
|
|
1472
1472
|
* Success response
|
|
1473
1473
|
* @name deleteRealtimeInventory
|
|
1474
1474
|
* @summary: Delete an inventory
|
|
1475
|
-
* @description: You can use this API to delete inventory linked to a particular product size. When you make the API call, the inventory associated with that size will be removed as part of api process. - Check out [method documentation](https://
|
|
1475
|
+
* @description: You can use this API to delete inventory linked to a particular product size. When you make the API call, the inventory associated with that size will be removed as part of api process. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/deleteRealtimeInventory/).
|
|
1476
1476
|
*/
|
|
1477
1477
|
async deleteRealtimeInventory(
|
|
1478
1478
|
{ itemId, sellerIdentifier, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1559,7 +1559,7 @@ class Catalog {
|
|
|
1559
1559
|
*
|
|
1560
1560
|
* @name deleteSize
|
|
1561
1561
|
* @summary: Delete product size
|
|
1562
|
-
* @description: Allows to delete size associated with product. - Check out [method documentation](https://
|
|
1562
|
+
* @description: Allows to delete size associated with product. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/deleteSize/).
|
|
1563
1563
|
*/
|
|
1564
1564
|
async deleteSize(
|
|
1565
1565
|
{ itemId, size, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1640,17 +1640,18 @@ class Catalog {
|
|
|
1640
1640
|
* @returns {Promise<string>} - Success response
|
|
1641
1641
|
* @name downloadInventoryTemplateView
|
|
1642
1642
|
* @summary: Download inventory template data
|
|
1643
|
-
* @description: Allows you to download inventory product template data for a specific company in formats like csv and excel. - Check out [method documentation](https://
|
|
1643
|
+
* @description: Allows you to download inventory product template data for a specific company in formats like csv and excel. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/downloadInventoryTemplateView/).
|
|
1644
1644
|
*/
|
|
1645
1645
|
async downloadInventoryTemplateView(
|
|
1646
|
-
{
|
|
1646
|
+
{ schemaType, type, requestHeaders } = { requestHeaders: {} },
|
|
1647
1647
|
{ responseHeaders } = { responseHeaders: false }
|
|
1648
1648
|
) {
|
|
1649
1649
|
const {
|
|
1650
1650
|
error,
|
|
1651
1651
|
} = CatalogPlatformValidator.downloadInventoryTemplateView().validate(
|
|
1652
1652
|
{
|
|
1653
|
-
|
|
1653
|
+
schemaType,
|
|
1654
|
+
type,
|
|
1654
1655
|
},
|
|
1655
1656
|
{ abortEarly: false, allowUnknown: true }
|
|
1656
1657
|
);
|
|
@@ -1663,7 +1664,8 @@ class Catalog {
|
|
|
1663
1664
|
error: warrning,
|
|
1664
1665
|
} = CatalogPlatformValidator.downloadInventoryTemplateView().validate(
|
|
1665
1666
|
{
|
|
1666
|
-
|
|
1667
|
+
schemaType,
|
|
1668
|
+
type,
|
|
1667
1669
|
},
|
|
1668
1670
|
{ abortEarly: false, allowUnknown: false }
|
|
1669
1671
|
);
|
|
@@ -1675,7 +1677,8 @@ class Catalog {
|
|
|
1675
1677
|
}
|
|
1676
1678
|
|
|
1677
1679
|
const query_params = {};
|
|
1678
|
-
query_params["
|
|
1680
|
+
query_params["schema_type"] = schemaType;
|
|
1681
|
+
query_params["type"] = type;
|
|
1679
1682
|
|
|
1680
1683
|
const xHeaders = {};
|
|
1681
1684
|
|
|
@@ -1721,7 +1724,7 @@ class Catalog {
|
|
|
1721
1724
|
* @returns {Promise<string>} - Success response
|
|
1722
1725
|
* @name downloadProductTemplateViews
|
|
1723
1726
|
* @summary: Download product template view
|
|
1724
|
-
* @description: Allows you to download product template data by its slug for a specific company. - Check out [method documentation](https://
|
|
1727
|
+
* @description: Allows you to download product template data by its slug for a specific company. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/downloadProductTemplateViews/).
|
|
1725
1728
|
*/
|
|
1726
1729
|
async downloadProductTemplateViews(
|
|
1727
1730
|
{ slug, itemType, type, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1805,7 +1808,7 @@ class Catalog {
|
|
|
1805
1808
|
* @returns {Promise<CatalogPlatformModel.SuccessResponseSchema>} - Success response
|
|
1806
1809
|
* @name editProduct
|
|
1807
1810
|
* @summary: Update a product
|
|
1808
|
-
* @description: Modify the details and settings of an existing product in the catalog. - Check out [method documentation](https://
|
|
1811
|
+
* @description: Modify the details and settings of an existing product in the catalog. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/editProduct/).
|
|
1809
1812
|
*/
|
|
1810
1813
|
async editProduct(
|
|
1811
1814
|
{ itemId, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1884,7 +1887,7 @@ class Catalog {
|
|
|
1884
1887
|
* @returns {Promise<CatalogPlatformModel.InventoryConfig>} - Success response
|
|
1885
1888
|
* @name exportInventoryConfig
|
|
1886
1889
|
* @summary: Get export inventory configuration
|
|
1887
|
-
* @description: Retrieve List of different filters like brand, store, and type for inventory export. - Check out [method documentation](https://
|
|
1890
|
+
* @description: Retrieve List of different filters like brand, store, and type for inventory export. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/exportInventoryConfig/).
|
|
1888
1891
|
*/
|
|
1889
1892
|
async exportInventoryConfig(
|
|
1890
1893
|
{ filterType, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1966,7 +1969,7 @@ class Catalog {
|
|
|
1966
1969
|
*
|
|
1967
1970
|
* @name getAllProductHsnCodes
|
|
1968
1971
|
* @summary: List product HSN codes
|
|
1969
|
-
* @description: Retrieve all HSN codes associated with company products and provide search capabilities based on HSN code, reporting HSN, etc - Check out [method documentation](https://
|
|
1972
|
+
* @description: Retrieve all HSN codes associated with company products and provide search capabilities based on HSN code, reporting HSN, etc - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/getAllProductHsnCodes/).
|
|
1970
1973
|
*/
|
|
1971
1974
|
async getAllProductHsnCodes(
|
|
1972
1975
|
{ pageNo, pageSize, q, type, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2055,7 +2058,7 @@ class Catalog {
|
|
|
2055
2058
|
* @returns {Promise<CatalogPlatformModel.AttributeDetail>} - Success response
|
|
2056
2059
|
* @name getAttribute
|
|
2057
2060
|
* @summary: Get attribute detail by slug
|
|
2058
|
-
* @description: Retrieve the attribute detail for catalog listings by attribute slug passed for a specific company. - Check out [method documentation](https://
|
|
2061
|
+
* @description: Retrieve the attribute detail for catalog listings by attribute slug passed for a specific company. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/getAttribute/).
|
|
2059
2062
|
*/
|
|
2060
2063
|
async getAttribute(
|
|
2061
2064
|
{ attributeSlug, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2135,7 +2138,7 @@ class Catalog {
|
|
|
2135
2138
|
* Success response
|
|
2136
2139
|
* @name getCategoryData
|
|
2137
2140
|
* @summary: Get category by uid
|
|
2138
|
-
* @description: Retrieve detailed information about a specific category by its uid for a specific company. - Check out [method documentation](https://
|
|
2141
|
+
* @description: Retrieve detailed information about a specific category by its uid for a specific company. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/getCategoryData/).
|
|
2139
2142
|
*/
|
|
2140
2143
|
async getCategoryData(
|
|
2141
2144
|
{ uid, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2215,7 +2218,7 @@ class Catalog {
|
|
|
2215
2218
|
* Success response
|
|
2216
2219
|
* @name getCompanyBrandDetail
|
|
2217
2220
|
* @summary: list Company Brand of Optin
|
|
2218
|
-
* @description: Get the details of the Brands associated with the given company_id passed which has opt-in. - Check out [method documentation](https://
|
|
2221
|
+
* @description: Get the details of the Brands associated with the given company_id passed which has opt-in. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/getCompanyBrandDetail/).
|
|
2219
2222
|
*/
|
|
2220
2223
|
async getCompanyBrandDetail(
|
|
2221
2224
|
{ isActive, q, pageNo, pageSize, marketplace, requestHeaders } = {
|
|
@@ -2309,7 +2312,7 @@ class Catalog {
|
|
|
2309
2312
|
* @returns {Promise<CatalogPlatformModel.OptinCompanyDetail>} - Success response
|
|
2310
2313
|
* @name getCompanyDetail
|
|
2311
2314
|
* @summary: Get Company
|
|
2312
|
-
* @description: Get the details of the company associated with the given company_id passed which has opt-in. - Check out [method documentation](https://
|
|
2315
|
+
* @description: Get the details of the company associated with the given company_id passed which has opt-in. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/getCompanyDetail/).
|
|
2313
2316
|
*/
|
|
2314
2317
|
async getCompanyDetail(
|
|
2315
2318
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -2384,7 +2387,7 @@ class Catalog {
|
|
|
2384
2387
|
* @returns {Promise<CatalogPlatformModel.OptinCompanyMetrics>} - Success response
|
|
2385
2388
|
* @name getCompanyMetrics
|
|
2386
2389
|
* @summary: Get company metrics
|
|
2387
|
-
* @description: Allows viewing company metrics, including brand and store status, as well as the number of verified and unverified products, company documents, and store documents. - Check out [method documentation](https://
|
|
2390
|
+
* @description: Allows viewing company metrics, including brand and store status, as well as the number of verified and unverified products, company documents, and store documents. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/getCompanyMetrics/).
|
|
2388
2391
|
*/
|
|
2389
2392
|
async getCompanyMetrics(
|
|
2390
2393
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -2460,7 +2463,7 @@ class Catalog {
|
|
|
2460
2463
|
* Success response
|
|
2461
2464
|
* @name getDepartmentData
|
|
2462
2465
|
* @summary: Get department by uid
|
|
2463
|
-
* @description: Retrieve detailed information about a specific department for a specific company by uid. - Check out [method documentation](https://
|
|
2466
|
+
* @description: Retrieve detailed information about a specific department for a specific company by uid. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/getDepartmentData/).
|
|
2464
2467
|
*/
|
|
2465
2468
|
async getDepartmentData(
|
|
2466
2469
|
{ uid, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2539,7 +2542,7 @@ class Catalog {
|
|
|
2539
2542
|
* @returns {Promise<CatalogPlatformModel.HsnCode>} - Success response
|
|
2540
2543
|
* @name getHsnCode
|
|
2541
2544
|
* @summary: List HSN code
|
|
2542
|
-
* @description: Retrieve the HSN code for a product. - Check out [method documentation](https://
|
|
2545
|
+
* @description: Retrieve the HSN code for a product. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/getHsnCode/).
|
|
2543
2546
|
*/
|
|
2544
2547
|
async getHsnCode(
|
|
2545
2548
|
{ id, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2617,7 +2620,7 @@ class Catalog {
|
|
|
2617
2620
|
* Success response
|
|
2618
2621
|
* @name getInventories
|
|
2619
2622
|
* @summary: List Inventory
|
|
2620
|
-
* @description: Allows to get Inventories data for particular company. - Check out [method documentation](https://
|
|
2623
|
+
* @description: Allows to get Inventories data for particular company. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/getInventories/).
|
|
2621
2624
|
*/
|
|
2622
2625
|
async getInventories(
|
|
2623
2626
|
{
|
|
@@ -2847,10 +2850,12 @@ class Catalog {
|
|
|
2847
2850
|
* @returns {Promise<CatalogPlatformModel.BulkInventoryGet>} - Success response
|
|
2848
2851
|
* @name getInventoryBulkUploadHistory
|
|
2849
2852
|
* @summary: List bulk inventory upload history
|
|
2850
|
-
* @description: Helps to get bulk Inventory upload jobs status. - Check out [method documentation](https://
|
|
2853
|
+
* @description: Helps to get bulk Inventory upload jobs status. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/getInventoryBulkUploadHistory/).
|
|
2851
2854
|
*/
|
|
2852
2855
|
async getInventoryBulkUploadHistory(
|
|
2853
|
-
{ pageNo, pageSize, search, requestHeaders } = {
|
|
2856
|
+
{ pageNo, pageSize, search, startDate, endDate, stage, requestHeaders } = {
|
|
2857
|
+
requestHeaders: {},
|
|
2858
|
+
},
|
|
2854
2859
|
{ responseHeaders } = { responseHeaders: false }
|
|
2855
2860
|
) {
|
|
2856
2861
|
const {
|
|
@@ -2860,6 +2865,9 @@ class Catalog {
|
|
|
2860
2865
|
pageNo,
|
|
2861
2866
|
pageSize,
|
|
2862
2867
|
search,
|
|
2868
|
+
startDate,
|
|
2869
|
+
endDate,
|
|
2870
|
+
stage,
|
|
2863
2871
|
},
|
|
2864
2872
|
{ abortEarly: false, allowUnknown: true }
|
|
2865
2873
|
);
|
|
@@ -2875,6 +2883,9 @@ class Catalog {
|
|
|
2875
2883
|
pageNo,
|
|
2876
2884
|
pageSize,
|
|
2877
2885
|
search,
|
|
2886
|
+
startDate,
|
|
2887
|
+
endDate,
|
|
2888
|
+
stage,
|
|
2878
2889
|
},
|
|
2879
2890
|
{ abortEarly: false, allowUnknown: false }
|
|
2880
2891
|
);
|
|
@@ -2889,6 +2900,9 @@ class Catalog {
|
|
|
2889
2900
|
query_params["page_no"] = pageNo;
|
|
2890
2901
|
query_params["page_size"] = pageSize;
|
|
2891
2902
|
query_params["search"] = search;
|
|
2903
|
+
query_params["start_date"] = startDate;
|
|
2904
|
+
query_params["end_date"] = endDate;
|
|
2905
|
+
query_params["stage"] = stage;
|
|
2892
2906
|
|
|
2893
2907
|
const xHeaders = {};
|
|
2894
2908
|
|
|
@@ -2933,11 +2947,21 @@ class Catalog {
|
|
|
2933
2947
|
* @param {number} [arg.pageSize] - Number of items to retrieve in each
|
|
2934
2948
|
* page. Default is 12.
|
|
2935
2949
|
* @param {string} [arg.search] - Search string to filter the results by batch id
|
|
2950
|
+
* @param {string} [arg.startDate] - Filter results by the job's start date.
|
|
2951
|
+
* @param {string} [arg.endDate] - Filter results by the job's end date.
|
|
2952
|
+
* @param {string} [arg.stage] - Filter results by the current stage of the
|
|
2953
|
+
* import job.
|
|
2936
2954
|
* @returns {Paginator<CatalogPlatformModel.BulkInventoryGet>}
|
|
2937
2955
|
* @summary: List bulk inventory upload history
|
|
2938
2956
|
* @description: Helps to get bulk Inventory upload jobs status.
|
|
2939
2957
|
*/
|
|
2940
|
-
getInventoryBulkUploadHistoryPaginator({
|
|
2958
|
+
getInventoryBulkUploadHistoryPaginator({
|
|
2959
|
+
pageSize,
|
|
2960
|
+
search,
|
|
2961
|
+
startDate,
|
|
2962
|
+
endDate,
|
|
2963
|
+
stage,
|
|
2964
|
+
} = {}) {
|
|
2941
2965
|
const paginator = new Paginator();
|
|
2942
2966
|
const callback = async () => {
|
|
2943
2967
|
const pageId = paginator.nextId;
|
|
@@ -2947,6 +2971,9 @@ class Catalog {
|
|
|
2947
2971
|
pageNo: pageNo,
|
|
2948
2972
|
pageSize: pageSize,
|
|
2949
2973
|
search: search,
|
|
2974
|
+
startDate: startDate,
|
|
2975
|
+
endDate: endDate,
|
|
2976
|
+
stage: stage,
|
|
2950
2977
|
});
|
|
2951
2978
|
paginator.setPaginator({
|
|
2952
2979
|
hasNext: data.page.has_next ? true : false,
|
|
@@ -2966,7 +2993,7 @@ class Catalog {
|
|
|
2966
2993
|
* Success response
|
|
2967
2994
|
* @name getInventoryBySize
|
|
2968
2995
|
* @summary: List inventory by size
|
|
2969
|
-
* @description: Retrieve inventory data for a specific company, item ID, and size. The API supports search capabilities based on selling location (store) code and product availability (in stock or not)." - Check out [method documentation](https://
|
|
2996
|
+
* @description: Retrieve inventory data for a specific company, item ID, and size. The API supports search capabilities based on selling location (store) code and product availability (in stock or not)." - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/getInventoryBySize/).
|
|
2970
2997
|
*/
|
|
2971
2998
|
async getInventoryBySize(
|
|
2972
2999
|
{ itemId, size, pageNo, pageSize, q, sellable, requestHeaders } = {
|
|
@@ -3101,7 +3128,7 @@ class Catalog {
|
|
|
3101
3128
|
*
|
|
3102
3129
|
* @name getInventoryBySizeIdentifier
|
|
3103
3130
|
* @summary: List inventory by size
|
|
3104
|
-
* @description: Retrieve inventory data for a specific company, item ID, and seller identifier. The API supports search capabilities using store codes and location IDs. - Check out [method documentation](https://
|
|
3131
|
+
* @description: Retrieve inventory data for a specific company, item ID, and seller identifier. The API supports search capabilities using store codes and location IDs. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/getInventoryBySizeIdentifier/).
|
|
3105
3132
|
*/
|
|
3106
3133
|
async getInventoryBySizeIdentifier(
|
|
3107
3134
|
{
|
|
@@ -3247,7 +3274,7 @@ class Catalog {
|
|
|
3247
3274
|
* @returns {Promise<CatalogPlatformModel.InventoryExportJob>} - Success response
|
|
3248
3275
|
* @name getInventoryExport
|
|
3249
3276
|
* @summary: list product inventory
|
|
3250
|
-
* @description: Retrieves inventory for all products for that particular company - Check out [method documentation](https://
|
|
3277
|
+
* @description: Retrieves inventory for all products for that particular company - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/getInventoryExport/).
|
|
3251
3278
|
*/
|
|
3252
3279
|
async getInventoryExport(
|
|
3253
3280
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -3322,7 +3349,7 @@ class Catalog {
|
|
|
3322
3349
|
* @returns {Promise<CatalogPlatformModel.GetOptInPlatform>} - Success response
|
|
3323
3350
|
* @name getMarketplaceOptinDetail
|
|
3324
3351
|
* @summary: Get opt-in
|
|
3325
|
-
* @description: Allows to fetch opt-in information for a company. - Check out [method documentation](https://
|
|
3352
|
+
* @description: Allows to fetch opt-in information for a company. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/getMarketplaceOptinDetail/).
|
|
3326
3353
|
*/
|
|
3327
3354
|
async getMarketplaceOptinDetail(
|
|
3328
3355
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -3399,7 +3426,7 @@ class Catalog {
|
|
|
3399
3426
|
* @returns {Promise<CatalogPlatformModel.GetAllMarketplaces>} - Success response
|
|
3400
3427
|
* @name getMarketplaces
|
|
3401
3428
|
* @summary: List marketplaces
|
|
3402
|
-
* @description: Allows to get all marketplaces information for a company. - Check out [method documentation](https://
|
|
3429
|
+
* @description: Allows to get all marketplaces information for a company. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/getMarketplaces/).
|
|
3403
3430
|
*/
|
|
3404
3431
|
async getMarketplaces(
|
|
3405
3432
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -3475,7 +3502,7 @@ class Catalog {
|
|
|
3475
3502
|
* Success response
|
|
3476
3503
|
* @name getOptimalLocations
|
|
3477
3504
|
* @summary: Get optimal locations
|
|
3478
|
-
* @description: This API returns the optimal locations where inventory is available for the given articles. - Check out [method documentation](https://
|
|
3505
|
+
* @description: This API returns the optimal locations where inventory is available for the given articles. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/getOptimalLocations/).
|
|
3479
3506
|
*/
|
|
3480
3507
|
async getOptimalLocations(
|
|
3481
3508
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3555,7 +3582,7 @@ class Catalog {
|
|
|
3555
3582
|
* Success response
|
|
3556
3583
|
* @name getProduct
|
|
3557
3584
|
* @summary: Get a product
|
|
3558
|
-
* @description: Retrieve data associated to a particular product. - Check out [method documentation](https://
|
|
3585
|
+
* @description: Retrieve data associated to a particular product. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/getProduct/).
|
|
3559
3586
|
*/
|
|
3560
3587
|
async getProduct(
|
|
3561
3588
|
{ itemId, brandUid, itemCode, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3638,7 +3665,7 @@ class Catalog {
|
|
|
3638
3665
|
* @returns {Promise<CatalogPlatformModel.BulkAssetResponseSchema>} - Success response
|
|
3639
3666
|
* @name getProductAssetsInBulk
|
|
3640
3667
|
* @summary: Get product assets
|
|
3641
|
-
* @description: Helps to retrieve bulk asset jobs data associated to a particular company. - Check out [method documentation](https://
|
|
3668
|
+
* @description: Helps to retrieve bulk asset jobs data associated to a particular company. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/getProductAssetsInBulk/).
|
|
3642
3669
|
*/
|
|
3643
3670
|
async getProductAssetsInBulk(
|
|
3644
3671
|
{ pageNo, pageSize, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3753,7 +3780,7 @@ class Catalog {
|
|
|
3753
3780
|
*
|
|
3754
3781
|
* @name getProductAttributes
|
|
3755
3782
|
* @summary: List product attributes
|
|
3756
|
-
* @description: Retrieve attributes attached to products based on their L3 category. - Check out [method documentation](https://
|
|
3783
|
+
* @description: Retrieve attributes attached to products based on their L3 category. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/getProductAttributes/).
|
|
3757
3784
|
*/
|
|
3758
3785
|
async getProductAttributes(
|
|
3759
3786
|
{ category, filter, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3836,7 +3863,7 @@ class Catalog {
|
|
|
3836
3863
|
* @returns {Promise<CatalogPlatformModel.ProductBulkRequestList>} - Success response
|
|
3837
3864
|
* @name getProductBulkUploadHistory
|
|
3838
3865
|
* @summary: List product bulk upload history
|
|
3839
|
-
* @description: Helps to get bulk product upload jobs data. - Check out [method documentation](https://
|
|
3866
|
+
* @description: Helps to get bulk product upload jobs data. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/getProductBulkUploadHistory/).
|
|
3840
3867
|
*/
|
|
3841
3868
|
async getProductBulkUploadHistory(
|
|
3842
3869
|
{ search, pageNo, pageSize, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3956,7 +3983,7 @@ class Catalog {
|
|
|
3956
3983
|
*
|
|
3957
3984
|
* @name getProductBundle
|
|
3958
3985
|
* @summary: List product bundles
|
|
3959
|
-
* @description: Retrieve a list of product bundles available in the catalog associated to a specific company. - Check out [method documentation](https://
|
|
3986
|
+
* @description: Retrieve a list of product bundles available in the catalog associated to a specific company. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/getProductBundle/).
|
|
3960
3987
|
*/
|
|
3961
3988
|
async getProductBundle(
|
|
3962
3989
|
{ q, slug, pageNo, pageSize, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4047,7 +4074,7 @@ class Catalog {
|
|
|
4047
4074
|
*
|
|
4048
4075
|
* @name getProductBundleDetail
|
|
4049
4076
|
* @summary: Get product bundle
|
|
4050
|
-
* @description: Retrieve detailed information about a specific product bundle associated to a specific company. - Check out [method documentation](https://
|
|
4077
|
+
* @description: Retrieve detailed information about a specific product bundle associated to a specific company. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/getProductBundleDetail/).
|
|
4051
4078
|
*/
|
|
4052
4079
|
async getProductBundleDetail(
|
|
4053
4080
|
{ id, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4130,7 +4157,7 @@ class Catalog {
|
|
|
4130
4157
|
*
|
|
4131
4158
|
* @name getProductExportJobs
|
|
4132
4159
|
* @summary: Get product export jobs
|
|
4133
|
-
* @description: Get product export jobs specific to a company based on queries like query param, date range and status. View details including trigger data, task id , etc. - Check out [method documentation](https://
|
|
4160
|
+
* @description: Get product export jobs specific to a company based on queries like query param, date range and status. View details including trigger data, task id , etc. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/getProductExportJobs/).
|
|
4134
4161
|
*/
|
|
4135
4162
|
async getProductExportJobs(
|
|
4136
4163
|
{ status, fromDate, toDate, q, pageNo, pageSize, requestHeaders } = {
|
|
@@ -4228,7 +4255,7 @@ class Catalog {
|
|
|
4228
4255
|
* Success response
|
|
4229
4256
|
* @name getProductSize
|
|
4230
4257
|
* @summary: List product size
|
|
4231
|
-
* @description: Retrieve data associated to a particular product size. - Check out [method documentation](https://
|
|
4258
|
+
* @description: Retrieve data associated to a particular product size. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/getProductSize/).
|
|
4232
4259
|
*/
|
|
4233
4260
|
async getProductSize(
|
|
4234
4261
|
{ itemId, itemCode, brandUid, uid, requestHeaders } = {
|
|
@@ -4319,7 +4346,7 @@ class Catalog {
|
|
|
4319
4346
|
* Success response
|
|
4320
4347
|
* @name getProductTags
|
|
4321
4348
|
* @summary: List product tags
|
|
4322
|
-
* @description: Retrieve tags data associated to a particular company. - Check out [method documentation](https://
|
|
4349
|
+
* @description: Retrieve tags data associated to a particular company. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/getProductTags/).
|
|
4323
4350
|
*/
|
|
4324
4351
|
async getProductTags(
|
|
4325
4352
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -4394,7 +4421,7 @@ class Catalog {
|
|
|
4394
4421
|
* @returns {Promise<CatalogPlatformModel.ValidateProduct>} - Success response
|
|
4395
4422
|
* @name getProductValidation
|
|
4396
4423
|
* @summary: Get valid products
|
|
4397
|
-
* @description: Retrieve validation data for products at company level. - Check out [method documentation](https://
|
|
4424
|
+
* @description: Retrieve validation data for products at company level. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/getProductValidation/).
|
|
4398
4425
|
*/
|
|
4399
4426
|
async getProductValidation(
|
|
4400
4427
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -4470,7 +4497,7 @@ class Catalog {
|
|
|
4470
4497
|
* Success response
|
|
4471
4498
|
* @name getProducts
|
|
4472
4499
|
* @summary: List products
|
|
4473
|
-
* @description: Retrieve a list of available products - Check out [method documentation](https://
|
|
4500
|
+
* @description: Retrieve a list of available products - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/getProducts/).
|
|
4474
4501
|
*/
|
|
4475
4502
|
async getProducts(
|
|
4476
4503
|
{
|
|
@@ -4677,7 +4704,7 @@ class Catalog {
|
|
|
4677
4704
|
* Success response
|
|
4678
4705
|
* @name getSellerInsights
|
|
4679
4706
|
* @summary: Get seller catalog counts
|
|
4680
|
-
* @description: Retrieve the count of catalog related data for sellers. - Check out [method documentation](https://
|
|
4707
|
+
* @description: Retrieve the count of catalog related data for sellers. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/getSellerInsights/).
|
|
4681
4708
|
*/
|
|
4682
4709
|
async getSellerInsights(
|
|
4683
4710
|
{ sellerAppId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4756,7 +4783,7 @@ class Catalog {
|
|
|
4756
4783
|
* @returns {Promise<CatalogPlatformModel.HSNDataInsertV2>} - Success response
|
|
4757
4784
|
* @name getSingleProductHSNCode
|
|
4758
4785
|
* @summary: Get product HSN code
|
|
4759
|
-
* @description: Retrieve HSN details associated with company ID and reporting HSN - Check out [method documentation](https://
|
|
4786
|
+
* @description: Retrieve HSN details associated with company ID and reporting HSN - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/getSingleProductHSNCode/).
|
|
4760
4787
|
*/
|
|
4761
4788
|
async getSingleProductHSNCode(
|
|
4762
4789
|
{ reportingHsn, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4833,7 +4860,7 @@ class Catalog {
|
|
|
4833
4860
|
* @returns {Promise<CatalogPlatformModel.SizeGuideResponseSchema>} - Success response
|
|
4834
4861
|
* @name getSizeGuide
|
|
4835
4862
|
* @summary: Get size guide
|
|
4836
|
-
* @description: Retrieve data associated about a specific size guide. It contains meta deta like header values like for shoulder, head, etc. and measurement unit like cm and values contains sizes for the same. - Check out [method documentation](https://
|
|
4863
|
+
* @description: Retrieve data associated about a specific size guide. It contains meta deta like header values like for shoulder, head, etc. and measurement unit like cm and values contains sizes for the same. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/getSizeGuide/).
|
|
4837
4864
|
*/
|
|
4838
4865
|
async getSizeGuide(
|
|
4839
4866
|
{ id, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4912,7 +4939,7 @@ class Catalog {
|
|
|
4912
4939
|
* @returns {Promise<CatalogPlatformModel.ListSizeGuide>} - Success response
|
|
4913
4940
|
* @name getSizeGuides
|
|
4914
4941
|
* @summary: List size guides
|
|
4915
|
-
* @description: Allows to view all the size guides associated to the seller. Each size guide contains meta deta like header values like for shoulder, head, etc. and measurement unit like cm and values contains sizes for the same. - Check out [method documentation](https://
|
|
4942
|
+
* @description: Allows to view all the size guides associated to the seller. Each size guide contains meta deta like header values like for shoulder, head, etc. and measurement unit like cm and values contains sizes for the same. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/getSizeGuides/).
|
|
4916
4943
|
*/
|
|
4917
4944
|
async getSizeGuides(
|
|
4918
4945
|
{ active, q, tag, pageNo, pageSize, brandId, requestHeaders } = {
|
|
@@ -5009,7 +5036,7 @@ class Catalog {
|
|
|
5009
5036
|
* @returns {Promise<CatalogPlatformModel.OptinStoreDetails>} - Success response
|
|
5010
5037
|
* @name getStoreDetail
|
|
5011
5038
|
* @summary: Get selling location
|
|
5012
|
-
* @description: Retrieve the details of the selling location (store) associated with a specific company passed. - Check out [method documentation](https://
|
|
5039
|
+
* @description: Retrieve the details of the selling location (store) associated with a specific company passed. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/getStoreDetail/).
|
|
5013
5040
|
*/
|
|
5014
5041
|
async getStoreDetail(
|
|
5015
5042
|
{ q, pageNo, pageSize, requestHeaders } = { requestHeaders: {} },
|
|
@@ -5126,7 +5153,7 @@ class Catalog {
|
|
|
5126
5153
|
* Success response
|
|
5127
5154
|
* @name getVariantsOfProducts
|
|
5128
5155
|
* @summary: Get variants
|
|
5129
|
-
* @description: Retrieve variants of a specific product. - Check out [method documentation](https://
|
|
5156
|
+
* @description: Retrieve variants of a specific product. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/getVariantsOfProducts/).
|
|
5130
5157
|
*/
|
|
5131
5158
|
async getVariantsOfProducts(
|
|
5132
5159
|
{ itemId, variantType, pageNo, pageSize, requestHeaders } = {
|
|
@@ -5247,7 +5274,7 @@ class Catalog {
|
|
|
5247
5274
|
* @returns {Promise<CatalogPlatformModel.CategoryResponseSchema>} - Success response
|
|
5248
5275
|
* @name listCategories
|
|
5249
5276
|
* @summary: List categories
|
|
5250
|
-
* @description: Retrieve a list of categories data associated to a specific company and queries passed in the request. - Check out [method documentation](https://
|
|
5277
|
+
* @description: Retrieve a list of categories data associated to a specific company and queries passed in the request. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/listCategories/).
|
|
5251
5278
|
*/
|
|
5252
5279
|
async listCategories(
|
|
5253
5280
|
{ level, department, q, pageNo, pageSize, uids, slug, requestHeaders } = {
|
|
@@ -5386,7 +5413,7 @@ class Catalog {
|
|
|
5386
5413
|
* Success response
|
|
5387
5414
|
* @name listDepartmentsData
|
|
5388
5415
|
* @summary: List company department
|
|
5389
|
-
* @description: Allows you to list all departments data for a specific company. - Check out [method documentation](https://
|
|
5416
|
+
* @description: Allows you to list all departments data for a specific company. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/listDepartmentsData/).
|
|
5390
5417
|
*/
|
|
5391
5418
|
async listDepartmentsData(
|
|
5392
5419
|
{
|
|
@@ -5541,7 +5568,7 @@ class Catalog {
|
|
|
5541
5568
|
* @returns {Promise<CatalogPlatformModel.HSNCodesResponseSchema>} - Success response
|
|
5542
5569
|
* @name listHSNCodes
|
|
5543
5570
|
* @summary: List HSN codes
|
|
5544
|
-
* @description: Retrieve a list of Harmonized System Nomenclature (HSN) codes for a company. - Check out [method documentation](https://
|
|
5571
|
+
* @description: Retrieve a list of Harmonized System Nomenclature (HSN) codes for a company. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/listHSNCodes/).
|
|
5545
5572
|
*/
|
|
5546
5573
|
async listHSNCodes(
|
|
5547
5574
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -5618,7 +5645,7 @@ class Catalog {
|
|
|
5618
5645
|
*
|
|
5619
5646
|
* @name listInventoryExport
|
|
5620
5647
|
* @summary: List inventory export jobs
|
|
5621
|
-
* @description: Retrieve the history of inventory export jobs associated with the company - Check out [method documentation](https://
|
|
5648
|
+
* @description: Retrieve the history of inventory export jobs associated with the company - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/listInventoryExport/).
|
|
5622
5649
|
*/
|
|
5623
5650
|
async listInventoryExport(
|
|
5624
5651
|
{ status, fromDate, toDate, q, pageNo, pageSize, requestHeaders } = {
|
|
@@ -5715,15 +5742,17 @@ class Catalog {
|
|
|
5715
5742
|
* @returns {Promise<CatalogPlatformModel.TemplatesResponseSchema>} - Success response
|
|
5716
5743
|
* @name listProductTemplate
|
|
5717
5744
|
* @summary: List product templates
|
|
5718
|
-
* @description: Allows you to list all product templates for a specific company. also can filter by department. - Check out [method documentation](https://
|
|
5745
|
+
* @description: Allows you to list all product templates for a specific company. also can filter by department. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/listProductTemplate/).
|
|
5719
5746
|
*/
|
|
5720
5747
|
async listProductTemplate(
|
|
5721
|
-
{ department, requestHeaders } = { requestHeaders: {} },
|
|
5748
|
+
{ department, pageNo, pageSize, requestHeaders } = { requestHeaders: {} },
|
|
5722
5749
|
{ responseHeaders } = { responseHeaders: false }
|
|
5723
5750
|
) {
|
|
5724
5751
|
const { error } = CatalogPlatformValidator.listProductTemplate().validate(
|
|
5725
5752
|
{
|
|
5726
5753
|
department,
|
|
5754
|
+
pageNo,
|
|
5755
|
+
pageSize,
|
|
5727
5756
|
},
|
|
5728
5757
|
{ abortEarly: false, allowUnknown: true }
|
|
5729
5758
|
);
|
|
@@ -5737,6 +5766,8 @@ class Catalog {
|
|
|
5737
5766
|
} = CatalogPlatformValidator.listProductTemplate().validate(
|
|
5738
5767
|
{
|
|
5739
5768
|
department,
|
|
5769
|
+
pageNo,
|
|
5770
|
+
pageSize,
|
|
5740
5771
|
},
|
|
5741
5772
|
{ abortEarly: false, allowUnknown: false }
|
|
5742
5773
|
);
|
|
@@ -5749,6 +5780,8 @@ class Catalog {
|
|
|
5749
5780
|
|
|
5750
5781
|
const query_params = {};
|
|
5751
5782
|
query_params["department"] = department;
|
|
5783
|
+
query_params["page_no"] = pageNo;
|
|
5784
|
+
query_params["page_size"] = pageSize;
|
|
5752
5785
|
|
|
5753
5786
|
const xHeaders = {};
|
|
5754
5787
|
|
|
@@ -5799,7 +5832,7 @@ class Catalog {
|
|
|
5799
5832
|
*
|
|
5800
5833
|
* @name listProductTemplateCategories
|
|
5801
5834
|
* @summary: List product template categories
|
|
5802
|
-
* @description: Allows you to list all product template categories values for the departments specified for a specific company. - Check out [method documentation](https://
|
|
5835
|
+
* @description: Allows you to list all product template categories values for the departments specified for a specific company. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/listProductTemplateCategories/).
|
|
5803
5836
|
*/
|
|
5804
5837
|
async listProductTemplateCategories(
|
|
5805
5838
|
{ departments, itemType, requestHeaders } = { requestHeaders: {} },
|
|
@@ -5888,7 +5921,7 @@ class Catalog {
|
|
|
5888
5921
|
*
|
|
5889
5922
|
* @name listProductTemplateExportDetails
|
|
5890
5923
|
* @summary: List export product templates
|
|
5891
|
-
* @description: Retrieve export details related to product templates for a specific company. Can view details including trigger data, task id , etc. - Check out [method documentation](https://
|
|
5924
|
+
* @description: Retrieve export details related to product templates for a specific company. Can view details including trigger data, task id , etc. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/listProductTemplateExportDetails/).
|
|
5892
5925
|
*/
|
|
5893
5926
|
async listProductTemplateExportDetails(
|
|
5894
5927
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -5966,7 +5999,7 @@ class Catalog {
|
|
|
5966
5999
|
* Success response
|
|
5967
6000
|
* @name listTemplateBrandTypeValues
|
|
5968
6001
|
* @summary: List template brand
|
|
5969
|
-
* @description: Retrieve values related to template brand types for a specific company. The filter type query parameter defines what type of data to return. - Check out [method documentation](https://
|
|
6002
|
+
* @description: Retrieve values related to template brand types for a specific company. The filter type query parameter defines what type of data to return. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/listTemplateBrandTypeValues/).
|
|
5970
6003
|
*/
|
|
5971
6004
|
async listTemplateBrandTypeValues(
|
|
5972
6005
|
{ filter, templateTag, itemType, requestHeaders } = { requestHeaders: {} },
|
|
@@ -6054,7 +6087,7 @@ class Catalog {
|
|
|
6054
6087
|
* @returns {Promise<CatalogPlatformModel.HsnCode>} - Success response
|
|
6055
6088
|
* @name updateHsnCode
|
|
6056
6089
|
* @summary: Update HSN code
|
|
6057
|
-
* @description: Modify the HSN code associated with a product. - Check out [method documentation](https://
|
|
6090
|
+
* @description: Modify the HSN code associated with a product. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/updateHsnCode/).
|
|
6058
6091
|
*/
|
|
6059
6092
|
async updateHsnCode(
|
|
6060
6093
|
{ id, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -6136,7 +6169,7 @@ class Catalog {
|
|
|
6136
6169
|
* Success response
|
|
6137
6170
|
* @name updateInventories
|
|
6138
6171
|
* @summary: Update inventories
|
|
6139
|
-
* @description: Allows to add Inventory for particular size and selling location. for associated companies - Check out [method documentation](https://
|
|
6172
|
+
* @description: Allows to add Inventory for particular size and selling location. for associated companies - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/updateInventories/).
|
|
6140
6173
|
*/
|
|
6141
6174
|
async updateInventories(
|
|
6142
6175
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -6217,7 +6250,7 @@ class Catalog {
|
|
|
6217
6250
|
*
|
|
6218
6251
|
* @name updateLocationPrice
|
|
6219
6252
|
* @summary: Update an Article Price
|
|
6220
|
-
* @description: enables you to update article price for a specific size and selling location (store). The price updates will be reflected instantly after the API call. - Check out [method documentation](https://
|
|
6253
|
+
* @description: enables you to update article price for a specific size and selling location (store). The price updates will be reflected instantly after the API call. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/updateLocationPrice/).
|
|
6221
6254
|
*/
|
|
6222
6255
|
async updateLocationPrice(
|
|
6223
6256
|
{ storeId, sellerIdentifier, body, requestHeaders } = {
|
|
@@ -6304,7 +6337,7 @@ class Catalog {
|
|
|
6304
6337
|
*
|
|
6305
6338
|
* @name updateLocationQuantity
|
|
6306
6339
|
* @summary: Update an Article Quantity
|
|
6307
|
-
* @description: enables you to update article quantity for a specific size and selling location (store). The quantity updates will be reflected instantly after the API call. - Check out [method documentation](https://
|
|
6340
|
+
* @description: enables you to update article quantity for a specific size and selling location (store). The quantity updates will be reflected instantly after the API call. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/updateLocationQuantity/).
|
|
6308
6341
|
*/
|
|
6309
6342
|
async updateLocationQuantity(
|
|
6310
6343
|
{ storeId, sellerIdentifier, body, requestHeaders } = {
|
|
@@ -6393,7 +6426,7 @@ class Catalog {
|
|
|
6393
6426
|
*
|
|
6394
6427
|
* @name updateMarketplaceOptin
|
|
6395
6428
|
* @summary: Update marketplace optin
|
|
6396
|
-
* @description: Allows to update marketplace optin for a company by marketplace_slug. - Check out [method documentation](https://
|
|
6429
|
+
* @description: Allows to update marketplace optin for a company by marketplace_slug. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/updateMarketplaceOptin/).
|
|
6397
6430
|
*/
|
|
6398
6431
|
async updateMarketplaceOptin(
|
|
6399
6432
|
{ marketplaceSlug, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -6478,7 +6511,7 @@ class Catalog {
|
|
|
6478
6511
|
*
|
|
6479
6512
|
* @name updateProductBundle
|
|
6480
6513
|
* @summary: Update product bundle
|
|
6481
|
-
* @description: Modify the details of an existing product bundle in the catalog associated to a specific company. - Check out [method documentation](https://
|
|
6514
|
+
* @description: Modify the details of an existing product bundle in the catalog associated to a specific company. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/updateProductBundle/).
|
|
6482
6515
|
*/
|
|
6483
6516
|
async updateProductBundle(
|
|
6484
6517
|
{ id, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -6560,7 +6593,7 @@ class Catalog {
|
|
|
6560
6593
|
* Success response
|
|
6561
6594
|
* @name updateRealtimeInventory
|
|
6562
6595
|
* @summary: Update an inventory
|
|
6563
|
-
* @description: enables you to add inventory for a specific size and selling location (store). The inventory updates will be reflected instantly after the API call. - Check out [method documentation](https://
|
|
6596
|
+
* @description: enables you to add inventory for a specific size and selling location (store). The inventory updates will be reflected instantly after the API call. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/updateRealtimeInventory/).
|
|
6564
6597
|
*/
|
|
6565
6598
|
async updateRealtimeInventory(
|
|
6566
6599
|
{ itemId, sellerIdentifier, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -6645,7 +6678,7 @@ class Catalog {
|
|
|
6645
6678
|
* @returns {Promise<CatalogPlatformModel.SuccessResponseSchema>} - Success response
|
|
6646
6679
|
* @name updateSizeGuide
|
|
6647
6680
|
* @summary: Update size guide
|
|
6648
|
-
* @description: Allows to edit a specific size guide. - Check out [method documentation](https://
|
|
6681
|
+
* @description: Allows to edit a specific size guide. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/updateSizeGuide/).
|
|
6649
6682
|
*/
|
|
6650
6683
|
async updateSizeGuide(
|
|
6651
6684
|
{ id, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -6726,7 +6759,7 @@ class Catalog {
|
|
|
6726
6759
|
* @returns {Promise<CatalogPlatformModel.BulkResponseSchema>} - Success response
|
|
6727
6760
|
* @name uploadBulkProducts
|
|
6728
6761
|
* @summary: Upload bulk products
|
|
6729
|
-
* @description: Users can create multiple products by providing the required information needed for product creation in a CSV or Excel file format. - Check out [method documentation](https://
|
|
6762
|
+
* @description: Users can create multiple products by providing the required information needed for product creation in a CSV or Excel file format. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/uploadBulkProducts/).
|
|
6730
6763
|
*/
|
|
6731
6764
|
async uploadBulkProducts(
|
|
6732
6765
|
{ department, productType, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -6815,7 +6848,7 @@ class Catalog {
|
|
|
6815
6848
|
*
|
|
6816
6849
|
* @name validateProductGlobalTemplate
|
|
6817
6850
|
* @summary: Validate product template
|
|
6818
|
-
* @description: Allows you to list all product templates global validation values for all the fields present in the database for a specific company. - Check out [method documentation](https://
|
|
6851
|
+
* @description: Allows you to list all product templates global validation values for all the fields present in the database for a specific company. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/validateProductGlobalTemplate/).
|
|
6819
6852
|
*/
|
|
6820
6853
|
async validateProductGlobalTemplate(
|
|
6821
6854
|
{ itemType, bulk, requestHeaders } = { requestHeaders: {} },
|
|
@@ -6902,7 +6935,7 @@ class Catalog {
|
|
|
6902
6935
|
*
|
|
6903
6936
|
* @name validateProductTemplate
|
|
6904
6937
|
* @summary: Validate product template
|
|
6905
|
-
* @description: Allows you to list all product templates validation values by its slug for all the fields present in the database for a specific company. - Check out [method documentation](https://
|
|
6938
|
+
* @description: Allows you to list all product templates validation values by its slug for all the fields present in the database for a specific company. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/validateProductTemplate/).
|
|
6906
6939
|
*/
|
|
6907
6940
|
async validateProductTemplate(
|
|
6908
6941
|
{ slug, itemType, bulk, requestHeaders } = { requestHeaders: {} },
|
|
@@ -6993,10 +7026,10 @@ class Catalog {
|
|
|
6993
7026
|
*
|
|
6994
7027
|
* @name validateProductTemplateSchema
|
|
6995
7028
|
* @summary: Validate product template schema
|
|
6996
|
-
* @description: Allows you to list all product templates validation values for all the fields present in the database for a specific company. - Check out [method documentation](https://
|
|
7029
|
+
* @description: Allows you to list all product templates validation values for all the fields present in the database for a specific company. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/catalog/validateProductTemplateSchema/).
|
|
6997
7030
|
*/
|
|
6998
7031
|
async validateProductTemplateSchema(
|
|
6999
|
-
{ itemType, requestHeaders } = { requestHeaders: {} },
|
|
7032
|
+
{ itemType, schemaType, requestHeaders } = { requestHeaders: {} },
|
|
7000
7033
|
{ responseHeaders } = { responseHeaders: false }
|
|
7001
7034
|
) {
|
|
7002
7035
|
const {
|
|
@@ -7004,6 +7037,7 @@ class Catalog {
|
|
|
7004
7037
|
} = CatalogPlatformValidator.validateProductTemplateSchema().validate(
|
|
7005
7038
|
{
|
|
7006
7039
|
itemType,
|
|
7040
|
+
schemaType,
|
|
7007
7041
|
},
|
|
7008
7042
|
{ abortEarly: false, allowUnknown: true }
|
|
7009
7043
|
);
|
|
@@ -7017,6 +7051,7 @@ class Catalog {
|
|
|
7017
7051
|
} = CatalogPlatformValidator.validateProductTemplateSchema().validate(
|
|
7018
7052
|
{
|
|
7019
7053
|
itemType,
|
|
7054
|
+
schemaType,
|
|
7020
7055
|
},
|
|
7021
7056
|
{ abortEarly: false, allowUnknown: false }
|
|
7022
7057
|
);
|
|
@@ -7029,6 +7064,7 @@ class Catalog {
|
|
|
7029
7064
|
|
|
7030
7065
|
const query_params = {};
|
|
7031
7066
|
query_params["item_type"] = itemType;
|
|
7067
|
+
query_params["schema_type"] = schemaType;
|
|
7032
7068
|
|
|
7033
7069
|
const xHeaders = {};
|
|
7034
7070
|
|