@gofynd/fdk-client-javascript 3.3.5 → 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 +2 -2
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +1 -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 +41 -3
- package/sdk/platform/Cart/CartPlatformModel.js +24 -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 +77 -77
- package/sdk/platform/Catalog/CatalogPlatformClient.js +77 -77
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +56 -3
- package/sdk/platform/Catalog/CatalogPlatformModel.js +40 -1
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +2 -2
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +2 -2
- 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 +2 -2
- package/sdk/platform/Payment/PaymentPlatformModel.js +1 -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 +2 -2
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1 -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
|
@@ -10,7 +10,7 @@ declare class Cart {
|
|
|
10
10
|
* @returns {Promise<CartPlatformModel.SaveAddressDetails>} - Success response
|
|
11
11
|
* @name addAddress
|
|
12
12
|
* @summary: Creates a new address for a customer
|
|
13
|
-
* @description: Customers can add a new address to their cart to save details such as name, email, contact information, and address. - Check out [method documentation](https://
|
|
13
|
+
* @description: Customers can add a new address to their cart to save details such as name, email, contact information, and address. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/addAddress/).
|
|
14
14
|
*/
|
|
15
15
|
addAddress({ body, requestHeaders }?: CartPlatformApplicationValidator.AddAddressParam, { responseHeaders }?: object): Promise<CartPlatformModel.SaveAddressDetails>;
|
|
16
16
|
/**
|
|
@@ -20,7 +20,7 @@ declare class Cart {
|
|
|
20
20
|
* @returns {Promise<CartPlatformModel.AddCartDetailResult>} - Success response
|
|
21
21
|
* @name addItems
|
|
22
22
|
* @summary: Add items to cart
|
|
23
|
-
* @description: Add product items to the customer's existing shopping cart. If there is no existing cart associated with the customer, it creates a new one and adds the items to it. - Check out [method documentation](https://
|
|
23
|
+
* @description: Add product items to the customer's existing shopping cart. If there is no existing cart associated with the customer, it creates a new one and adds the items to it. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/addItems/).
|
|
24
24
|
*/
|
|
25
25
|
addItems({ cartId, body, b, requestHeaders }?: CartPlatformApplicationValidator.AddItemsParam, { responseHeaders }?: object): Promise<CartPlatformModel.AddCartDetailResult>;
|
|
26
26
|
/**
|
|
@@ -30,7 +30,7 @@ declare class Cart {
|
|
|
30
30
|
* @returns {Promise<CartPlatformModel.GetPriceAdjustmentResult>} - Success response
|
|
31
31
|
* @name addPriceAdjustment
|
|
32
32
|
* @summary: Create price adjustments
|
|
33
|
-
* @description: Create custom price adjustments for items in the cart, facilitating the application of discounts or promotions. Price adjustments can be tailored based on specific sales channel contexts, enhancing flexibility in pricing strategies. - Check out [method documentation](https://
|
|
33
|
+
* @description: Create custom price adjustments for items in the cart, facilitating the application of discounts or promotions. Price adjustments can be tailored based on specific sales channel contexts, enhancing flexibility in pricing strategies. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/addPriceAdjustment/).
|
|
34
34
|
*/
|
|
35
35
|
addPriceAdjustment({ body, requestHeaders }?: CartPlatformApplicationValidator.AddPriceAdjustmentParam, { responseHeaders }?: object): Promise<CartPlatformModel.GetPriceAdjustmentResult>;
|
|
36
36
|
/**
|
|
@@ -40,7 +40,7 @@ declare class Cart {
|
|
|
40
40
|
* @returns {Promise<CartPlatformModel.CartDetailResult>} - Success response
|
|
41
41
|
* @name applyCoupon
|
|
42
42
|
* @summary: Apply coupon
|
|
43
|
-
* @description: Apply a coupon code to the customer's cart to trigger discounts on eligible items - Check out [method documentation](https://
|
|
43
|
+
* @description: Apply a coupon code to the customer's cart to trigger discounts on eligible items - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/applyCoupon/).
|
|
44
44
|
*/
|
|
45
45
|
applyCoupon({ body, xOrderingSource, i, b, p, id, buyNow, requestHeaders }?: CartPlatformApplicationValidator.ApplyCouponParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResult>;
|
|
46
46
|
/**
|
|
@@ -53,7 +53,7 @@ declare class Cart {
|
|
|
53
53
|
* Success response
|
|
54
54
|
* @name checkCartServiceability
|
|
55
55
|
* @summary: Check cart serviceability
|
|
56
|
-
* @description: Verify the serviceability of items in the cart at a specific pin code and ensure accurate delivery promises. System checks each item's availability and delivery feasibility, providing real-time information on serviceability and estimated delivery times. - Check out [method documentation](https://
|
|
56
|
+
* @description: Verify the serviceability of items in the cart at a specific pin code and ensure accurate delivery promises. System checks each item's availability and delivery feasibility, providing real-time information on serviceability and estimated delivery times. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/checkCartServiceability/).
|
|
57
57
|
*/
|
|
58
58
|
checkCartServiceability({ body, xOrderingSource, requestHeaders }?: CartPlatformApplicationValidator.CheckCartServiceabilityParam, { responseHeaders }?: object): Promise<CartPlatformModel.OpenApiCartServiceabilityResult>;
|
|
59
59
|
/**
|
|
@@ -63,7 +63,7 @@ declare class Cart {
|
|
|
63
63
|
* @returns {Promise<CartPlatformModel.OpenApiCheckoutResult>} - Success response
|
|
64
64
|
* @name checkoutCart
|
|
65
65
|
* @summary: Checkout cart
|
|
66
|
-
* @description: The checkout cart initiates the order creation process based on the selected address and payment method. It revalidates the cart details to ensure safe and seamless order placement. - Check out [method documentation](https://
|
|
66
|
+
* @description: The checkout cart initiates the order creation process based on the selected address and payment method. It revalidates the cart details to ensure safe and seamless order placement. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/checkoutCart/).
|
|
67
67
|
*/
|
|
68
68
|
checkoutCart({ body, xOrderingSource, requestHeaders }?: CartPlatformApplicationValidator.CheckoutCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.OpenApiCheckoutResult>;
|
|
69
69
|
/**
|
|
@@ -75,7 +75,7 @@ declare class Cart {
|
|
|
75
75
|
* @returns {Promise<CartPlatformModel.CartMetaConfigAdd>} - Success response
|
|
76
76
|
* @name createCartMetaConfig
|
|
77
77
|
* @summary: Create a new cart meta
|
|
78
|
-
* @description: Create custom meta configurations for carts associated with a specific sales channel. By specifying the company ID and application ID, seller can define unique cart settings, including preferences, rules, and constraints, tailored to their business needs. - Check out [method documentation](https://
|
|
78
|
+
* @description: Create custom meta configurations for carts associated with a specific sales channel. By specifying the company ID and application ID, seller can define unique cart settings, including preferences, rules, and constraints, tailored to their business needs. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/createCartMetaConfig/).
|
|
79
79
|
*/
|
|
80
80
|
createCartMetaConfig({ body, requestHeaders }?: CartPlatformApplicationValidator.CreateCartMetaConfigParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartMetaConfigAdd>;
|
|
81
81
|
/**
|
|
@@ -85,7 +85,7 @@ declare class Cart {
|
|
|
85
85
|
* @returns {Promise<CartPlatformModel.CouponCreateResult>} - Success response
|
|
86
86
|
* @name createCoupon
|
|
87
87
|
* @summary: Create a coupon
|
|
88
|
-
* @description: Creates a new coupon based on the selected coupon type. Sellers can choose from multiple supported coupon types, including percentage value, fixed amount value, bundled discount, buy X get Y items, and more, along with customizable coupon criteria to meet specific business requirements. - Check out [method documentation](https://
|
|
88
|
+
* @description: Creates a new coupon based on the selected coupon type. Sellers can choose from multiple supported coupon types, including percentage value, fixed amount value, bundled discount, buy X get Y items, and more, along with customizable coupon criteria to meet specific business requirements. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/createCoupon/).
|
|
89
89
|
*/
|
|
90
90
|
createCoupon({ body, requestHeaders }?: CartPlatformApplicationValidator.CreateCouponParam, { responseHeaders }?: object): Promise<CartPlatformModel.CouponCreateResult>;
|
|
91
91
|
/**
|
|
@@ -95,7 +95,7 @@ declare class Cart {
|
|
|
95
95
|
* @returns {Promise<CartPlatformModel.PromotionAddResult>} - Success response
|
|
96
96
|
* @name createPromotion
|
|
97
97
|
* @summary: Create a promotion
|
|
98
|
-
* @description: Creates a new promotion based on the selected promotion type. Sellers can choose from multiple supported promotion types, including percentage value, fixed amount value, bundled discount, buy X get Y items, and more, along with customizable promotion criteria to meet specific business requirements. - Check out [method documentation](https://
|
|
98
|
+
* @description: Creates a new promotion based on the selected promotion type. Sellers can choose from multiple supported promotion types, including percentage value, fixed amount value, bundled discount, buy X get Y items, and more, along with customizable promotion criteria to meet specific business requirements. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/createPromotion/).
|
|
99
99
|
*/
|
|
100
100
|
createPromotion({ body, requestHeaders }?: CartPlatformApplicationValidator.CreatePromotionParam, { responseHeaders }?: object): Promise<CartPlatformModel.PromotionAddResult>;
|
|
101
101
|
/**
|
|
@@ -105,7 +105,7 @@ declare class Cart {
|
|
|
105
105
|
* @returns {Promise<CartPlatformModel.DeleteCartDetailResult>} - Success response
|
|
106
106
|
* @name deleteCart
|
|
107
107
|
* @summary: Delete a cart
|
|
108
|
-
* @description: Delete all items from the user's cart and resets it to its initial state, providing a clean slate for new selections. - Check out [method documentation](https://
|
|
108
|
+
* @description: Delete all items from the user's cart and resets it to its initial state, providing a clean slate for new selections. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/deleteCart/).
|
|
109
109
|
*/
|
|
110
110
|
deleteCart({ body, id, requestHeaders }?: CartPlatformApplicationValidator.DeleteCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.DeleteCartDetailResult>;
|
|
111
111
|
/**
|
|
@@ -115,7 +115,7 @@ declare class Cart {
|
|
|
115
115
|
* @returns {Promise<CartPlatformModel.SuccessMessage>} - Success response
|
|
116
116
|
* @name deleteCoupon
|
|
117
117
|
* @summary: Delete a coupon which is in draft state
|
|
118
|
-
* @description: Delete details of a draft coupon by providing its unique identifier to delete information such as coupon type, rules, validity period and other related information. - Check out [method documentation](https://
|
|
118
|
+
* @description: Delete details of a draft coupon by providing its unique identifier to delete information such as coupon type, rules, validity period and other related information. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/deleteCoupon/).
|
|
119
119
|
*/
|
|
120
120
|
deleteCoupon({ id, requestHeaders }?: CartPlatformApplicationValidator.DeleteCouponParam, { responseHeaders }?: object): Promise<CartPlatformModel.SuccessMessage>;
|
|
121
121
|
/**
|
|
@@ -125,7 +125,7 @@ declare class Cart {
|
|
|
125
125
|
* @returns {Promise<CartPlatformModel.SuccessMessage>} - Success response
|
|
126
126
|
* @name deletePromotion
|
|
127
127
|
* @summary: Delete a promotion which is in draft state
|
|
128
|
-
* @description: Delete details of a draft promotion by providing its unique identifier to delete information such as promotion type, rules, validity period and other related information. - Check out [method documentation](https://
|
|
128
|
+
* @description: Delete details of a draft promotion by providing its unique identifier to delete information such as promotion type, rules, validity period and other related information. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/deletePromotion/).
|
|
129
129
|
*/
|
|
130
130
|
deletePromotion({ id, requestHeaders }?: CartPlatformApplicationValidator.DeletePromotionParam, { responseHeaders }?: object): Promise<CartPlatformModel.SuccessMessage>;
|
|
131
131
|
/**
|
|
@@ -137,7 +137,7 @@ declare class Cart {
|
|
|
137
137
|
* @returns {Promise<CartPlatformModel.OpenapiCartDetailsResult>} - Success response
|
|
138
138
|
* @name fetchAndvalidateCartItems
|
|
139
139
|
* @summary: Get and validate cart items
|
|
140
|
-
* @description: Retrieve cart details for a provided list of cart items and validate its contents. This ensures accuracy and completeness in cart information, including item quantities, prices, discounts, and applicable taxes. - Check out [method documentation](https://
|
|
140
|
+
* @description: Retrieve cart details for a provided list of cart items and validate its contents. This ensures accuracy and completeness in cart information, including item quantities, prices, discounts, and applicable taxes. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/fetchAndvalidateCartItems/).
|
|
141
141
|
*/
|
|
142
142
|
fetchAndvalidateCartItems({ body, xOrderingSource, requestHeaders }?: CartPlatformApplicationValidator.FetchAndvalidateCartItemsParam, { responseHeaders }?: object): Promise<CartPlatformModel.OpenapiCartDetailsResult>;
|
|
143
143
|
/**
|
|
@@ -147,7 +147,7 @@ declare class Cart {
|
|
|
147
147
|
* @returns {Promise<CartPlatformModel.CartMetaConfigAdd>} - Success response
|
|
148
148
|
* @name fetchCartMetaConfig
|
|
149
149
|
* @summary: Get cart meta
|
|
150
|
-
* @description: Retrieve meta configuration settings tailored for customizing the cart experience within a specific sales channel. Cart meta includes configuration settings such as allowed maximum cart value, allowed minimum cart value, maximum allowed cart items, delivery charges, etc. - Check out [method documentation](https://
|
|
150
|
+
* @description: Retrieve meta configuration settings tailored for customizing the cart experience within a specific sales channel. Cart meta includes configuration settings such as allowed maximum cart value, allowed minimum cart value, maximum allowed cart items, delivery charges, etc. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/fetchCartMetaConfig/).
|
|
151
151
|
*/
|
|
152
152
|
fetchCartMetaConfig({ requestHeaders }?: any, { responseHeaders }?: object): Promise<CartPlatformModel.CartMetaConfigAdd>;
|
|
153
153
|
/**
|
|
@@ -157,7 +157,7 @@ declare class Cart {
|
|
|
157
157
|
* @returns {Promise<CartPlatformModel.AbandonedCartResult>} - Success response
|
|
158
158
|
* @name getAbandonedCart
|
|
159
159
|
* @summary: Get abandoned carts
|
|
160
|
-
* @description: Retrieve the list of abandoned carts that have been active for the specified period of time and have not yet been archived for the specific sales channel. - Check out [method documentation](https://
|
|
160
|
+
* @description: Retrieve the list of abandoned carts that have been active for the specified period of time and have not yet been archived for the specific sales channel. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getAbandonedCart/).
|
|
161
161
|
*/
|
|
162
162
|
getAbandonedCart({ pageNo, pageSize, fromDate, toDate, anonymousCart, lastId, sortOn, requestHeaders, }?: CartPlatformApplicationValidator.GetAbandonedCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.AbandonedCartResult>;
|
|
163
163
|
/**
|
|
@@ -169,7 +169,7 @@ declare class Cart {
|
|
|
169
169
|
* @returns {Promise<CartPlatformModel.CartDetailResult>} - Success response
|
|
170
170
|
* @name getAbandonedCartDetails
|
|
171
171
|
* @summary: Get abandoned cart details
|
|
172
|
-
* @description: Retrieves abandoned cart details linked to a specific customer using a unique cart ID. It offers an overview of the items, quantities, prices, and other relevant information associated with the cart. - Check out [method documentation](https://
|
|
172
|
+
* @description: Retrieves abandoned cart details linked to a specific customer using a unique cart ID. It offers an overview of the items, quantities, prices, and other relevant information associated with the cart. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getAbandonedCartDetails/).
|
|
173
173
|
*/
|
|
174
174
|
getAbandonedCartDetails({ id, i, b, c, requestHeaders }?: CartPlatformApplicationValidator.GetAbandonedCartDetailsParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResult>;
|
|
175
175
|
/**
|
|
@@ -179,7 +179,7 @@ declare class Cart {
|
|
|
179
179
|
* @returns {Promise<CartPlatformModel.PlatformAddress>} - Success response
|
|
180
180
|
* @name getAddressById
|
|
181
181
|
* @summary: Get details for a single customer address
|
|
182
|
-
* @description: Retrieve a specific customer address stored in the system by providing its unique identifier. This API provides detailed information about the address, including the recipient's name, address, city, postal code, and other relevant details. - Check out [method documentation](https://
|
|
182
|
+
* @description: Retrieve a specific customer address stored in the system by providing its unique identifier. This API provides detailed information about the address, including the recipient's name, address, city, postal code, and other relevant details. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getAddressById/).
|
|
183
183
|
*/
|
|
184
184
|
getAddressById({ id, cartId, buyNow, mobileNo, checkoutMode, tags, isDefault, userId, requestHeaders, }?: CartPlatformApplicationValidator.GetAddressByIdParam, { responseHeaders }?: object): Promise<CartPlatformModel.PlatformAddress>;
|
|
185
185
|
/**
|
|
@@ -190,7 +190,7 @@ declare class Cart {
|
|
|
190
190
|
* Success response
|
|
191
191
|
* @name getAddresses
|
|
192
192
|
* @summary: Get a list of addresses for a customer
|
|
193
|
-
* @description: Retrieves a list of all addresses saved by the customer, simplifying the checkout process by offering pre-saved address options for delivery. - Check out [method documentation](https://
|
|
193
|
+
* @description: Retrieves a list of all addresses saved by the customer, simplifying the checkout process by offering pre-saved address options for delivery. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getAddresses/).
|
|
194
194
|
*/
|
|
195
195
|
getAddresses({ cartId, buyNow, mobileNo, checkoutMode, tags, isDefault, userId, requestHeaders, }?: CartPlatformApplicationValidator.GetAddressesParam, { responseHeaders }?: object): Promise<CartPlatformModel.PlatformGetAddressesDetails>;
|
|
196
196
|
/**
|
|
@@ -200,7 +200,7 @@ declare class Cart {
|
|
|
200
200
|
* @returns {Promise<CartPlatformModel.GetCouponResult>} - Success response
|
|
201
201
|
* @name getAppCoupons
|
|
202
202
|
* @summary: List of coupons
|
|
203
|
-
* @description: Retrieve a list of all available coupons that customer can apply to their carts. It provides details about each coupon, including its code, discount amount, and applicable conditions. - Check out [method documentation](https://
|
|
203
|
+
* @description: Retrieve a list of all available coupons that customer can apply to their carts. It provides details about each coupon, including its code, discount amount, and applicable conditions. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getAppCoupons/).
|
|
204
204
|
*/
|
|
205
205
|
getAppCoupons({ id, buyNow, slug, storeId, requestHeaders }?: CartPlatformApplicationValidator.GetAppCouponsParam, { responseHeaders }?: object): Promise<CartPlatformModel.GetCouponResult>;
|
|
206
206
|
/**
|
|
@@ -212,7 +212,7 @@ declare class Cart {
|
|
|
212
212
|
* @returns {Promise<CartPlatformModel.CartDeliveryModesDetails>} - Success response
|
|
213
213
|
* @name getAvailableDeliveryModes
|
|
214
214
|
* @summary: Get delivery modes
|
|
215
|
-
* @description: Retrieve a list of delivery modes (home delivery/store pickup) along with a list of available pickup stores for a given cart at a specified PIN Code. - Check out [method documentation](https://
|
|
215
|
+
* @description: Retrieve a list of delivery modes (home delivery/store pickup) along with a list of available pickup stores for a given cart at a specified PIN Code. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getAvailableDeliveryModes/).
|
|
216
216
|
*/
|
|
217
217
|
getAvailableDeliveryModes({ areaCode, id, requestHeaders }?: CartPlatformApplicationValidator.GetAvailableDeliveryModesParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDeliveryModesDetails>;
|
|
218
218
|
/**
|
|
@@ -222,7 +222,7 @@ declare class Cart {
|
|
|
222
222
|
* @returns {Promise<CartPlatformModel.CartDetailResult>} - Success response
|
|
223
223
|
* @name getCart
|
|
224
224
|
* @summary: Get a cart
|
|
225
|
-
* @description: Retrieve details of a cart linked to a specific customer using either the customer's ID or a unique cart ID. It offers an overview of the items, quantities, prices, and other relevant information associated with the cart. - Check out [method documentation](https://
|
|
225
|
+
* @description: Retrieve details of a cart linked to a specific customer using either the customer's ID or a unique cart ID. It offers an overview of the items, quantities, prices, and other relevant information associated with the cart. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getCart/).
|
|
226
226
|
*/
|
|
227
227
|
getCart({ xOrderingSource, id, userId, orderType, i, b, assignCardId, buyNow, requestHeaders, }?: CartPlatformApplicationValidator.GetCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResult>;
|
|
228
228
|
/**
|
|
@@ -232,7 +232,7 @@ declare class Cart {
|
|
|
232
232
|
* @returns {Promise<CartPlatformModel.MultiCartResult>} - Success response
|
|
233
233
|
* @name getCartList
|
|
234
234
|
* @summary: List of carts
|
|
235
|
-
* @description: Retrieve the list of active carts associated with a specific customer. - Check out [method documentation](https://
|
|
235
|
+
* @description: Retrieve the list of active carts associated with a specific customer. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getCartList/).
|
|
236
236
|
*/
|
|
237
237
|
getCartList({ fromDate, toDate, filterOn, requestHeaders }?: CartPlatformApplicationValidator.GetCartListParam, { responseHeaders }?: object): Promise<CartPlatformModel.MultiCartResult>;
|
|
238
238
|
/**
|
|
@@ -242,7 +242,7 @@ declare class Cart {
|
|
|
242
242
|
* @returns {Promise<CartPlatformModel.GetShareCartLinkResult>} - Success response
|
|
243
243
|
* @name getCartShareLink
|
|
244
244
|
* @summary: Share cart link
|
|
245
|
-
* @description: Generate a unique shareable link for the customer's cart for a specific sales channel. This link enables easy sharing of the cart contents with other users, facilitating collaborative shopping experiences. - Check out [method documentation](https://
|
|
245
|
+
* @description: Generate a unique shareable link for the customer's cart for a specific sales channel. This link enables easy sharing of the cart contents with other users, facilitating collaborative shopping experiences. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getCartShareLink/).
|
|
246
246
|
*/
|
|
247
247
|
getCartShareLink({ body, requestHeaders }?: CartPlatformApplicationValidator.GetCartShareLinkParam, { responseHeaders }?: object): Promise<CartPlatformModel.GetShareCartLinkResult>;
|
|
248
248
|
/**
|
|
@@ -252,7 +252,7 @@ declare class Cart {
|
|
|
252
252
|
* @returns {Promise<CartPlatformModel.SharedCartResult>} - Success response
|
|
253
253
|
* @name getCartSharedItems
|
|
254
254
|
* @summary: List shared cart items
|
|
255
|
-
* @description: Retrieve the cart items from the shared cart link based on unique token. - Check out [method documentation](https://
|
|
255
|
+
* @description: Retrieve the cart items from the shared cart link based on unique token. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getCartSharedItems/).
|
|
256
256
|
*/
|
|
257
257
|
getCartSharedItems({ token, requestHeaders }?: CartPlatformApplicationValidator.GetCartSharedItemsParam, { responseHeaders }?: object): Promise<CartPlatformModel.SharedCartResult>;
|
|
258
258
|
/**
|
|
@@ -262,7 +262,7 @@ declare class Cart {
|
|
|
262
262
|
* @returns {Promise<CartPlatformModel.CouponUpdate>} - Success response
|
|
263
263
|
* @name getCouponById
|
|
264
264
|
* @summary: Get a coupon
|
|
265
|
-
* @description: Retrieve details of a specific coupon by providing its unique identifier to obtain information such as coupon type, rules, validity period and other related information. - Check out [method documentation](https://
|
|
265
|
+
* @description: Retrieve details of a specific coupon by providing its unique identifier to obtain information such as coupon type, rules, validity period and other related information. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getCouponById/).
|
|
266
266
|
*/
|
|
267
267
|
getCouponById({ id, requestHeaders }?: CartPlatformApplicationValidator.GetCouponByIdParam, { responseHeaders }?: object): Promise<CartPlatformModel.CouponUpdate>;
|
|
268
268
|
/**
|
|
@@ -272,7 +272,7 @@ declare class Cart {
|
|
|
272
272
|
* @returns {Promise<Object>} - Success response
|
|
273
273
|
* @name getCouponCodeExists
|
|
274
274
|
* @summary: Check coupon code exists
|
|
275
|
-
* @description: Validates the presence of a coupon code for the specified sales channel to verify whether the provided code already exists or not. - Check out [method documentation](https://
|
|
275
|
+
* @description: Validates the presence of a coupon code for the specified sales channel to verify whether the provided code already exists or not. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getCouponCodeExists/).
|
|
276
276
|
*/
|
|
277
277
|
getCouponCodeExists({ code, requestHeaders }?: CartPlatformApplicationValidator.GetCouponCodeExistsParam, { responseHeaders }?: object): Promise<any>;
|
|
278
278
|
/**
|
|
@@ -284,7 +284,7 @@ declare class Cart {
|
|
|
284
284
|
* @returns {Promise<Object>} - Success response
|
|
285
285
|
* @name getCouponOptionValues
|
|
286
286
|
* @summary: Get coupon option values
|
|
287
|
-
* @description: Retrieves the available values for coupon options used to create and update coupons. - Check out [method documentation](https://
|
|
287
|
+
* @description: Retrieves the available values for coupon options used to create and update coupons. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getCouponOptionValues/).
|
|
288
288
|
*/
|
|
289
289
|
getCouponOptionValues({ requestHeaders }?: any, { responseHeaders }?: object): Promise<any>;
|
|
290
290
|
/**
|
|
@@ -294,7 +294,7 @@ declare class Cart {
|
|
|
294
294
|
* @returns {Promise<CartPlatformModel.CouponsResult>} - Success response
|
|
295
295
|
* @name getCoupons
|
|
296
296
|
* @summary: List of coupons
|
|
297
|
-
* @description: Retrieve a list of all created coupons for specific sales channel. It also supports searching based on text search, pagination and other flags to filter coupons. - Check out [method documentation](https://
|
|
297
|
+
* @description: Retrieve a list of all created coupons for specific sales channel. It also supports searching based on text search, pagination and other flags to filter coupons. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getCoupons/).
|
|
298
298
|
*/
|
|
299
299
|
getCoupons({ pageNo, pageSize, isArchived, title, isPublic, isDisplay, typeSlug, code, createdBy, reviewedBy, approvedStartTime, approvedEndTime, reviewStartTime, reviewEndTime, status, requestHeaders, }?: CartPlatformApplicationValidator.GetCouponsParam, { responseHeaders }?: object): Promise<CartPlatformModel.CouponsResult>;
|
|
300
300
|
/**
|
|
@@ -304,7 +304,7 @@ declare class Cart {
|
|
|
304
304
|
* @returns {Promise<CartPlatformModel.CartItemCountResult>} - Success response
|
|
305
305
|
* @name getItemCount
|
|
306
306
|
* @summary: Get a cart items count
|
|
307
|
-
* @description: Retrieve the total count of items currently present in the customer's cart. - Check out [method documentation](https://
|
|
307
|
+
* @description: Retrieve the total count of items currently present in the customer's cart. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getItemCount/).
|
|
308
308
|
*/
|
|
309
309
|
getItemCount({ id, buyNow, requestHeaders }?: CartPlatformApplicationValidator.GetItemCountParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartItemCountResult>;
|
|
310
310
|
/**
|
|
@@ -314,7 +314,7 @@ declare class Cart {
|
|
|
314
314
|
* @returns {Promise<CartPlatformModel.GetPriceAdjustmentResult>} - Success response
|
|
315
315
|
* @name getPriceAdjustments
|
|
316
316
|
* @summary: Get a list of all price adjustments associated with a cart
|
|
317
|
-
* @description: This API helps to get price adjustments data associated to a particular cart - Check out [method documentation](https://
|
|
317
|
+
* @description: This API helps to get price adjustments data associated to a particular cart - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getPriceAdjustments/).
|
|
318
318
|
*/
|
|
319
319
|
getPriceAdjustments({ cartId, requestHeaders }?: CartPlatformApplicationValidator.GetPriceAdjustmentsParam, { responseHeaders }?: object): Promise<CartPlatformModel.GetPriceAdjustmentResult>;
|
|
320
320
|
/**
|
|
@@ -326,7 +326,7 @@ declare class Cart {
|
|
|
326
326
|
* @returns {Promise<CartPlatformModel.ActivePromosResult>} - Success response
|
|
327
327
|
* @name getPromosCouponConfig
|
|
328
328
|
* @summary: Get promotion and coupon type
|
|
329
|
-
* @description: Retrieve the configuration settings related to promotions and coupons for a specific seller. It provides details of the supported types of coupons and promotions along with their descriptions, examples, and related attributes. - Check out [method documentation](https://
|
|
329
|
+
* @description: Retrieve the configuration settings related to promotions and coupons for a specific seller. It provides details of the supported types of coupons and promotions along with their descriptions, examples, and related attributes. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getPromosCouponConfig/).
|
|
330
330
|
*/
|
|
331
331
|
getPromosCouponConfig({ entityType, isHidden, requestHeaders }?: CartPlatformApplicationValidator.GetPromosCouponConfigParam, { responseHeaders }?: object): Promise<CartPlatformModel.ActivePromosResult>;
|
|
332
332
|
/**
|
|
@@ -336,7 +336,7 @@ declare class Cart {
|
|
|
336
336
|
* @returns {Promise<CartPlatformModel.PromotionUpdateResult>} - Success response
|
|
337
337
|
* @name getPromotionById
|
|
338
338
|
* @summary: Get a specific promotion
|
|
339
|
-
* @description: Retrieve details of a specific promotion by providing its unique identifier to obtain information such as promotion type, rules, validity period and other related information. - Check out [method documentation](https://
|
|
339
|
+
* @description: Retrieve details of a specific promotion by providing its unique identifier to obtain information such as promotion type, rules, validity period and other related information. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getPromotionById/).
|
|
340
340
|
*/
|
|
341
341
|
getPromotionById({ id, requestHeaders }?: CartPlatformApplicationValidator.GetPromotionByIdParam, { responseHeaders }?: object): Promise<CartPlatformModel.PromotionUpdateResult>;
|
|
342
342
|
/**
|
|
@@ -348,7 +348,7 @@ declare class Cart {
|
|
|
348
348
|
* @returns {Promise<Object>} - Success response
|
|
349
349
|
* @name getPromotionCodeExists
|
|
350
350
|
* @summary: Check promotion code exists
|
|
351
|
-
* @description: Validates the presence of a promotion code for the specified sales channel to verify whether the provided code already exists or not. - Check out [method documentation](https://
|
|
351
|
+
* @description: Validates the presence of a promotion code for the specified sales channel to verify whether the provided code already exists or not. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getPromotionCodeExists/).
|
|
352
352
|
*/
|
|
353
353
|
getPromotionCodeExists({ code, requestHeaders }?: CartPlatformApplicationValidator.GetPromotionCodeExistsParam, { responseHeaders }?: object): Promise<any>;
|
|
354
354
|
/**
|
|
@@ -358,7 +358,7 @@ declare class Cart {
|
|
|
358
358
|
* @returns {Promise<CartPlatformModel.PromotionOffersDetails>} - Success response
|
|
359
359
|
* @name getPromotionOffers
|
|
360
360
|
* @summary: List of all available promotion offers
|
|
361
|
-
* @description: Retrieve a list of all promotional offers available for the items in the cart, including details such as offer text, unique promotion ID, and validity period. - Check out [method documentation](https://
|
|
361
|
+
* @description: Retrieve a list of all promotional offers available for the items in the cart, including details such as offer text, unique promotion ID, and validity period. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getPromotionOffers/).
|
|
362
362
|
*/
|
|
363
363
|
getPromotionOffers({ slug, pageSize, promotionGroup, storeId, cartType, promotionType, cartId, autoApply, requestHeaders, }?: CartPlatformApplicationValidator.GetPromotionOffersParam, { responseHeaders }?: object): Promise<CartPlatformModel.PromotionOffersDetails>;
|
|
364
364
|
/**
|
|
@@ -371,7 +371,7 @@ declare class Cart {
|
|
|
371
371
|
* Success response
|
|
372
372
|
* @name getPromotionPaymentOffers
|
|
373
373
|
* @summary: Fetch available promotions payment offers
|
|
374
|
-
* @description: Use this API to get top 5 payment offers available for current product - Check out [method documentation](https://
|
|
374
|
+
* @description: Use this API to get top 5 payment offers available for current product - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getPromotionPaymentOffers/).
|
|
375
375
|
*/
|
|
376
376
|
getPromotionPaymentOffers({ id, uid, requestHeaders }?: CartPlatformApplicationValidator.GetPromotionPaymentOffersParam, { responseHeaders }?: object): Promise<CartPlatformModel.PromotionPaymentOffersDetails>;
|
|
377
377
|
/**
|
|
@@ -381,7 +381,7 @@ declare class Cart {
|
|
|
381
381
|
* @returns {Promise<CartPlatformModel.PromotionsResult>} - Success response
|
|
382
382
|
* @name getPromotions
|
|
383
383
|
* @summary: List of promotions
|
|
384
|
-
* @description: Retrieve a list of all created promotions for specific sales channel. It also supports efficient text search and pagination functionalities, ensuring optimized promotion listing for streamlined navigation and management. - Check out [method documentation](https://
|
|
384
|
+
* @description: Retrieve a list of all created promotions for specific sales channel. It also supports efficient text search and pagination functionalities, ensuring optimized promotion listing for streamlined navigation and management. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getPromotions/).
|
|
385
385
|
*/
|
|
386
386
|
getPromotions({ pageNo, pageSize, q, isActive, promoGroup, promotionType, fpPanel, promotionId, createdBy, reviewedBy, approvedStartTime, approvedEndTime, reviewStartTime, reviewEndTime, status, requestHeaders, }?: CartPlatformApplicationValidator.GetPromotionsParam, { responseHeaders }?: object): Promise<CartPlatformModel.PromotionsResult>;
|
|
387
387
|
/**
|
|
@@ -392,7 +392,7 @@ declare class Cart {
|
|
|
392
392
|
* Success response
|
|
393
393
|
* @name getShipments
|
|
394
394
|
* @summary: Get shipments details
|
|
395
|
-
* @description: Use this API to get shipment details, expected delivery date, items and price breakup of the shipment. - Check out [method documentation](https://
|
|
395
|
+
* @description: Use this API to get shipment details, expected delivery date, items and price breakup of the shipment. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getShipments/).
|
|
396
396
|
*/
|
|
397
397
|
getShipments({ pickAtStoreUid, orderingStoreId, i, p, id, addressId, areaCode, orderType, requestHeaders, }?: CartPlatformApplicationValidator.GetShipmentsParam, { responseHeaders }?: object): Promise<CartPlatformModel.PlatformCartShipmentsResult>;
|
|
398
398
|
/**
|
|
@@ -404,7 +404,7 @@ declare class Cart {
|
|
|
404
404
|
* @returns {Promise<CartPlatformModel.StoreDetails>} - Success response
|
|
405
405
|
* @name getStoreAddressByUid
|
|
406
406
|
* @summary: Get Store Address
|
|
407
|
-
* @description: Retrieve store details by entering the unique identifier of the pickup stores. Store details include the seller's name, contact information such as email address or phone number and business address. - Check out [method documentation](https://
|
|
407
|
+
* @description: Retrieve store details by entering the unique identifier of the pickup stores. Store details include the seller's name, contact information such as email address or phone number and business address. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/getStoreAddressByUid/).
|
|
408
408
|
*/
|
|
409
409
|
getStoreAddressByUid({ storeUid, requestHeaders }?: CartPlatformApplicationValidator.GetStoreAddressByUidParam, { responseHeaders }?: object): Promise<CartPlatformModel.StoreDetails>;
|
|
410
410
|
/**
|
|
@@ -414,7 +414,7 @@ declare class Cart {
|
|
|
414
414
|
* @returns {Promise<CartPlatformModel.OverrideCheckoutResult>} - Success response
|
|
415
415
|
* @name overrideCart
|
|
416
416
|
* @summary: Update cart checkout
|
|
417
|
-
* @description: Overrides the cart's checkout process with a new provided cart items. It provides flexibility in customizing checkout flows to meet specific business requirements, enhancing the user experience and optimizing order processing workflows. - Check out [method documentation](https://
|
|
417
|
+
* @description: Overrides the cart's checkout process with a new provided cart items. It provides flexibility in customizing checkout flows to meet specific business requirements, enhancing the user experience and optimizing order processing workflows. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/overrideCart/).
|
|
418
418
|
*/
|
|
419
419
|
overrideCart({ body, xOrderingSource, requestHeaders }?: CartPlatformApplicationValidator.OverrideCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.OverrideCheckoutResult>;
|
|
420
420
|
/**
|
|
@@ -424,7 +424,7 @@ declare class Cart {
|
|
|
424
424
|
* @returns {Promise<CartPlatformModel.AddCartDetailResult>} - Success response
|
|
425
425
|
* @name platformAddItems
|
|
426
426
|
* @summary: Add items to cart
|
|
427
|
-
* @description: Add product items to the customer's existing shopping cart. If there is no existing cart associated with the customer, it creates a new one and adds the items to it. - Check out [method documentation](https://
|
|
427
|
+
* @description: Add product items to the customer's existing shopping cart. If there is no existing cart associated with the customer, it creates a new one and adds the items to it. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/platformAddItems/).
|
|
428
428
|
*/
|
|
429
429
|
platformAddItems({ body, xOrderingSource, i, b, buyNow, orderType, id, requestHeaders }?: CartPlatformApplicationValidator.PlatformAddItemsParam, { responseHeaders }?: object): Promise<CartPlatformModel.AddCartDetailResult>;
|
|
430
430
|
/**
|
|
@@ -436,7 +436,7 @@ declare class Cart {
|
|
|
436
436
|
* @returns {Promise<CartPlatformModel.CartCheckoutResult>} - Success response
|
|
437
437
|
* @name platformCheckoutCart
|
|
438
438
|
* @summary: Checkout cart
|
|
439
|
-
* @description: The checkout cart initiates the order creation process based on the selected address and payment method. It revalidates the cart details to ensure safe and seamless order placement. - Check out [method documentation](https://
|
|
439
|
+
* @description: The checkout cart initiates the order creation process based on the selected address and payment method. It revalidates the cart details to ensure safe and seamless order placement. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/platformCheckoutCart/).
|
|
440
440
|
*/
|
|
441
441
|
platformCheckoutCart({ body, xOrderingSource, id, requestHeaders }?: CartPlatformApplicationValidator.PlatformCheckoutCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartCheckoutResult>;
|
|
442
442
|
/**
|
|
@@ -448,7 +448,7 @@ declare class Cart {
|
|
|
448
448
|
* @returns {Promise<CartPlatformModel.CartCheckoutDetails>} - Success response
|
|
449
449
|
* @name platformCheckoutCartV2
|
|
450
450
|
* @summary: Checkout cart
|
|
451
|
-
* @description: The checkout cart initiates the order creation process based on the items in the user’s cart, their selected address, and chosen payment methods. It also supports multiple payment method options and revalidates the cart details to ensure a secure and seamless order placement. - Check out [method documentation](https://
|
|
451
|
+
* @description: The checkout cart initiates the order creation process based on the items in the user’s cart, their selected address, and chosen payment methods. It also supports multiple payment method options and revalidates the cart details to ensure a secure and seamless order placement. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/platformCheckoutCartV2/).
|
|
452
452
|
*/
|
|
453
453
|
platformCheckoutCartV2({ body, xOrderingSource, id, requestHeaders }?: CartPlatformApplicationValidator.PlatformCheckoutCartV2Param, { responseHeaders }?: object): Promise<CartPlatformModel.CartCheckoutDetails>;
|
|
454
454
|
/**
|
|
@@ -458,7 +458,7 @@ declare class Cart {
|
|
|
458
458
|
* @returns {Promise<CartPlatformModel.UpdateCartDetailResult>} - Success response
|
|
459
459
|
* @name platformUpdateCart
|
|
460
460
|
* @summary: Update cart items
|
|
461
|
-
* @description: Customers can modify added product attributes such as quantity and size, as well as remove items from the cart. - Check out [method documentation](https://
|
|
461
|
+
* @description: Customers can modify added product attributes such as quantity and size, as well as remove items from the cart. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/platformUpdateCart/).
|
|
462
462
|
*/
|
|
463
463
|
platformUpdateCart({ body, xOrderingSource, id, i, orderType, b, buyNow, requestHeaders }?: CartPlatformApplicationValidator.PlatformUpdateCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.UpdateCartDetailResult>;
|
|
464
464
|
/**
|
|
@@ -468,7 +468,7 @@ declare class Cart {
|
|
|
468
468
|
* @returns {Promise<CartPlatformModel.DeleteAddressResult>} - Success response
|
|
469
469
|
* @name removeAddress
|
|
470
470
|
* @summary: Removes an address from a customer's address list
|
|
471
|
-
* @description: Remove an existing customer address from the system. - Check out [method documentation](https://
|
|
471
|
+
* @description: Remove an existing customer address from the system. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/removeAddress/).
|
|
472
472
|
*/
|
|
473
473
|
removeAddress({ id, userId, requestHeaders }?: CartPlatformApplicationValidator.RemoveAddressParam, { responseHeaders }?: object): Promise<CartPlatformModel.DeleteAddressResult>;
|
|
474
474
|
/**
|
|
@@ -478,7 +478,7 @@ declare class Cart {
|
|
|
478
478
|
* @returns {Promise<CartPlatformModel.CartDetailResult>} - Success response
|
|
479
479
|
* @name removeCoupon
|
|
480
480
|
* @summary: Remove coupon
|
|
481
|
-
* @description: Remove an applied coupon from the customer's cart, thereby removing the associated discount from the cart total. - Check out [method documentation](https://
|
|
481
|
+
* @description: Remove an applied coupon from the customer's cart, thereby removing the associated discount from the cart total. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/removeCoupon/).
|
|
482
482
|
*/
|
|
483
483
|
removeCoupon({ xOrderingSource, uid, buyNow, requestHeaders }?: CartPlatformApplicationValidator.RemoveCouponParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResult>;
|
|
484
484
|
/**
|
|
@@ -490,7 +490,7 @@ declare class Cart {
|
|
|
490
490
|
* @returns {Promise<CartPlatformModel.SuccessMessage>} - Success response
|
|
491
491
|
* @name removePriceAdjustment
|
|
492
492
|
* @summary: Remove price adjustments
|
|
493
|
-
* @description: Remove the applied price adjustments for specific items within the cart based on unique price adjustment ID. - Check out [method documentation](https://
|
|
493
|
+
* @description: Remove the applied price adjustments for specific items within the cart based on unique price adjustment ID. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/removePriceAdjustment/).
|
|
494
494
|
*/
|
|
495
495
|
removePriceAdjustment({ id, requestHeaders }?: CartPlatformApplicationValidator.RemovePriceAdjustmentParam, { responseHeaders }?: object): Promise<CartPlatformModel.SuccessMessage>;
|
|
496
496
|
/**
|
|
@@ -500,7 +500,7 @@ declare class Cart {
|
|
|
500
500
|
* @returns {Promise<CartPlatformModel.CartDetailResult>} - Success response
|
|
501
501
|
* @name selectAddress
|
|
502
502
|
* @summary: Select customer address for order processing
|
|
503
|
-
* @description: Select an address from the saved customer addresses and validates the availability of items in the cart. Additionally, it verifies and updates the delivery promise based on the selected address. - Check out [method documentation](https://
|
|
503
|
+
* @description: Select an address from the saved customer addresses and validates the availability of items in the cart. Additionally, it verifies and updates the delivery promise based on the selected address. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/selectAddress/).
|
|
504
504
|
*/
|
|
505
505
|
selectAddress({ body, xOrderingSource, cartId, buyNow, i, b, requestHeaders }?: CartPlatformApplicationValidator.SelectAddressParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResult>;
|
|
506
506
|
/**
|
|
@@ -510,7 +510,7 @@ declare class Cart {
|
|
|
510
510
|
* @returns {Promise<CartPlatformModel.CartDetailResult>} - Success response
|
|
511
511
|
* @name selectPaymentMode
|
|
512
512
|
* @summary: Select payment mode
|
|
513
|
-
* @description: Customers can select a preferred payment mode from available options during the cart checkout process to securely and efficiently complete their transaction. - Check out [method documentation](https://
|
|
513
|
+
* @description: Customers can select a preferred payment mode from available options during the cart checkout process to securely and efficiently complete their transaction. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/selectPaymentMode/).
|
|
514
514
|
*/
|
|
515
515
|
selectPaymentMode({ body, xOrderingSource, id, buyNow, orderType, requestHeaders }?: CartPlatformApplicationValidator.SelectPaymentModeParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResult>;
|
|
516
516
|
/**
|
|
@@ -520,7 +520,7 @@ declare class Cart {
|
|
|
520
520
|
* @returns {Promise<CartPlatformModel.CartDetailResult>} - Success response
|
|
521
521
|
* @name selectPaymentModeV2
|
|
522
522
|
* @summary: Select payment mode (latest)
|
|
523
|
-
* @description: Selection of payment mode that supports multiple MOP(mode of payment). - Check out [method documentation](https://
|
|
523
|
+
* @description: Selection of payment mode that supports multiple MOP(mode of payment). - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/selectPaymentModeV2/).
|
|
524
524
|
*/
|
|
525
525
|
selectPaymentModeV2({ body, xOrderingSource, id, buyNow, orderType, requestHeaders }?: CartPlatformApplicationValidator.SelectPaymentModeV2Param, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResult>;
|
|
526
526
|
/**
|
|
@@ -530,7 +530,7 @@ declare class Cart {
|
|
|
530
530
|
* @returns {Promise<CartPlatformModel.UpdateAddressDetails>} - Success response
|
|
531
531
|
* @name updateAddress
|
|
532
532
|
* @summary: Updates an existing customer address
|
|
533
|
-
* @description: Update the user address - Check out [method documentation](https://
|
|
533
|
+
* @description: Update the user address - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/updateAddress/).
|
|
534
534
|
*/
|
|
535
535
|
updateAddress({ id, body, requestHeaders }?: CartPlatformApplicationValidator.UpdateAddressParam, { responseHeaders }?: object): Promise<CartPlatformModel.UpdateAddressDetails>;
|
|
536
536
|
/**
|
|
@@ -540,7 +540,7 @@ declare class Cart {
|
|
|
540
540
|
* @returns {Promise<CartPlatformModel.UpdateCartDetailResult>} - Success response
|
|
541
541
|
* @name updateCart
|
|
542
542
|
* @summary: Update cart items
|
|
543
|
-
* @description: Customers can modify added product attributes such as quantity and size, as well as remove items from the cart. - Check out [method documentation](https://
|
|
543
|
+
* @description: Customers can modify added product attributes such as quantity and size, as well as remove items from the cart. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/updateCart/).
|
|
544
544
|
*/
|
|
545
545
|
updateCart({ cartId, body, b, requestHeaders }?: CartPlatformApplicationValidator.UpdateCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.UpdateCartDetailResult>;
|
|
546
546
|
/**
|
|
@@ -550,7 +550,7 @@ declare class Cart {
|
|
|
550
550
|
* @returns {Promise<CartPlatformModel.CartMetaDetails>} - Success response
|
|
551
551
|
* @name updateCartMeta
|
|
552
552
|
* @summary: Update cart metadata
|
|
553
|
-
* @description: Add or modify metadata associated with a cart, which includes customer preferences, delivery instructions, or any special requirements related to the cart items. - Check out [method documentation](https://
|
|
553
|
+
* @description: Add or modify metadata associated with a cart, which includes customer preferences, delivery instructions, or any special requirements related to the cart items. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/updateCartMeta/).
|
|
554
554
|
*/
|
|
555
555
|
updateCartMeta({ body, id, buyNow, requestHeaders }?: CartPlatformApplicationValidator.UpdateCartMetaParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartMetaDetails>;
|
|
556
556
|
/**
|
|
@@ -562,7 +562,7 @@ declare class Cart {
|
|
|
562
562
|
* @returns {Promise<CartPlatformModel.CartMetaConfigUpdate>} - Success response
|
|
563
563
|
* @name updateCartMetaConfig
|
|
564
564
|
* @summary: Update cart meta
|
|
565
|
-
* @description: Modify the configuration settings for cart metadata associated with a specific sales channel. Cart meta includes configuration settings such as allowed maximum cart value, allowed minimum cart value, maximum allowed cart items, delivery charges, etc. - Check out [method documentation](https://
|
|
565
|
+
* @description: Modify the configuration settings for cart metadata associated with a specific sales channel. Cart meta includes configuration settings such as allowed maximum cart value, allowed minimum cart value, maximum allowed cart items, delivery charges, etc. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/updateCartMetaConfig/).
|
|
566
566
|
*/
|
|
567
567
|
updateCartMetaConfig({ cartMetaId, body, requestHeaders }?: CartPlatformApplicationValidator.UpdateCartMetaConfigParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartMetaConfigUpdate>;
|
|
568
568
|
/**
|
|
@@ -572,7 +572,7 @@ declare class Cart {
|
|
|
572
572
|
* @returns {Promise<CartPlatformModel.UserCartMappingResult>} - Success response
|
|
573
573
|
* @name updateCartUser
|
|
574
574
|
* @summary: Update user of a cart
|
|
575
|
-
* @description: Modify the cart user to a new valid customer for the provided customer ID. - Check out [method documentation](https://
|
|
575
|
+
* @description: Modify the cart user to a new valid customer for the provided customer ID. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/updateCartUser/).
|
|
576
576
|
*/
|
|
577
577
|
updateCartUser({ body, id, requestHeaders }?: CartPlatformApplicationValidator.UpdateCartUserParam, { responseHeaders }?: object): Promise<CartPlatformModel.UserCartMappingResult>;
|
|
578
578
|
/**
|
|
@@ -584,7 +584,7 @@ declare class Cart {
|
|
|
584
584
|
* @returns {Promise<CartPlatformModel.SharedCartResult>} - Success response
|
|
585
585
|
* @name updateCartWithSharedItems
|
|
586
586
|
* @summary: Update shared cart items
|
|
587
|
-
* @description: Customer can either merge or replace shared cart items with existing cart. - Check out [method documentation](https://
|
|
587
|
+
* @description: Customer can either merge or replace shared cart items with existing cart. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/updateCartWithSharedItems/).
|
|
588
588
|
*/
|
|
589
589
|
updateCartWithSharedItems({ token, action, cartId, requestHeaders }?: CartPlatformApplicationValidator.UpdateCartWithSharedItemsParam, { responseHeaders }?: object): Promise<CartPlatformModel.SharedCartResult>;
|
|
590
590
|
/**
|
|
@@ -594,7 +594,7 @@ declare class Cart {
|
|
|
594
594
|
* @returns {Promise<CartPlatformModel.CouponCreateResult>} - Success response
|
|
595
595
|
* @name updateCoupon
|
|
596
596
|
* @summary: Update a coupon
|
|
597
|
-
* @description: Update the details of an existing coupon by specifying its unique identifier. This includes modifying coupon attributes such as discount percentage, validity period, and associated conditions. Leveraging this functionality allows businesses to quickly adapt their promotional strategies to changing market dynamics. - Check out [method documentation](https://
|
|
597
|
+
* @description: Update the details of an existing coupon by specifying its unique identifier. This includes modifying coupon attributes such as discount percentage, validity period, and associated conditions. Leveraging this functionality allows businesses to quickly adapt their promotional strategies to changing market dynamics. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/updateCoupon/).
|
|
598
598
|
*/
|
|
599
599
|
updateCoupon({ id, body, requestHeaders }?: CartPlatformApplicationValidator.UpdateCouponParam, { responseHeaders }?: object): Promise<CartPlatformModel.CouponCreateResult>;
|
|
600
600
|
/**
|
|
@@ -606,7 +606,7 @@ declare class Cart {
|
|
|
606
606
|
* @returns {Promise<CartPlatformModel.SuccessMessage>} - Success response
|
|
607
607
|
* @name updateCouponPartially
|
|
608
608
|
* @summary: Update a coupon partially
|
|
609
|
-
* @description: Seller can make partial adjustments of an existing coupon by specifying its unique identifier. It enables businesses to modify specific attributes of the coupon while preserving other details intact. - Check out [method documentation](https://
|
|
609
|
+
* @description: Seller can make partial adjustments of an existing coupon by specifying its unique identifier. It enables businesses to modify specific attributes of the coupon while preserving other details intact. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/updateCouponPartially/).
|
|
610
610
|
*/
|
|
611
611
|
updateCouponPartially({ id, body, requestHeaders }?: CartPlatformApplicationValidator.UpdateCouponPartiallyParam, { responseHeaders }?: object): Promise<CartPlatformModel.SuccessMessage>;
|
|
612
612
|
/**
|
|
@@ -618,7 +618,7 @@ declare class Cart {
|
|
|
618
618
|
* @returns {Promise<CartPlatformModel.GetPriceAdjustmentResult>} - Success response
|
|
619
619
|
* @name updatePriceAdjustment
|
|
620
620
|
* @summary: Update price adjustments
|
|
621
|
-
* @description: Modify price adjustments for specific items in the cart. By providing the seller ID, sales channel ID, and price adjustment ID, seller can apply discounts or other adjustments to the prices of cart items, facilitating dynamic pricing strategies. - Check out [method documentation](https://
|
|
621
|
+
* @description: Modify price adjustments for specific items in the cart. By providing the seller ID, sales channel ID, and price adjustment ID, seller can apply discounts or other adjustments to the prices of cart items, facilitating dynamic pricing strategies. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/updatePriceAdjustment/).
|
|
622
622
|
*/
|
|
623
623
|
updatePriceAdjustment({ id, body, requestHeaders }?: CartPlatformApplicationValidator.UpdatePriceAdjustmentParam, { responseHeaders }?: object): Promise<CartPlatformModel.GetPriceAdjustmentResult>;
|
|
624
624
|
/**
|
|
@@ -628,7 +628,7 @@ declare class Cart {
|
|
|
628
628
|
* @returns {Promise<CartPlatformModel.PromotionUpdateResult>} - Success response
|
|
629
629
|
* @name updatePromotion
|
|
630
630
|
* @summary: Update a promotion
|
|
631
|
-
* @description: Update the details of an existing promotion by specifying its unique identifier. This includes modifying promotion attributes such as discount percentage, validity period, and associated conditions. Leveraging this functionality allows businesses to quickly adapt their promotional strategies to changing market dynamics. - Check out [method documentation](https://
|
|
631
|
+
* @description: Update the details of an existing promotion by specifying its unique identifier. This includes modifying promotion attributes such as discount percentage, validity period, and associated conditions. Leveraging this functionality allows businesses to quickly adapt their promotional strategies to changing market dynamics. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/updatePromotion/).
|
|
632
632
|
*/
|
|
633
633
|
updatePromotion({ id, body, requestHeaders }?: CartPlatformApplicationValidator.UpdatePromotionParam, { responseHeaders }?: object): Promise<CartPlatformModel.PromotionUpdateResult>;
|
|
634
634
|
/**
|
|
@@ -640,7 +640,7 @@ declare class Cart {
|
|
|
640
640
|
* @returns {Promise<CartPlatformModel.SuccessMessage>} - Success response
|
|
641
641
|
* @name updatePromotionPartially
|
|
642
642
|
* @summary: Update a promotion partially
|
|
643
|
-
* @description: Seller can make partial adjustments of an existing promotion by specifying its unique identifier. It enables businesses to modify specific attributes of the promotion while preserving other details intact. - Check out [method documentation](https://
|
|
643
|
+
* @description: Seller can make partial adjustments of an existing promotion by specifying its unique identifier. It enables businesses to modify specific attributes of the promotion while preserving other details intact. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/updatePromotionPartially/).
|
|
644
644
|
*/
|
|
645
645
|
updatePromotionPartially({ id, body, requestHeaders }?: CartPlatformApplicationValidator.UpdatePromotionPartiallyParam, { responseHeaders }?: object): Promise<CartPlatformModel.SuccessMessage>;
|
|
646
646
|
/**
|
|
@@ -651,7 +651,7 @@ declare class Cart {
|
|
|
651
651
|
* Success response
|
|
652
652
|
* @name updateShipments
|
|
653
653
|
* @summary: Update shipments
|
|
654
|
-
* @description: Update the quantity or delivery type of the shipments. Customers can switch the order type from Home Delivery to Pick At Store and vice versa. - Check out [method documentation](https://
|
|
654
|
+
* @description: Update the quantity or delivery type of the shipments. Customers can switch the order type from Home Delivery to Pick At Store and vice versa. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/updateShipments/).
|
|
655
655
|
*/
|
|
656
656
|
updateShipments({ body, i, p, id, addressId, areaCode, orderType, requestHeaders }?: CartPlatformApplicationValidator.UpdateShipmentsParam, { responseHeaders }?: object): Promise<CartPlatformModel.PlatformCartShipmentsResult>;
|
|
657
657
|
/**
|
|
@@ -663,7 +663,7 @@ declare class Cart {
|
|
|
663
663
|
* @returns {Promise<CartPlatformModel.PaymentCouponValidate>} - Success response
|
|
664
664
|
* @name validateCouponForPayment
|
|
665
665
|
* @summary: Validate applied coupon
|
|
666
|
-
* @description: Validates the applicability of a coupon code for the selected payment mode for the existing cart. This ensures the coupon's validity before proceeding with the payment process, enhancing user experience and preventing potential errors during transactions. - Check out [method documentation](https://
|
|
666
|
+
* @description: Validates the applicability of a coupon code for the selected payment mode for the existing cart. This ensures the coupon's validity before proceeding with the payment process, enhancing user experience and preventing potential errors during transactions. - Check out [method documentation](https://docs.fynd.com/partners/commerce/sdk/platform/cart/validateCouponForPayment/).
|
|
667
667
|
*/
|
|
668
668
|
validateCouponForPayment({ xOrderingSource, id, buyNow, addressId, paymentMode, paymentIdentifier, aggregatorName, merchantCode, requestHeaders, }?: CartPlatformApplicationValidator.ValidateCouponForPaymentParam, { responseHeaders }?: object): Promise<CartPlatformModel.PaymentCouponValidate>;
|
|
669
669
|
}
|