@gofynd/fdk-client-javascript 0.1.35 → 0.1.36
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 +256 -239
- package/documentation/application/CATALOG.md +413 -409
- 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 +4 -0
- package/documentation/application/ORDER.md +307 -303
- package/documentation/application/PAYMENT.md +445 -259
- package/documentation/application/POSCART.md +317 -300
- 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 +4 -0
- package/documentation/platform/BILLING.md +4 -0
- package/documentation/platform/CART.md +480 -463
- package/documentation/platform/CATALOG.md +3895 -2942
- package/documentation/platform/COMMON.md +4 -0
- package/documentation/platform/COMMUNICATION.md +4 -0
- package/documentation/platform/COMPANYPROFILE.md +224 -193
- 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 +1 -1
- package/sdk/application/ApplicationModels.d.ts +77 -73
- package/sdk/application/ApplicationModels.js +1751 -1725
- 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 +5 -5
- 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/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 +8600 -7286
- package/sdk/platform/PlatformApplicationClient.js +4338 -3678
- package/sdk/platform/PlatformApplicationModels.d.ts +21 -26
- package/sdk/platform/PlatformApplicationModels.js +5561 -4301
- package/sdk/platform/PlatformClient.d.ts +3448 -2801
- package/sdk/platform/PlatformClient.js +3903 -3108
- package/sdk/platform/PlatformModels.d.ts +352 -278
- package/sdk/platform/PlatformModels.js +5230 -3942
- 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 +209 -150
- package/sdk/platform/client/CatalogPlatformClient.js +441 -294
- 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 +24 -21
- package/sdk/platform/models/CatalogValidator.js +103 -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
|
|
|
@@ -6748,130 +6752,154 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
6748
6752
|
|
|
6749
6753
|
|
|
6750
6754
|
|
|
6751
|
-
#### [
|
|
6755
|
+
#### [BaseInfo](#BaseInfo)
|
|
6756
|
+
|
|
6757
|
+
| Properties | Type | Nullable | Description |
|
|
6758
|
+
| ---------- | ---- | -------- | ----------- |
|
|
6759
|
+
| uid | number | no | |
|
|
6760
|
+
| name | string | no | |
|
|
6761
|
+
|
|
6762
|
+
---
|
|
6763
|
+
|
|
6764
|
+
|
|
6765
|
+
|
|
6766
|
+
|
|
6767
|
+
#### [BasePrice](#BasePrice)
|
|
6752
6768
|
|
|
6753
6769
|
| Properties | Type | Nullable | Description |
|
|
6754
6770
|
| ---------- | ---- | -------- | ----------- |
|
|
6755
|
-
| selling | number | no | |
|
|
6756
|
-
| effective | number | no | |
|
|
6757
6771
|
| currency_symbol | string | no | |
|
|
6758
|
-
| marked | number | no | |
|
|
6759
6772
|
| currency_code | string | no | |
|
|
6760
|
-
|
|
|
6773
|
+
| effective | number | no | |
|
|
6774
|
+
| marked | number | no | |
|
|
6761
6775
|
|
|
6762
6776
|
---
|
|
6763
6777
|
|
|
6764
6778
|
|
|
6765
6779
|
|
|
6766
6780
|
|
|
6767
|
-
#### [
|
|
6781
|
+
#### [ArticlePriceInfo](#ArticlePriceInfo)
|
|
6768
6782
|
|
|
6769
6783
|
| Properties | Type | Nullable | Description |
|
|
6770
6784
|
| ---------- | ---- | -------- | ----------- |
|
|
6771
|
-
| base | [
|
|
6772
|
-
| converted | [
|
|
6785
|
+
| base | [BasePrice](#BasePrice) | no | |
|
|
6786
|
+
| converted | [BasePrice](#BasePrice) | no | |
|
|
6773
6787
|
|
|
6774
6788
|
---
|
|
6775
6789
|
|
|
6776
6790
|
|
|
6777
6791
|
|
|
6778
6792
|
|
|
6779
|
-
#### [
|
|
6793
|
+
#### [ProductArticle](#ProductArticle)
|
|
6780
6794
|
|
|
6781
6795
|
| Properties | Type | Nullable | Description |
|
|
6782
6796
|
| ---------- | ---- | -------- | ----------- |
|
|
6783
|
-
|
|
|
6784
|
-
|
|
|
6785
|
-
|
|
|
6786
|
-
|
|
|
6787
|
-
|
|
|
6788
|
-
|
|
|
6797
|
+
| store | [BaseInfo](#BaseInfo) | no | |
|
|
6798
|
+
| price | [ArticlePriceInfo](#ArticlePriceInfo) | no | |
|
|
6799
|
+
| size | string | no | |
|
|
6800
|
+
| quantity | number | no | |
|
|
6801
|
+
| seller | [BaseInfo](#BaseInfo) | no | |
|
|
6802
|
+
| product_group_tags | [string] | no | |
|
|
6803
|
+
| type | string | no | |
|
|
6804
|
+
| parent_item_identifiers | string | no | |
|
|
6805
|
+
| uid | string | no | |
|
|
6806
|
+
| extra_meta | string | no | |
|
|
6789
6807
|
|
|
6790
6808
|
---
|
|
6791
6809
|
|
|
6792
6810
|
|
|
6793
6811
|
|
|
6794
6812
|
|
|
6795
|
-
#### [
|
|
6813
|
+
#### [ProductPrice](#ProductPrice)
|
|
6796
6814
|
|
|
6797
6815
|
| Properties | Type | Nullable | Description |
|
|
6798
6816
|
| ---------- | ---- | -------- | ----------- |
|
|
6799
|
-
|
|
|
6817
|
+
| marked | number | no | |
|
|
6818
|
+
| add_on | number | no | |
|
|
6819
|
+
| effective | number | no | |
|
|
6820
|
+
| currency_code | string | no | |
|
|
6821
|
+
| selling | number | no | |
|
|
6822
|
+
| currency_symbol | string | no | |
|
|
6800
6823
|
|
|
6801
6824
|
---
|
|
6802
6825
|
|
|
6803
6826
|
|
|
6804
6827
|
|
|
6805
6828
|
|
|
6806
|
-
#### [
|
|
6829
|
+
#### [ProductPriceInfo](#ProductPriceInfo)
|
|
6807
6830
|
|
|
6808
6831
|
| Properties | Type | Nullable | Description |
|
|
6809
6832
|
| ---------- | ---- | -------- | ----------- |
|
|
6810
|
-
|
|
|
6811
|
-
|
|
|
6812
|
-
| out_of_stock | boolean | no | |
|
|
6813
|
-
| other_store_quantity | number | no | |
|
|
6814
|
-
| is_valid | boolean | no | |
|
|
6833
|
+
| base | [ProductPrice](#ProductPrice) | no | |
|
|
6834
|
+
| converted | [ProductPrice](#ProductPrice) | no | |
|
|
6815
6835
|
|
|
6816
6836
|
---
|
|
6817
6837
|
|
|
6818
6838
|
|
|
6819
6839
|
|
|
6820
6840
|
|
|
6821
|
-
#### [
|
|
6841
|
+
#### [ProductAvailability](#ProductAvailability)
|
|
6822
6842
|
|
|
6823
6843
|
| Properties | Type | Nullable | Description |
|
|
6824
6844
|
| ---------- | ---- | -------- | ----------- |
|
|
6825
|
-
|
|
|
6845
|
+
| is_valid | boolean | no | |
|
|
6846
|
+
| other_store_quantity | number | no | |
|
|
6847
|
+
| out_of_stock | boolean | no | |
|
|
6848
|
+
| deliverable | boolean | no | |
|
|
6849
|
+
| sizes | [string] | no | |
|
|
6826
6850
|
|
|
6827
6851
|
---
|
|
6828
6852
|
|
|
6829
6853
|
|
|
6830
6854
|
|
|
6831
6855
|
|
|
6832
|
-
#### [
|
|
6856
|
+
#### [Ownership](#Ownership)
|
|
6833
6857
|
|
|
6834
6858
|
| Properties | Type | Nullable | Description |
|
|
6835
6859
|
| ---------- | ---- | -------- | ----------- |
|
|
6836
|
-
|
|
|
6860
|
+
| payable_by | string | no | promo amount bearable party |
|
|
6861
|
+
| payable_category | string | no | promo amount payable category |
|
|
6837
6862
|
|
|
6838
6863
|
---
|
|
6839
6864
|
|
|
6840
6865
|
|
|
6841
6866
|
|
|
6842
6867
|
|
|
6843
|
-
#### [
|
|
6868
|
+
#### [AppliedPromotion](#AppliedPromotion)
|
|
6844
6869
|
|
|
6845
6870
|
| Properties | Type | Nullable | Description |
|
|
6846
6871
|
| ---------- | ---- | -------- | ----------- |
|
|
6847
|
-
|
|
|
6848
|
-
|
|
|
6849
|
-
|
|
|
6872
|
+
| article_quantity | number | no | Quantity of article on which promotion is applicable |
|
|
6873
|
+
| offer_text | string | no | Offer text of current promotion |
|
|
6874
|
+
| promo_id | string | no | Promotion id |
|
|
6875
|
+
| amount | number | no | Per unit discount amount applied with current promotion |
|
|
6876
|
+
| promotion_type | string | no | Promotion type of current promotion |
|
|
6877
|
+
| mrp_promotion | boolean | no | If applied promotion is applied on product MRP or ESP |
|
|
6878
|
+
| ownership | [Ownership](#Ownership) | no | Ownership of promotion |
|
|
6850
6879
|
|
|
6851
6880
|
---
|
|
6852
6881
|
|
|
6853
6882
|
|
|
6854
6883
|
|
|
6855
6884
|
|
|
6856
|
-
#### [
|
|
6885
|
+
#### [CartProductIdentifer](#CartProductIdentifer)
|
|
6857
6886
|
|
|
6858
6887
|
| Properties | Type | Nullable | Description |
|
|
6859
6888
|
| ---------- | ---- | -------- | ----------- |
|
|
6860
|
-
|
|
|
6861
|
-
| secure_url | string | no | |
|
|
6862
|
-
| url | string | no | |
|
|
6889
|
+
| identifier | string | no | Article idenfier generated by cart |
|
|
6863
6890
|
|
|
6864
6891
|
---
|
|
6865
6892
|
|
|
6866
6893
|
|
|
6867
6894
|
|
|
6868
6895
|
|
|
6869
|
-
#### [
|
|
6896
|
+
#### [ProductImage](#ProductImage)
|
|
6870
6897
|
|
|
6871
6898
|
| Properties | Type | Nullable | Description |
|
|
6872
6899
|
| ---------- | ---- | -------- | ----------- |
|
|
6873
|
-
|
|
|
6874
|
-
|
|
|
6900
|
+
| aspect_ratio | string | no | |
|
|
6901
|
+
| secure_url | string | no | |
|
|
6902
|
+
| url | string | no | |
|
|
6875
6903
|
|
|
6876
6904
|
---
|
|
6877
6905
|
|
|
@@ -6882,72 +6910,61 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
6882
6910
|
|
|
6883
6911
|
| Properties | Type | Nullable | Description |
|
|
6884
6912
|
| ---------- | ---- | -------- | ----------- |
|
|
6885
|
-
| name | string | no | |
|
|
6886
6913
|
| uid | number | no | Product Category Id |
|
|
6914
|
+
| name | string | no | |
|
|
6887
6915
|
|
|
6888
6916
|
---
|
|
6889
6917
|
|
|
6890
6918
|
|
|
6891
6919
|
|
|
6892
6920
|
|
|
6893
|
-
#### [
|
|
6921
|
+
#### [ActionQuery](#ActionQuery)
|
|
6894
6922
|
|
|
6895
6923
|
| Properties | Type | Nullable | Description |
|
|
6896
6924
|
| ---------- | ---- | -------- | ----------- |
|
|
6897
|
-
|
|
|
6898
|
-
| action | [ProductAction](#ProductAction) | no | |
|
|
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 | |
|
|
6925
|
+
| product_slug | [string] | no | Contains list of product slug |
|
|
6905
6926
|
|
|
6906
6927
|
---
|
|
6907
6928
|
|
|
6908
6929
|
|
|
6909
6930
|
|
|
6910
6931
|
|
|
6911
|
-
#### [
|
|
6932
|
+
#### [ProductAction](#ProductAction)
|
|
6912
6933
|
|
|
6913
6934
|
| Properties | Type | Nullable | Description |
|
|
6914
6935
|
| ---------- | ---- | -------- | ----------- |
|
|
6915
|
-
|
|
|
6916
|
-
|
|
|
6917
|
-
|
|
|
6918
|
-
| currency_code | string | no | |
|
|
6936
|
+
| url | string | no | |
|
|
6937
|
+
| query | [ActionQuery](#ActionQuery) | no | |
|
|
6938
|
+
| type | string | no | |
|
|
6919
6939
|
|
|
6920
6940
|
---
|
|
6921
6941
|
|
|
6922
6942
|
|
|
6923
6943
|
|
|
6924
6944
|
|
|
6925
|
-
#### [
|
|
6945
|
+
#### [CartProduct](#CartProduct)
|
|
6926
6946
|
|
|
6927
6947
|
| Properties | Type | Nullable | Description |
|
|
6928
6948
|
| ---------- | ---- | -------- | ----------- |
|
|
6929
|
-
|
|
|
6930
|
-
|
|
|
6949
|
+
| images | [[ProductImage](#ProductImage)] | no | |
|
|
6950
|
+
| categories | [[CategoryInfo](#CategoryInfo)] | no | |
|
|
6951
|
+
| name | string | no | |
|
|
6952
|
+
| slug | string | no | Unique product url name generated via product name and other meta data |
|
|
6953
|
+
| action | [ProductAction](#ProductAction) | no | |
|
|
6954
|
+
| type | string | no | |
|
|
6955
|
+
| uid | number | no | |
|
|
6956
|
+
| brand | [BaseInfo](#BaseInfo) | no | |
|
|
6931
6957
|
|
|
6932
6958
|
---
|
|
6933
6959
|
|
|
6934
6960
|
|
|
6935
6961
|
|
|
6936
6962
|
|
|
6937
|
-
#### [
|
|
6963
|
+
#### [PromoMeta](#PromoMeta)
|
|
6938
6964
|
|
|
6939
6965
|
| Properties | Type | Nullable | Description |
|
|
6940
6966
|
| ---------- | ---- | -------- | ----------- |
|
|
6941
|
-
|
|
|
6942
|
-
| seller | [BaseInfo](#BaseInfo) | no | |
|
|
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 | |
|
|
6967
|
+
| message | string | no | |
|
|
6951
6968
|
|
|
6952
6969
|
---
|
|
6953
6970
|
|
|
@@ -6958,165 +6975,165 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
6958
6975
|
|
|
6959
6976
|
| Properties | Type | Nullable | Description |
|
|
6960
6977
|
| ---------- | ---- | -------- | ----------- |
|
|
6978
|
+
| discount | string | no | |
|
|
6979
|
+
| is_set | boolean | no | |
|
|
6980
|
+
| article | [ProductArticle](#ProductArticle) | no | |
|
|
6961
6981
|
| price | [ProductPriceInfo](#ProductPriceInfo) | no | |
|
|
6962
6982
|
| message | string | no | |
|
|
6963
6983
|
| coupon_message | string | no | |
|
|
6984
|
+
| availability | [ProductAvailability](#ProductAvailability) | no | |
|
|
6985
|
+
| bulk_offer | string | no | |
|
|
6986
|
+
| quantity | number | no | |
|
|
6964
6987
|
| promotions_applied | [[AppliedPromotion](#AppliedPromotion)] | no | |
|
|
6965
6988
|
| 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
6989
|
| parent_item_identifiers | string | no | |
|
|
6972
6990
|
| price_per_unit | [ProductPriceInfo](#ProductPriceInfo) | no | |
|
|
6973
|
-
| bulk_offer | string | no | |
|
|
6974
|
-
| promo_meta | [PromoMeta](#PromoMeta) | no | |
|
|
6975
6991
|
| product | [CartProduct](#CartProduct) | no | |
|
|
6976
|
-
|
|
|
6992
|
+
| promo_meta | [PromoMeta](#PromoMeta) | no | |
|
|
6993
|
+
| key | string | no | |
|
|
6977
6994
|
|
|
6978
6995
|
---
|
|
6979
6996
|
|
|
6980
6997
|
|
|
6981
6998
|
|
|
6982
6999
|
|
|
6983
|
-
#### [
|
|
7000
|
+
#### [PromiseFormatted](#PromiseFormatted)
|
|
6984
7001
|
|
|
6985
7002
|
| Properties | Type | Nullable | Description |
|
|
6986
7003
|
| ---------- | ---- | -------- | ----------- |
|
|
6987
|
-
|
|
|
6988
|
-
|
|
|
6989
|
-
| is_applied | boolean | no | |
|
|
6990
|
-
| uid | string | no | |
|
|
6991
|
-
| type | string | no | |
|
|
6992
|
-
| value | number | no | |
|
|
7004
|
+
| min | string | no | |
|
|
7005
|
+
| max | string | no | |
|
|
6993
7006
|
|
|
6994
7007
|
---
|
|
6995
7008
|
|
|
6996
7009
|
|
|
6997
7010
|
|
|
6998
7011
|
|
|
6999
|
-
#### [
|
|
7012
|
+
#### [PromiseTimestamp](#PromiseTimestamp)
|
|
7000
7013
|
|
|
7001
7014
|
| Properties | Type | Nullable | Description |
|
|
7002
7015
|
| ---------- | ---- | -------- | ----------- |
|
|
7003
|
-
|
|
|
7004
|
-
|
|
|
7005
|
-
| you_saved | number | no | |
|
|
7006
|
-
| discount | number | no | |
|
|
7007
|
-
| subtotal | number | no | |
|
|
7008
|
-
| gst_charges | number | no | |
|
|
7009
|
-
| delivery_charge | number | no | |
|
|
7010
|
-
| fynd_cash | number | no | |
|
|
7011
|
-
| coupon | number | no | |
|
|
7012
|
-
| convenience_fee | number | no | |
|
|
7013
|
-
| vog | number | no | |
|
|
7014
|
-
| cod_charge | number | no | |
|
|
7016
|
+
| min | number | no | |
|
|
7017
|
+
| max | number | no | |
|
|
7015
7018
|
|
|
7016
7019
|
---
|
|
7017
7020
|
|
|
7018
7021
|
|
|
7019
7022
|
|
|
7020
7023
|
|
|
7021
|
-
#### [
|
|
7024
|
+
#### [ShipmentPromise](#ShipmentPromise)
|
|
7022
7025
|
|
|
7023
7026
|
| Properties | Type | Nullable | Description |
|
|
7024
7027
|
| ---------- | ---- | -------- | ----------- |
|
|
7025
|
-
|
|
|
7026
|
-
|
|
|
7027
|
-
| description | string | no | |
|
|
7028
|
-
| applicable | number | no | |
|
|
7028
|
+
| formatted | [PromiseFormatted](#PromiseFormatted) | no | |
|
|
7029
|
+
| timestamp | [PromiseTimestamp](#PromiseTimestamp) | no | |
|
|
7029
7030
|
|
|
7030
7031
|
---
|
|
7031
7032
|
|
|
7032
7033
|
|
|
7033
7034
|
|
|
7034
7035
|
|
|
7035
|
-
#### [
|
|
7036
|
+
#### [CartCurrency](#CartCurrency)
|
|
7036
7037
|
|
|
7037
7038
|
| Properties | Type | Nullable | Description |
|
|
7038
7039
|
| ---------- | ---- | -------- | ----------- |
|
|
7039
|
-
|
|
|
7040
|
-
|
|
|
7041
|
-
| currency_symbol | string | no | |
|
|
7042
|
-
| currency_code | string | no | |
|
|
7043
|
-
| value | number | no | |
|
|
7044
|
-
| display | string | no | |
|
|
7040
|
+
| code | string | no | Currency code defined by ISO 4217:2015 |
|
|
7041
|
+
| symbol | string | no | |
|
|
7045
7042
|
|
|
7046
7043
|
---
|
|
7047
7044
|
|
|
7048
7045
|
|
|
7049
7046
|
|
|
7050
7047
|
|
|
7051
|
-
#### [
|
|
7048
|
+
#### [PaymentSelectionLock](#PaymentSelectionLock)
|
|
7052
7049
|
|
|
7053
7050
|
| Properties | Type | Nullable | Description |
|
|
7054
7051
|
| ---------- | ---- | -------- | ----------- |
|
|
7055
|
-
|
|
|
7056
|
-
|
|
|
7057
|
-
|
|
|
7058
|
-
| display | [[DisplayBreakup](#DisplayBreakup)] | no | |
|
|
7052
|
+
| default_options | string | no | |
|
|
7053
|
+
| payment_identifier | string | no | |
|
|
7054
|
+
| enabled | boolean | no | |
|
|
7059
7055
|
|
|
7060
7056
|
---
|
|
7061
7057
|
|
|
7062
7058
|
|
|
7063
7059
|
|
|
7064
7060
|
|
|
7065
|
-
#### [
|
|
7061
|
+
#### [CouponBreakup](#CouponBreakup)
|
|
7066
7062
|
|
|
7067
7063
|
| Properties | Type | Nullable | Description |
|
|
7068
7064
|
| ---------- | ---- | -------- | ----------- |
|
|
7069
|
-
|
|
|
7070
|
-
|
|
|
7071
|
-
|
|
|
7065
|
+
| message | string | no | |
|
|
7066
|
+
| value | number | no | |
|
|
7067
|
+
| is_applied | boolean | no | |
|
|
7068
|
+
| type | string | no | |
|
|
7069
|
+
| code | string | no | |
|
|
7070
|
+
| uid | string | no | |
|
|
7072
7071
|
|
|
7073
7072
|
---
|
|
7074
7073
|
|
|
7075
7074
|
|
|
7076
7075
|
|
|
7077
7076
|
|
|
7078
|
-
#### [
|
|
7077
|
+
#### [LoyaltyPoints](#LoyaltyPoints)
|
|
7079
7078
|
|
|
7080
7079
|
| Properties | Type | Nullable | Description |
|
|
7081
7080
|
| ---------- | ---- | -------- | ----------- |
|
|
7082
|
-
|
|
|
7083
|
-
|
|
|
7081
|
+
| applicable | number | no | |
|
|
7082
|
+
| total | number | no | |
|
|
7083
|
+
| is_applied | boolean | no | |
|
|
7084
|
+
| description | string | no | |
|
|
7084
7085
|
|
|
7085
7086
|
---
|
|
7086
7087
|
|
|
7087
7088
|
|
|
7088
7089
|
|
|
7089
7090
|
|
|
7090
|
-
#### [
|
|
7091
|
+
#### [RawBreakup](#RawBreakup)
|
|
7091
7092
|
|
|
7092
7093
|
| Properties | Type | Nullable | Description |
|
|
7093
7094
|
| ---------- | ---- | -------- | ----------- |
|
|
7094
|
-
|
|
|
7095
|
-
|
|
|
7095
|
+
| delivery_charge | number | no | |
|
|
7096
|
+
| discount | number | no | |
|
|
7097
|
+
| subtotal | number | no | |
|
|
7098
|
+
| total | number | no | |
|
|
7099
|
+
| you_saved | number | no | |
|
|
7100
|
+
| vog | number | no | |
|
|
7101
|
+
| cod_charge | number | no | |
|
|
7102
|
+
| convenience_fee | number | no | |
|
|
7103
|
+
| coupon | number | no | |
|
|
7104
|
+
| gst_charges | number | no | |
|
|
7105
|
+
| mrp_total | number | no | |
|
|
7106
|
+
| fynd_cash | number | no | |
|
|
7096
7107
|
|
|
7097
7108
|
---
|
|
7098
7109
|
|
|
7099
7110
|
|
|
7100
7111
|
|
|
7101
7112
|
|
|
7102
|
-
#### [
|
|
7113
|
+
#### [DisplayBreakup](#DisplayBreakup)
|
|
7103
7114
|
|
|
7104
7115
|
| Properties | Type | Nullable | Description |
|
|
7105
7116
|
| ---------- | ---- | -------- | ----------- |
|
|
7106
|
-
|
|
|
7107
|
-
|
|
|
7108
|
-
|
|
7117
|
+
| message | [string] | no | |
|
|
7118
|
+
| value | number | no | |
|
|
7119
|
+
| display | string | no | |
|
|
7120
|
+
| currency_code | string | no | |
|
|
7121
|
+
| currency_symbol | string | no | |
|
|
7122
|
+
| key | string | no | |
|
|
7123
|
+
|
|
7109
7124
|
---
|
|
7110
7125
|
|
|
7111
7126
|
|
|
7112
7127
|
|
|
7113
7128
|
|
|
7114
|
-
#### [
|
|
7129
|
+
#### [CartBreakup](#CartBreakup)
|
|
7115
7130
|
|
|
7116
7131
|
| Properties | Type | Nullable | Description |
|
|
7117
7132
|
| ---------- | ---- | -------- | ----------- |
|
|
7118
|
-
|
|
|
7119
|
-
|
|
|
7133
|
+
| coupon | [CouponBreakup](#CouponBreakup) | no | |
|
|
7134
|
+
| loyalty_points | [LoyaltyPoints](#LoyaltyPoints) | no | |
|
|
7135
|
+
| raw | [RawBreakup](#RawBreakup) | no | |
|
|
7136
|
+
| display | [[DisplayBreakup](#DisplayBreakup)] | no | |
|
|
7120
7137
|
|
|
7121
7138
|
---
|
|
7122
7139
|
|
|
@@ -7127,22 +7144,22 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7127
7144
|
|
|
7128
7145
|
| Properties | Type | Nullable | Description |
|
|
7129
7146
|
| ---------- | ---- | -------- | ----------- |
|
|
7147
|
+
| delivery_charge_info | string | no | |
|
|
7148
|
+
| buy_now | boolean | no | |
|
|
7130
7149
|
| message | string | no | |
|
|
7131
|
-
| restrict_checkout | boolean | no | |
|
|
7132
|
-
| items | [[CartProductInfo](#CartProductInfo)] | no | |
|
|
7133
|
-
| breakup_values | [CartBreakup](#CartBreakup) | no | |
|
|
7134
|
-
| is_valid | boolean | no | |
|
|
7135
|
-
| payment_selection_lock | [PaymentSelectionLock](#PaymentSelectionLock) | no | |
|
|
7136
|
-
| comment | string | no | |
|
|
7137
7150
|
| checkout_mode | string | no | |
|
|
7151
|
+
| is_valid | boolean | no | |
|
|
7138
7152
|
| gstin | string | no | |
|
|
7139
|
-
|
|
|
7153
|
+
| items | [[CartProductInfo](#CartProductInfo)] | no | |
|
|
7154
|
+
| restrict_checkout | boolean | no | |
|
|
7155
|
+
| coupon_text | string | no | |
|
|
7140
7156
|
| last_modified | string | no | |
|
|
7157
|
+
| id | string | no | |
|
|
7141
7158
|
| delivery_promise | [ShipmentPromise](#ShipmentPromise) | no | |
|
|
7142
|
-
|
|
|
7159
|
+
| comment | string | no | |
|
|
7143
7160
|
| currency | [CartCurrency](#CartCurrency) | no | |
|
|
7144
|
-
|
|
|
7145
|
-
|
|
|
7161
|
+
| payment_selection_lock | [PaymentSelectionLock](#PaymentSelectionLock) | no | |
|
|
7162
|
+
| breakup_values | [CartBreakup](#CartBreakup) | no | |
|
|
7146
7163
|
|
|
7147
7164
|
---
|
|
7148
7165
|
|
|
@@ -7153,18 +7170,18 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7153
7170
|
|
|
7154
7171
|
| Properties | Type | Nullable | Description |
|
|
7155
7172
|
| ---------- | ---- | -------- | ----------- |
|
|
7156
|
-
| article_assignment | string | no | |
|
|
7157
7173
|
| pos | boolean | no | |
|
|
7158
|
-
| parent_item_identifiers | string | no | |
|
|
7159
|
-
| quantity | number | no | |
|
|
7160
|
-
| extra_meta | string | no | |
|
|
7161
|
-
| seller_id | number | no | |
|
|
7162
7174
|
| item_id | number | no | |
|
|
7163
|
-
|
|
|
7164
|
-
| article_id | string | no | |
|
|
7175
|
+
| seller_id | number | no | |
|
|
7165
7176
|
| store_id | number | no | |
|
|
7166
|
-
|
|
|
7177
|
+
| quantity | number | no | |
|
|
7178
|
+
| article_assignment | string | no | |
|
|
7167
7179
|
| display | string | no | |
|
|
7180
|
+
| product_group_tags | [string] | no | |
|
|
7181
|
+
| parent_item_identifiers | string | no | |
|
|
7182
|
+
| item_size | string | no | |
|
|
7183
|
+
| article_id | string | no | |
|
|
7184
|
+
| extra_meta | string | no | |
|
|
7168
7185
|
|
|
7169
7186
|
---
|
|
7170
7187
|
|
|
@@ -7186,9 +7203,9 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7186
7203
|
|
|
7187
7204
|
| Properties | Type | Nullable | Description |
|
|
7188
7205
|
| ---------- | ---- | -------- | ----------- |
|
|
7189
|
-
| cart | [CartDetailResponse](#CartDetailResponse) | no | |
|
|
7190
7206
|
| partial | boolean | no | When adding multiple items check if all added. True if only few are added. |
|
|
7191
7207
|
| message | string | no | |
|
|
7208
|
+
| cart | [CartDetailResponse](#CartDetailResponse) | no | |
|
|
7192
7209
|
| success | boolean | no | True if all items are added successfully. False if partially added or not added. |
|
|
7193
7210
|
|
|
7194
7211
|
---
|
|
@@ -7200,11 +7217,11 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7200
7217
|
|
|
7201
7218
|
| Properties | Type | Nullable | Description |
|
|
7202
7219
|
| ---------- | ---- | -------- | ----------- |
|
|
7203
|
-
|
|
|
7204
|
-
| identifiers | [CartProductIdentifer](#CartProductIdentifer) | yes | |
|
|
7220
|
+
| item_id | number | no | |
|
|
7205
7221
|
| quantity | number | no | |
|
|
7222
|
+
| identifiers | [CartProductIdentifer](#CartProductIdentifer) | yes | |
|
|
7206
7223
|
| parent_item_identifiers | string | no | |
|
|
7207
|
-
|
|
|
7224
|
+
| item_index | number | no | |
|
|
7208
7225
|
| item_size | string | no | |
|
|
7209
7226
|
| article_id | string | no | |
|
|
7210
7227
|
| extra_meta | string | no | |
|
|
@@ -7218,8 +7235,8 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7218
7235
|
|
|
7219
7236
|
| Properties | Type | Nullable | Description |
|
|
7220
7237
|
| ---------- | ---- | -------- | ----------- |
|
|
7221
|
-
| operation | string | yes | |
|
|
7222
7238
|
| items | [[UpdateProductCart](#UpdateProductCart)] | no | |
|
|
7239
|
+
| operation | string | yes | |
|
|
7223
7240
|
|
|
7224
7241
|
---
|
|
7225
7242
|
|
|
@@ -7230,8 +7247,8 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7230
7247
|
|
|
7231
7248
|
| Properties | Type | Nullable | Description |
|
|
7232
7249
|
| ---------- | ---- | -------- | ----------- |
|
|
7233
|
-
| cart | [CartDetailResponse](#CartDetailResponse) | no | |
|
|
7234
7250
|
| message | string | no | |
|
|
7251
|
+
| cart | [CartDetailResponse](#CartDetailResponse) | no | |
|
|
7235
7252
|
| success | boolean | no | True if all items are added successfully. False if partially added or not added. |
|
|
7236
7253
|
|
|
7237
7254
|
---
|
|
@@ -7250,58 +7267,70 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7250
7267
|
|
|
7251
7268
|
|
|
7252
7269
|
|
|
7270
|
+
#### [PageCoupon](#PageCoupon)
|
|
7271
|
+
|
|
7272
|
+
| Properties | Type | Nullable | Description |
|
|
7273
|
+
| ---------- | ---- | -------- | ----------- |
|
|
7274
|
+
| total | number | no | |
|
|
7275
|
+
| has_previous | boolean | no | |
|
|
7276
|
+
| current | number | no | |
|
|
7277
|
+
| has_next | boolean | no | |
|
|
7278
|
+
| total_item_count | number | no | |
|
|
7279
|
+
|
|
7280
|
+
---
|
|
7281
|
+
|
|
7282
|
+
|
|
7283
|
+
|
|
7284
|
+
|
|
7253
7285
|
#### [Coupon](#Coupon)
|
|
7254
7286
|
|
|
7255
7287
|
| Properties | Type | Nullable | Description |
|
|
7256
7288
|
| ---------- | ---- | -------- | ----------- |
|
|
7257
|
-
| minimum_cart_value | number | no | |
|
|
7258
|
-
| sub_title | string | no | |
|
|
7259
7289
|
| message | string | no | |
|
|
7260
7290
|
| max_discount_value | number | no | |
|
|
7261
|
-
|
|
|
7262
|
-
| title | string | no | |
|
|
7291
|
+
| sub_title | string | no | |
|
|
7263
7292
|
| is_applicable | boolean | no | |
|
|
7264
|
-
|
|
|
7293
|
+
| expires_on | string | no | |
|
|
7265
7294
|
| is_applied | boolean | no | |
|
|
7266
7295
|
| coupon_code | string | no | |
|
|
7296
|
+
| coupon_value | number | no | |
|
|
7297
|
+
| minimum_cart_value | number | no | |
|
|
7298
|
+
| title | string | no | |
|
|
7267
7299
|
|
|
7268
7300
|
---
|
|
7269
7301
|
|
|
7270
7302
|
|
|
7271
7303
|
|
|
7272
7304
|
|
|
7273
|
-
#### [
|
|
7305
|
+
#### [GetCouponResponse](#GetCouponResponse)
|
|
7274
7306
|
|
|
7275
7307
|
| Properties | Type | Nullable | Description |
|
|
7276
7308
|
| ---------- | ---- | -------- | ----------- |
|
|
7277
|
-
|
|
|
7278
|
-
|
|
|
7279
|
-
| has_previous | boolean | no | |
|
|
7280
|
-
| total_item_count | number | no | |
|
|
7281
|
-
| current | number | no | |
|
|
7309
|
+
| page | [PageCoupon](#PageCoupon) | no | |
|
|
7310
|
+
| available_coupon_list | [[Coupon](#Coupon)] | no | |
|
|
7282
7311
|
|
|
7283
7312
|
---
|
|
7284
7313
|
|
|
7285
7314
|
|
|
7286
7315
|
|
|
7287
7316
|
|
|
7288
|
-
#### [
|
|
7317
|
+
#### [ApplyCouponRequest](#ApplyCouponRequest)
|
|
7289
7318
|
|
|
7290
7319
|
| Properties | Type | Nullable | Description |
|
|
7291
7320
|
| ---------- | ---- | -------- | ----------- |
|
|
7292
|
-
|
|
|
7293
|
-
| page | [PageCoupon](#PageCoupon) | no | |
|
|
7321
|
+
| coupon_code | string | yes | Coupon code to be applied |
|
|
7294
7322
|
|
|
7295
7323
|
---
|
|
7296
7324
|
|
|
7297
7325
|
|
|
7298
7326
|
|
|
7299
7327
|
|
|
7300
|
-
#### [
|
|
7328
|
+
#### [OfferSeller](#OfferSeller)
|
|
7301
7329
|
|
|
7302
7330
|
| Properties | Type | Nullable | Description |
|
|
7303
7331
|
| ---------- | ---- | -------- | ----------- |
|
|
7304
|
-
|
|
|
7332
|
+
| uid | number | no | Seller id |
|
|
7333
|
+
| name | string | no | |
|
|
7305
7334
|
|
|
7306
7335
|
---
|
|
7307
7336
|
|
|
@@ -7312,11 +7341,11 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7312
7341
|
|
|
7313
7342
|
| Properties | Type | Nullable | Description |
|
|
7314
7343
|
| ---------- | ---- | -------- | ----------- |
|
|
7315
|
-
|
|
|
7316
|
-
| currency_symbol | string | no | Currency symbol for currency |
|
|
7344
|
+
| bulk_effective | number | no | Discounted per unit price for current offer object |
|
|
7317
7345
|
| marked | number | no | Original price of product |
|
|
7346
|
+
| effective | number | no | Current per unit price of product after existing deductions |
|
|
7318
7347
|
| currency_code | string | no | Currency code for all amounts |
|
|
7319
|
-
|
|
|
7348
|
+
| currency_symbol | string | no | Currency symbol for currency |
|
|
7320
7349
|
|
|
7321
7350
|
---
|
|
7322
7351
|
|
|
@@ -7328,9 +7357,9 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7328
7357
|
| Properties | Type | Nullable | Description |
|
|
7329
7358
|
| ---------- | ---- | -------- | ----------- |
|
|
7330
7359
|
| price | [OfferPrice](#OfferPrice) | no | |
|
|
7331
|
-
| auto_applied | boolean | no | Whether offer discount is auto applied in cart |
|
|
7332
|
-
| margin | number | no | Percentage value of discount |
|
|
7333
7360
|
| total | number | no | Total price of offer quantity with discount |
|
|
7361
|
+
| margin | number | no | Percentage value of discount |
|
|
7362
|
+
| auto_applied | boolean | no | Whether offer discount is auto applied in cart |
|
|
7334
7363
|
| quantity | number | no | Quantity on which offer is applicable |
|
|
7335
7364
|
| type | string | no | Offer type |
|
|
7336
7365
|
| best | boolean | no | Is true for best offer from all offers present for all sellers |
|
|
@@ -7340,24 +7369,12 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7340
7369
|
|
|
7341
7370
|
|
|
7342
7371
|
|
|
7343
|
-
#### [OfferSeller](#OfferSeller)
|
|
7344
|
-
|
|
7345
|
-
| Properties | Type | Nullable | Description |
|
|
7346
|
-
| ---------- | ---- | -------- | ----------- |
|
|
7347
|
-
| name | string | no | |
|
|
7348
|
-
| uid | number | no | Seller id |
|
|
7349
|
-
|
|
7350
|
-
---
|
|
7351
|
-
|
|
7352
|
-
|
|
7353
|
-
|
|
7354
|
-
|
|
7355
7372
|
#### [BulkPriceOffer](#BulkPriceOffer)
|
|
7356
7373
|
|
|
7357
7374
|
| Properties | Type | Nullable | Description |
|
|
7358
7375
|
| ---------- | ---- | -------- | ----------- |
|
|
7359
|
-
| offers | [[OfferItem](#OfferItem)] | no | |
|
|
7360
7376
|
| seller | [OfferSeller](#OfferSeller) | no | |
|
|
7377
|
+
| offers | [[OfferItem](#OfferItem)] | no | |
|
|
7361
7378
|
|
|
7362
7379
|
---
|
|
7363
7380
|
|
|
@@ -7402,28 +7419,28 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7402
7419
|
|
|
7403
7420
|
| Properties | Type | Nullable | Description |
|
|
7404
7421
|
| ---------- | ---- | -------- | ----------- |
|
|
7405
|
-
|
|
|
7406
|
-
|
|
|
7407
|
-
|
|
|
7408
|
-
| meta | string | no | |
|
|
7409
|
-
| address | string | no | |
|
|
7410
|
-
| geo_location | [GeoLocation](#GeoLocation) | no | |
|
|
7422
|
+
| area_code | string | no | |
|
|
7423
|
+
| address_type | string | no | |
|
|
7424
|
+
| landmark | string | no | |
|
|
7411
7425
|
| name | string | no | |
|
|
7412
|
-
|
|
|
7426
|
+
| tags | [string] | no | |
|
|
7427
|
+
| country | string | no | |
|
|
7413
7428
|
| area | string | no | |
|
|
7414
|
-
|
|
|
7415
|
-
| address_type | string | no | |
|
|
7416
|
-
| state | string | no | |
|
|
7429
|
+
| phone | string | no | |
|
|
7417
7430
|
| checkout_mode | string | no | |
|
|
7418
7431
|
| email | string | no | |
|
|
7419
|
-
|
|
|
7432
|
+
| country_code | string | no | |
|
|
7433
|
+
| city | string | no | |
|
|
7434
|
+
| state | string | no | |
|
|
7435
|
+
| area_code_slug | string | no | |
|
|
7436
|
+
| geo_location | [GeoLocation](#GeoLocation) | no | |
|
|
7420
7437
|
| is_active | boolean | no | |
|
|
7421
|
-
| area_code | string | no | |
|
|
7422
|
-
| country | string | no | |
|
|
7423
|
-
| is_default_address | boolean | no | |
|
|
7424
7438
|
| id | string | no | |
|
|
7439
|
+
| meta | string | no | |
|
|
7440
|
+
| is_default_address | boolean | no | |
|
|
7425
7441
|
| google_map_point | string | no | |
|
|
7426
|
-
|
|
|
7442
|
+
| user_id | string | no | |
|
|
7443
|
+
| address | string | no | |
|
|
7427
7444
|
|
|
7428
7445
|
---
|
|
7429
7446
|
|
|
@@ -7459,9 +7476,9 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7459
7476
|
| Properties | Type | Nullable | Description |
|
|
7460
7477
|
| ---------- | ---- | -------- | ----------- |
|
|
7461
7478
|
| is_default_address | boolean | no | |
|
|
7479
|
+
| success | boolean | no | |
|
|
7462
7480
|
| is_updated | boolean | no | |
|
|
7463
7481
|
| id | string | no | |
|
|
7464
|
-
| success | boolean | no | |
|
|
7465
7482
|
|
|
7466
7483
|
---
|
|
7467
7484
|
|
|
@@ -7484,9 +7501,9 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7484
7501
|
|
|
7485
7502
|
| Properties | Type | Nullable | Description |
|
|
7486
7503
|
| ---------- | ---- | -------- | ----------- |
|
|
7504
|
+
| cart_id | string | no | |
|
|
7487
7505
|
| billing_address_id | string | no | |
|
|
7488
7506
|
| id | string | no | |
|
|
7489
|
-
| cart_id | string | no | |
|
|
7490
7507
|
|
|
7491
7508
|
---
|
|
7492
7509
|
|
|
@@ -7497,12 +7514,12 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7497
7514
|
|
|
7498
7515
|
| Properties | Type | Nullable | Description |
|
|
7499
7516
|
| ---------- | ---- | -------- | ----------- |
|
|
7500
|
-
| merchant_code | string | no | |
|
|
7501
|
-
| payment_mode | string | no | |
|
|
7502
|
-
| payment_identifier | string | no | |
|
|
7503
|
-
| address_id | string | no | |
|
|
7504
7517
|
| aggregator_name | string | no | |
|
|
7518
|
+
| address_id | string | no | |
|
|
7505
7519
|
| id | string | no | |
|
|
7520
|
+
| payment_mode | string | no | |
|
|
7521
|
+
| merchant_code | string | no | |
|
|
7522
|
+
| payment_identifier | string | no | |
|
|
7506
7523
|
|
|
7507
7524
|
---
|
|
7508
7525
|
|
|
@@ -7513,11 +7530,11 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7513
7530
|
|
|
7514
7531
|
| Properties | Type | Nullable | Description |
|
|
7515
7532
|
| ---------- | ---- | -------- | ----------- |
|
|
7516
|
-
| code | string | no | |
|
|
7517
7533
|
| discount | number | no | |
|
|
7518
|
-
| title | string | no | |
|
|
7519
7534
|
| display_message_en | string | no | |
|
|
7520
7535
|
| valid | boolean | no | |
|
|
7536
|
+
| title | string | no | |
|
|
7537
|
+
| code | string | no | |
|
|
7521
7538
|
|
|
7522
7539
|
---
|
|
7523
7540
|
|
|
@@ -7528,9 +7545,9 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7528
7545
|
|
|
7529
7546
|
| Properties | Type | Nullable | Description |
|
|
7530
7547
|
| ---------- | ---- | -------- | ----------- |
|
|
7531
|
-
| coupon_validity | [CouponValidity](#CouponValidity) | no | |
|
|
7532
7548
|
| message | string | no | |
|
|
7533
7549
|
| success | boolean | yes | |
|
|
7550
|
+
| coupon_validity | [CouponValidity](#CouponValidity) | no | |
|
|
7534
7551
|
|
|
7535
7552
|
---
|
|
7536
7553
|
|
|
@@ -7541,16 +7558,16 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7541
7558
|
|
|
7542
7559
|
| Properties | Type | Nullable | Description |
|
|
7543
7560
|
| ---------- | ---- | -------- | ----------- |
|
|
7544
|
-
| shipments | number | no | |
|
|
7545
7561
|
| items | [[CartProductInfo](#CartProductInfo)] | no | |
|
|
7546
|
-
| box_type | string | no | |
|
|
7547
|
-
| promise | [ShipmentPromise](#ShipmentPromise) | no | |
|
|
7548
|
-
| fulfillment_type | string | no | |
|
|
7549
|
-
| shipment_type | string | no | |
|
|
7550
7562
|
| fulfillment_id | number | no | |
|
|
7551
|
-
|
|
|
7552
|
-
| dp_id | string | no | |
|
|
7563
|
+
| shipment_type | string | no | |
|
|
7553
7564
|
| dp_options | string | no | |
|
|
7565
|
+
| promise | [ShipmentPromise](#ShipmentPromise) | no | |
|
|
7566
|
+
| dp_id | string | no | |
|
|
7567
|
+
| box_type | string | no | |
|
|
7568
|
+
| shipments | number | no | |
|
|
7569
|
+
| order_type | string | no | |
|
|
7570
|
+
| fulfillment_type | string | no | |
|
|
7554
7571
|
|
|
7555
7572
|
---
|
|
7556
7573
|
|
|
@@ -7562,24 +7579,24 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7562
7579
|
| Properties | Type | Nullable | Description |
|
|
7563
7580
|
| ---------- | ---- | -------- | ----------- |
|
|
7564
7581
|
| message | string | no | |
|
|
7565
|
-
|
|
|
7582
|
+
| error | boolean | no | |
|
|
7583
|
+
| coupon_text | string | no | |
|
|
7584
|
+
| currency | [CartCurrency](#CartCurrency) | no | |
|
|
7566
7585
|
| payment_selection_lock | [PaymentSelectionLock](#PaymentSelectionLock) | no | |
|
|
7586
|
+
| uid | string | no | |
|
|
7567
7587
|
| checkout_mode | string | no | |
|
|
7568
7588
|
| buy_now | boolean | no | |
|
|
7569
|
-
| coupon_text | string | no | |
|
|
7570
|
-
| currency | [CartCurrency](#CartCurrency) | no | |
|
|
7571
7589
|
| delivery_charge_info | string | no | |
|
|
7572
|
-
|
|
|
7573
|
-
| breakup_values | [CartBreakup](#CartBreakup) | no | |
|
|
7574
|
-
| cart_id | number | no | |
|
|
7575
|
-
| error | boolean | no | |
|
|
7576
|
-
| comment | string | no | |
|
|
7577
|
-
| uid | string | no | |
|
|
7590
|
+
| is_valid | boolean | no | |
|
|
7578
7591
|
| gstin | string | no | |
|
|
7592
|
+
| restrict_checkout | boolean | no | |
|
|
7593
|
+
| last_modified | string | no | |
|
|
7579
7594
|
| delivery_promise | [ShipmentPromise](#ShipmentPromise) | no | |
|
|
7580
7595
|
| id | string | no | |
|
|
7581
|
-
|
|
|
7582
|
-
|
|
|
7596
|
+
| comment | string | no | |
|
|
7597
|
+
| shipments | [[ShipmentResponse](#ShipmentResponse)] | no | |
|
|
7598
|
+
| cart_id | number | no | |
|
|
7599
|
+
| breakup_values | [CartBreakup](#CartBreakup) | no | |
|
|
7583
7600
|
|
|
7584
7601
|
---
|
|
7585
7602
|
|
|
@@ -7591,8 +7608,8 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7591
7608
|
| Properties | Type | Nullable | Description |
|
|
7592
7609
|
| ---------- | ---- | -------- | ----------- |
|
|
7593
7610
|
| article_uid | string | yes | Article mongo id |
|
|
7594
|
-
| quantity | number | no | Quantity of product in shipment |
|
|
7595
7611
|
| shipment_type | string | yes | Shipment delivery type |
|
|
7612
|
+
| quantity | number | no | Quantity of product in shipment |
|
|
7596
7613
|
|
|
7597
7614
|
---
|
|
7598
7615
|
|
|
@@ -7610,26 +7627,26 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7610
7627
|
|
|
7611
7628
|
|
|
7612
7629
|
|
|
7613
|
-
#### [
|
|
7630
|
+
#### [Files](#Files)
|
|
7614
7631
|
|
|
7615
7632
|
| Properties | Type | Nullable | Description |
|
|
7616
7633
|
| ---------- | ---- | -------- | ----------- |
|
|
7617
|
-
|
|
|
7618
|
-
|
|
|
7619
|
-
| user | string | yes | |
|
|
7620
|
-
| _id | string | yes | |
|
|
7634
|
+
| values | [string] | yes | |
|
|
7635
|
+
| key | string | yes | |
|
|
7621
7636
|
|
|
7622
7637
|
---
|
|
7623
7638
|
|
|
7624
7639
|
|
|
7625
7640
|
|
|
7626
7641
|
|
|
7627
|
-
#### [
|
|
7642
|
+
#### [StaffCheckout](#StaffCheckout)
|
|
7628
7643
|
|
|
7629
7644
|
| Properties | Type | Nullable | Description |
|
|
7630
7645
|
| ---------- | ---- | -------- | ----------- |
|
|
7631
|
-
|
|
|
7632
|
-
|
|
|
7646
|
+
| _id | string | yes | |
|
|
7647
|
+
| last_name | string | yes | |
|
|
7648
|
+
| first_name | string | yes | |
|
|
7649
|
+
| user | string | yes | |
|
|
7633
7650
|
|
|
7634
7651
|
---
|
|
7635
7652
|
|
|
@@ -7640,25 +7657,25 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7640
7657
|
|
|
7641
7658
|
| Properties | Type | Nullable | Description |
|
|
7642
7659
|
| ---------- | ---- | -------- | ----------- |
|
|
7643
|
-
| ordering_store | number | no | |
|
|
7644
|
-
| meta | string | no | |
|
|
7645
7660
|
| aggregator | string | no | |
|
|
7646
|
-
|
|
|
7647
|
-
| billing_address_id | string | no | |
|
|
7648
|
-
| pos | boolean | no | |
|
|
7661
|
+
| payment_mode | string | yes | |
|
|
7649
7662
|
| merchant_code | string | no | |
|
|
7663
|
+
| payment_auto_confirm | boolean | no | |
|
|
7664
|
+
| order_type | string | yes | |
|
|
7650
7665
|
| delivery_address | string | no | |
|
|
7666
|
+
| ordering_store | number | no | |
|
|
7667
|
+
| files | [[Files](#Files)] | no | List of file url |
|
|
7668
|
+
| pick_at_store_uid | number | no | |
|
|
7669
|
+
| pos | boolean | no | |
|
|
7670
|
+
| extra_meta | string | no | |
|
|
7671
|
+
| payment_params | string | no | |
|
|
7672
|
+
| billing_address | string | no | |
|
|
7651
7673
|
| address_id | string | no | |
|
|
7674
|
+
| billing_address_id | string | no | |
|
|
7652
7675
|
| staff | [StaffCheckout](#StaffCheckout) | no | |
|
|
7653
|
-
|
|
|
7676
|
+
| meta | string | no | |
|
|
7654
7677
|
| callback_url | string | no | |
|
|
7655
|
-
| billing_address | string | no | |
|
|
7656
|
-
| files | [[Files](#Files)] | no | List of file url |
|
|
7657
|
-
| payment_mode | string | yes | |
|
|
7658
|
-
| payment_params | string | no | |
|
|
7659
7678
|
| payment_identifier | string | no | |
|
|
7660
|
-
| payment_auto_confirm | boolean | no | |
|
|
7661
|
-
| extra_meta | string | no | |
|
|
7662
7679
|
|
|
7663
7680
|
---
|
|
7664
7681
|
|
|
@@ -7669,35 +7686,35 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7669
7686
|
|
|
7670
7687
|
| Properties | Type | Nullable | Description |
|
|
7671
7688
|
| ---------- | ---- | -------- | ----------- |
|
|
7672
|
-
|
|
|
7673
|
-
|
|
|
7689
|
+
| error_message | string | no | |
|
|
7690
|
+
| cod_available | boolean | no | |
|
|
7674
7691
|
| delivery_charges | number | no | |
|
|
7675
7692
|
| currency | [CartCurrency](#CartCurrency) | no | |
|
|
7676
|
-
| delivery_charge_info | string | no | |
|
|
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 | |
|
|
7683
|
-
| gstin | string | no | |
|
|
7684
|
-
| delivery_promise | [ShipmentPromise](#ShipmentPromise) | no | |
|
|
7685
|
-
| store_emps | [string] | no | |
|
|
7686
|
-
| is_valid | boolean | no | |
|
|
7687
|
-
| coupon_text | string | no | |
|
|
7688
|
-
| error_message | string | no | |
|
|
7689
|
-
| message | string | no | |
|
|
7690
7693
|
| payment_selection_lock | [PaymentSelectionLock](#PaymentSelectionLock) | no | |
|
|
7694
|
+
| store_emps | [string] | no | |
|
|
7691
7695
|
| checkout_mode | string | no | |
|
|
7692
7696
|
| buy_now | boolean | no | |
|
|
7693
|
-
|
|
|
7694
|
-
|
|
|
7695
|
-
|
|
|
7696
|
-
|
|
|
7697
|
+
| gstin | string | no | |
|
|
7698
|
+
| last_modified | string | no | |
|
|
7699
|
+
| delivery_promise | [ShipmentPromise](#ShipmentPromise) | no | |
|
|
7700
|
+
| success | boolean | no | |
|
|
7701
|
+
| cart_id | number | no | |
|
|
7702
|
+
| breakup_values | [CartBreakup](#CartBreakup) | no | |
|
|
7703
|
+
| message | string | no | |
|
|
7704
|
+
| store_code | string | no | |
|
|
7705
|
+
| items | [[CartProductInfo](#CartProductInfo)] | no | |
|
|
7706
|
+
| cod_charges | number | no | |
|
|
7707
|
+
| coupon_text | string | no | |
|
|
7697
7708
|
| order_id | string | no | |
|
|
7698
7709
|
| uid | string | no | |
|
|
7710
|
+
| delivery_charge_info | string | no | |
|
|
7711
|
+
| is_valid | boolean | no | |
|
|
7712
|
+
| cod_message | string | no | |
|
|
7713
|
+
| delivery_charge_order_value | number | no | |
|
|
7714
|
+
| restrict_checkout | boolean | no | |
|
|
7699
7715
|
| id | string | no | |
|
|
7700
|
-
|
|
|
7716
|
+
| user_type | string | no | |
|
|
7717
|
+
| comment | string | no | |
|
|
7701
7718
|
|
|
7702
7719
|
---
|
|
7703
7720
|
|
|
@@ -7710,12 +7727,12 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7710
7727
|
| ---------- | ---- | -------- | ----------- |
|
|
7711
7728
|
| message | string | no | |
|
|
7712
7729
|
| cart | [CheckCart](#CheckCart) | no | |
|
|
7713
|
-
| payment_confirm_url | string | no | |
|
|
7714
7730
|
| app_intercept_url | string | no | |
|
|
7715
|
-
|
|
|
7731
|
+
| payment_confirm_url | string | no | |
|
|
7732
|
+
| callback_url | string | no | |
|
|
7716
7733
|
| data | string | no | |
|
|
7717
7734
|
| order_id | string | no | |
|
|
7718
|
-
|
|
|
7735
|
+
| success | boolean | no | |
|
|
7719
7736
|
|
|
7720
7737
|
---
|
|
7721
7738
|
|
|
@@ -7762,8 +7779,8 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7762
7779
|
|
|
7763
7780
|
| Properties | Type | Nullable | Description |
|
|
7764
7781
|
| ---------- | ---- | -------- | ----------- |
|
|
7765
|
-
| pickup_stores | [number] | no | Store pick up available store uids |
|
|
7766
7782
|
| available_modes | [string] | no | Available delivery modes |
|
|
7783
|
+
| pickup_stores | [number] | no | Store pick up available store uids |
|
|
7767
7784
|
|
|
7768
7785
|
---
|
|
7769
7786
|
|
|
@@ -7774,22 +7791,22 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7774
7791
|
|
|
7775
7792
|
| Properties | Type | Nullable | Description |
|
|
7776
7793
|
| ---------- | ---- | -------- | ----------- |
|
|
7777
|
-
| phone | string | no | |
|
|
7778
|
-
| address_type | string | no | |
|
|
7779
|
-
| state | string | no | |
|
|
7780
7794
|
| area_code | string | no | |
|
|
7781
|
-
|
|
|
7782
|
-
| country | string | no | |
|
|
7795
|
+
| address_type | string | no | |
|
|
7783
7796
|
| pincode | number | no | |
|
|
7784
|
-
|
|
|
7797
|
+
| landmark | string | no | |
|
|
7785
7798
|
| store_code | string | no | |
|
|
7786
|
-
|
|
|
7799
|
+
| area_code_slug | string | no | |
|
|
7800
|
+
| name | string | no | |
|
|
7801
|
+
| city | string | no | |
|
|
7787
7802
|
| id | number | no | |
|
|
7803
|
+
| country | string | no | |
|
|
7804
|
+
| state | string | no | |
|
|
7788
7805
|
| email | string | no | |
|
|
7789
|
-
|
|
|
7806
|
+
| area | string | no | |
|
|
7807
|
+
| phone | string | no | |
|
|
7808
|
+
| uid | number | no | |
|
|
7790
7809
|
| address | string | no | |
|
|
7791
|
-
| landmark | string | no | |
|
|
7792
|
-
| area_code_slug | string | no | |
|
|
7793
7810
|
|
|
7794
7811
|
---
|
|
7795
7812
|
|
|
@@ -7835,10 +7852,10 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7835
7852
|
|
|
7836
7853
|
| Properties | Type | Nullable | Description |
|
|
7837
7854
|
| ---------- | ---- | -------- | ----------- |
|
|
7838
|
-
| source | string | no | Share link device and other source information |
|
|
7839
|
-
| user | string | no | User details of who generated share link |
|
|
7840
7855
|
| token | string | no | Short link id |
|
|
7856
|
+
| user | string | no | User details of who generated share link |
|
|
7841
7857
|
| created_on | string | no | |
|
|
7858
|
+
| source | string | no | Share link device and other source information |
|
|
7842
7859
|
| meta | string | no | Meta data sent while generating share cart link |
|
|
7843
7860
|
|
|
7844
7861
|
---
|
|
@@ -7850,25 +7867,25 @@ Success. Returns a merged or replaced cart as per the valid token. Refer `Shared
|
|
|
7850
7867
|
|
|
7851
7868
|
| Properties | Type | Nullable | Description |
|
|
7852
7869
|
| ---------- | ---- | -------- | ----------- |
|
|
7853
|
-
| items | [[CartProductInfo](#CartProductInfo)] | no | |
|
|
7854
7870
|
| currency | [CartCurrency](#CartCurrency) | no | |
|
|
7855
|
-
| delivery_charge_info | string | no | |
|
|
7856
|
-
| breakup_values | [CartBreakup](#CartBreakup) | no | |
|
|
7857
|
-
| cart_id | number | no | |
|
|
7858
|
-
| gstin | string | no | |
|
|
7859
|
-
| delivery_promise | [ShipmentPromise](#ShipmentPromise) | no | |
|
|
7860
|
-
| is_valid | boolean | no | |
|
|
7861
|
-
| coupon_text | string | no | |
|
|
7862
|
-
| message | string | no | |
|
|
7863
7871
|
| payment_selection_lock | [PaymentSelectionLock](#PaymentSelectionLock) | no | |
|
|
7864
7872
|
| checkout_mode | string | no | |
|
|
7865
7873
|
| buy_now | boolean | no | |
|
|
7866
|
-
|
|
|
7867
|
-
| comment | string | no | |
|
|
7868
|
-
| uid | string | no | |
|
|
7869
|
-
| id | string | no | |
|
|
7874
|
+
| gstin | string | no | |
|
|
7870
7875
|
| last_modified | string | no | |
|
|
7876
|
+
| delivery_promise | [ShipmentPromise](#ShipmentPromise) | no | |
|
|
7877
|
+
| cart_id | number | no | |
|
|
7878
|
+
| breakup_values | [CartBreakup](#CartBreakup) | no | |
|
|
7879
|
+
| message | string | no | |
|
|
7880
|
+
| items | [[CartProductInfo](#CartProductInfo)] | no | |
|
|
7881
|
+
| coupon_text | string | no | |
|
|
7882
|
+
| uid | string | no | |
|
|
7883
|
+
| delivery_charge_info | string | no | |
|
|
7884
|
+
| is_valid | boolean | no | |
|
|
7885
|
+
| restrict_checkout | boolean | no | |
|
|
7871
7886
|
| shared_cart_details | [SharedCartDetails](#SharedCartDetails) | no | |
|
|
7887
|
+
| id | string | no | |
|
|
7888
|
+
| comment | string | no | |
|
|
7872
7889
|
|
|
7873
7890
|
---
|
|
7874
7891
|
|