@gofynd/fdk-client-javascript 1.4.8-beta.2 → 1.4.8
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 +26 -1
- package/package.json +2 -2
- package/sdk/application/ApplicationClient.d.ts +8 -0
- package/sdk/application/ApplicationClient.js +14 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +20 -20
- package/sdk/application/Cart/CartApplicationClient.js +20 -20
- package/sdk/application/Cart/CartApplicationModel.d.ts +2446 -664
- package/sdk/application/Cart/CartApplicationModel.js +783 -552
- package/sdk/application/Cart/CartApplicationValidator.d.ts +268 -194
- package/sdk/application/Cart/CartApplicationValidator.js +100 -114
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +53 -53
- package/sdk/application/Catalog/CatalogApplicationClient.js +53 -53
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +2012 -503
- package/sdk/application/Catalog/CatalogApplicationModel.js +603 -453
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +64 -64
- package/sdk/application/Catalog/CatalogApplicationValidator.js +32 -32
- package/sdk/application/Common/CommonApplicationClient.d.ts +2 -2
- package/sdk/application/Common/CommonApplicationClient.js +2 -2
- package/sdk/application/Common/CommonApplicationModel.d.ts +170 -90
- package/sdk/application/Common/CommonApplicationModel.js +59 -58
- package/sdk/application/Common/CommonApplicationValidator.d.ts +8 -5
- package/sdk/application/Common/CommonApplicationValidator.js +3 -3
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +2 -2
- package/sdk/application/Communication/CommunicationApplicationClient.js +2 -2
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +170 -35
- package/sdk/application/Communication/CommunicationApplicationModel.js +54 -33
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +15 -15
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +15 -15
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +624 -443
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +259 -248
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +32 -24
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +14 -13
- package/sdk/application/Content/ContentApplicationClient.d.ts +16 -16
- package/sdk/application/Content/ContentApplicationClient.js +16 -16
- package/sdk/application/Content/ContentApplicationModel.d.ts +1206 -281
- package/sdk/application/Content/ContentApplicationModel.js +342 -276
- package/sdk/application/Content/ContentApplicationValidator.d.ts +28 -17
- package/sdk/application/Content/ContentApplicationValidator.js +11 -10
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +3 -3
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +3 -3
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +146 -37
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +38 -36
- package/sdk/application/Lead/LeadApplicationClient.d.ts +3 -3
- package/sdk/application/Lead/LeadApplicationClient.js +3 -3
- package/sdk/application/Lead/LeadApplicationModel.d.ts +195 -134
- package/sdk/application/Lead/LeadApplicationModel.js +110 -67
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +8 -8
- package/sdk/application/Lead/LeadApplicationValidator.js +4 -4
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +10 -10
- package/sdk/application/Logistic/LogisticApplicationClient.js +10 -10
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +1039 -221
- package/sdk/application/Logistic/LogisticApplicationModel.js +342 -199
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +76 -82
- package/sdk/application/Logistic/LogisticApplicationValidator.js +38 -41
- package/sdk/application/Order/OrderApplicationClient.d.ts +10 -10
- package/sdk/application/Order/OrderApplicationClient.js +10 -10
- package/sdk/application/Order/OrderApplicationModel.d.ts +1401 -324
- package/sdk/application/Order/OrderApplicationModel.js +392 -316
- package/sdk/application/Order/OrderApplicationValidator.d.ts +32 -30
- package/sdk/application/Order/OrderApplicationValidator.js +15 -14
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +43 -43
- package/sdk/application/Payment/PaymentApplicationClient.js +43 -43
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +1111 -1022
- package/sdk/application/Payment/PaymentApplicationModel.js +537 -521
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +82 -49
- package/sdk/application/Payment/PaymentApplicationValidator.js +30 -30
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +28 -7
- package/sdk/application/Rewards/RewardsApplicationModel.js +7 -7
- package/sdk/application/Share/ShareApplicationModel.d.ts +178 -38
- package/sdk/application/Share/ShareApplicationModel.js +53 -37
- package/sdk/application/Share/ShareApplicationValidator.d.ts +4 -2
- package/sdk/application/Share/ShareApplicationValidator.js +2 -1
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +4 -4
- package/sdk/application/Theme/ThemeApplicationClient.js +14 -8
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +528 -287
- package/sdk/application/Theme/ThemeApplicationModel.js +208 -172
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +17 -12
- package/sdk/application/Theme/ThemeApplicationValidator.js +8 -6
- package/sdk/application/User/UserApplicationClient.d.ts +36 -36
- package/sdk/application/User/UserApplicationClient.js +36 -36
- package/sdk/application/User/UserApplicationModel.d.ts +1062 -255
- package/sdk/application/User/UserApplicationModel.js +298 -244
- package/sdk/application/User/UserApplicationValidator.d.ts +80 -80
- package/sdk/application/User/UserApplicationValidator.js +40 -40
- package/sdk/application/Webhook/WebhookApplicationClient.d.ts +1 -1
- package/sdk/application/Webhook/WebhookApplicationClient.js +1 -1
- package/sdk/application/Webhook/WebhookApplicationModel.d.ts +20 -5
- package/sdk/application/Webhook/WebhookApplicationModel.js +5 -5
- package/sdk/common/Clickstream.js +95 -15
- package/sdk/common/Constant.d.ts +9 -0
- package/sdk/common/Constant.js +11 -0
- package/sdk/common/Utility.js +19 -0
- package/sdk/common/utils.js +8 -1
- package/sdk/partner/Lead/LeadPartnerModel.d.ts +28 -7
- package/sdk/partner/Lead/LeadPartnerModel.js +7 -7
- package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +75 -8
- package/sdk/partner/Logistics/LogisticsPartnerModel.js +59 -7
- package/sdk/partner/Logistics/LogisticsPartnerValidator.js +2 -2
- package/sdk/partner/PartnerClient.d.ts +8 -0
- package/sdk/partner/PartnerClient.js +14 -0
- package/sdk/partner/Theme/ThemePartnerClient.d.ts +20 -0
- package/sdk/partner/Theme/ThemePartnerClient.js +158 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +45 -6
- package/sdk/partner/Theme/ThemePartnerModel.js +33 -4
- package/sdk/partner/Theme/ThemePartnerValidator.d.ts +2 -0
- package/sdk/partner/Theme/ThemePartnerValidator.js +14 -0
- package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +28 -7
- package/sdk/partner/Webhook/WebhookPartnerModel.js +7 -7
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +28 -7
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +7 -7
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +21 -10
- package/sdk/platform/Billing/BillingPlatformClient.js +167 -83
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +2849 -565
- package/sdk/platform/Billing/BillingPlatformModel.js +935 -556
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +30 -14
- package/sdk/platform/Billing/BillingPlatformValidator.js +31 -16
- package/sdk/platform/Cart/CartPlatformModel.d.ts +28 -7
- package/sdk/platform/Cart/CartPlatformModel.js +8 -8
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +1 -1
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +20 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +37 -0
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +16 -0
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +12 -2
- package/sdk/platform/Catalog/CatalogPlatformClient.js +41 -1
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +46 -12
- package/sdk/platform/Catalog/CatalogPlatformModel.js +14 -11
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +40 -0
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +17 -0
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +28 -7
- package/sdk/platform/Communication/CommunicationPlatformModel.js +7 -7
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +28 -7
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +7 -7
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +0 -97
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +77 -782
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +24 -701
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +7 -539
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +1 -183
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +0 -134
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +0 -10
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +0 -79
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -15
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +0 -13
- package/sdk/platform/Content/ContentPlatformModel.d.ts +60 -17
- package/sdk/platform/Content/ContentPlatformModel.js +30 -15
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +28 -7
- package/sdk/platform/Discount/DiscountPlatformModel.js +7 -7
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +127 -25
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +37 -25
- package/sdk/platform/Finance/FinancePlatformClient.d.ts +30 -30
- package/sdk/platform/Finance/FinancePlatformClient.js +30 -30
- package/sdk/platform/Finance/FinancePlatformModel.d.ts +1601 -348
- package/sdk/platform/Finance/FinancePlatformModel.js +488 -352
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +28 -7
- package/sdk/platform/Lead/LeadPlatformModel.js +7 -7
- package/sdk/platform/Order/OrderPlatformClient.d.ts +22 -0
- package/sdk/platform/Order/OrderPlatformClient.js +165 -0
- package/sdk/platform/Order/OrderPlatformModel.d.ts +631 -39
- package/sdk/platform/Order/OrderPlatformModel.js +367 -41
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +32 -1
- package/sdk/platform/Order/OrderPlatformValidator.js +28 -0
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +30 -9
- package/sdk/platform/Payment/PaymentPlatformModel.js +9 -9
- package/sdk/platform/PlatformClient.d.ts +8 -0
- package/sdk/platform/PlatformClient.js +14 -0
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +28 -7
- package/sdk/platform/Rewards/RewardsPlatformModel.js +7 -7
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +12 -9
- package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +12 -9
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +1 -1
- package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +4 -4
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +139 -22
- package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +98 -21
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +4 -4
- package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +4 -4
- package/sdk/platform/Share/SharePlatformModel.d.ts +28 -7
- package/sdk/platform/Share/SharePlatformModel.js +7 -7
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +18 -5
- package/sdk/platform/Theme/ThemePlatformModel.js +7 -4
- package/sdk/platform/User/UserPlatformModel.d.ts +18 -20
- package/sdk/platform/User/UserPlatformModel.js +9 -11
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +54 -33
- package/sdk/platform/Webhook/WebhookPlatformModel.js +33 -33
- package/sdk/public/Billing/BillingPublicClient.d.ts +11 -0
- package/sdk/public/Billing/BillingPublicClient.js +80 -0
- package/sdk/public/Billing/BillingPublicModel.d.ts +584 -99
- package/sdk/public/Billing/BillingPublicModel.js +252 -87
- package/sdk/public/Billing/BillingPublicValidator.d.ts +10 -1
- package/sdk/public/Billing/BillingPublicValidator.js +12 -0
- 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/Inventory/InventoryPublicClient.d.ts +0 -87
- package/sdk/public/Inventory/InventoryPublicClient.js +0 -529
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +0 -393
- package/sdk/public/Inventory/InventoryPublicModel.js +0 -448
- package/sdk/public/Inventory/InventoryPublicValidator.d.ts +0 -91
- package/sdk/public/Inventory/InventoryPublicValidator.js +0 -85
package/README.md
CHANGED
|
@@ -127,6 +127,29 @@ getData();
|
|
|
127
127
|
|
|
128
128
|
---
|
|
129
129
|
|
|
130
|
+
### Sample Usage - Fetch function.
|
|
131
|
+
|
|
132
|
+
The fetch function allows you to make custom API requests with ease. It is available on both `platform` and `application` client.
|
|
133
|
+
|
|
134
|
+
```javascript
|
|
135
|
+
|
|
136
|
+
let auditLog = await client.request({
|
|
137
|
+
url: `/service/platform/audit-trail/v1.0/company/1/logs`,
|
|
138
|
+
method: 'GET',
|
|
139
|
+
});
|
|
140
|
+
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
The `fetch` function accepts an object with the following possible keys:
|
|
144
|
+
|
|
145
|
+
- **method** (string): The HTTP method to use (e.g., 'GET', 'POST', 'PUT', 'DELETE').
|
|
146
|
+
- **url** (string): The URL endpoint for the request.
|
|
147
|
+
- **query** (object): Query parameters to include in the request URL.
|
|
148
|
+
- **body** (object): The request payload to send.
|
|
149
|
+
- **headers** (object): Additional headers to include in the request.
|
|
150
|
+
|
|
151
|
+
---
|
|
152
|
+
|
|
130
153
|
### Cookie
|
|
131
154
|
|
|
132
155
|
Following code snippet will read and write cookies on behalf of you <br />
|
|
@@ -214,7 +237,7 @@ console.log("Active Theme: ", response.information.name);
|
|
|
214
237
|
The above code will log the curl command in the console
|
|
215
238
|
|
|
216
239
|
```bash
|
|
217
|
-
curl --request GET "https://api.fynd.com/service/application/theme/v1.0/applied-theme" --header 'authorization: Bearer <authorization-token>' --header 'x-fp-sdk-version: 1.4.8
|
|
240
|
+
curl --request GET "https://api.fynd.com/service/application/theme/v1.0/applied-theme" --header 'authorization: Bearer <authorization-token>' --header 'x-fp-sdk-version: 1.4.8' --header 'x-fp-date: 20230222T115108Z' --header 'x-fp-signature: v1.1:1e3ab3b02b5bc626e3c32a37ee844266ade02bbcbaafc28fc7a0e46a76a7a1a8'
|
|
218
241
|
Active Theme: Emerge
|
|
219
242
|
```
|
|
220
243
|
|
|
@@ -228,3 +251,5 @@ fdk-client-javascript includes Typescript definitions.
|
|
|
228
251
|
import { ApplicationConfig, ApplicationClient } from "fdk-client-javascript";
|
|
229
252
|
```
|
|
230
253
|
|
|
254
|
+
|
|
255
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gofynd/fdk-client-javascript",
|
|
3
|
-
"version": "1.4.8
|
|
3
|
+
"version": "1.4.8",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"loglevel": "^1.8.1",
|
|
20
20
|
"query-string": "^7.1.3",
|
|
21
21
|
"@gofynd/fp-signature": "^1.0.1",
|
|
22
|
-
"@gofynd/flick": "^1.0.
|
|
22
|
+
"@gofynd/flick": "^1.0.8"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"axios-cookiejar-support": "^4.0.6",
|
|
@@ -55,6 +55,14 @@ declare class ApplicationClient {
|
|
|
55
55
|
* @throws {FDKClientValidationError} When the provided header is not an object.
|
|
56
56
|
*/
|
|
57
57
|
setExtraHeaders(header: object): void;
|
|
58
|
+
request({ method, url, query, body, headers, responseHeaders, }: {
|
|
59
|
+
method: any;
|
|
60
|
+
url: any;
|
|
61
|
+
query: any;
|
|
62
|
+
body: any;
|
|
63
|
+
headers: any;
|
|
64
|
+
responseHeaders?: boolean;
|
|
65
|
+
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
58
66
|
}
|
|
59
67
|
import Cart = require("./Cart/CartApplicationClient");
|
|
60
68
|
import Catalog = require("./Catalog/CatalogApplicationClient");
|
|
@@ -17,6 +17,7 @@ const Webhook = require("./Webhook/WebhookApplicationClient");
|
|
|
17
17
|
const { FDKClientValidationError } = require("../common/FDKError");
|
|
18
18
|
const { Logger } = require("../common/Logger");
|
|
19
19
|
const { convertStringToBase64 } = require("../common/utils");
|
|
20
|
+
const { execute } = require("./ApplicationAPIClient");
|
|
20
21
|
|
|
21
22
|
/**
|
|
22
23
|
* Represents the client for the application.
|
|
@@ -119,6 +120,19 @@ class ApplicationClient {
|
|
|
119
120
|
throw new FDKClientValidationError("Context value should be an object");
|
|
120
121
|
}
|
|
121
122
|
}
|
|
123
|
+
|
|
124
|
+
async request({
|
|
125
|
+
method,
|
|
126
|
+
url,
|
|
127
|
+
query,
|
|
128
|
+
body,
|
|
129
|
+
headers,
|
|
130
|
+
responseHeaders = false,
|
|
131
|
+
}) {
|
|
132
|
+
return await execute(this.config, method, url, query, body, headers, {
|
|
133
|
+
responseHeaders,
|
|
134
|
+
});
|
|
135
|
+
}
|
|
122
136
|
}
|
|
123
137
|
|
|
124
138
|
module.exports = ApplicationClient;
|
|
@@ -42,7 +42,7 @@ declare class Cart {
|
|
|
42
42
|
* @returns {Promise<CartApplicationModel.SaveAddressResponse>} - Success response
|
|
43
43
|
* @name addAddress
|
|
44
44
|
* @summary: Create a new address
|
|
45
|
-
* @description:
|
|
45
|
+
* @description: Add a new address to their cart to save details such as name, email, contact information, and address. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/addAddress/).
|
|
46
46
|
*/
|
|
47
47
|
addAddress({ body, requestHeaders }?: CartApplicationValidator.AddAddressParam, { responseHeaders }?: object): Promise<CartApplicationModel.SaveAddressResponse>;
|
|
48
48
|
/**
|
|
@@ -62,7 +62,7 @@ declare class Cart {
|
|
|
62
62
|
* @returns {Promise<CartApplicationModel.CartDetailResponse>} - Success response
|
|
63
63
|
* @name applyCoupon
|
|
64
64
|
* @summary: Apply coupon
|
|
65
|
-
* @description: Apply a coupon code to the
|
|
65
|
+
* @description: Apply a coupon code to the cart to trigger discounts on eligible items. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/applyCoupon/).
|
|
66
66
|
*/
|
|
67
67
|
applyCoupon({ body, i, b, p, id, buyNow, cartType, requestHeaders }?: CartApplicationValidator.ApplyCouponParam, { responseHeaders }?: object): Promise<CartApplicationModel.CartDetailResponse>;
|
|
68
68
|
/**
|
|
@@ -113,7 +113,7 @@ declare class Cart {
|
|
|
113
113
|
* @returns {Promise<CartApplicationModel.Address>} - Success response
|
|
114
114
|
* @name getAddressById
|
|
115
115
|
* @summary: Get a address
|
|
116
|
-
* @description:
|
|
116
|
+
* @description: Get 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/application/cart/getAddressById/).
|
|
117
117
|
*/
|
|
118
118
|
getAddressById({ id, cartId, buyNow, mobileNo, checkoutMode, tags, isDefault, requestHeaders, }?: CartApplicationValidator.GetAddressByIdParam, { responseHeaders }?: object): Promise<CartApplicationModel.Address>;
|
|
119
119
|
/**
|
|
@@ -123,7 +123,7 @@ declare class Cart {
|
|
|
123
123
|
* @returns {Promise<CartApplicationModel.GetAddressesResponse>} - Success response
|
|
124
124
|
* @name getAddresses
|
|
125
125
|
* @summary: List customer addresses
|
|
126
|
-
* @description:
|
|
126
|
+
* @description: List 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/application/cart/getAddresses/).
|
|
127
127
|
*/
|
|
128
128
|
getAddresses({ cartId, buyNow, mobileNo, checkoutMode, tags, isDefault, requestHeaders, }?: CartApplicationValidator.GetAddressesParam, { responseHeaders }?: object): Promise<CartApplicationModel.GetAddressesResponse>;
|
|
129
129
|
/**
|
|
@@ -133,7 +133,7 @@ declare class Cart {
|
|
|
133
133
|
* @returns {Promise<CartApplicationModel.BulkPriceResponse>} - Success response
|
|
134
134
|
* @name getBulkDiscountOffers
|
|
135
135
|
* @summary: List bulk discounts
|
|
136
|
-
* @description:
|
|
136
|
+
* @description: List offer discounts with information about quantity and seller. One offer is marked with a "best" flag, indicating it as the best offer among the list. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getBulkDiscountOffers/).
|
|
137
137
|
*/
|
|
138
138
|
getBulkDiscountOffers({ itemId, articleId, uid, slug, requestHeaders }?: CartApplicationValidator.GetBulkDiscountOffersParam, { responseHeaders }?: object): Promise<CartApplicationModel.BulkPriceResponse>;
|
|
139
139
|
/**
|
|
@@ -143,7 +143,7 @@ declare class Cart {
|
|
|
143
143
|
* @returns {Promise<CartApplicationModel.CartDetailResponse>} - Success response
|
|
144
144
|
* @name getCart
|
|
145
145
|
* @summary: Get a cart
|
|
146
|
-
* @description:
|
|
146
|
+
* @description: Get details of a cart 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://partners.fynd.com/help/docs/sdk/application/cart/getCart/).
|
|
147
147
|
*/
|
|
148
148
|
getCart({ id, i, b, c, assignCardId, areaCode, buyNow, orderType, requestHeaders, }?: CartApplicationValidator.GetCartParam, { responseHeaders }?: object): Promise<CartApplicationModel.CartDetailResponse>;
|
|
149
149
|
/**
|
|
@@ -174,7 +174,7 @@ declare class Cart {
|
|
|
174
174
|
* @returns {Promise<CartApplicationModel.SharedCartResponse>} - Success response
|
|
175
175
|
* @name getCartSharedItems
|
|
176
176
|
* @summary: List shared cart items
|
|
177
|
-
* @description:
|
|
177
|
+
* @description: Get cart items from the shared cart link based on unique token. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getCartSharedItems/).
|
|
178
178
|
*/
|
|
179
179
|
getCartSharedItems({ token, requestHeaders }?: CartApplicationValidator.GetCartSharedItemsParam, { responseHeaders }?: object): Promise<CartApplicationModel.SharedCartResponse>;
|
|
180
180
|
/**
|
|
@@ -184,7 +184,7 @@ declare class Cart {
|
|
|
184
184
|
* @returns {Promise<CartApplicationModel.GetCouponResponse>} - Success response
|
|
185
185
|
* @name getCoupons
|
|
186
186
|
* @summary: List available coupons
|
|
187
|
-
* @description:
|
|
187
|
+
* @description: List 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://partners.fynd.com/help/docs/sdk/application/cart/getCoupons/).
|
|
188
188
|
*/
|
|
189
189
|
getCoupons({ id, buyNow, slug, storeId, requestHeaders }?: CartApplicationValidator.GetCouponsParam, { responseHeaders }?: object): Promise<CartApplicationModel.GetCouponResponse>;
|
|
190
190
|
/**
|
|
@@ -194,7 +194,7 @@ declare class Cart {
|
|
|
194
194
|
* @returns {Promise<CartApplicationModel.CartItemCountResponse>} - Success response
|
|
195
195
|
* @name getItemCount
|
|
196
196
|
* @summary: Get a cart items count
|
|
197
|
-
* @description:
|
|
197
|
+
* @description: Get total count of items currently present in the customer's cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getItemCount/).
|
|
198
198
|
*/
|
|
199
199
|
getItemCount({ id, buyNow, requestHeaders }?: CartApplicationValidator.GetItemCountParam, { responseHeaders }?: object): Promise<CartApplicationModel.CartItemCountResponse>;
|
|
200
200
|
/**
|
|
@@ -204,7 +204,7 @@ declare class Cart {
|
|
|
204
204
|
* @returns {Promise<CartApplicationModel.LadderPriceOffers>} - Success response
|
|
205
205
|
* @name getLadderOffers
|
|
206
206
|
* @summary: List ladder offers
|
|
207
|
-
* @description:
|
|
207
|
+
* @description: Get ladder offers associated for the items in the cart. Ladder offers provide discounts or special pricing based on item quantity, allowing users to benefit from bulk purchases or promotional deals. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getLadderOffers/).
|
|
208
208
|
*/
|
|
209
209
|
getLadderOffers({ slug, storeId, promotionId, pageSize, requestHeaders }?: CartApplicationValidator.GetLadderOffersParam, { responseHeaders }?: object): Promise<CartApplicationModel.LadderPriceOffers>;
|
|
210
210
|
/**
|
|
@@ -214,7 +214,7 @@ declare class Cart {
|
|
|
214
214
|
* @returns {Promise<CartApplicationModel.PromotionOffersResponse>} - Success response
|
|
215
215
|
* @name getPromotionOffers
|
|
216
216
|
* @summary: List available promotion offers
|
|
217
|
-
* @description:
|
|
217
|
+
* @description: List 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://partners.fynd.com/help/docs/sdk/application/cart/getPromotionOffers/).
|
|
218
218
|
*/
|
|
219
219
|
getPromotionOffers({ slug, pageSize, promotionGroup, storeId, cartType, requestHeaders }?: CartApplicationValidator.GetPromotionOffersParam, { responseHeaders }?: object): Promise<CartApplicationModel.PromotionOffersResponse>;
|
|
220
220
|
/**
|
|
@@ -226,7 +226,7 @@ declare class Cart {
|
|
|
226
226
|
*
|
|
227
227
|
* @name getPromotionPaymentOffers
|
|
228
228
|
* @summary: Fetch available promotions payment offers
|
|
229
|
-
* @description: Use this API to get top 5 payment offers available for current product - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getPromotionPaymentOffers/).
|
|
229
|
+
* @description: Use this API to get top 5 payment offers available for current product. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getPromotionPaymentOffers/).
|
|
230
230
|
*/
|
|
231
231
|
getPromotionPaymentOffers({ id, uid, requestHeaders }?: CartApplicationValidator.GetPromotionPaymentOffersParam, { responseHeaders }?: object): Promise<CartApplicationModel.PromotionPaymentOffersResponse>;
|
|
232
232
|
/**
|
|
@@ -236,7 +236,7 @@ declare class Cart {
|
|
|
236
236
|
* @returns {Promise<CartApplicationModel.CartShipmentsResponse>} - Success response
|
|
237
237
|
* @name getShipments
|
|
238
238
|
* @summary: List shipments
|
|
239
|
-
* @description:
|
|
239
|
+
* @description: Get shipment details for the items in a cart, specific to the selected address. Shipment details include delivery promises, seller information, item details, and other relevant information. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getShipments/).
|
|
240
240
|
*/
|
|
241
241
|
getShipments({ p, id, buyNow, addressId, areaCode, orderType, requestHeaders }?: CartApplicationValidator.GetShipmentsParam, { responseHeaders }?: object): Promise<CartApplicationModel.CartShipmentsResponse>;
|
|
242
242
|
/**
|
|
@@ -246,7 +246,7 @@ declare class Cart {
|
|
|
246
246
|
* @returns {Promise<CartApplicationModel.DeleteAddressResponse>} - Success response
|
|
247
247
|
* @name removeAddress
|
|
248
248
|
* @summary: Delete a address
|
|
249
|
-
* @description:
|
|
249
|
+
* @description: Delete an existing customer address from the system. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/removeAddress/).
|
|
250
250
|
*/
|
|
251
251
|
removeAddress({ id, requestHeaders }?: CartApplicationValidator.RemoveAddressParam, { responseHeaders }?: object): Promise<CartApplicationModel.DeleteAddressResponse>;
|
|
252
252
|
/**
|
|
@@ -266,7 +266,7 @@ declare class Cart {
|
|
|
266
266
|
* @returns {Promise<CartApplicationModel.CartDetailResponse>} - Success response
|
|
267
267
|
* @name selectAddress
|
|
268
268
|
* @summary: Select a delivery address
|
|
269
|
-
* @description:
|
|
269
|
+
* @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/application/cart/selectAddress/).
|
|
270
270
|
*/
|
|
271
271
|
selectAddress({ body, cartId, buyNow, i, b, requestHeaders }?: CartApplicationValidator.SelectAddressParam, { responseHeaders }?: object): Promise<CartApplicationModel.CartDetailResponse>;
|
|
272
272
|
/**
|
|
@@ -276,7 +276,7 @@ declare class Cart {
|
|
|
276
276
|
* @returns {Promise<CartApplicationModel.CartDetailResponse>} - Success response
|
|
277
277
|
* @name selectPaymentMode
|
|
278
278
|
* @summary: Select payment mode
|
|
279
|
-
* @description:
|
|
279
|
+
* @description: 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://partners.fynd.com/help/docs/sdk/application/cart/selectPaymentMode/).
|
|
280
280
|
*/
|
|
281
281
|
selectPaymentMode({ body, id, buyNow, requestHeaders }?: CartApplicationValidator.SelectPaymentModeParam, { responseHeaders }?: object): Promise<CartApplicationModel.CartDetailResponse>;
|
|
282
282
|
/**
|
|
@@ -286,7 +286,7 @@ declare class Cart {
|
|
|
286
286
|
* @returns {Promise<CartApplicationModel.UpdateAddressResponse>} - Success response
|
|
287
287
|
* @name updateAddress
|
|
288
288
|
* @summary: Update a address
|
|
289
|
-
* @description: Customer can modify the details of a previously saved addresses.
|
|
289
|
+
* @description: Customer can modify the details of a previously saved addresses. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/updateAddress/).
|
|
290
290
|
*/
|
|
291
291
|
updateAddress({ id, body, requestHeaders }?: CartApplicationValidator.UpdateAddressParam, { responseHeaders }?: object): Promise<CartApplicationModel.UpdateAddressResponse>;
|
|
292
292
|
/**
|
|
@@ -297,7 +297,7 @@ declare class Cart {
|
|
|
297
297
|
* Success response
|
|
298
298
|
* @name updateCart
|
|
299
299
|
* @summary: Update cart items
|
|
300
|
-
* @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://partners.fynd.com/help/docs/sdk/application/cart/updateCart/).
|
|
300
|
+
* @description: Update cart. Customers can modify added product attributes such as quantity and size, as well as remove items from the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/updateCart/).
|
|
301
301
|
*/
|
|
302
302
|
updateCart({ body, id, i, b, areaCode, buyNow, cartType, orderType, requestHeaders, }?: CartApplicationValidator.UpdateCartParam, { responseHeaders }?: object): Promise<CartApplicationModel.UpdateCartDetailResponse>;
|
|
303
303
|
/**
|
|
@@ -307,7 +307,7 @@ declare class Cart {
|
|
|
307
307
|
* @returns {Promise<CartApplicationModel.CartMetaResponse>} - Success response
|
|
308
308
|
* @name updateCartMeta
|
|
309
309
|
* @summary: Update cart metadata
|
|
310
|
-
* @description:
|
|
310
|
+
* @description: Update 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://partners.fynd.com/help/docs/sdk/application/cart/updateCartMeta/).
|
|
311
311
|
*/
|
|
312
312
|
updateCartMeta({ body, id, buyNow, requestHeaders }?: CartApplicationValidator.UpdateCartMetaParam, { responseHeaders }?: object): Promise<CartApplicationModel.CartMetaResponse>;
|
|
313
313
|
/**
|
|
@@ -317,7 +317,7 @@ declare class Cart {
|
|
|
317
317
|
* @returns {Promise<CartApplicationModel.SharedCartResponse>} - Success response
|
|
318
318
|
* @name updateCartWithSharedItems
|
|
319
319
|
* @summary: Update with shared items
|
|
320
|
-
* @description:
|
|
320
|
+
* @description: Merge or replace shared cart items with existing cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/updateCartWithSharedItems/).
|
|
321
321
|
*/
|
|
322
322
|
updateCartWithSharedItems({ token, action, requestHeaders }?: CartApplicationValidator.UpdateCartWithSharedItemsParam, { responseHeaders }?: object): Promise<CartApplicationModel.SharedCartResponse>;
|
|
323
323
|
/**
|
|
@@ -70,7 +70,7 @@ class Cart {
|
|
|
70
70
|
* @returns {Promise<CartApplicationModel.SaveAddressResponse>} - Success response
|
|
71
71
|
* @name addAddress
|
|
72
72
|
* @summary: Create a new address
|
|
73
|
-
* @description:
|
|
73
|
+
* @description: Add a new address to their cart to save details such as name, email, contact information, and address. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/addAddress/).
|
|
74
74
|
*/
|
|
75
75
|
async addAddress(
|
|
76
76
|
{ body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -230,7 +230,7 @@ class Cart {
|
|
|
230
230
|
* @returns {Promise<CartApplicationModel.CartDetailResponse>} - Success response
|
|
231
231
|
* @name applyCoupon
|
|
232
232
|
* @summary: Apply coupon
|
|
233
|
-
* @description: Apply a coupon code to the
|
|
233
|
+
* @description: Apply a coupon code to the cart to trigger discounts on eligible items. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/applyCoupon/).
|
|
234
234
|
*/
|
|
235
235
|
async applyCoupon(
|
|
236
236
|
{ body, i, b, p, id, buyNow, cartType, requestHeaders } = {
|
|
@@ -634,7 +634,7 @@ class Cart {
|
|
|
634
634
|
* @returns {Promise<CartApplicationModel.Address>} - Success response
|
|
635
635
|
* @name getAddressById
|
|
636
636
|
* @summary: Get a address
|
|
637
|
-
* @description:
|
|
637
|
+
* @description: Get 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/application/cart/getAddressById/).
|
|
638
638
|
*/
|
|
639
639
|
async getAddressById(
|
|
640
640
|
{
|
|
@@ -727,7 +727,7 @@ class Cart {
|
|
|
727
727
|
* @returns {Promise<CartApplicationModel.GetAddressesResponse>} - Success response
|
|
728
728
|
* @name getAddresses
|
|
729
729
|
* @summary: List customer addresses
|
|
730
|
-
* @description:
|
|
730
|
+
* @description: List 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/application/cart/getAddresses/).
|
|
731
731
|
*/
|
|
732
732
|
async getAddresses(
|
|
733
733
|
{
|
|
@@ -819,7 +819,7 @@ class Cart {
|
|
|
819
819
|
* @returns {Promise<CartApplicationModel.BulkPriceResponse>} - Success response
|
|
820
820
|
* @name getBulkDiscountOffers
|
|
821
821
|
* @summary: List bulk discounts
|
|
822
|
-
* @description:
|
|
822
|
+
* @description: List offer discounts with information about quantity and seller. One offer is marked with a "best" flag, indicating it as the best offer among the list. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getBulkDiscountOffers/).
|
|
823
823
|
*/
|
|
824
824
|
async getBulkDiscountOffers(
|
|
825
825
|
{ itemId, articleId, uid, slug, requestHeaders } = { requestHeaders: {} },
|
|
@@ -901,7 +901,7 @@ class Cart {
|
|
|
901
901
|
* @returns {Promise<CartApplicationModel.CartDetailResponse>} - Success response
|
|
902
902
|
* @name getCart
|
|
903
903
|
* @summary: Get a cart
|
|
904
|
-
* @description:
|
|
904
|
+
* @description: Get details of a cart 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://partners.fynd.com/help/docs/sdk/application/cart/getCart/).
|
|
905
905
|
*/
|
|
906
906
|
async getCart(
|
|
907
907
|
{
|
|
@@ -1150,7 +1150,7 @@ class Cart {
|
|
|
1150
1150
|
* @returns {Promise<CartApplicationModel.SharedCartResponse>} - Success response
|
|
1151
1151
|
* @name getCartSharedItems
|
|
1152
1152
|
* @summary: List shared cart items
|
|
1153
|
-
* @description:
|
|
1153
|
+
* @description: Get cart items from the shared cart link based on unique token. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getCartSharedItems/).
|
|
1154
1154
|
*/
|
|
1155
1155
|
async getCartSharedItems(
|
|
1156
1156
|
{ token, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1228,7 +1228,7 @@ class Cart {
|
|
|
1228
1228
|
* @returns {Promise<CartApplicationModel.GetCouponResponse>} - Success response
|
|
1229
1229
|
* @name getCoupons
|
|
1230
1230
|
* @summary: List available coupons
|
|
1231
|
-
* @description:
|
|
1231
|
+
* @description: List 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://partners.fynd.com/help/docs/sdk/application/cart/getCoupons/).
|
|
1232
1232
|
*/
|
|
1233
1233
|
async getCoupons(
|
|
1234
1234
|
{ id, buyNow, slug, storeId, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1308,7 +1308,7 @@ class Cart {
|
|
|
1308
1308
|
* @returns {Promise<CartApplicationModel.CartItemCountResponse>} - Success response
|
|
1309
1309
|
* @name getItemCount
|
|
1310
1310
|
* @summary: Get a cart items count
|
|
1311
|
-
* @description:
|
|
1311
|
+
* @description: Get total count of items currently present in the customer's cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getItemCount/).
|
|
1312
1312
|
*/
|
|
1313
1313
|
async getItemCount(
|
|
1314
1314
|
{ id, buyNow, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1388,7 +1388,7 @@ class Cart {
|
|
|
1388
1388
|
* @returns {Promise<CartApplicationModel.LadderPriceOffers>} - Success response
|
|
1389
1389
|
* @name getLadderOffers
|
|
1390
1390
|
* @summary: List ladder offers
|
|
1391
|
-
* @description:
|
|
1391
|
+
* @description: Get ladder offers associated for the items in the cart. Ladder offers provide discounts or special pricing based on item quantity, allowing users to benefit from bulk purchases or promotional deals. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getLadderOffers/).
|
|
1392
1392
|
*/
|
|
1393
1393
|
async getLadderOffers(
|
|
1394
1394
|
{ slug, storeId, promotionId, pageSize, requestHeaders } = {
|
|
@@ -1472,7 +1472,7 @@ class Cart {
|
|
|
1472
1472
|
* @returns {Promise<CartApplicationModel.PromotionOffersResponse>} - Success response
|
|
1473
1473
|
* @name getPromotionOffers
|
|
1474
1474
|
* @summary: List available promotion offers
|
|
1475
|
-
* @description:
|
|
1475
|
+
* @description: List 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://partners.fynd.com/help/docs/sdk/application/cart/getPromotionOffers/).
|
|
1476
1476
|
*/
|
|
1477
1477
|
async getPromotionOffers(
|
|
1478
1478
|
{ slug, pageSize, promotionGroup, storeId, cartType, requestHeaders } = {
|
|
@@ -1559,7 +1559,7 @@ class Cart {
|
|
|
1559
1559
|
*
|
|
1560
1560
|
* @name getPromotionPaymentOffers
|
|
1561
1561
|
* @summary: Fetch available promotions payment offers
|
|
1562
|
-
* @description: Use this API to get top 5 payment offers available for current product - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getPromotionPaymentOffers/).
|
|
1562
|
+
* @description: Use this API to get top 5 payment offers available for current product. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getPromotionPaymentOffers/).
|
|
1563
1563
|
*/
|
|
1564
1564
|
async getPromotionPaymentOffers(
|
|
1565
1565
|
{ id, uid, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1641,7 +1641,7 @@ class Cart {
|
|
|
1641
1641
|
* @returns {Promise<CartApplicationModel.CartShipmentsResponse>} - Success response
|
|
1642
1642
|
* @name getShipments
|
|
1643
1643
|
* @summary: List shipments
|
|
1644
|
-
* @description:
|
|
1644
|
+
* @description: Get shipment details for the items in a cart, specific to the selected address. Shipment details include delivery promises, seller information, item details, and other relevant information. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/getShipments/).
|
|
1645
1645
|
*/
|
|
1646
1646
|
async getShipments(
|
|
1647
1647
|
{ p, id, buyNow, addressId, areaCode, orderType, requestHeaders } = {
|
|
@@ -1727,7 +1727,7 @@ class Cart {
|
|
|
1727
1727
|
* @returns {Promise<CartApplicationModel.DeleteAddressResponse>} - Success response
|
|
1728
1728
|
* @name removeAddress
|
|
1729
1729
|
* @summary: Delete a address
|
|
1730
|
-
* @description:
|
|
1730
|
+
* @description: Delete an existing customer address from the system. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/removeAddress/).
|
|
1731
1731
|
*/
|
|
1732
1732
|
async removeAddress(
|
|
1733
1733
|
{ id, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1885,7 +1885,7 @@ class Cart {
|
|
|
1885
1885
|
* @returns {Promise<CartApplicationModel.CartDetailResponse>} - Success response
|
|
1886
1886
|
* @name selectAddress
|
|
1887
1887
|
* @summary: Select a delivery address
|
|
1888
|
-
* @description:
|
|
1888
|
+
* @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/application/cart/selectAddress/).
|
|
1889
1889
|
*/
|
|
1890
1890
|
async selectAddress(
|
|
1891
1891
|
{ body, cartId, buyNow, i, b, requestHeaders } = { requestHeaders: {} },
|
|
@@ -1967,7 +1967,7 @@ class Cart {
|
|
|
1967
1967
|
* @returns {Promise<CartApplicationModel.CartDetailResponse>} - Success response
|
|
1968
1968
|
* @name selectPaymentMode
|
|
1969
1969
|
* @summary: Select payment mode
|
|
1970
|
-
* @description:
|
|
1970
|
+
* @description: 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://partners.fynd.com/help/docs/sdk/application/cart/selectPaymentMode/).
|
|
1971
1971
|
*/
|
|
1972
1972
|
async selectPaymentMode(
|
|
1973
1973
|
{ body, id, buyNow, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2047,7 +2047,7 @@ class Cart {
|
|
|
2047
2047
|
* @returns {Promise<CartApplicationModel.UpdateAddressResponse>} - Success response
|
|
2048
2048
|
* @name updateAddress
|
|
2049
2049
|
* @summary: Update a address
|
|
2050
|
-
* @description: Customer can modify the details of a previously saved addresses.
|
|
2050
|
+
* @description: Customer can modify the details of a previously saved addresses. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/updateAddress/).
|
|
2051
2051
|
*/
|
|
2052
2052
|
async updateAddress(
|
|
2053
2053
|
{ id, body, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2126,7 +2126,7 @@ class Cart {
|
|
|
2126
2126
|
* Success response
|
|
2127
2127
|
* @name updateCart
|
|
2128
2128
|
* @summary: Update cart items
|
|
2129
|
-
* @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://partners.fynd.com/help/docs/sdk/application/cart/updateCart/).
|
|
2129
|
+
* @description: Update cart. Customers can modify added product attributes such as quantity and size, as well as remove items from the cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/updateCart/).
|
|
2130
2130
|
*/
|
|
2131
2131
|
async updateCart(
|
|
2132
2132
|
{
|
|
@@ -2219,7 +2219,7 @@ class Cart {
|
|
|
2219
2219
|
* @returns {Promise<CartApplicationModel.CartMetaResponse>} - Success response
|
|
2220
2220
|
* @name updateCartMeta
|
|
2221
2221
|
* @summary: Update cart metadata
|
|
2222
|
-
* @description:
|
|
2222
|
+
* @description: Update 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://partners.fynd.com/help/docs/sdk/application/cart/updateCartMeta/).
|
|
2223
2223
|
*/
|
|
2224
2224
|
async updateCartMeta(
|
|
2225
2225
|
{ body, id, buyNow, requestHeaders } = { requestHeaders: {} },
|
|
@@ -2299,7 +2299,7 @@ class Cart {
|
|
|
2299
2299
|
* @returns {Promise<CartApplicationModel.SharedCartResponse>} - Success response
|
|
2300
2300
|
* @name updateCartWithSharedItems
|
|
2301
2301
|
* @summary: Update with shared items
|
|
2302
|
-
* @description:
|
|
2302
|
+
* @description: Merge or replace shared cart items with existing cart. - Check out [method documentation](https://partners.fynd.com/help/docs/sdk/application/cart/updateCartWithSharedItems/).
|
|
2303
2303
|
*/
|
|
2304
2304
|
async updateCartWithSharedItems(
|
|
2305
2305
|
{ token, action, requestHeaders } = { requestHeaders: {} },
|