@gofynd/fdk-client-javascript 3.0.0-beta.1 → 3.1.0-beta.1
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 +14 -14
- package/sdk/application/Cart/CartApplicationClient.js +14 -14
- package/sdk/application/Content/ContentApplicationClient.d.ts +10 -0
- package/sdk/application/Content/ContentApplicationClient.js +53 -0
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -6
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +3 -3
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +34 -0
- package/sdk/application/Logistic/LogisticApplicationClient.js +136 -0
- package/sdk/partner/FileStorage/FileStoragePartnerClient.d.ts +12 -12
- package/sdk/partner/FileStorage/FileStoragePartnerClient.js +12 -12
- package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +46 -33
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +41 -25
- package/sdk/partner/FileStorage/FileStoragePartnerValidator.js +4 -4
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +6 -397
- package/sdk/platform/Billing/BillingPlatformClient.js +77 -3215
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +417 -3811
- package/sdk/platform/Billing/BillingPlatformModel.js +292 -2544
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +12 -451
- package/sdk/platform/Billing/BillingPlatformValidator.js +8 -483
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +34 -34
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +34 -34
- package/sdk/platform/Cart/CartPlatformModel.d.ts +363 -29
- package/sdk/platform/Cart/CartPlatformModel.js +203 -31
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +57 -57
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +220 -200
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +121 -91
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +58 -46
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +10 -51
- package/sdk/platform/Catalog/CatalogPlatformClient.js +79 -400
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +22 -228
- package/sdk/platform/Catalog/CatalogPlatformModel.js +12 -163
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +15 -61
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +13 -65
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +4 -8
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +10 -14
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +94 -30
- package/sdk/platform/Communication/CommunicationPlatformModel.js +110 -32
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +33 -1
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +62 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +11 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +5 -0
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +12 -2
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +5 -1
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +6 -4
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +12 -10
- package/sdk/platform/Content/ContentPlatformModel.d.ts +42 -12
- package/sdk/platform/Content/ContentPlatformModel.js +43 -13
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +28 -28
- package/sdk/platform/Finance/FinancePlatformClient.js +28 -28
- package/sdk/platform/Order/OrderPlatformClient.d.ts +21 -21
- package/sdk/platform/Order/OrderPlatformClient.js +21 -21
- package/sdk/platform/Order/OrderPlatformModel.d.ts +1010 -80
- package/sdk/platform/Order/OrderPlatformModel.js +665 -70
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +31 -4
- package/sdk/platform/Payment/PaymentPlatformModel.js +11 -4
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +1 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +8 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +14 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +6 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +24 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +119 -0
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +194 -23
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +116 -22
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +23 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +16 -0
- package/sdk/platform/Share/SharePlatformModel.d.ts +5 -0
- package/sdk/platform/Share/SharePlatformModel.js +2 -0
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +10 -12
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +45 -49
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +10 -10
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +12 -12
- package/sdk/public/PublicClient.d.ts +0 -2
- package/sdk/public/PublicClient.js +0 -4
- package/sdk/public/index.d.ts +0 -1
- package/sdk/public/index.js +0 -2
- package/sdk/public/Billing/BillingPublicClient.d.ts +0 -56
- package/sdk/public/Billing/BillingPublicClient.js +0 -397
- package/sdk/public/Billing/BillingPublicModel.d.ts +0 -919
- package/sdk/public/Billing/BillingPublicModel.js +0 -560
- package/sdk/public/Billing/BillingPublicValidator.d.ts +0 -43
- package/sdk/public/Billing/BillingPublicValidator.js +0 -50
|
@@ -20,7 +20,7 @@ declare class Cart {
|
|
|
20
20
|
* @returns {Promise<CartPlatformModel.AddCartDetailResponse>} - Success response
|
|
21
21
|
* @name addItems
|
|
22
22
|
* @summary: Add items to abandoned cart
|
|
23
|
-
* @description:
|
|
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://partners.fynd.com/help/docs/sdk/platform/cart/addItems/).
|
|
24
24
|
*/
|
|
25
25
|
addItems({ cartId, body, b, requestHeaders }?: CartPlatformApplicationValidator.AddItemsParam, { responseHeaders }?: object): Promise<CartPlatformModel.AddCartDetailResponse>;
|
|
26
26
|
/**
|
|
@@ -40,7 +40,7 @@ declare class Cart {
|
|
|
40
40
|
* @returns {Promise<CartPlatformModel.CartDetailResponse>} - Success response
|
|
41
41
|
* @name applyCoupon
|
|
42
42
|
* @summary: Apply a coupon to the cart.
|
|
43
|
-
* @description: Apply a
|
|
43
|
+
* @description: Apply a coupon code to the customer's cart to trigger discounts on eligible items - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/applyCoupon/).
|
|
44
44
|
*/
|
|
45
45
|
applyCoupon({ body, i, b, p, id, buyNow, requestHeaders }?: CartPlatformApplicationValidator.ApplyCouponParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResponse>;
|
|
46
46
|
/**
|
|
@@ -93,20 +93,20 @@ declare class Cart {
|
|
|
93
93
|
* @param {CartPlatformApplicationValidator.CreatePromotionParam} arg - Arg object
|
|
94
94
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
95
95
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
96
|
-
* @returns {Promise<CartPlatformModel.
|
|
96
|
+
* @returns {Promise<CartPlatformModel.PromotionAddResult>} - Success response
|
|
97
97
|
* @name createPromotion
|
|
98
98
|
* @summary: Create a promotion
|
|
99
99
|
* @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://partners.fynd.com/help/docs/sdk/platform/cart/createPromotion/).
|
|
100
100
|
*/
|
|
101
|
-
createPromotion({ body, requestHeaders }?: CartPlatformApplicationValidator.CreatePromotionParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
101
|
+
createPromotion({ body, requestHeaders }?: CartPlatformApplicationValidator.CreatePromotionParam, { responseHeaders }?: object): Promise<CartPlatformModel.PromotionAddResult>;
|
|
102
102
|
/**
|
|
103
103
|
* @param {CartPlatformApplicationValidator.DeleteCartParam} arg - Arg object
|
|
104
104
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
105
105
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
106
106
|
* @returns {Promise<CartPlatformModel.DeleteCartDetailResponse>} - Success response
|
|
107
107
|
* @name deleteCart
|
|
108
|
-
* @summary: Delete cart
|
|
109
|
-
* @description:
|
|
108
|
+
* @summary: Delete a cart
|
|
109
|
+
* @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://partners.fynd.com/help/docs/sdk/platform/cart/deleteCart/).
|
|
110
110
|
*/
|
|
111
111
|
deleteCart({ body, id, cartType, requestHeaders }?: CartPlatformApplicationValidator.DeleteCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.DeleteCartDetailResponse>;
|
|
112
112
|
/**
|
|
@@ -185,8 +185,8 @@ declare class Cart {
|
|
|
185
185
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
186
186
|
* @returns {Promise<CartPlatformModel.PlatformAddress>} - Success response
|
|
187
187
|
* @name getAddressById
|
|
188
|
-
* @summary:
|
|
189
|
-
* @description:
|
|
188
|
+
* @summary: Get details for a single customer address
|
|
189
|
+
* @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://partners.fynd.com/help/docs/sdk/platform/cart/getAddressById/).
|
|
190
190
|
*/
|
|
191
191
|
getAddressById({ id, cartId, buyNow, mobileNo, checkoutMode, tags, isDefault, userId, requestHeaders, }?: CartPlatformApplicationValidator.GetAddressByIdParam, { responseHeaders }?: object): Promise<CartPlatformModel.PlatformAddress>;
|
|
192
192
|
/**
|
|
@@ -196,8 +196,8 @@ declare class Cart {
|
|
|
196
196
|
* @returns {Promise<CartPlatformModel.PlatformGetAddressesResponse>} -
|
|
197
197
|
* Success response
|
|
198
198
|
* @name getAddresses
|
|
199
|
-
* @summary:
|
|
200
|
-
* @description:
|
|
199
|
+
* @summary: Get a list of addresses for a customer
|
|
200
|
+
* @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://partners.fynd.com/help/docs/sdk/platform/cart/getAddresses/).
|
|
201
201
|
*/
|
|
202
202
|
getAddresses({ cartId, buyNow, mobileNo, checkoutMode, tags, isDefault, userId, requestHeaders, }?: CartPlatformApplicationValidator.GetAddressesParam, { responseHeaders }?: object): Promise<CartPlatformModel.PlatformGetAddressesResponse>;
|
|
203
203
|
/**
|
|
@@ -239,7 +239,7 @@ declare class Cart {
|
|
|
239
239
|
* @returns {Promise<CartPlatformModel.MultiCartResponse>} - Success response
|
|
240
240
|
* @name getCartList
|
|
241
241
|
* @summary: Get cart list for store os user
|
|
242
|
-
* @description:
|
|
242
|
+
* @description: Retrieve the list of active carts associated with a specific customer - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/getCartList/).
|
|
243
243
|
*/
|
|
244
244
|
getCartList({ fromDate, toDate, filterOn, requestHeaders }?: CartPlatformApplicationValidator.GetCartListParam, { responseHeaders }?: object): Promise<CartPlatformModel.MultiCartResponse>;
|
|
245
245
|
/**
|
|
@@ -300,7 +300,7 @@ declare class Cart {
|
|
|
300
300
|
* @returns {Promise<Object>} - Success response
|
|
301
301
|
* @name getCouponCodeExists
|
|
302
302
|
* @summary: Check if coupon is already created with coupon code
|
|
303
|
-
* @description:
|
|
303
|
+
* @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://partners.fynd.com/help/docs/sdk/platform/cart/getCouponCodeExists/).
|
|
304
304
|
*/
|
|
305
305
|
getCouponCodeExists({ code, requestHeaders }?: CartPlatformApplicationValidator.GetCouponCodeExistsParam, { responseHeaders }?: object): Promise<any>;
|
|
306
306
|
/**
|
|
@@ -311,8 +311,8 @@ declare class Cart {
|
|
|
311
311
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
312
312
|
* @returns {Promise<CartPlatformModel.CouponOptions>} - Success response
|
|
313
313
|
* @name getCouponOptionValues
|
|
314
|
-
* @summary: Get coupon
|
|
315
|
-
* @description:
|
|
314
|
+
* @summary: Get coupon option values
|
|
315
|
+
* @description: Retrieves the available values for coupon options used to create and update coupons. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/getCouponOptionValues/).
|
|
316
316
|
*/
|
|
317
317
|
getCouponOptionValues({ requestHeaders }?: any, { responseHeaders }?: object): Promise<CartPlatformModel.CouponOptions>;
|
|
318
318
|
/**
|
|
@@ -332,7 +332,7 @@ declare class Cart {
|
|
|
332
332
|
* @returns {Promise<CartPlatformModel.CouponsResponse>} - Success response
|
|
333
333
|
* @name getCoupons
|
|
334
334
|
* @summary: Retrieve available coupons.
|
|
335
|
-
* @description: Retrieve a list of
|
|
335
|
+
* @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://partners.fynd.com/help/docs/sdk/platform/cart/getCoupons/).
|
|
336
336
|
*/
|
|
337
337
|
getCoupons({ pageNo, pageSize, isArchived, title, isPublic, isDisplay, typeSlug, code, requestHeaders, }?: CartPlatformApplicationValidator.GetCouponsParam, { responseHeaders }?: object): Promise<CartPlatformModel.CouponsResponse>;
|
|
338
338
|
/**
|
|
@@ -348,7 +348,7 @@ declare class Cart {
|
|
|
348
348
|
* @param {string} [arg.code] -
|
|
349
349
|
* @returns {Paginator<CartPlatformModel.CouponsResponse>}
|
|
350
350
|
* @summary: Retrieve available coupons.
|
|
351
|
-
* @description: Retrieve a list of
|
|
351
|
+
* @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.
|
|
352
352
|
*/
|
|
353
353
|
getCouponsPaginator({ companyId, applicationId, pageSize, isArchived, title, isPublic, isDisplay, typeSlug, code, }?: {
|
|
354
354
|
companyId: string;
|
|
@@ -397,12 +397,12 @@ declare class Cart {
|
|
|
397
397
|
* @param {CartPlatformApplicationValidator.GetPromotionByIdParam} arg - Arg object
|
|
398
398
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
399
399
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
400
|
-
* @returns {Promise<CartPlatformModel.
|
|
400
|
+
* @returns {Promise<CartPlatformModel.PromotionUpdateResult>} - Success response
|
|
401
401
|
* @name getPromotionById
|
|
402
402
|
* @summary: Get a promotion
|
|
403
403
|
* @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://partners.fynd.com/help/docs/sdk/platform/cart/getPromotionById/).
|
|
404
404
|
*/
|
|
405
|
-
getPromotionById({ id, requestHeaders }?: CartPlatformApplicationValidator.GetPromotionByIdParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
405
|
+
getPromotionById({ id, requestHeaders }?: CartPlatformApplicationValidator.GetPromotionByIdParam, { responseHeaders }?: object): Promise<CartPlatformModel.PromotionUpdateResult>;
|
|
406
406
|
/**
|
|
407
407
|
* @param {CartPlatformApplicationValidator.GetPromotionCodeExistsParam} arg
|
|
408
408
|
* - Arg object
|
|
@@ -412,7 +412,7 @@ declare class Cart {
|
|
|
412
412
|
* @returns {Promise<Object>} - Success response
|
|
413
413
|
* @name getPromotionCodeExists
|
|
414
414
|
* @summary: Check if promotion is already created with promotion code
|
|
415
|
-
* @description:
|
|
415
|
+
* @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://partners.fynd.com/help/docs/sdk/platform/cart/getPromotionCodeExists/).
|
|
416
416
|
*/
|
|
417
417
|
getPromotionCodeExists({ code, requestHeaders }?: CartPlatformApplicationValidator.GetPromotionCodeExistsParam, { responseHeaders }?: object): Promise<any>;
|
|
418
418
|
/**
|
|
@@ -491,7 +491,7 @@ declare class Cart {
|
|
|
491
491
|
* @returns {Promise<CartPlatformModel.OverrideCheckoutResponse>} - Success response
|
|
492
492
|
* @name overrideCart
|
|
493
493
|
* @summary: Create Fynd order with overriding cart details
|
|
494
|
-
* @description:
|
|
494
|
+
* @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://partners.fynd.com/help/docs/sdk/platform/cart/overrideCart/).
|
|
495
495
|
*/
|
|
496
496
|
overrideCart({ body, requestHeaders }?: CartPlatformApplicationValidator.OverrideCartParam, { responseHeaders }?: object): Promise<CartPlatformModel.OverrideCheckoutResponse>;
|
|
497
497
|
/**
|
|
@@ -525,7 +525,7 @@ declare class Cart {
|
|
|
525
525
|
* @returns {Promise<CartPlatformModel.CartCheckoutResponse>} - Success response
|
|
526
526
|
* @name platformCheckoutCartV2
|
|
527
527
|
* @summary: Cart checkout (latest)
|
|
528
|
-
* @description:
|
|
528
|
+
* @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://partners.fynd.com/help/docs/sdk/platform/cart/platformCheckoutCartV2/).
|
|
529
529
|
*/
|
|
530
530
|
platformCheckoutCartV2({ body, id, cartType, requestHeaders }?: CartPlatformApplicationValidator.PlatformCheckoutCartV2Param, { responseHeaders }?: object): Promise<CartPlatformModel.CartCheckoutResponse>;
|
|
531
531
|
/**
|
|
@@ -544,8 +544,8 @@ declare class Cart {
|
|
|
544
544
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
545
545
|
* @returns {Promise<CartPlatformModel.DeleteAddressResponse>} - Success response
|
|
546
546
|
* @name removeAddress
|
|
547
|
-
* @summary:
|
|
548
|
-
* @description:
|
|
547
|
+
* @summary: Removes an address from a customer's address list
|
|
548
|
+
* @description: Remove an existing customer address from the system. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/removeAddress/).
|
|
549
549
|
*/
|
|
550
550
|
removeAddress({ id, userId, requestHeaders }?: CartPlatformApplicationValidator.RemoveAddressParam, { responseHeaders }?: object): Promise<CartPlatformModel.DeleteAddressResponse>;
|
|
551
551
|
/**
|
|
@@ -555,7 +555,7 @@ declare class Cart {
|
|
|
555
555
|
* @returns {Promise<CartPlatformModel.CartDetailResponse>} - Success response
|
|
556
556
|
* @name removeCoupon
|
|
557
557
|
* @summary: Remove Applied Coupon for platform pos user
|
|
558
|
-
* @description: Remove
|
|
558
|
+
* @description: Remove an applied coupon from the customer's cart, thereby removing the associated discount from the cart total. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/removeCoupon/).
|
|
559
559
|
*/
|
|
560
560
|
removeCoupon({ uid, buyNow, cartType, requestHeaders }?: CartPlatformApplicationValidator.RemoveCouponParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResponse>;
|
|
561
561
|
/**
|
|
@@ -576,8 +576,8 @@ declare class Cart {
|
|
|
576
576
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
577
577
|
* @returns {Promise<CartPlatformModel.CartDetailResponse>} - Success response
|
|
578
578
|
* @name selectAddress
|
|
579
|
-
* @summary: Select
|
|
580
|
-
* @description: Select
|
|
579
|
+
* @summary: Select customer address for order processing
|
|
580
|
+
* @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://partners.fynd.com/help/docs/sdk/platform/cart/selectAddress/).
|
|
581
581
|
*/
|
|
582
582
|
selectAddress({ body, cartId, buyNow, i, b, requestHeaders }?: CartPlatformApplicationValidator.SelectAddressParam, { responseHeaders }?: object): Promise<CartPlatformModel.CartDetailResponse>;
|
|
583
583
|
/**
|
|
@@ -606,8 +606,8 @@ declare class Cart {
|
|
|
606
606
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
607
607
|
* @returns {Promise<CartPlatformModel.UpdateAddressResponse>} - Success response
|
|
608
608
|
* @name updateAddress
|
|
609
|
-
* @summary:
|
|
610
|
-
* @description:
|
|
609
|
+
* @summary: Updates an existing customer address
|
|
610
|
+
* @description: Update the user address - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/updateAddress/).
|
|
611
611
|
*/
|
|
612
612
|
updateAddress({ id, body, requestHeaders }?: CartPlatformApplicationValidator.UpdateAddressParam, { responseHeaders }?: object): Promise<CartPlatformModel.UpdateAddressResponse>;
|
|
613
613
|
/**
|
|
@@ -649,7 +649,7 @@ declare class Cart {
|
|
|
649
649
|
* @returns {Promise<CartPlatformModel.UserCartMappingResponse>} - Success response
|
|
650
650
|
* @name updateCartUser
|
|
651
651
|
* @summary: Update cart user details.
|
|
652
|
-
* @description: Modify user
|
|
652
|
+
* @description: Modify the cart user to a new valid customer for the provided customer ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/updateCartUser/).
|
|
653
653
|
*/
|
|
654
654
|
updateCartUser({ body, id, requestHeaders }?: CartPlatformApplicationValidator.UpdateCartUserParam, { responseHeaders }?: object): Promise<CartPlatformModel.UserCartMappingResponse>;
|
|
655
655
|
/**
|
|
@@ -660,8 +660,8 @@ declare class Cart {
|
|
|
660
660
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
661
661
|
* @returns {Promise<CartPlatformModel.SharedCartResponse>} - Success response
|
|
662
662
|
* @name updateCartWithSharedItems
|
|
663
|
-
* @summary:
|
|
664
|
-
* @description:
|
|
663
|
+
* @summary: Update shared cart items
|
|
664
|
+
* @description: Customer can either merge or replace shared cart items with existing cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/updateCartWithSharedItems/).
|
|
665
665
|
*/
|
|
666
666
|
updateCartWithSharedItems({ token, action, cartId, requestHeaders }?: CartPlatformApplicationValidator.UpdateCartWithSharedItemsParam, { responseHeaders }?: object): Promise<CartPlatformModel.SharedCartResponse>;
|
|
667
667
|
/**
|
|
@@ -703,12 +703,12 @@ declare class Cart {
|
|
|
703
703
|
* @param {CartPlatformApplicationValidator.UpdatePromotionParam} arg - Arg object
|
|
704
704
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
705
705
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
706
|
-
* @returns {Promise<CartPlatformModel.
|
|
706
|
+
* @returns {Promise<CartPlatformModel.PromotionUpdateResult>} - Success response
|
|
707
707
|
* @name updatePromotion
|
|
708
708
|
* @summary: Update a promotion
|
|
709
709
|
* @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://partners.fynd.com/help/docs/sdk/platform/cart/updatePromotion/).
|
|
710
710
|
*/
|
|
711
|
-
updatePromotion({ id, body, requestHeaders }?: CartPlatformApplicationValidator.UpdatePromotionParam, { responseHeaders }?: object): Promise<CartPlatformModel.
|
|
711
|
+
updatePromotion({ id, body, requestHeaders }?: CartPlatformApplicationValidator.UpdatePromotionParam, { responseHeaders }?: object): Promise<CartPlatformModel.PromotionUpdateResult>;
|
|
712
712
|
/**
|
|
713
713
|
* @param {CartPlatformApplicationValidator.UpdatePromotionPartiallyParam} arg
|
|
714
714
|
* - Arg object
|
|
@@ -718,7 +718,7 @@ declare class Cart {
|
|
|
718
718
|
* @returns {Promise<CartPlatformModel.SuccessMessage>} - Success response
|
|
719
719
|
* @name updatePromotionPartially
|
|
720
720
|
* @summary: Partially update a promotion.
|
|
721
|
-
* @description:
|
|
721
|
+
* @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://partners.fynd.com/help/docs/sdk/platform/cart/updatePromotionPartially/).
|
|
722
722
|
*/
|
|
723
723
|
updatePromotionPartially({ id, body, requestHeaders }?: CartPlatformApplicationValidator.UpdatePromotionPartiallyParam, { responseHeaders }?: object): Promise<CartPlatformModel.SuccessMessage>;
|
|
724
724
|
/**
|
|
@@ -99,7 +99,7 @@ class Cart {
|
|
|
99
99
|
* @returns {Promise<CartPlatformModel.AddCartDetailResponse>} - Success response
|
|
100
100
|
* @name addItems
|
|
101
101
|
* @summary: Add items to abandoned cart
|
|
102
|
-
* @description:
|
|
102
|
+
* @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://partners.fynd.com/help/docs/sdk/platform/cart/addItems/).
|
|
103
103
|
*/
|
|
104
104
|
async addItems(
|
|
105
105
|
{ cartId, body, b, requestHeaders } = { requestHeaders: {} },
|
|
@@ -260,7 +260,7 @@ class Cart {
|
|
|
260
260
|
* @returns {Promise<CartPlatformModel.CartDetailResponse>} - Success response
|
|
261
261
|
* @name applyCoupon
|
|
262
262
|
* @summary: Apply a coupon to the cart.
|
|
263
|
-
* @description: Apply a
|
|
263
|
+
* @description: Apply a coupon code to the customer's cart to trigger discounts on eligible items - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/applyCoupon/).
|
|
264
264
|
*/
|
|
265
265
|
async applyCoupon(
|
|
266
266
|
{ body, i, b, p, id, buyNow, requestHeaders } = { requestHeaders: {} },
|
|
@@ -667,7 +667,7 @@ class Cart {
|
|
|
667
667
|
* @param {CartPlatformApplicationValidator.CreatePromotionParam} arg - Arg object
|
|
668
668
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
669
669
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
670
|
-
* @returns {Promise<CartPlatformModel.
|
|
670
|
+
* @returns {Promise<CartPlatformModel.PromotionAddResult>} - Success response
|
|
671
671
|
* @name createPromotion
|
|
672
672
|
* @summary: Create a promotion
|
|
673
673
|
* @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://partners.fynd.com/help/docs/sdk/platform/cart/createPromotion/).
|
|
@@ -723,7 +723,7 @@ class Cart {
|
|
|
723
723
|
|
|
724
724
|
const {
|
|
725
725
|
error: res_error,
|
|
726
|
-
} = CartPlatformModel.
|
|
726
|
+
} = CartPlatformModel.PromotionAddResult().validate(responseData, {
|
|
727
727
|
abortEarly: false,
|
|
728
728
|
allowUnknown: true,
|
|
729
729
|
});
|
|
@@ -748,8 +748,8 @@ class Cart {
|
|
|
748
748
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
749
749
|
* @returns {Promise<CartPlatformModel.DeleteCartDetailResponse>} - Success response
|
|
750
750
|
* @name deleteCart
|
|
751
|
-
* @summary: Delete cart
|
|
752
|
-
* @description:
|
|
751
|
+
* @summary: Delete a cart
|
|
752
|
+
* @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://partners.fynd.com/help/docs/sdk/platform/cart/deleteCart/).
|
|
753
753
|
*/
|
|
754
754
|
async deleteCart(
|
|
755
755
|
{ body, id, cartType, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1241,8 +1241,8 @@ class Cart {
|
|
|
1241
1241
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
1242
1242
|
* @returns {Promise<CartPlatformModel.PlatformAddress>} - Success response
|
|
1243
1243
|
* @name getAddressById
|
|
1244
|
-
* @summary:
|
|
1245
|
-
* @description:
|
|
1244
|
+
* @summary: Get details for a single customer address
|
|
1245
|
+
* @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://partners.fynd.com/help/docs/sdk/platform/cart/getAddressById/).
|
|
1246
1246
|
*/
|
|
1247
1247
|
async getAddressById(
|
|
1248
1248
|
{
|
|
@@ -1352,8 +1352,8 @@ class Cart {
|
|
|
1352
1352
|
* @returns {Promise<CartPlatformModel.PlatformGetAddressesResponse>} -
|
|
1353
1353
|
* Success response
|
|
1354
1354
|
* @name getAddresses
|
|
1355
|
-
* @summary:
|
|
1356
|
-
* @description:
|
|
1355
|
+
* @summary: Get a list of addresses for a customer
|
|
1356
|
+
* @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://partners.fynd.com/help/docs/sdk/platform/cart/getAddresses/).
|
|
1357
1357
|
*/
|
|
1358
1358
|
async getAddresses(
|
|
1359
1359
|
{
|
|
@@ -1728,7 +1728,7 @@ class Cart {
|
|
|
1728
1728
|
* @returns {Promise<CartPlatformModel.MultiCartResponse>} - Success response
|
|
1729
1729
|
* @name getCartList
|
|
1730
1730
|
* @summary: Get cart list for store os user
|
|
1731
|
-
* @description:
|
|
1731
|
+
* @description: Retrieve the list of active carts associated with a specific customer - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/getCartList/).
|
|
1732
1732
|
*/
|
|
1733
1733
|
async getCartList(
|
|
1734
1734
|
{ fromDate, toDate, filterOn, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2202,7 +2202,7 @@ class Cart {
|
|
|
2202
2202
|
* @returns {Promise<Object>} - Success response
|
|
2203
2203
|
* @name getCouponCodeExists
|
|
2204
2204
|
* @summary: Check if coupon is already created with coupon code
|
|
2205
|
-
* @description:
|
|
2205
|
+
* @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://partners.fynd.com/help/docs/sdk/platform/cart/getCouponCodeExists/).
|
|
2206
2206
|
*/
|
|
2207
2207
|
async getCouponCodeExists(
|
|
2208
2208
|
{ code, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2281,8 +2281,8 @@ class Cart {
|
|
|
2281
2281
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2282
2282
|
* @returns {Promise<CartPlatformModel.CouponOptions>} - Success response
|
|
2283
2283
|
* @name getCouponOptionValues
|
|
2284
|
-
* @summary: Get coupon
|
|
2285
|
-
* @description:
|
|
2284
|
+
* @summary: Get coupon option values
|
|
2285
|
+
* @description: Retrieves the available values for coupon options used to create and update coupons. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/getCouponOptionValues/).
|
|
2286
2286
|
*/
|
|
2287
2287
|
async getCouponOptionValues(
|
|
2288
2288
|
{ requestHeaders } = { requestHeaders: {} },
|
|
@@ -2430,7 +2430,7 @@ class Cart {
|
|
|
2430
2430
|
* @returns {Promise<CartPlatformModel.CouponsResponse>} - Success response
|
|
2431
2431
|
* @name getCoupons
|
|
2432
2432
|
* @summary: Retrieve available coupons.
|
|
2433
|
-
* @description: Retrieve a list of
|
|
2433
|
+
* @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://partners.fynd.com/help/docs/sdk/platform/cart/getCoupons/).
|
|
2434
2434
|
*/
|
|
2435
2435
|
async getCoupons(
|
|
2436
2436
|
{
|
|
@@ -2545,7 +2545,7 @@ class Cart {
|
|
|
2545
2545
|
* @param {string} [arg.code] -
|
|
2546
2546
|
* @returns {Paginator<CartPlatformModel.CouponsResponse>}
|
|
2547
2547
|
* @summary: Retrieve available coupons.
|
|
2548
|
-
* @description: Retrieve a list of
|
|
2548
|
+
* @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.
|
|
2549
2549
|
*/
|
|
2550
2550
|
getCouponsPaginator({
|
|
2551
2551
|
companyId,
|
|
@@ -2838,7 +2838,7 @@ class Cart {
|
|
|
2838
2838
|
* @param {CartPlatformApplicationValidator.GetPromotionByIdParam} arg - Arg object
|
|
2839
2839
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
2840
2840
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
2841
|
-
* @returns {Promise<CartPlatformModel.
|
|
2841
|
+
* @returns {Promise<CartPlatformModel.PromotionUpdateResult>} - Success response
|
|
2842
2842
|
* @name getPromotionById
|
|
2843
2843
|
* @summary: Get a promotion
|
|
2844
2844
|
* @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://partners.fynd.com/help/docs/sdk/platform/cart/getPromotionById/).
|
|
@@ -2894,7 +2894,7 @@ class Cart {
|
|
|
2894
2894
|
|
|
2895
2895
|
const {
|
|
2896
2896
|
error: res_error,
|
|
2897
|
-
} = CartPlatformModel.
|
|
2897
|
+
} = CartPlatformModel.PromotionUpdateResult().validate(responseData, {
|
|
2898
2898
|
abortEarly: false,
|
|
2899
2899
|
allowUnknown: true,
|
|
2900
2900
|
});
|
|
@@ -2922,7 +2922,7 @@ class Cart {
|
|
|
2922
2922
|
* @returns {Promise<Object>} - Success response
|
|
2923
2923
|
* @name getPromotionCodeExists
|
|
2924
2924
|
* @summary: Check if promotion is already created with promotion code
|
|
2925
|
-
* @description:
|
|
2925
|
+
* @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://partners.fynd.com/help/docs/sdk/platform/cart/getPromotionCodeExists/).
|
|
2926
2926
|
*/
|
|
2927
2927
|
async getPromotionCodeExists(
|
|
2928
2928
|
{ code, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3429,7 +3429,7 @@ class Cart {
|
|
|
3429
3429
|
* @returns {Promise<CartPlatformModel.OverrideCheckoutResponse>} - Success response
|
|
3430
3430
|
* @name overrideCart
|
|
3431
3431
|
* @summary: Create Fynd order with overriding cart details
|
|
3432
|
-
* @description:
|
|
3432
|
+
* @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://partners.fynd.com/help/docs/sdk/platform/cart/overrideCart/).
|
|
3433
3433
|
*/
|
|
3434
3434
|
async overrideCart(
|
|
3435
3435
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3691,7 +3691,7 @@ class Cart {
|
|
|
3691
3691
|
* @returns {Promise<CartPlatformModel.CartCheckoutResponse>} - Success response
|
|
3692
3692
|
* @name platformCheckoutCartV2
|
|
3693
3693
|
* @summary: Cart checkout (latest)
|
|
3694
|
-
* @description:
|
|
3694
|
+
* @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://partners.fynd.com/help/docs/sdk/platform/cart/platformCheckoutCartV2/).
|
|
3695
3695
|
*/
|
|
3696
3696
|
async platformCheckoutCartV2(
|
|
3697
3697
|
{ body, id, cartType, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3874,8 +3874,8 @@ class Cart {
|
|
|
3874
3874
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
3875
3875
|
* @returns {Promise<CartPlatformModel.DeleteAddressResponse>} - Success response
|
|
3876
3876
|
* @name removeAddress
|
|
3877
|
-
* @summary:
|
|
3878
|
-
* @description:
|
|
3877
|
+
* @summary: Removes an address from a customer's address list
|
|
3878
|
+
* @description: Remove an existing customer address from the system. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/removeAddress/).
|
|
3879
3879
|
*/
|
|
3880
3880
|
async removeAddress(
|
|
3881
3881
|
{ id, userId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -3955,7 +3955,7 @@ class Cart {
|
|
|
3955
3955
|
* @returns {Promise<CartPlatformModel.CartDetailResponse>} - Success response
|
|
3956
3956
|
* @name removeCoupon
|
|
3957
3957
|
* @summary: Remove Applied Coupon for platform pos user
|
|
3958
|
-
* @description: Remove
|
|
3958
|
+
* @description: Remove an applied coupon from the customer's cart, thereby removing the associated discount from the cart total. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/removeCoupon/).
|
|
3959
3959
|
*/
|
|
3960
3960
|
async removeCoupon(
|
|
3961
3961
|
{ uid, buyNow, cartType, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4119,8 +4119,8 @@ class Cart {
|
|
|
4119
4119
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
4120
4120
|
* @returns {Promise<CartPlatformModel.CartDetailResponse>} - Success response
|
|
4121
4121
|
* @name selectAddress
|
|
4122
|
-
* @summary: Select
|
|
4123
|
-
* @description: Select
|
|
4122
|
+
* @summary: Select customer address for order processing
|
|
4123
|
+
* @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://partners.fynd.com/help/docs/sdk/platform/cart/selectAddress/).
|
|
4124
4124
|
*/
|
|
4125
4125
|
async selectAddress(
|
|
4126
4126
|
{ body, cartId, buyNow, i, b, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4384,8 +4384,8 @@ class Cart {
|
|
|
4384
4384
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
4385
4385
|
* @returns {Promise<CartPlatformModel.UpdateAddressResponse>} - Success response
|
|
4386
4386
|
* @name updateAddress
|
|
4387
|
-
* @summary:
|
|
4388
|
-
* @description:
|
|
4387
|
+
* @summary: Updates an existing customer address
|
|
4388
|
+
* @description: Update the user address - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/updateAddress/).
|
|
4389
4389
|
*/
|
|
4390
4390
|
async updateAddress(
|
|
4391
4391
|
{ id, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4717,7 +4717,7 @@ class Cart {
|
|
|
4717
4717
|
* @returns {Promise<CartPlatformModel.UserCartMappingResponse>} - Success response
|
|
4718
4718
|
* @name updateCartUser
|
|
4719
4719
|
* @summary: Update cart user details.
|
|
4720
|
-
* @description: Modify user
|
|
4720
|
+
* @description: Modify the cart user to a new valid customer for the provided customer ID. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/updateCartUser/).
|
|
4721
4721
|
*/
|
|
4722
4722
|
async updateCartUser(
|
|
4723
4723
|
{ body, id, requestHeaders } = { requestHeaders: {} },
|
|
@@ -4800,8 +4800,8 @@ class Cart {
|
|
|
4800
4800
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
4801
4801
|
* @returns {Promise<CartPlatformModel.SharedCartResponse>} - Success response
|
|
4802
4802
|
* @name updateCartWithSharedItems
|
|
4803
|
-
* @summary:
|
|
4804
|
-
* @description:
|
|
4803
|
+
* @summary: Update shared cart items
|
|
4804
|
+
* @description: Customer can either merge or replace shared cart items with existing cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/platform/cart/updateCartWithSharedItems/).
|
|
4805
4805
|
*/
|
|
4806
4806
|
async updateCartWithSharedItems(
|
|
4807
4807
|
{ token, action, cartId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -5128,7 +5128,7 @@ class Cart {
|
|
|
5128
5128
|
* @param {CartPlatformApplicationValidator.UpdatePromotionParam} arg - Arg object
|
|
5129
5129
|
* @param {object} [arg.requestHeaders={}] - Request headers. Default is `{}`
|
|
5130
5130
|
* @param {import("../PlatformAPIClient").Options} - Options
|
|
5131
|
-
* @returns {Promise<CartPlatformModel.
|
|
5131
|
+
* @returns {Promise<CartPlatformModel.PromotionUpdateResult>} - Success response
|
|
5132
5132
|
* @name updatePromotion
|
|
5133
5133
|
* @summary: Update a promotion
|
|
5134
5134
|
* @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://partners.fynd.com/help/docs/sdk/platform/cart/updatePromotion/).
|
|
@@ -5186,7 +5186,7 @@ class Cart {
|
|
|
5186
5186
|
|
|
5187
5187
|
const {
|
|
5188
5188
|
error: res_error,
|
|
5189
|
-
} = CartPlatformModel.
|
|
5189
|
+
} = CartPlatformModel.PromotionUpdateResult().validate(responseData, {
|
|
5190
5190
|
abortEarly: false,
|
|
5191
5191
|
allowUnknown: true,
|
|
5192
5192
|
});
|
|
@@ -5214,7 +5214,7 @@ class Cart {
|
|
|
5214
5214
|
* @returns {Promise<CartPlatformModel.SuccessMessage>} - Success response
|
|
5215
5215
|
* @name updatePromotionPartially
|
|
5216
5216
|
* @summary: Partially update a promotion.
|
|
5217
|
-
* @description:
|
|
5217
|
+
* @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://partners.fynd.com/help/docs/sdk/platform/cart/updatePromotionPartially/).
|
|
5218
5218
|
*/
|
|
5219
5219
|
async updatePromotionPartially(
|
|
5220
5220
|
{ id, body, requestHeaders } = { requestHeaders: {} },
|