@gofynd/fdk-client-javascript 0.1.35 → 0.1.37
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/documentation/application/CART.md +272 -249
- package/documentation/application/CATALOG.md +417 -413
- package/documentation/application/COMMON.md +4 -0
- package/documentation/application/COMMUNICATION.md +4 -0
- package/documentation/application/CONFIGURATION.md +4 -0
- package/documentation/application/CONTENT.md +7 -20
- package/documentation/application/FILESTORAGE.md +85 -0
- package/documentation/application/LEAD.md +6 -2
- package/documentation/application/LOGISTIC.md +427 -101
- package/documentation/application/ORDER.md +292 -288
- package/documentation/application/PAYMENT.md +445 -259
- package/documentation/application/POSCART.md +309 -286
- package/documentation/application/README.md +1 -1
- package/documentation/application/REWARDS.md +153 -160
- package/documentation/application/SHARE.md +4 -0
- package/documentation/application/THEME.md +4 -0
- package/documentation/application/USER.md +4 -0
- package/documentation/platform/ANALYTICS.md +4 -0
- package/documentation/platform/AUDITTRAIL.md +6 -2
- package/documentation/platform/BILLING.md +4 -0
- package/documentation/platform/CART.md +476 -459
- package/documentation/platform/CATALOG.md +4138 -2968
- package/documentation/platform/COMMON.md +4 -0
- package/documentation/platform/COMMUNICATION.md +4 -0
- package/documentation/platform/COMPANYPROFILE.md +258 -206
- package/documentation/platform/CONFIGURATION.md +4 -0
- package/documentation/platform/CONTENT.md +8 -21
- package/documentation/platform/DISCOUNT.md +4 -0
- package/documentation/platform/FILESTORAGE.md +85 -0
- package/documentation/platform/INVENTORY.md +4 -0
- package/documentation/platform/LEAD.md +6 -2
- package/documentation/platform/ORDER.md +6298 -1448
- package/documentation/platform/PARTNER.md +12 -8
- package/documentation/platform/PAYMENT.md +107 -103
- package/documentation/platform/README.md +2 -2
- package/documentation/platform/REWARDS.md +219 -152
- package/documentation/platform/SHARE.md +4 -0
- package/documentation/platform/THEME.md +4 -0
- package/documentation/platform/USER.md +4 -0
- package/documentation/platform/WEBHOOK.md +4 -0
- package/documentation/public/CONFIGURATION.md +4 -0
- package/documentation/public/INVENTORY.md +4 -0
- package/documentation/public/WEBHOOK.md +4 -0
- package/package.json +2 -2
- package/sdk/application/ApplicationAPIClient.js +3 -0
- package/sdk/application/ApplicationClient.d.ts +1 -0
- package/sdk/application/ApplicationClient.js +11 -1
- package/sdk/application/ApplicationConfig.d.ts +1 -0
- package/sdk/application/ApplicationConfig.js +1 -0
- package/sdk/application/ApplicationModels.d.ts +94 -85
- package/sdk/application/ApplicationModels.js +1909 -1792
- package/sdk/application/client/CartApplicationClient.d.ts +36 -36
- package/sdk/application/client/CatalogApplicationClient.d.ts +39 -39
- package/sdk/application/client/CatalogApplicationClient.js +16 -16
- package/sdk/application/client/CommonApplicationClient.d.ts +2 -2
- package/sdk/application/client/CommunicationApplicationClient.d.ts +5 -5
- package/sdk/application/client/ConfigurationApplicationClient.d.ts +17 -17
- package/sdk/application/client/ContentApplicationClient.d.ts +19 -19
- package/sdk/application/client/FileStorageApplicationClient.d.ts +14 -6
- package/sdk/application/client/FileStorageApplicationClient.js +2 -0
- package/sdk/application/client/LeadApplicationClient.d.ts +10 -10
- package/sdk/application/client/LogisticApplicationClient.d.ts +32 -21
- package/sdk/application/client/LogisticApplicationClient.js +62 -27
- package/sdk/application/client/OrderApplicationClient.d.ts +15 -15
- package/sdk/application/client/OrderApplicationClient.js +1 -1
- package/sdk/application/client/PaymentApplicationClient.d.ts +79 -57
- package/sdk/application/client/PaymentApplicationClient.js +66 -0
- package/sdk/application/client/PosCartApplicationClient.d.ts +38 -38
- package/sdk/application/client/RewardsApplicationClient.d.ts +34 -34
- package/sdk/application/client/RewardsApplicationClient.js +77 -77
- package/sdk/application/client/ShareApplicationClient.d.ts +8 -8
- package/sdk/application/client/ThemeApplicationClient.d.ts +4 -4
- package/sdk/application/client/UserApplicationClient.d.ts +63 -63
- package/sdk/application/models/CatalogValidator.d.ts +1 -1
- package/sdk/application/models/CatalogValidator.js +2 -2
- package/sdk/application/models/LogisticValidator.d.ts +2 -1
- package/sdk/application/models/LogisticValidator.js +11 -6
- package/sdk/application/models/PaymentValidator.d.ts +2 -0
- package/sdk/application/models/PaymentValidator.js +12 -0
- package/sdk/application/models/RewardsValidator.d.ts +3 -3
- package/sdk/application/models/RewardsValidator.js +12 -12
- package/sdk/common/AxiosHelper.js +1 -1
- package/sdk/common/Constant.d.ts +9 -0
- package/sdk/common/Constant.js +11 -0
- package/sdk/platform/PlatformApplicationClient.d.ts +7962 -6505
- package/sdk/platform/PlatformApplicationClient.js +4377 -3635
- package/sdk/platform/PlatformApplicationModels.d.ts +26 -31
- package/sdk/platform/PlatformApplicationModels.js +5530 -4134
- package/sdk/platform/PlatformClient.d.ts +3495 -2780
- package/sdk/platform/PlatformClient.js +3985 -3108
- package/sdk/platform/PlatformModels.d.ts +354 -273
- package/sdk/platform/PlatformModels.js +5635 -4211
- package/sdk/platform/client/AnalyticsPlatformClient.d.ts +5 -5
- package/sdk/platform/client/AuditTrailPlatformClient.d.ts +1 -1
- package/sdk/platform/client/BillingPlatformClient.d.ts +4 -4
- package/sdk/platform/client/CatalogPlatformClient.d.ts +222 -154
- package/sdk/platform/client/CatalogPlatformClient.js +473 -295
- package/sdk/platform/client/CompanyProfilePlatformClient.d.ts +8 -8
- package/sdk/platform/client/ConfigurationPlatformClient.d.ts +9 -9
- package/sdk/platform/client/DiscountPlatformClient.d.ts +4 -4
- package/sdk/platform/client/FileStoragePlatformClient.d.ts +20 -4
- package/sdk/platform/client/FileStoragePlatformClient.js +49 -0
- package/sdk/platform/client/InventoryPlatformClient.d.ts +3 -3
- package/sdk/platform/client/LeadPlatformClient.d.ts +6 -6
- package/sdk/platform/client/OrderPlatformClient.d.ts +557 -131
- package/sdk/platform/client/OrderPlatformClient.js +1551 -247
- package/sdk/platform/client/PaymentPlatformClient.d.ts +4 -4
- package/sdk/platform/client/WebhookPlatformClient.d.ts +2 -2
- package/sdk/platform/models/CatalogValidator.d.ts +26 -22
- package/sdk/platform/models/CatalogValidator.js +109 -72
- package/sdk/platform/models/OrderValidator.d.ts +43 -11
- package/sdk/platform/models/OrderValidator.js +312 -51
- package/sdk/public/client/ConfigurationPublicClient.d.ts +2 -2
- package/sdk/public/client/InventoryPublicClient.d.ts +7 -7
- package/sdk/public/client/WebhookPublicClient.d.ts +3 -3
- package/tests/common/schema/action-url.json +15 -0
- package/tests/common/schema/url-action.json +16 -0
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
|
|
5
6
|
##### [Back to Application docs](./README.md)
|
|
6
7
|
|
|
7
8
|
## PosCart Methods
|
|
8
9
|
Cart APIs
|
|
10
|
+
|
|
9
11
|
* [getCart](#getcart)
|
|
10
12
|
* [getCartLastModified](#getcartlastmodified)
|
|
11
13
|
* [addItems](#additems)
|
|
@@ -39,6 +41,8 @@ Cart APIs
|
|
|
39
41
|
## Methods with example and description
|
|
40
42
|
|
|
41
43
|
|
|
44
|
+
|
|
45
|
+
|
|
42
46
|
### getCart
|
|
43
47
|
Fetch all items added to the cart
|
|
44
48
|
|
|
@@ -2880,6 +2884,8 @@ Success. Returns an Address object containing a list of address saved in the acc
|
|
|
2880
2884
|
"meta": {},
|
|
2881
2885
|
"user_id": "8b526f521bb14a2593a8b9e3ce8c76b3",
|
|
2882
2886
|
"country_code": "IND",
|
|
2887
|
+
"country_phone_code": "91",
|
|
2888
|
+
"country_iso_code": "IND",
|
|
2883
2889
|
"phone": 9915347757,
|
|
2884
2890
|
"geo_location": {},
|
|
2885
2891
|
"country": "India",
|
|
@@ -3040,6 +3046,8 @@ Success. Returns an Address object containing a list of address saved in the acc
|
|
|
3040
3046
|
"meta": {},
|
|
3041
3047
|
"user_id": "8b526f521bb14a2593a8b9e3ce8c76b3",
|
|
3042
3048
|
"country_code": "IND",
|
|
3049
|
+
"country_phone_code": "91",
|
|
3050
|
+
"country_iso_code": "IND",
|
|
3043
3051
|
"phone": 9915347757,
|
|
3044
3052
|
"geo_location": {},
|
|
3045
3053
|
"country": "India",
|
|
@@ -6748,118 +6756,115 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
6748
6756
|
|
|
6749
6757
|
|
|
6750
6758
|
|
|
6751
|
-
#### [
|
|
6759
|
+
#### [PromiseTimestamp](#PromiseTimestamp)
|
|
6752
6760
|
|
|
6753
6761
|
| Properties | Type | Nullable | Description |
|
|
6754
6762
|
| ---------- | ---- | -------- | ----------- |
|
|
6755
|
-
|
|
|
6756
|
-
|
|
|
6757
|
-
| currency_symbol | string | no | |
|
|
6758
|
-
| marked | number | no | |
|
|
6759
|
-
| currency_code | string | no | |
|
|
6760
|
-
| add_on | number | no | |
|
|
6763
|
+
| max | number | no | |
|
|
6764
|
+
| min | number | no | |
|
|
6761
6765
|
|
|
6762
6766
|
---
|
|
6763
6767
|
|
|
6764
6768
|
|
|
6765
6769
|
|
|
6766
6770
|
|
|
6767
|
-
#### [
|
|
6771
|
+
#### [PromiseFormatted](#PromiseFormatted)
|
|
6768
6772
|
|
|
6769
6773
|
| Properties | Type | Nullable | Description |
|
|
6770
6774
|
| ---------- | ---- | -------- | ----------- |
|
|
6771
|
-
|
|
|
6772
|
-
|
|
|
6775
|
+
| max | string | no | |
|
|
6776
|
+
| min | string | no | |
|
|
6773
6777
|
|
|
6774
6778
|
---
|
|
6775
6779
|
|
|
6776
6780
|
|
|
6777
6781
|
|
|
6778
6782
|
|
|
6779
|
-
#### [
|
|
6783
|
+
#### [ShipmentPromise](#ShipmentPromise)
|
|
6780
6784
|
|
|
6781
6785
|
| Properties | Type | Nullable | Description |
|
|
6782
6786
|
| ---------- | ---- | -------- | ----------- |
|
|
6783
|
-
|
|
|
6784
|
-
|
|
|
6785
|
-
| mrp_promotion | boolean | no | If applied promotion is applied on product MRP or ESP |
|
|
6786
|
-
| amount | number | no | Per unit discount amount applied with current promotion |
|
|
6787
|
-
| offer_text | string | no | Offer text of current promotion |
|
|
6788
|
-
| article_quantity | number | no | Quantity of article on which promotion is applicable |
|
|
6787
|
+
| timestamp | [PromiseTimestamp](#PromiseTimestamp) | no | |
|
|
6788
|
+
| formatted | [PromiseFormatted](#PromiseFormatted) | no | |
|
|
6789
6789
|
|
|
6790
6790
|
---
|
|
6791
6791
|
|
|
6792
6792
|
|
|
6793
6793
|
|
|
6794
6794
|
|
|
6795
|
-
#### [
|
|
6795
|
+
#### [CartCurrency](#CartCurrency)
|
|
6796
6796
|
|
|
6797
6797
|
| Properties | Type | Nullable | Description |
|
|
6798
6798
|
| ---------- | ---- | -------- | ----------- |
|
|
6799
|
-
|
|
|
6799
|
+
| symbol | string | no | |
|
|
6800
|
+
| code | string | no | Currency code defined by ISO 4217:2015 |
|
|
6800
6801
|
|
|
6801
6802
|
---
|
|
6802
6803
|
|
|
6803
6804
|
|
|
6804
6805
|
|
|
6805
6806
|
|
|
6806
|
-
#### [
|
|
6807
|
+
#### [PaymentSelectionLock](#PaymentSelectionLock)
|
|
6807
6808
|
|
|
6808
6809
|
| Properties | Type | Nullable | Description |
|
|
6809
6810
|
| ---------- | ---- | -------- | ----------- |
|
|
6810
|
-
|
|
|
6811
|
-
|
|
|
6812
|
-
|
|
|
6813
|
-
| other_store_quantity | number | no | |
|
|
6814
|
-
| is_valid | boolean | no | |
|
|
6811
|
+
| default_options | string | no | |
|
|
6812
|
+
| enabled | boolean | no | |
|
|
6813
|
+
| payment_identifier | string | no | |
|
|
6815
6814
|
|
|
6816
6815
|
---
|
|
6817
6816
|
|
|
6818
6817
|
|
|
6819
6818
|
|
|
6820
6819
|
|
|
6821
|
-
#### [
|
|
6820
|
+
#### [ProductPrice](#ProductPrice)
|
|
6822
6821
|
|
|
6823
6822
|
| Properties | Type | Nullable | Description |
|
|
6824
6823
|
| ---------- | ---- | -------- | ----------- |
|
|
6825
|
-
|
|
|
6824
|
+
| effective | number | no | |
|
|
6825
|
+
| currency_code | string | no | |
|
|
6826
|
+
| marked | number | no | |
|
|
6827
|
+
| selling | number | no | |
|
|
6828
|
+
| currency_symbol | string | no | |
|
|
6829
|
+
| add_on | number | no | |
|
|
6826
6830
|
|
|
6827
6831
|
---
|
|
6828
6832
|
|
|
6829
6833
|
|
|
6830
6834
|
|
|
6831
6835
|
|
|
6832
|
-
#### [
|
|
6836
|
+
#### [ProductPriceInfo](#ProductPriceInfo)
|
|
6833
6837
|
|
|
6834
6838
|
| Properties | Type | Nullable | Description |
|
|
6835
6839
|
| ---------- | ---- | -------- | ----------- |
|
|
6836
|
-
|
|
|
6840
|
+
| base | [ProductPrice](#ProductPrice) | no | |
|
|
6841
|
+
| converted | [ProductPrice](#ProductPrice) | no | |
|
|
6837
6842
|
|
|
6838
6843
|
---
|
|
6839
6844
|
|
|
6840
6845
|
|
|
6841
6846
|
|
|
6842
6847
|
|
|
6843
|
-
#### [
|
|
6848
|
+
#### [BasePrice](#BasePrice)
|
|
6844
6849
|
|
|
6845
6850
|
| Properties | Type | Nullable | Description |
|
|
6846
6851
|
| ---------- | ---- | -------- | ----------- |
|
|
6847
|
-
|
|
|
6848
|
-
|
|
|
6849
|
-
|
|
|
6852
|
+
| effective | number | no | |
|
|
6853
|
+
| currency_code | string | no | |
|
|
6854
|
+
| currency_symbol | string | no | |
|
|
6855
|
+
| marked | number | no | |
|
|
6850
6856
|
|
|
6851
6857
|
---
|
|
6852
6858
|
|
|
6853
6859
|
|
|
6854
6860
|
|
|
6855
6861
|
|
|
6856
|
-
#### [
|
|
6862
|
+
#### [ArticlePriceInfo](#ArticlePriceInfo)
|
|
6857
6863
|
|
|
6858
6864
|
| Properties | Type | Nullable | Description |
|
|
6859
6865
|
| ---------- | ---- | -------- | ----------- |
|
|
6860
|
-
|
|
|
6861
|
-
|
|
|
6862
|
-
| url | string | no | |
|
|
6866
|
+
| base | [BasePrice](#BasePrice) | no | |
|
|
6867
|
+
| converted | [BasePrice](#BasePrice) | no | |
|
|
6863
6868
|
|
|
6864
6869
|
---
|
|
6865
6870
|
|
|
@@ -6878,245 +6883,261 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
6878
6883
|
|
|
6879
6884
|
|
|
6880
6885
|
|
|
6881
|
-
#### [
|
|
6886
|
+
#### [ProductArticle](#ProductArticle)
|
|
6882
6887
|
|
|
6883
6888
|
| Properties | Type | Nullable | Description |
|
|
6884
6889
|
| ---------- | ---- | -------- | ----------- |
|
|
6885
|
-
|
|
|
6886
|
-
|
|
|
6890
|
+
| price | [ArticlePriceInfo](#ArticlePriceInfo) | no | |
|
|
6891
|
+
| size | string | no | |
|
|
6892
|
+
| quantity | number | no | |
|
|
6893
|
+
| uid | string | no | |
|
|
6894
|
+
| extra_meta | string | no | |
|
|
6895
|
+
| product_group_tags | [string] | no | |
|
|
6896
|
+
| seller | [BaseInfo](#BaseInfo) | no | |
|
|
6897
|
+
| parent_item_identifiers | string | no | |
|
|
6898
|
+
| store | [BaseInfo](#BaseInfo) | no | |
|
|
6899
|
+
| type | string | no | |
|
|
6887
6900
|
|
|
6888
6901
|
---
|
|
6889
6902
|
|
|
6890
6903
|
|
|
6891
6904
|
|
|
6892
6905
|
|
|
6893
|
-
#### [
|
|
6906
|
+
#### [Ownership](#Ownership)
|
|
6894
6907
|
|
|
6895
6908
|
| Properties | Type | Nullable | Description |
|
|
6896
6909
|
| ---------- | ---- | -------- | ----------- |
|
|
6897
|
-
|
|
|
6898
|
-
|
|
|
6899
|
-
| images | [[ProductImage](#ProductImage)] | no | |
|
|
6900
|
-
| name | string | no | |
|
|
6901
|
-
| uid | number | no | |
|
|
6902
|
-
| type | string | no | |
|
|
6903
|
-
| brand | [BaseInfo](#BaseInfo) | no | |
|
|
6904
|
-
| categories | [[CategoryInfo](#CategoryInfo)] | no | |
|
|
6910
|
+
| payable_category | string | no | promo amount payable category |
|
|
6911
|
+
| payable_by | string | no | promo amount bearable party |
|
|
6905
6912
|
|
|
6906
6913
|
---
|
|
6907
6914
|
|
|
6908
6915
|
|
|
6909
6916
|
|
|
6910
6917
|
|
|
6911
|
-
#### [
|
|
6918
|
+
#### [AppliedPromotion](#AppliedPromotion)
|
|
6912
6919
|
|
|
6913
6920
|
| Properties | Type | Nullable | Description |
|
|
6914
6921
|
| ---------- | ---- | -------- | ----------- |
|
|
6915
|
-
|
|
|
6916
|
-
|
|
|
6917
|
-
|
|
|
6918
|
-
|
|
|
6922
|
+
| promotion_type | string | no | Promotion type of current promotion |
|
|
6923
|
+
| mrp_promotion | boolean | no | If applied promotion is applied on product MRP or ESP |
|
|
6924
|
+
| article_quantity | number | no | Quantity of article on which promotion is applicable |
|
|
6925
|
+
| ownership | [Ownership](#Ownership) | no | Ownership of promotion |
|
|
6926
|
+
| promo_id | string | no | Promotion id |
|
|
6927
|
+
| offer_text | string | no | Offer text of current promotion |
|
|
6928
|
+
| amount | number | no | Per unit discount amount applied with current promotion |
|
|
6919
6929
|
|
|
6920
6930
|
---
|
|
6921
6931
|
|
|
6922
6932
|
|
|
6923
6933
|
|
|
6924
6934
|
|
|
6925
|
-
#### [
|
|
6935
|
+
#### [ProductImage](#ProductImage)
|
|
6926
6936
|
|
|
6927
6937
|
| Properties | Type | Nullable | Description |
|
|
6928
6938
|
| ---------- | ---- | -------- | ----------- |
|
|
6929
|
-
|
|
|
6930
|
-
|
|
|
6939
|
+
| aspect_ratio | string | no | |
|
|
6940
|
+
| secure_url | string | no | |
|
|
6941
|
+
| url | string | no | |
|
|
6931
6942
|
|
|
6932
6943
|
---
|
|
6933
6944
|
|
|
6934
6945
|
|
|
6935
6946
|
|
|
6936
6947
|
|
|
6937
|
-
#### [
|
|
6948
|
+
#### [CategoryInfo](#CategoryInfo)
|
|
6938
6949
|
|
|
6939
6950
|
| Properties | Type | Nullable | Description |
|
|
6940
6951
|
| ---------- | ---- | -------- | ----------- |
|
|
6941
|
-
|
|
|
6942
|
-
|
|
|
6943
|
-
| size | string | no | |
|
|
6944
|
-
| quantity | number | no | |
|
|
6945
|
-
| parent_item_identifiers | string | no | |
|
|
6946
|
-
| extra_meta | string | no | |
|
|
6947
|
-
| uid | string | no | |
|
|
6948
|
-
| type | string | no | |
|
|
6949
|
-
| store | [BaseInfo](#BaseInfo) | no | |
|
|
6950
|
-
| product_group_tags | [string] | no | |
|
|
6952
|
+
| name | string | no | |
|
|
6953
|
+
| uid | number | no | Product Category Id |
|
|
6951
6954
|
|
|
6952
6955
|
---
|
|
6953
6956
|
|
|
6954
6957
|
|
|
6955
6958
|
|
|
6956
6959
|
|
|
6957
|
-
#### [
|
|
6960
|
+
#### [ActionQuery](#ActionQuery)
|
|
6958
6961
|
|
|
6959
6962
|
| Properties | Type | Nullable | Description |
|
|
6960
6963
|
| ---------- | ---- | -------- | ----------- |
|
|
6961
|
-
|
|
|
6962
|
-
| message | string | no | |
|
|
6963
|
-
| coupon_message | string | no | |
|
|
6964
|
-
| promotions_applied | [[AppliedPromotion](#AppliedPromotion)] | no | |
|
|
6965
|
-
| identifiers | [CartProductIdentifer](#CartProductIdentifer) | yes | |
|
|
6966
|
-
| discount | string | no | |
|
|
6967
|
-
| is_set | boolean | no | |
|
|
6968
|
-
| quantity | number | no | |
|
|
6969
|
-
| availability | [ProductAvailability](#ProductAvailability) | no | |
|
|
6970
|
-
| key | string | no | |
|
|
6971
|
-
| parent_item_identifiers | string | no | |
|
|
6972
|
-
| price_per_unit | [ProductPriceInfo](#ProductPriceInfo) | no | |
|
|
6973
|
-
| bulk_offer | string | no | |
|
|
6974
|
-
| promo_meta | [PromoMeta](#PromoMeta) | no | |
|
|
6975
|
-
| product | [CartProduct](#CartProduct) | no | |
|
|
6976
|
-
| article | [ProductArticle](#ProductArticle) | no | |
|
|
6964
|
+
| product_slug | [string] | no | Contains list of product slug |
|
|
6977
6965
|
|
|
6978
6966
|
---
|
|
6979
6967
|
|
|
6980
6968
|
|
|
6981
6969
|
|
|
6982
6970
|
|
|
6983
|
-
#### [
|
|
6971
|
+
#### [ProductAction](#ProductAction)
|
|
6984
6972
|
|
|
6985
6973
|
| Properties | Type | Nullable | Description |
|
|
6986
6974
|
| ---------- | ---- | -------- | ----------- |
|
|
6987
|
-
|
|
|
6988
|
-
|
|
|
6989
|
-
| is_applied | boolean | no | |
|
|
6990
|
-
| uid | string | no | |
|
|
6975
|
+
| url | string | no | |
|
|
6976
|
+
| query | [ActionQuery](#ActionQuery) | no | |
|
|
6991
6977
|
| type | string | no | |
|
|
6992
|
-
| value | number | no | |
|
|
6993
6978
|
|
|
6994
6979
|
---
|
|
6995
6980
|
|
|
6996
6981
|
|
|
6997
6982
|
|
|
6998
6983
|
|
|
6999
|
-
#### [
|
|
6984
|
+
#### [CartProduct](#CartProduct)
|
|
7000
6985
|
|
|
7001
6986
|
| Properties | Type | Nullable | Description |
|
|
7002
6987
|
| ---------- | ---- | -------- | ----------- |
|
|
7003
|
-
|
|
|
7004
|
-
|
|
|
7005
|
-
|
|
|
7006
|
-
|
|
|
7007
|
-
|
|
|
7008
|
-
|
|
|
7009
|
-
|
|
|
7010
|
-
|
|
|
7011
|
-
| coupon | number | no | |
|
|
7012
|
-
| convenience_fee | number | no | |
|
|
7013
|
-
| vog | number | no | |
|
|
7014
|
-
| cod_charge | number | no | |
|
|
6988
|
+
| name | string | no | |
|
|
6989
|
+
| images | [[ProductImage](#ProductImage)] | no | |
|
|
6990
|
+
| slug | string | no | Unique product url name generated via product name and other meta data |
|
|
6991
|
+
| brand | [BaseInfo](#BaseInfo) | no | |
|
|
6992
|
+
| uid | number | no | |
|
|
6993
|
+
| categories | [[CategoryInfo](#CategoryInfo)] | no | |
|
|
6994
|
+
| action | [ProductAction](#ProductAction) | no | |
|
|
6995
|
+
| type | string | no | |
|
|
7015
6996
|
|
|
7016
6997
|
---
|
|
7017
6998
|
|
|
7018
6999
|
|
|
7019
7000
|
|
|
7020
7001
|
|
|
7021
|
-
#### [
|
|
7002
|
+
#### [CartProductIdentifer](#CartProductIdentifer)
|
|
7022
7003
|
|
|
7023
7004
|
| Properties | Type | Nullable | Description |
|
|
7024
7005
|
| ---------- | ---- | -------- | ----------- |
|
|
7025
|
-
|
|
|
7026
|
-
| is_applied | boolean | no | |
|
|
7027
|
-
| description | string | no | |
|
|
7028
|
-
| applicable | number | no | |
|
|
7006
|
+
| identifier | string | no | Article idenfier generated by cart |
|
|
7029
7007
|
|
|
7030
7008
|
---
|
|
7031
7009
|
|
|
7032
7010
|
|
|
7033
7011
|
|
|
7034
7012
|
|
|
7035
|
-
#### [
|
|
7013
|
+
#### [PromoMeta](#PromoMeta)
|
|
7036
7014
|
|
|
7037
7015
|
| Properties | Type | Nullable | Description |
|
|
7038
7016
|
| ---------- | ---- | -------- | ----------- |
|
|
7039
|
-
| message |
|
|
7040
|
-
| key | string | no | |
|
|
7041
|
-
| currency_symbol | string | no | |
|
|
7042
|
-
| currency_code | string | no | |
|
|
7043
|
-
| value | number | no | |
|
|
7044
|
-
| display | string | no | |
|
|
7017
|
+
| message | string | no | |
|
|
7045
7018
|
|
|
7046
7019
|
---
|
|
7047
7020
|
|
|
7048
7021
|
|
|
7049
7022
|
|
|
7050
7023
|
|
|
7051
|
-
#### [
|
|
7024
|
+
#### [ProductAvailability](#ProductAvailability)
|
|
7052
7025
|
|
|
7053
7026
|
| Properties | Type | Nullable | Description |
|
|
7054
7027
|
| ---------- | ---- | -------- | ----------- |
|
|
7055
|
-
|
|
|
7056
|
-
|
|
|
7057
|
-
|
|
|
7058
|
-
|
|
|
7028
|
+
| deliverable | boolean | no | |
|
|
7029
|
+
| sizes | [string] | no | |
|
|
7030
|
+
| is_valid | boolean | no | |
|
|
7031
|
+
| other_store_quantity | number | no | |
|
|
7032
|
+
| out_of_stock | boolean | no | |
|
|
7059
7033
|
|
|
7060
7034
|
---
|
|
7061
7035
|
|
|
7062
7036
|
|
|
7063
7037
|
|
|
7064
7038
|
|
|
7065
|
-
#### [
|
|
7039
|
+
#### [CartProductInfo](#CartProductInfo)
|
|
7066
7040
|
|
|
7067
7041
|
| Properties | Type | Nullable | Description |
|
|
7068
7042
|
| ---------- | ---- | -------- | ----------- |
|
|
7069
|
-
|
|
|
7070
|
-
|
|
|
7071
|
-
|
|
|
7043
|
+
| price | [ProductPriceInfo](#ProductPriceInfo) | no | |
|
|
7044
|
+
| article | [ProductArticle](#ProductArticle) | no | |
|
|
7045
|
+
| coupon_message | string | no | |
|
|
7046
|
+
| quantity | number | no | |
|
|
7047
|
+
| price_per_unit | [ProductPriceInfo](#ProductPriceInfo) | no | |
|
|
7048
|
+
| promotions_applied | [[AppliedPromotion](#AppliedPromotion)] | no | |
|
|
7049
|
+
| product | [CartProduct](#CartProduct) | no | |
|
|
7050
|
+
| discount | string | no | |
|
|
7051
|
+
| identifiers | [CartProductIdentifer](#CartProductIdentifer) | yes | |
|
|
7052
|
+
| bulk_offer | string | no | |
|
|
7053
|
+
| is_set | boolean | no | |
|
|
7054
|
+
| key | string | no | |
|
|
7055
|
+
| message | string | no | |
|
|
7056
|
+
| parent_item_identifiers | string | no | |
|
|
7057
|
+
| promo_meta | [PromoMeta](#PromoMeta) | no | |
|
|
7058
|
+
| availability | [ProductAvailability](#ProductAvailability) | no | |
|
|
7072
7059
|
|
|
7073
7060
|
---
|
|
7074
7061
|
|
|
7075
7062
|
|
|
7076
7063
|
|
|
7077
7064
|
|
|
7078
|
-
#### [
|
|
7065
|
+
#### [RawBreakup](#RawBreakup)
|
|
7079
7066
|
|
|
7080
7067
|
| Properties | Type | Nullable | Description |
|
|
7081
7068
|
| ---------- | ---- | -------- | ----------- |
|
|
7082
|
-
|
|
|
7083
|
-
|
|
|
7069
|
+
| subtotal | number | no | |
|
|
7070
|
+
| gst_charges | number | no | |
|
|
7071
|
+
| delivery_charge | number | no | |
|
|
7072
|
+
| convenience_fee | number | no | |
|
|
7073
|
+
| coupon | number | no | |
|
|
7074
|
+
| vog | number | no | |
|
|
7075
|
+
| discount | number | no | |
|
|
7076
|
+
| total | number | no | |
|
|
7077
|
+
| fynd_cash | number | no | |
|
|
7078
|
+
| mrp_total | number | no | |
|
|
7079
|
+
| cod_charge | number | no | |
|
|
7080
|
+
| you_saved | number | no | |
|
|
7084
7081
|
|
|
7085
7082
|
---
|
|
7086
7083
|
|
|
7087
7084
|
|
|
7088
7085
|
|
|
7089
7086
|
|
|
7090
|
-
#### [
|
|
7087
|
+
#### [CouponBreakup](#CouponBreakup)
|
|
7091
7088
|
|
|
7092
7089
|
| Properties | Type | Nullable | Description |
|
|
7093
7090
|
| ---------- | ---- | -------- | ----------- |
|
|
7094
|
-
|
|
|
7095
|
-
|
|
|
7091
|
+
| code | string | no | |
|
|
7092
|
+
| uid | string | no | |
|
|
7093
|
+
| message | string | no | |
|
|
7094
|
+
| value | number | no | |
|
|
7095
|
+
| is_applied | boolean | no | |
|
|
7096
|
+
| type | string | no | |
|
|
7096
7097
|
|
|
7097
7098
|
---
|
|
7098
7099
|
|
|
7099
7100
|
|
|
7100
7101
|
|
|
7101
7102
|
|
|
7102
|
-
#### [
|
|
7103
|
+
#### [DisplayBreakup](#DisplayBreakup)
|
|
7103
7104
|
|
|
7104
7105
|
| Properties | Type | Nullable | Description |
|
|
7105
7106
|
| ---------- | ---- | -------- | ----------- |
|
|
7106
|
-
|
|
|
7107
|
-
|
|
|
7107
|
+
| currency_code | string | no | |
|
|
7108
|
+
| message | [string] | no | |
|
|
7109
|
+
| display | string | no | |
|
|
7110
|
+
| currency_symbol | string | no | |
|
|
7111
|
+
| key | string | no | |
|
|
7112
|
+
| value | number | no | |
|
|
7108
7113
|
|
|
7109
7114
|
---
|
|
7110
7115
|
|
|
7111
7116
|
|
|
7112
7117
|
|
|
7113
7118
|
|
|
7114
|
-
#### [
|
|
7119
|
+
#### [LoyaltyPoints](#LoyaltyPoints)
|
|
7115
7120
|
|
|
7116
7121
|
| Properties | Type | Nullable | Description |
|
|
7117
7122
|
| ---------- | ---- | -------- | ----------- |
|
|
7118
|
-
|
|
|
7119
|
-
|
|
|
7123
|
+
| description | string | no | |
|
|
7124
|
+
| applicable | number | no | |
|
|
7125
|
+
| total | number | no | |
|
|
7126
|
+
| is_applied | boolean | no | |
|
|
7127
|
+
|
|
7128
|
+
---
|
|
7129
|
+
|
|
7130
|
+
|
|
7131
|
+
|
|
7132
|
+
|
|
7133
|
+
#### [CartBreakup](#CartBreakup)
|
|
7134
|
+
|
|
7135
|
+
| Properties | Type | Nullable | Description |
|
|
7136
|
+
| ---------- | ---- | -------- | ----------- |
|
|
7137
|
+
| raw | [RawBreakup](#RawBreakup) | no | |
|
|
7138
|
+
| coupon | [CouponBreakup](#CouponBreakup) | no | |
|
|
7139
|
+
| display | [[DisplayBreakup](#DisplayBreakup)] | no | |
|
|
7140
|
+
| loyalty_points | [LoyaltyPoints](#LoyaltyPoints) | no | |
|
|
7120
7141
|
|
|
7121
7142
|
---
|
|
7122
7143
|
|
|
@@ -7127,22 +7148,22 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7127
7148
|
|
|
7128
7149
|
| Properties | Type | Nullable | Description |
|
|
7129
7150
|
| ---------- | ---- | -------- | ----------- |
|
|
7151
|
+
| delivery_promise | [ShipmentPromise](#ShipmentPromise) | no | |
|
|
7152
|
+
| last_modified | string | no | |
|
|
7153
|
+
| currency | [CartCurrency](#CartCurrency) | no | |
|
|
7130
7154
|
| message | string | no | |
|
|
7131
|
-
|
|
|
7132
|
-
|
|
|
7133
|
-
| breakup_values | [CartBreakup](#CartBreakup) | no | |
|
|
7134
|
-
| is_valid | boolean | no | |
|
|
7135
|
-
| payment_selection_lock | [PaymentSelectionLock](#PaymentSelectionLock) | no | |
|
|
7155
|
+
| buy_now | boolean | no | |
|
|
7156
|
+
| id | string | no | |
|
|
7136
7157
|
| comment | string | no | |
|
|
7137
|
-
| checkout_mode | string | no | |
|
|
7138
7158
|
| gstin | string | no | |
|
|
7139
|
-
|
|
|
7140
|
-
|
|
|
7141
|
-
| delivery_promise | [ShipmentPromise](#ShipmentPromise) | no | |
|
|
7142
|
-
| buy_now | boolean | no | |
|
|
7143
|
-
| currency | [CartCurrency](#CartCurrency) | no | |
|
|
7159
|
+
| is_valid | boolean | no | |
|
|
7160
|
+
| payment_selection_lock | [PaymentSelectionLock](#PaymentSelectionLock) | no | |
|
|
7144
7161
|
| coupon_text | string | no | |
|
|
7145
7162
|
| delivery_charge_info | string | no | |
|
|
7163
|
+
| items | [[CartProductInfo](#CartProductInfo)] | no | |
|
|
7164
|
+
| checkout_mode | string | no | |
|
|
7165
|
+
| breakup_values | [CartBreakup](#CartBreakup) | no | |
|
|
7166
|
+
| restrict_checkout | boolean | no | |
|
|
7146
7167
|
|
|
7147
7168
|
---
|
|
7148
7169
|
|
|
@@ -7153,18 +7174,18 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7153
7174
|
|
|
7154
7175
|
| Properties | Type | Nullable | Description |
|
|
7155
7176
|
| ---------- | ---- | -------- | ----------- |
|
|
7156
|
-
| article_assignment | string | no | |
|
|
7157
7177
|
| pos | boolean | no | |
|
|
7158
|
-
|
|
|
7178
|
+
| store_id | number | no | |
|
|
7179
|
+
| article_id | string | no | |
|
|
7159
7180
|
| quantity | number | no | |
|
|
7160
|
-
| extra_meta | string | no | |
|
|
7161
7181
|
| seller_id | number | no | |
|
|
7162
|
-
| item_id | number | no | |
|
|
7163
|
-
| item_size | string | no | |
|
|
7164
|
-
| article_id | string | no | |
|
|
7165
|
-
| store_id | number | no | |
|
|
7166
|
-
| product_group_tags | [string] | no | |
|
|
7167
7182
|
| display | string | no | |
|
|
7183
|
+
| extra_meta | string | no | |
|
|
7184
|
+
| product_group_tags | [string] | no | |
|
|
7185
|
+
| article_assignment | string | no | |
|
|
7186
|
+
| parent_item_identifiers | string | no | |
|
|
7187
|
+
| item_size | string | no | |
|
|
7188
|
+
| item_id | number | no | |
|
|
7168
7189
|
|
|
7169
7190
|
---
|
|
7170
7191
|
|
|
@@ -7187,9 +7208,9 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7187
7208
|
| Properties | Type | Nullable | Description |
|
|
7188
7209
|
| ---------- | ---- | -------- | ----------- |
|
|
7189
7210
|
| cart | [CartDetailResponse](#CartDetailResponse) | no | |
|
|
7211
|
+
| success | boolean | no | True if all items are added successfully. False if partially added or not added. |
|
|
7190
7212
|
| partial | boolean | no | When adding multiple items check if all added. True if only few are added. |
|
|
7191
7213
|
| message | string | no | |
|
|
7192
|
-
| success | boolean | no | True if all items are added successfully. False if partially added or not added. |
|
|
7193
7214
|
|
|
7194
7215
|
---
|
|
7195
7216
|
|
|
@@ -7200,14 +7221,14 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7200
7221
|
|
|
7201
7222
|
| Properties | Type | Nullable | Description |
|
|
7202
7223
|
| ---------- | ---- | -------- | ----------- |
|
|
7224
|
+
| article_id | string | no | |
|
|
7225
|
+
| quantity | number | no | |
|
|
7203
7226
|
| item_index | number | no | |
|
|
7227
|
+
| extra_meta | string | no | |
|
|
7204
7228
|
| identifiers | [CartProductIdentifer](#CartProductIdentifer) | yes | |
|
|
7205
|
-
| quantity | number | no | |
|
|
7206
7229
|
| parent_item_identifiers | string | no | |
|
|
7207
|
-
| item_id | number | no | |
|
|
7208
7230
|
| item_size | string | no | |
|
|
7209
|
-
|
|
|
7210
|
-
| extra_meta | string | no | |
|
|
7231
|
+
| item_id | number | no | |
|
|
7211
7232
|
|
|
7212
7233
|
---
|
|
7213
7234
|
|
|
@@ -7218,8 +7239,8 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7218
7239
|
|
|
7219
7240
|
| Properties | Type | Nullable | Description |
|
|
7220
7241
|
| ---------- | ---- | -------- | ----------- |
|
|
7221
|
-
| operation | string | yes | |
|
|
7222
7242
|
| items | [[UpdateProductCart](#UpdateProductCart)] | no | |
|
|
7243
|
+
| operation | string | yes | |
|
|
7223
7244
|
|
|
7224
7245
|
---
|
|
7225
7246
|
|
|
@@ -7231,8 +7252,8 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7231
7252
|
| Properties | Type | Nullable | Description |
|
|
7232
7253
|
| ---------- | ---- | -------- | ----------- |
|
|
7233
7254
|
| cart | [CartDetailResponse](#CartDetailResponse) | no | |
|
|
7234
|
-
| message | string | no | |
|
|
7235
7255
|
| success | boolean | no | True if all items are added successfully. False if partially added or not added. |
|
|
7256
|
+
| message | string | no | |
|
|
7236
7257
|
|
|
7237
7258
|
---
|
|
7238
7259
|
|
|
@@ -7254,16 +7275,16 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7254
7275
|
|
|
7255
7276
|
| Properties | Type | Nullable | Description |
|
|
7256
7277
|
| ---------- | ---- | -------- | ----------- |
|
|
7278
|
+
| coupon_code | string | no | |
|
|
7279
|
+
| is_applicable | boolean | no | |
|
|
7257
7280
|
| minimum_cart_value | number | no | |
|
|
7281
|
+
| coupon_value | number | no | |
|
|
7258
7282
|
| sub_title | string | no | |
|
|
7259
|
-
| message | string | no | |
|
|
7260
|
-
| max_discount_value | number | no | |
|
|
7261
|
-
| expires_on | string | no | |
|
|
7262
7283
|
| title | string | no | |
|
|
7263
|
-
|
|
|
7264
|
-
|
|
|
7284
|
+
| expires_on | string | no | |
|
|
7285
|
+
| max_discount_value | number | no | |
|
|
7286
|
+
| message | string | no | |
|
|
7265
7287
|
| is_applied | boolean | no | |
|
|
7266
|
-
| coupon_code | string | no | |
|
|
7267
7288
|
|
|
7268
7289
|
---
|
|
7269
7290
|
|
|
@@ -7274,9 +7295,9 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7274
7295
|
|
|
7275
7296
|
| Properties | Type | Nullable | Description |
|
|
7276
7297
|
| ---------- | ---- | -------- | ----------- |
|
|
7277
|
-
| total | number | no | |
|
|
7278
|
-
| has_next | boolean | no | |
|
|
7279
7298
|
| has_previous | boolean | no | |
|
|
7299
|
+
| has_next | boolean | no | |
|
|
7300
|
+
| total | number | no | |
|
|
7280
7301
|
| total_item_count | number | no | |
|
|
7281
7302
|
| current | number | no | |
|
|
7282
7303
|
|
|
@@ -7313,10 +7334,10 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7313
7334
|
| Properties | Type | Nullable | Description |
|
|
7314
7335
|
| ---------- | ---- | -------- | ----------- |
|
|
7315
7336
|
| effective | number | no | Current per unit price of product after existing deductions |
|
|
7316
|
-
| currency_symbol | string | no | Currency symbol for currency |
|
|
7317
|
-
| marked | number | no | Original price of product |
|
|
7318
7337
|
| currency_code | string | no | Currency code for all amounts |
|
|
7319
7338
|
| bulk_effective | number | no | Discounted per unit price for current offer object |
|
|
7339
|
+
| marked | number | no | Original price of product |
|
|
7340
|
+
| currency_symbol | string | no | Currency symbol for currency |
|
|
7320
7341
|
|
|
7321
7342
|
---
|
|
7322
7343
|
|
|
@@ -7327,13 +7348,13 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7327
7348
|
|
|
7328
7349
|
| Properties | Type | Nullable | Description |
|
|
7329
7350
|
| ---------- | ---- | -------- | ----------- |
|
|
7330
|
-
| price | [OfferPrice](#OfferPrice) | no | |
|
|
7331
7351
|
| auto_applied | boolean | no | Whether offer discount is auto applied in cart |
|
|
7352
|
+
| price | [OfferPrice](#OfferPrice) | no | |
|
|
7353
|
+
| quantity | number | no | Quantity on which offer is applicable |
|
|
7332
7354
|
| margin | number | no | Percentage value of discount |
|
|
7333
7355
|
| total | number | no | Total price of offer quantity with discount |
|
|
7334
|
-
| quantity | number | no | Quantity on which offer is applicable |
|
|
7335
|
-
| type | string | no | Offer type |
|
|
7336
7356
|
| best | boolean | no | Is true for best offer from all offers present for all sellers |
|
|
7357
|
+
| type | string | no | Offer type |
|
|
7337
7358
|
|
|
7338
7359
|
---
|
|
7339
7360
|
|
|
@@ -7402,28 +7423,30 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7402
7423
|
|
|
7403
7424
|
| Properties | Type | Nullable | Description |
|
|
7404
7425
|
| ---------- | ---- | -------- | ----------- |
|
|
7405
|
-
|
|
|
7406
|
-
| tags | [string] | no | |
|
|
7407
|
-
| country_code | string | no | |
|
|
7408
|
-
| meta | string | no | |
|
|
7426
|
+
| country_iso_code | string | no | |
|
|
7409
7427
|
| address | string | no | |
|
|
7410
|
-
| geo_location | [GeoLocation](#GeoLocation) | no | |
|
|
7411
|
-
| name | string | no | |
|
|
7412
|
-
| user_id | string | no | |
|
|
7413
|
-
| area | string | no | |
|
|
7414
|
-
| city | string | no | |
|
|
7415
7428
|
| address_type | string | no | |
|
|
7416
|
-
|
|
|
7429
|
+
| google_map_point | string | no | |
|
|
7430
|
+
| country_phone_code | string | no | |
|
|
7431
|
+
| id | string | no | |
|
|
7432
|
+
| area_code_slug | string | no | |
|
|
7433
|
+
| is_active | boolean | no | |
|
|
7417
7434
|
| checkout_mode | string | no | |
|
|
7418
|
-
| email | string | no | |
|
|
7419
7435
|
| landmark | string | no | |
|
|
7420
|
-
|
|
|
7436
|
+
| meta | string | no | |
|
|
7437
|
+
| country_code | string | no | |
|
|
7438
|
+
| geo_location | [GeoLocation](#GeoLocation) | no | |
|
|
7439
|
+
| city | string | no | |
|
|
7421
7440
|
| area_code | string | no | |
|
|
7422
|
-
|
|
|
7441
|
+
| phone | string | no | |
|
|
7442
|
+
| email | string | no | |
|
|
7443
|
+
| user_id | string | no | |
|
|
7444
|
+
| name | string | no | |
|
|
7423
7445
|
| is_default_address | boolean | no | |
|
|
7424
|
-
|
|
|
7425
|
-
|
|
|
7426
|
-
|
|
|
7446
|
+
| country | string | no | |
|
|
7447
|
+
| area | string | no | |
|
|
7448
|
+
| state | string | no | |
|
|
7449
|
+
| tags | [string] | no | |
|
|
7427
7450
|
|
|
7428
7451
|
---
|
|
7429
7452
|
|
|
@@ -7459,9 +7482,9 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7459
7482
|
| Properties | Type | Nullable | Description |
|
|
7460
7483
|
| ---------- | ---- | -------- | ----------- |
|
|
7461
7484
|
| is_default_address | boolean | no | |
|
|
7462
|
-
| is_updated | boolean | no | |
|
|
7463
|
-
| id | string | no | |
|
|
7464
7485
|
| success | boolean | no | |
|
|
7486
|
+
| id | string | no | |
|
|
7487
|
+
| is_updated | boolean | no | |
|
|
7465
7488
|
|
|
7466
7489
|
---
|
|
7467
7490
|
|
|
@@ -7485,8 +7508,8 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7485
7508
|
| Properties | Type | Nullable | Description |
|
|
7486
7509
|
| ---------- | ---- | -------- | ----------- |
|
|
7487
7510
|
| billing_address_id | string | no | |
|
|
7488
|
-
| id | string | no | |
|
|
7489
7511
|
| cart_id | string | no | |
|
|
7512
|
+
| id | string | no | |
|
|
7490
7513
|
|
|
7491
7514
|
---
|
|
7492
7515
|
|
|
@@ -7497,12 +7520,12 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7497
7520
|
|
|
7498
7521
|
| Properties | Type | Nullable | Description |
|
|
7499
7522
|
| ---------- | ---- | -------- | ----------- |
|
|
7500
|
-
| merchant_code | string | no | |
|
|
7501
7523
|
| payment_mode | string | no | |
|
|
7502
7524
|
| payment_identifier | string | no | |
|
|
7503
|
-
| address_id | string | no | |
|
|
7504
7525
|
| aggregator_name | string | no | |
|
|
7505
7526
|
| id | string | no | |
|
|
7527
|
+
| address_id | string | no | |
|
|
7528
|
+
| merchant_code | string | no | |
|
|
7506
7529
|
|
|
7507
7530
|
---
|
|
7508
7531
|
|
|
@@ -7514,10 +7537,10 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7514
7537
|
| Properties | Type | Nullable | Description |
|
|
7515
7538
|
| ---------- | ---- | -------- | ----------- |
|
|
7516
7539
|
| code | string | no | |
|
|
7540
|
+
| valid | boolean | no | |
|
|
7517
7541
|
| discount | number | no | |
|
|
7518
7542
|
| title | string | no | |
|
|
7519
7543
|
| display_message_en | string | no | |
|
|
7520
|
-
| valid | boolean | no | |
|
|
7521
7544
|
|
|
7522
7545
|
---
|
|
7523
7546
|
|
|
@@ -7529,8 +7552,8 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7529
7552
|
| Properties | Type | Nullable | Description |
|
|
7530
7553
|
| ---------- | ---- | -------- | ----------- |
|
|
7531
7554
|
| coupon_validity | [CouponValidity](#CouponValidity) | no | |
|
|
7532
|
-
| message | string | no | |
|
|
7533
7555
|
| success | boolean | yes | |
|
|
7556
|
+
| message | string | no | |
|
|
7534
7557
|
|
|
7535
7558
|
---
|
|
7536
7559
|
|
|
@@ -7542,15 +7565,15 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7542
7565
|
| Properties | Type | Nullable | Description |
|
|
7543
7566
|
| ---------- | ---- | -------- | ----------- |
|
|
7544
7567
|
| shipments | number | no | |
|
|
7545
|
-
|
|
|
7546
|
-
|
|
|
7568
|
+
| dp_id | string | no | |
|
|
7569
|
+
| order_type | string | no | |
|
|
7547
7570
|
| promise | [ShipmentPromise](#ShipmentPromise) | no | |
|
|
7548
7571
|
| fulfillment_type | string | no | |
|
|
7572
|
+
| box_type | string | no | |
|
|
7549
7573
|
| shipment_type | string | no | |
|
|
7550
|
-
|
|
|
7551
|
-
| order_type | string | no | |
|
|
7552
|
-
| dp_id | string | no | |
|
|
7574
|
+
| items | [[CartProductInfo](#CartProductInfo)] | no | |
|
|
7553
7575
|
| dp_options | string | no | |
|
|
7576
|
+
| fulfillment_id | number | no | |
|
|
7554
7577
|
|
|
7555
7578
|
---
|
|
7556
7579
|
|
|
@@ -7561,25 +7584,25 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7561
7584
|
|
|
7562
7585
|
| Properties | Type | Nullable | Description |
|
|
7563
7586
|
| ---------- | ---- | -------- | ----------- |
|
|
7564
|
-
|
|
|
7587
|
+
| delivery_promise | [ShipmentPromise](#ShipmentPromise) | no | |
|
|
7565
7588
|
| shipments | [[ShipmentResponse](#ShipmentResponse)] | no | |
|
|
7566
|
-
|
|
|
7567
|
-
| checkout_mode | string | no | |
|
|
7568
|
-
| buy_now | boolean | no | |
|
|
7569
|
-
| coupon_text | string | no | |
|
|
7589
|
+
| last_modified | string | no | |
|
|
7570
7590
|
| currency | [CartCurrency](#CartCurrency) | no | |
|
|
7591
|
+
| uid | string | no | |
|
|
7592
|
+
| id | string | no | |
|
|
7593
|
+
| gstin | string | no | |
|
|
7571
7594
|
| delivery_charge_info | string | no | |
|
|
7572
|
-
|
|
|
7573
|
-
| breakup_values | [CartBreakup](#CartBreakup) | no | |
|
|
7595
|
+
| is_valid | boolean | no | |
|
|
7574
7596
|
| cart_id | number | no | |
|
|
7575
7597
|
| error | boolean | no | |
|
|
7598
|
+
| coupon_text | string | no | |
|
|
7599
|
+
| message | string | no | |
|
|
7600
|
+
| checkout_mode | string | no | |
|
|
7601
|
+
| breakup_values | [CartBreakup](#CartBreakup) | no | |
|
|
7602
|
+
| restrict_checkout | boolean | no | |
|
|
7603
|
+
| buy_now | boolean | no | |
|
|
7604
|
+
| payment_selection_lock | [PaymentSelectionLock](#PaymentSelectionLock) | no | |
|
|
7576
7605
|
| comment | string | no | |
|
|
7577
|
-
| uid | string | no | |
|
|
7578
|
-
| gstin | string | no | |
|
|
7579
|
-
| delivery_promise | [ShipmentPromise](#ShipmentPromise) | no | |
|
|
7580
|
-
| id | string | no | |
|
|
7581
|
-
| last_modified | string | no | |
|
|
7582
|
-
| is_valid | boolean | no | |
|
|
7583
7606
|
|
|
7584
7607
|
---
|
|
7585
7608
|
|
|
@@ -7590,9 +7613,9 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7590
7613
|
|
|
7591
7614
|
| Properties | Type | Nullable | Description |
|
|
7592
7615
|
| ---------- | ---- | -------- | ----------- |
|
|
7593
|
-
| article_uid | string | yes | Article mongo id |
|
|
7594
7616
|
| quantity | number | no | Quantity of product in shipment |
|
|
7595
7617
|
| shipment_type | string | yes | Shipment delivery type |
|
|
7618
|
+
| article_uid | string | yes | Article mongo id |
|
|
7596
7619
|
|
|
7597
7620
|
---
|
|
7598
7621
|
|
|
@@ -7610,26 +7633,26 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7610
7633
|
|
|
7611
7634
|
|
|
7612
7635
|
|
|
7613
|
-
#### [
|
|
7636
|
+
#### [Files](#Files)
|
|
7614
7637
|
|
|
7615
7638
|
| Properties | Type | Nullable | Description |
|
|
7616
7639
|
| ---------- | ---- | -------- | ----------- |
|
|
7617
|
-
|
|
|
7618
|
-
|
|
|
7619
|
-
| user | string | yes | |
|
|
7620
|
-
| _id | string | yes | |
|
|
7640
|
+
| values | [string] | yes | |
|
|
7641
|
+
| key | string | yes | |
|
|
7621
7642
|
|
|
7622
7643
|
---
|
|
7623
7644
|
|
|
7624
7645
|
|
|
7625
7646
|
|
|
7626
7647
|
|
|
7627
|
-
#### [
|
|
7648
|
+
#### [StaffCheckout](#StaffCheckout)
|
|
7628
7649
|
|
|
7629
7650
|
| Properties | Type | Nullable | Description |
|
|
7630
7651
|
| ---------- | ---- | -------- | ----------- |
|
|
7631
|
-
|
|
|
7632
|
-
|
|
|
7652
|
+
| first_name | string | yes | |
|
|
7653
|
+
| user | string | yes | |
|
|
7654
|
+
| last_name | string | yes | |
|
|
7655
|
+
| _id | string | yes | |
|
|
7633
7656
|
|
|
7634
7657
|
---
|
|
7635
7658
|
|
|
@@ -7640,25 +7663,25 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7640
7663
|
|
|
7641
7664
|
| Properties | Type | Nullable | Description |
|
|
7642
7665
|
| ---------- | ---- | -------- | ----------- |
|
|
7643
|
-
|
|
|
7644
|
-
| meta | string | no | |
|
|
7666
|
+
| payment_mode | string | yes | |
|
|
7645
7667
|
| aggregator | string | no | |
|
|
7646
|
-
|
|
|
7668
|
+
| pick_at_store_uid | number | no | |
|
|
7669
|
+
| extra_meta | string | no | |
|
|
7670
|
+
| files | [[Files](#Files)] | no | List of file url |
|
|
7671
|
+
| payment_params | string | no | |
|
|
7647
7672
|
| billing_address_id | string | no | |
|
|
7648
|
-
|
|
|
7673
|
+
| ordering_store | number | no | |
|
|
7649
7674
|
| merchant_code | string | no | |
|
|
7650
|
-
|
|
|
7675
|
+
| meta | string | no | |
|
|
7651
7676
|
| address_id | string | no | |
|
|
7677
|
+
| payment_auto_confirm | boolean | no | |
|
|
7652
7678
|
| staff | [StaffCheckout](#StaffCheckout) | no | |
|
|
7653
|
-
| pick_at_store_uid | number | no | |
|
|
7654
|
-
| callback_url | string | no | |
|
|
7655
7679
|
| billing_address | string | no | |
|
|
7656
|
-
| files | [[Files](#Files)] | no | List of file url |
|
|
7657
|
-
| payment_mode | string | yes | |
|
|
7658
|
-
| payment_params | string | no | |
|
|
7659
7680
|
| payment_identifier | string | no | |
|
|
7660
|
-
|
|
|
7661
|
-
|
|
|
7681
|
+
| pos | boolean | no | |
|
|
7682
|
+
| order_type | string | yes | |
|
|
7683
|
+
| delivery_address | string | no | |
|
|
7684
|
+
| callback_url | string | no | |
|
|
7662
7685
|
|
|
7663
7686
|
---
|
|
7664
7687
|
|
|
@@ -7669,35 +7692,35 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7669
7692
|
|
|
7670
7693
|
| Properties | Type | Nullable | Description |
|
|
7671
7694
|
| ---------- | ---- | -------- | ----------- |
|
|
7672
|
-
|
|
|
7673
|
-
| cod_charges | number | no | |
|
|
7674
|
-
| delivery_charges | number | no | |
|
|
7695
|
+
| delivery_charge_order_value | number | no | |
|
|
7675
7696
|
| currency | [CartCurrency](#CartCurrency) | no | |
|
|
7676
|
-
|
|
|
7677
|
-
| breakup_values | [CartBreakup](#CartBreakup) | no | |
|
|
7678
|
-
| user_type | string | no | |
|
|
7679
|
-
| cart_id | number | no | |
|
|
7680
|
-
| success | boolean | no | |
|
|
7681
|
-
| cod_message | string | no | |
|
|
7682
|
-
| store_code | string | no | |
|
|
7697
|
+
| id | string | no | |
|
|
7683
7698
|
| gstin | string | no | |
|
|
7684
|
-
| delivery_promise | [ShipmentPromise](#ShipmentPromise) | no | |
|
|
7685
|
-
| store_emps | [string] | no | |
|
|
7686
7699
|
| is_valid | boolean | no | |
|
|
7700
|
+
| cod_message | string | no | |
|
|
7701
|
+
| cod_available | boolean | no | |
|
|
7687
7702
|
| coupon_text | string | no | |
|
|
7688
7703
|
| error_message | string | no | |
|
|
7689
7704
|
| message | string | no | |
|
|
7690
|
-
| payment_selection_lock | [PaymentSelectionLock](#PaymentSelectionLock) | no | |
|
|
7691
7705
|
| checkout_mode | string | no | |
|
|
7706
|
+
| success | boolean | no | |
|
|
7692
7707
|
| buy_now | boolean | no | |
|
|
7693
|
-
|
|
|
7694
|
-
|
|
|
7708
|
+
| store_code | string | no | |
|
|
7709
|
+
| payment_selection_lock | [PaymentSelectionLock](#PaymentSelectionLock) | no | |
|
|
7710
|
+
| user_type | string | no | |
|
|
7695
7711
|
| comment | string | no | |
|
|
7696
|
-
|
|
|
7697
|
-
|
|
|
7698
|
-
|
|
|
7699
|
-
| id | string | no | |
|
|
7712
|
+
| delivery_charges | number | no | |
|
|
7713
|
+
| delivery_promise | [ShipmentPromise](#ShipmentPromise) | no | |
|
|
7714
|
+
| cod_charges | number | no | |
|
|
7700
7715
|
| last_modified | string | no | |
|
|
7716
|
+
| store_emps | [string] | no | |
|
|
7717
|
+
| uid | string | no | |
|
|
7718
|
+
| order_id | string | no | |
|
|
7719
|
+
| cart_id | number | no | |
|
|
7720
|
+
| breakup_values | [CartBreakup](#CartBreakup) | no | |
|
|
7721
|
+
| restrict_checkout | boolean | no | |
|
|
7722
|
+
| delivery_charge_info | string | no | |
|
|
7723
|
+
| items | [[CartProductInfo](#CartProductInfo)] | no | |
|
|
7701
7724
|
|
|
7702
7725
|
---
|
|
7703
7726
|
|
|
@@ -7708,14 +7731,14 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7708
7731
|
|
|
7709
7732
|
| Properties | Type | Nullable | Description |
|
|
7710
7733
|
| ---------- | ---- | -------- | ----------- |
|
|
7711
|
-
| message | string | no | |
|
|
7712
7734
|
| cart | [CheckCart](#CheckCart) | no | |
|
|
7735
|
+
| order_id | string | no | |
|
|
7713
7736
|
| payment_confirm_url | string | no | |
|
|
7714
|
-
| app_intercept_url | string | no | |
|
|
7715
|
-
| success | boolean | no | |
|
|
7716
7737
|
| data | string | no | |
|
|
7717
|
-
|
|
|
7738
|
+
| message | string | no | |
|
|
7718
7739
|
| callback_url | string | no | |
|
|
7740
|
+
| success | boolean | no | |
|
|
7741
|
+
| app_intercept_url | string | no | |
|
|
7719
7742
|
|
|
7720
7743
|
---
|
|
7721
7744
|
|
|
@@ -7726,10 +7749,10 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7726
7749
|
|
|
7727
7750
|
| Properties | Type | Nullable | Description |
|
|
7728
7751
|
| ---------- | ---- | -------- | ----------- |
|
|
7729
|
-
| checkout_mode | string | no | |
|
|
7730
7752
|
| pick_up_customer_details | string | no | Customer contact details for customer pickup at store |
|
|
7731
|
-
|
|
|
7753
|
+
| checkout_mode | string | no | |
|
|
7732
7754
|
| comment | string | no | |
|
|
7755
|
+
| gstin | string | no | |
|
|
7733
7756
|
|
|
7734
7757
|
---
|
|
7735
7758
|
|
|
@@ -7762,8 +7785,8 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7762
7785
|
|
|
7763
7786
|
| Properties | Type | Nullable | Description |
|
|
7764
7787
|
| ---------- | ---- | -------- | ----------- |
|
|
7765
|
-
| pickup_stores | [number] | no | Store pick up available store uids |
|
|
7766
7788
|
| available_modes | [string] | no | Available delivery modes |
|
|
7789
|
+
| pickup_stores | [number] | no | Store pick up available store uids |
|
|
7767
7790
|
|
|
7768
7791
|
---
|
|
7769
7792
|
|
|
@@ -7774,22 +7797,22 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7774
7797
|
|
|
7775
7798
|
| Properties | Type | Nullable | Description |
|
|
7776
7799
|
| ---------- | ---- | -------- | ----------- |
|
|
7777
|
-
|
|
|
7778
|
-
| address_type | string | no | |
|
|
7779
|
-
| state | string | no | |
|
|
7800
|
+
| city | string | no | |
|
|
7780
7801
|
| area_code | string | no | |
|
|
7781
7802
|
| name | string | no | |
|
|
7782
|
-
| country | string | no | |
|
|
7783
7803
|
| pincode | number | no | |
|
|
7784
|
-
| area | string | no | |
|
|
7785
|
-
| store_code | string | no | |
|
|
7786
|
-
| uid | number | no | |
|
|
7787
|
-
| id | number | no | |
|
|
7788
|
-
| email | string | no | |
|
|
7789
|
-
| city | string | no | |
|
|
7790
7804
|
| address | string | no | |
|
|
7805
|
+
| address_type | string | no | |
|
|
7791
7806
|
| landmark | string | no | |
|
|
7807
|
+
| country | string | no | |
|
|
7808
|
+
| uid | number | no | |
|
|
7809
|
+
| area | string | no | |
|
|
7810
|
+
| id | number | no | |
|
|
7811
|
+
| store_code | string | no | |
|
|
7812
|
+
| phone | string | no | |
|
|
7813
|
+
| state | string | no | |
|
|
7792
7814
|
| area_code_slug | string | no | |
|
|
7815
|
+
| email | string | no | |
|
|
7793
7816
|
|
|
7794
7817
|
---
|
|
7795
7818
|
|
|
@@ -7811,8 +7834,8 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7811
7834
|
|
|
7812
7835
|
| Properties | Type | Nullable | Description |
|
|
7813
7836
|
| ---------- | ---- | -------- | ----------- |
|
|
7814
|
-
| meta | string | no | Staff, Ordering store or any other data. This data will be used to generate link as well as sent as shared details. |
|
|
7815
7837
|
| id | string | no | Cart uid for generating sharing |
|
|
7838
|
+
| meta | string | no | Staff, Ordering store or any other data. This data will be used to generate link as well as sent as shared details. |
|
|
7816
7839
|
|
|
7817
7840
|
---
|
|
7818
7841
|
|
|
@@ -7838,8 +7861,8 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7838
7861
|
| source | string | no | Share link device and other source information |
|
|
7839
7862
|
| user | string | no | User details of who generated share link |
|
|
7840
7863
|
| token | string | no | Short link id |
|
|
7841
|
-
| created_on | string | no | |
|
|
7842
7864
|
| meta | string | no | Meta data sent while generating share cart link |
|
|
7865
|
+
| created_on | string | no | |
|
|
7843
7866
|
|
|
7844
7867
|
---
|
|
7845
7868
|
|
|
@@ -7850,25 +7873,25 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7850
7873
|
|
|
7851
7874
|
| Properties | Type | Nullable | Description |
|
|
7852
7875
|
| ---------- | ---- | -------- | ----------- |
|
|
7853
|
-
| items | [[CartProductInfo](#CartProductInfo)] | no | |
|
|
7854
7876
|
| currency | [CartCurrency](#CartCurrency) | no | |
|
|
7855
|
-
|
|
|
7856
|
-
| breakup_values | [CartBreakup](#CartBreakup) | no | |
|
|
7857
|
-
| cart_id | number | no | |
|
|
7877
|
+
| id | string | no | |
|
|
7858
7878
|
| gstin | string | no | |
|
|
7859
|
-
| delivery_promise | [ShipmentPromise](#ShipmentPromise) | no | |
|
|
7860
7879
|
| is_valid | boolean | no | |
|
|
7861
7880
|
| coupon_text | string | no | |
|
|
7862
7881
|
| message | string | no | |
|
|
7863
|
-
| payment_selection_lock | [PaymentSelectionLock](#PaymentSelectionLock) | no | |
|
|
7864
7882
|
| checkout_mode | string | no | |
|
|
7865
7883
|
| buy_now | boolean | no | |
|
|
7866
|
-
|
|
|
7884
|
+
| shared_cart_details | [SharedCartDetails](#SharedCartDetails) | no | |
|
|
7885
|
+
| payment_selection_lock | [PaymentSelectionLock](#PaymentSelectionLock) | no | |
|
|
7867
7886
|
| comment | string | no | |
|
|
7868
|
-
|
|
|
7869
|
-
| id | string | no | |
|
|
7887
|
+
| delivery_promise | [ShipmentPromise](#ShipmentPromise) | no | |
|
|
7870
7888
|
| last_modified | string | no | |
|
|
7871
|
-
|
|
|
7889
|
+
| uid | string | no | |
|
|
7890
|
+
| cart_id | number | no | |
|
|
7891
|
+
| breakup_values | [CartBreakup](#CartBreakup) | no | |
|
|
7892
|
+
| restrict_checkout | boolean | no | |
|
|
7893
|
+
| delivery_charge_info | string | no | |
|
|
7894
|
+
| items | [[CartProductInfo](#CartProductInfo)] | no | |
|
|
7872
7895
|
|
|
7873
7896
|
---
|
|
7874
7897
|
|