@gofynd/fdk-client-javascript 1.0.2 → 1.0.4
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 +31 -2
- package/index.d.ts +4 -4
- package/index.js +9 -10
- package/package.json +14 -14
- package/sdk/APIClient.d.ts +11 -0
- package/sdk/APIClient.js +35 -0
- package/sdk/Client.d.ts +6 -0
- package/sdk/Client.js +17 -0
- package/sdk/Config.d.ts +9 -0
- package/sdk/Config.js +17 -0
- package/sdk/application/Cart/CartApplicationClient.d.ts +243 -243
- package/sdk/application/Cart/CartApplicationClient.js +595 -594
- package/sdk/application/Cart/CartApplicationModel.d.ts +64 -63
- package/sdk/application/Cart/CartApplicationModel.js +490 -885
- package/sdk/application/Cart/CartApplicationValidator.d.ts +17 -17
- package/sdk/application/Cart/CartApplicationValidator.js +98 -98
- package/sdk/application/Catalog/CatalogApplicationClient.d.ts +358 -358
- package/sdk/application/Catalog/CatalogApplicationClient.js +1079 -1078
- package/sdk/application/Catalog/CatalogApplicationModel.d.ts +90 -90
- package/sdk/application/Catalog/CatalogApplicationModel.js +683 -1249
- package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +19 -19
- package/sdk/application/Catalog/CatalogApplicationValidator.js +110 -110
- package/sdk/application/Common/CommonApplicationClient.d.ts +13 -13
- package/sdk/application/Common/CommonApplicationClient.js +43 -42
- package/sdk/application/Common/CommonApplicationModel.d.ts +12 -12
- package/sdk/application/Common/CommonApplicationModel.js +83 -160
- package/sdk/application/Common/CommonApplicationValidator.d.ts +1 -1
- package/sdk/application/Common/CommonApplicationValidator.js +6 -6
- package/sdk/application/Communication/CommunicationApplicationClient.d.ts +11 -11
- package/sdk/application/Communication/CommunicationApplicationClient.js +32 -31
- package/sdk/application/Communication/CommunicationApplicationModel.d.ts +6 -6
- package/sdk/application/Communication/CommunicationApplicationModel.js +38 -83
- package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +1 -1
- package/sdk/application/Communication/CommunicationApplicationValidator.js +4 -4
- package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +116 -116
- package/sdk/application/Configuration/ConfigurationApplicationClient.js +350 -349
- package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +85 -85
- package/sdk/application/Configuration/ConfigurationApplicationModel.js +480 -851
- package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +8 -8
- package/sdk/application/Configuration/ConfigurationApplicationValidator.js +33 -33
- package/sdk/application/Content/ContentApplicationClient.d.ts +67 -67
- package/sdk/application/Content/ContentApplicationClient.js +216 -215
- package/sdk/application/Content/ContentApplicationModel.d.ts +76 -76
- package/sdk/application/Content/ContentApplicationModel.js +468 -884
- package/sdk/application/Content/ContentApplicationValidator.d.ts +5 -5
- package/sdk/application/Content/ContentApplicationValidator.js +24 -24
- package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +25 -25
- package/sdk/application/FileStorage/FileStorageApplicationClient.js +65 -64
- package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +13 -13
- package/sdk/application/FileStorage/FileStorageApplicationModel.js +86 -169
- package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +1 -1
- package/sdk/application/FileStorage/FileStorageApplicationValidator.js +7 -7
- package/sdk/application/Lead/LeadApplicationClient.d.ts +24 -24
- package/sdk/application/Lead/LeadApplicationClient.js +109 -108
- package/sdk/application/Lead/LeadApplicationModel.d.ts +35 -35
- package/sdk/application/Lead/LeadApplicationModel.js +267 -474
- package/sdk/application/Lead/LeadApplicationValidator.d.ts +2 -2
- package/sdk/application/Lead/LeadApplicationValidator.js +11 -11
- package/sdk/application/Logistic/LogisticApplicationClient.d.ts +31 -22
- package/sdk/application/Logistic/LogisticApplicationClient.js +115 -49
- package/sdk/application/Logistic/LogisticApplicationModel.d.ts +17 -14
- package/sdk/application/Logistic/LogisticApplicationModel.js +133 -201
- package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +3 -2
- package/sdk/application/Logistic/LogisticApplicationValidator.js +14 -9
- package/sdk/application/Order/OrderApplicationClient.d.ts +85 -85
- package/sdk/application/Order/OrderApplicationClient.js +247 -246
- package/sdk/application/Order/OrderApplicationModel.d.ts +50 -50
- package/sdk/application/Order/OrderApplicationModel.js +361 -656
- package/sdk/application/Order/OrderApplicationValidator.d.ts +7 -7
- package/sdk/application/Order/OrderApplicationValidator.js +28 -28
- package/sdk/application/Payment/PaymentApplicationClient.d.ts +318 -318
- package/sdk/application/Payment/PaymentApplicationClient.js +781 -780
- package/sdk/application/Payment/PaymentApplicationModel.d.ts +72 -72
- package/sdk/application/Payment/PaymentApplicationModel.js +570 -1038
- package/sdk/application/Payment/PaymentApplicationValidator.d.ts +28 -28
- package/sdk/application/Payment/PaymentApplicationValidator.js +107 -107
- package/sdk/application/PosCart/PosCartApplicationClient.d.ts +254 -254
- package/sdk/application/PosCart/PosCartApplicationClient.js +646 -645
- package/sdk/application/PosCart/PosCartApplicationModel.d.ts +64 -63
- package/sdk/application/PosCart/PosCartApplicationModel.js +476 -870
- package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +18 -18
- package/sdk/application/PosCart/PosCartApplicationValidator.js +103 -103
- package/sdk/application/Rewards/RewardsApplicationClient.d.ts +27 -27
- package/sdk/application/Rewards/RewardsApplicationClient.js +122 -121
- package/sdk/application/Rewards/RewardsApplicationModel.d.ts +14 -14
- package/sdk/application/Rewards/RewardsApplicationModel.js +96 -191
- package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +3 -3
- package/sdk/application/Rewards/RewardsApplicationValidator.js +12 -12
- package/sdk/application/Share/ShareApplicationClient.d.ts +37 -37
- package/sdk/application/Share/ShareApplicationClient.js +94 -93
- package/sdk/application/Share/ShareApplicationModel.d.ts +8 -8
- package/sdk/application/Share/ShareApplicationModel.js +63 -123
- package/sdk/application/Share/ShareApplicationValidator.d.ts +4 -4
- package/sdk/application/Share/ShareApplicationValidator.js +12 -12
- package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -8
- package/sdk/application/Theme/ThemeApplicationClient.js +38 -37
- package/sdk/application/Theme/ThemeApplicationModel.d.ts +34 -34
- package/sdk/application/Theme/ThemeApplicationModel.js +190 -336
- package/sdk/application/Theme/ThemeApplicationValidator.d.ts +1 -1
- package/sdk/application/Theme/ThemeApplicationValidator.js +4 -4
- package/sdk/application/User/UserApplicationClient.d.ts +280 -280
- package/sdk/application/User/UserApplicationClient.js +619 -618
- package/sdk/application/User/UserApplicationModel.d.ts +79 -72
- package/sdk/application/User/UserApplicationModel.js +440 -689
- package/sdk/application/User/UserApplicationValidator.d.ts +24 -24
- package/sdk/application/User/UserApplicationValidator.js +89 -89
- package/sdk/common/AxiosHelper.js +18 -7
- package/sdk/constructUrl.d.ts +5 -0
- package/sdk/constructUrl.js +13 -0
- package/sdk/index.d.ts +3 -0
- package/sdk/index.js +5 -0
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +51 -51
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +182 -180
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +6 -6
- package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +21 -21
- package/sdk/platform/Analytics/AnalyticsPlatformClient.js +5 -4
- package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +11 -11
- package/sdk/platform/Analytics/AnalyticsPlatformModel.js +95 -178
- package/sdk/platform/Analytics/AnalyticsPlatformValidator.js +1 -0
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +10 -10
- package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +44 -43
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +10 -10
- package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +50 -89
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -1
- package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +7 -6
- package/sdk/platform/Billing/BillingPlatformClient.d.ts +60 -60
- package/sdk/platform/Billing/BillingPlatformClient.js +184 -183
- package/sdk/platform/Billing/BillingPlatformModel.d.ts +40 -40
- package/sdk/platform/Billing/BillingPlatformModel.js +342 -668
- package/sdk/platform/Billing/BillingPlatformValidator.d.ts +8 -8
- package/sdk/platform/Billing/BillingPlatformValidator.js +26 -25
- package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +192 -165
- package/sdk/platform/Cart/CartPlatformApplicationClient.js +686 -510
- package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +14 -11
- package/sdk/platform/Cart/CartPlatformApplicationValidator.js +77 -61
- package/sdk/platform/Cart/CartPlatformModel.d.ts +84 -83
- package/sdk/platform/Cart/CartPlatformModel.js +676 -1206
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +632 -632
- package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1558 -1556
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +40 -40
- package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +175 -175
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +688 -688
- package/sdk/platform/Catalog/CatalogPlatformClient.js +1556 -1559
- package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +291 -291
- package/sdk/platform/Catalog/CatalogPlatformModel.js +2133 -3910
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +66 -66
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +229 -228
- package/sdk/platform/Common/CommonPlatformClient.d.ts +12 -12
- package/sdk/platform/Common/CommonPlatformClient.js +40 -51
- package/sdk/platform/Common/CommonPlatformModel.d.ts +12 -12
- package/sdk/platform/Common/CommonPlatformModel.js +83 -160
- package/sdk/platform/Common/CommonPlatformValidator.d.ts +1 -1
- package/sdk/platform/Common/CommonPlatformValidator.js +7 -6
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +326 -326
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +945 -943
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +30 -30
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +88 -88
- package/sdk/platform/Communication/CommunicationPlatformClient.js +4 -3
- package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +67 -67
- package/sdk/platform/Communication/CommunicationPlatformModel.js +522 -974
- package/sdk/platform/Communication/CommunicationPlatformValidator.js +1 -0
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +55 -55
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +217 -216
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +27 -27
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +279 -542
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +7 -7
- package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +25 -24
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +163 -153
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +617 -552
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +22 -21
- package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +70 -64
- package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +125 -125
- package/sdk/platform/Configuration/ConfigurationPlatformClient.js +348 -347
- package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +148 -146
- package/sdk/platform/Configuration/ConfigurationPlatformModel.js +854 -1508
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -9
- package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +39 -38
- package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +524 -534
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +1287 -1346
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +49 -50
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +153 -159
- package/sdk/platform/Content/ContentPlatformModel.d.ts +78 -78
- package/sdk/platform/Content/ContentPlatformModel.js +485 -907
- package/sdk/platform/Discount/DiscountPlatformClient.d.ts +65 -65
- package/sdk/platform/Discount/DiscountPlatformClient.js +219 -218
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +7 -7
- package/sdk/platform/Discount/DiscountPlatformModel.js +60 -121
- package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +6 -6
- package/sdk/platform/Discount/DiscountPlatformValidator.js +30 -29
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +25 -25
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +83 -61
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +9 -9
- package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +53 -53
- package/sdk/platform/FileStorage/FileStoragePlatformClient.js +147 -125
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +13 -13
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +86 -169
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +3 -3
- package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +12 -11
- package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +63 -63
- package/sdk/platform/Inventory/InventoryPlatformClient.js +231 -230
- package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +30 -30
- package/sdk/platform/Inventory/InventoryPlatformModel.js +497 -964
- package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +7 -7
- package/sdk/platform/Inventory/InventoryPlatformValidator.js +29 -28
- package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +73 -73
- package/sdk/platform/Lead/LeadPlatformApplicationClient.js +203 -201
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +7 -7
- package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +29 -29
- package/sdk/platform/Lead/LeadPlatformClient.d.ts +80 -80
- package/sdk/platform/Lead/LeadPlatformClient.js +215 -214
- package/sdk/platform/Lead/LeadPlatformModel.d.ts +35 -35
- package/sdk/platform/Lead/LeadPlatformModel.js +267 -474
- package/sdk/platform/Lead/LeadPlatformValidator.d.ts +6 -6
- package/sdk/platform/Lead/LeadPlatformValidator.js +25 -24
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +10 -10
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +68 -66
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +7 -7
- package/sdk/platform/Order/OrderPlatformClient.d.ts +357 -357
- package/sdk/platform/Order/OrderPlatformClient.js +1046 -1033
- package/sdk/platform/Order/OrderPlatformModel.d.ts +198 -196
- package/sdk/platform/Order/OrderPlatformModel.js +1575 -2861
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +32 -32
- package/sdk/platform/Order/OrderPlatformValidator.js +161 -160
- package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +3 -1
- package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +1 -1
- package/sdk/platform/Partner/PartnerPlatformModel.d.ts +1 -1
- package/sdk/platform/Partner/PartnerPlatformModel.js +10 -26
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +58 -58
- package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +178 -178
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +6 -6
- package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +24 -24
- package/sdk/platform/Payment/PaymentPlatformClient.d.ts +42 -42
- package/sdk/platform/Payment/PaymentPlatformClient.js +156 -155
- package/sdk/platform/Payment/PaymentPlatformModel.d.ts +27 -27
- package/sdk/platform/Payment/PaymentPlatformModel.js +222 -410
- package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +4 -4
- package/sdk/platform/Payment/PaymentPlatformValidator.js +22 -21
- package/sdk/platform/PlatformApplicationClient.d.ts +1496 -10325
- package/sdk/platform/PlatformApplicationClient.js +1584 -13899
- package/sdk/platform/PlatformClient.d.ts +7972 -7888
- package/sdk/platform/PlatformClient.js +8678 -10107
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +85 -85
- package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +299 -280
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +8 -8
- package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +35 -35
- package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +15 -15
- package/sdk/platform/Rewards/RewardsPlatformModel.js +92 -194
- package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +10 -10
- package/sdk/platform/Share/SharePlatformApplicationClient.js +62 -60
- package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +1 -1
- package/sdk/platform/Share/SharePlatformApplicationValidator.js +7 -7
- package/sdk/platform/Share/SharePlatformModel.d.ts +8 -8
- package/sdk/platform/Share/SharePlatformModel.js +60 -118
- package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +132 -132
- package/sdk/platform/Theme/ThemePlatformApplicationClient.js +314 -312
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +15 -15
- package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +45 -45
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +34 -34
- package/sdk/platform/Theme/ThemePlatformModel.js +190 -336
- package/sdk/platform/User/UserPlatformApplicationClient.d.ts +136 -69
- package/sdk/platform/User/UserPlatformApplicationClient.js +507 -166
- package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +12 -7
- package/sdk/platform/User/UserPlatformApplicationValidator.js +62 -24
- package/sdk/platform/User/UserPlatformModel.d.ts +79 -72
- package/sdk/platform/User/UserPlatformModel.js +440 -689
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +31 -31
- package/sdk/platform/Webhook/WebhookPlatformClient.js +91 -90
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +7 -7
- package/sdk/platform/Webhook/WebhookPlatformModel.js +68 -136
- package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +3 -3
- package/sdk/platform/Webhook/WebhookPlatformValidator.js +15 -14
- package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +13 -13
- package/sdk/public/Configuration/ConfigurationPublicClient.js +40 -38
- package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +12 -12
- package/sdk/public/Configuration/ConfigurationPublicModel.js +85 -162
- package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +1 -1
- package/sdk/public/Configuration/ConfigurationPublicValidator.js +6 -6
- package/sdk/public/Inventory/InventoryPublicClient.d.ts +34 -34
- package/sdk/public/Inventory/InventoryPublicClient.js +115 -113
- package/sdk/public/Inventory/InventoryPublicModel.d.ts +10 -10
- package/sdk/public/Inventory/InventoryPublicModel.js +119 -245
- package/sdk/public/Inventory/InventoryPublicValidator.d.ts +3 -3
- package/sdk/public/Inventory/InventoryPublicValidator.js +15 -15
- package/sdk/public/Webhook/WebhookPublicClient.js +2 -0
- package/sdk/public/Webhook/WebhookPublicModel.d.ts +7 -7
- package/sdk/public/Webhook/WebhookPublicModel.js +68 -136
- package/.github/workflows/on_create_release.yml +0 -23
- package/.github/workflows/on_merge_main.yml +0 -38
- package/.github/workflows/on_pull_request.yml +0 -35
- package/.prettierrc +0 -5
- package/documentation/application/CART.md +0 -7339
- package/documentation/application/CATALOG.md +0 -9597
- package/documentation/application/COMMON.md +0 -452
- package/documentation/application/COMMUNICATION.md +0 -467
- package/documentation/application/CONFIGURATION.md +0 -2906
- package/documentation/application/CONTENT.md +0 -3351
- package/documentation/application/FILESTORAGE.md +0 -578
- package/documentation/application/LEAD.md +0 -1895
- package/documentation/application/LOGISTIC.md +0 -765
- package/documentation/application/ORDER.md +0 -3432
- package/documentation/application/PAYMENT.md +0 -5221
- package/documentation/application/POSCART.md +0 -7938
- package/documentation/application/README.md +0 -21
- package/documentation/application/REWARDS.md +0 -708
- package/documentation/application/SHARE.md +0 -733
- package/documentation/application/THEME.md +0 -5800
- package/documentation/application/USER.md +0 -4335
- package/documentation/platform/ANALYTICS.md +0 -1154
- package/documentation/platform/AUDITTRAIL.md +0 -576
- package/documentation/platform/BILLING.md +0 -2400
- package/documentation/platform/CART.md +0 -5559
- package/documentation/platform/CATALOG.md +0 -23261
- package/documentation/platform/COMMON.md +0 -452
- package/documentation/platform/COMMUNICATION.md +0 -5718
- package/documentation/platform/COMPANYPROFILE.md +0 -2031
- package/documentation/platform/CONFIGURATION.md +0 -7339
- package/documentation/platform/CONTENT.md +0 -9098
- package/documentation/platform/DISCOUNT.md +0 -863
- package/documentation/platform/FILESTORAGE.md +0 -1081
- package/documentation/platform/INVENTORY.md +0 -1779
- package/documentation/platform/LEAD.md +0 -4740
- package/documentation/platform/ORDER.md +0 -8486
- package/documentation/platform/PARTNER.md +0 -220
- package/documentation/platform/PAYMENT.md +0 -3448
- package/documentation/platform/README.md +0 -27
- package/documentation/platform/REWARDS.md +0 -1083
- package/documentation/platform/SHARE.md +0 -606
- package/documentation/platform/THEME.md +0 -35729
- package/documentation/platform/USER.md +0 -2319
- package/documentation/platform/WEBHOOK.md +0 -591
- package/documentation/public/CONFIGURATION.md +0 -452
- package/documentation/public/INVENTORY.md +0 -690
- package/documentation/public/WEBHOOK.md +0 -352
- package/jest.config.d.ts +0 -4
- package/jest.config.js +0 -6
- package/tests/application/catalog.spec.js +0 -47
- package/tests/common/action-url.spec.js +0 -35
- package/tests/common/schema/action-url.json +0 -178
- package/tests/common/schema/url-action.json +0 -683
- package/tests/common/url-action.spec.js +0 -48
- package/tests/helpers/cookie.helper.js +0 -31
- package/tests/helpers/oauth.helper.js +0 -43
- package/tests/platform/catalog.spec.js +0 -49
- package/tests/public/location.spec.js +0 -39
|
@@ -1,2031 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
##### [Back to Platform docs](./README.md)
|
|
7
|
-
|
|
8
|
-
## CompanyProfile Methods
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
* [cbsOnboardGet](#cbsonboardget)
|
|
12
|
-
* [updateCompany](#updatecompany)
|
|
13
|
-
* [getCompanyMetrics](#getcompanymetrics)
|
|
14
|
-
* [getBrand](#getbrand)
|
|
15
|
-
* [editBrand](#editbrand)
|
|
16
|
-
* [createBrand](#createbrand)
|
|
17
|
-
* [getBrands](#getbrands)
|
|
18
|
-
* [createCompanyBrandMapping](#createcompanybrandmapping)
|
|
19
|
-
* [getLocations](#getlocations)
|
|
20
|
-
* [createLocation](#createlocation)
|
|
21
|
-
* [getLocationDetail](#getlocationdetail)
|
|
22
|
-
* [updateLocation](#updatelocation)
|
|
23
|
-
* [createLocationBulk](#createlocationbulk)
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
## Methods with example and description
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
### cbsOnboardGet
|
|
33
|
-
Get company profile
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
```javascript
|
|
38
|
-
// Promise
|
|
39
|
-
const promise = client.companyProfile.cbsOnboardGet();
|
|
40
|
-
|
|
41
|
-
// Async/Await
|
|
42
|
-
const data = await client.companyProfile.cbsOnboardGet();
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
This API allows to view the company profile of the seller account.
|
|
51
|
-
|
|
52
|
-
*Returned Response:*
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
[GetCompanyProfileSerializerResponse](#GetCompanyProfileSerializerResponse)
|
|
58
|
-
|
|
59
|
-
Company profile object. See example below or refer `GetCompanyProfileSerializerResponse` for details
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
<details>
|
|
65
|
-
<summary><i> Example:</i></summary>
|
|
66
|
-
|
|
67
|
-
```json
|
|
68
|
-
{
|
|
69
|
-
"documents": [
|
|
70
|
-
{
|
|
71
|
-
"verified": true,
|
|
72
|
-
"legal_name": "SHOPSENSE RETAIL TECHNOLOGIES PRIVATE LIMITED",
|
|
73
|
-
"value": "AALCA0442L",
|
|
74
|
-
"type": "pan"
|
|
75
|
-
}
|
|
76
|
-
],
|
|
77
|
-
"created_by": {
|
|
78
|
-
"user_id": "123",
|
|
79
|
-
"username": "917827311650_22960"
|
|
80
|
-
},
|
|
81
|
-
"business_info": "I sell",
|
|
82
|
-
"franchise_enabled": true,
|
|
83
|
-
"company_type": "mbo",
|
|
84
|
-
"warnings": {},
|
|
85
|
-
"business_details": {
|
|
86
|
-
"website": {
|
|
87
|
-
"url": "https://www.google.com"
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
"addresses": [
|
|
91
|
-
{
|
|
92
|
-
"country": "India",
|
|
93
|
-
"longitude": 72.8231511,
|
|
94
|
-
"state": "Maharashtra",
|
|
95
|
-
"address1": "A/204, Sai Vandan, Tulinj Road. Nallasopara East, ",
|
|
96
|
-
"country_code": "IN",
|
|
97
|
-
"latitude": 19.4232024,
|
|
98
|
-
"pincode": 401209,
|
|
99
|
-
"address_type": "office",
|
|
100
|
-
"city": "Mumbai"
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
"country": "India",
|
|
104
|
-
"longitude": 72.8231511,
|
|
105
|
-
"state": "Maharashtra",
|
|
106
|
-
"address1": "A/204, Sai Vandan, Tulinj Road. Nallasopara East, ",
|
|
107
|
-
"country_code": "IN",
|
|
108
|
-
"latitude": 19.4232024,
|
|
109
|
-
"pincode": 401209,
|
|
110
|
-
"address_type": "registered",
|
|
111
|
-
"city": "Mumbai"
|
|
112
|
-
}
|
|
113
|
-
],
|
|
114
|
-
"modified_by": {
|
|
115
|
-
"user_id": "123",
|
|
116
|
-
"username": "917827311650_22960"
|
|
117
|
-
},
|
|
118
|
-
"notification_emails": [
|
|
119
|
-
"gaurangpatel@gofynd.com"
|
|
120
|
-
],
|
|
121
|
-
"business_type": "huf",
|
|
122
|
-
"name": "Cache Company",
|
|
123
|
-
"stage": "verified",
|
|
124
|
-
"uid": 1,
|
|
125
|
-
"business_country_info": {
|
|
126
|
-
"country": "India",
|
|
127
|
-
"country_code": "IN"
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
```
|
|
131
|
-
</details>
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
---
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
### updateCompany
|
|
145
|
-
Edit company profile
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
```javascript
|
|
150
|
-
// Promise
|
|
151
|
-
const promise = client.companyProfile.updateCompany({ body : value });
|
|
152
|
-
|
|
153
|
-
// Async/Await
|
|
154
|
-
const data = await client.companyProfile.updateCompany({ body : value });
|
|
155
|
-
```
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
| Argument | Type | Required | Description |
|
|
162
|
-
| --------- | ----- | -------- | ----------- |
|
|
163
|
-
| body | [UpdateCompany](#UpdateCompany) | yes | Request body |
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
This API allows to edit the company profile of the seller account.
|
|
167
|
-
|
|
168
|
-
*Returned Response:*
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
[ProfileSuccessResponse](#ProfileSuccessResponse)
|
|
174
|
-
|
|
175
|
-
Returns a success message
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
<details>
|
|
181
|
-
<summary><i> Example:</i></summary>
|
|
182
|
-
|
|
183
|
-
```json
|
|
184
|
-
{
|
|
185
|
-
"uid": 1,
|
|
186
|
-
"success": true
|
|
187
|
-
}
|
|
188
|
-
```
|
|
189
|
-
</details>
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
---
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
### getCompanyMetrics
|
|
203
|
-
Get company metrics
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
```javascript
|
|
208
|
-
// Promise
|
|
209
|
-
const promise = client.companyProfile.getCompanyMetrics();
|
|
210
|
-
|
|
211
|
-
// Async/Await
|
|
212
|
-
const data = await client.companyProfile.getCompanyMetrics();
|
|
213
|
-
```
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
This API allows to view the company metrics, i.e. the status of its brand and stores. Also its allows to view the number of products, company documents & store documents which are verified and unverified.
|
|
221
|
-
|
|
222
|
-
*Returned Response:*
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
[MetricsSerializer](#MetricsSerializer)
|
|
228
|
-
|
|
229
|
-
Metrics response object. See example below or refer `MetricsSerializer` for details
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
<details>
|
|
235
|
-
<summary><i> Example:</i></summary>
|
|
236
|
-
|
|
237
|
-
```json
|
|
238
|
-
{
|
|
239
|
-
"uid": 1,
|
|
240
|
-
"stage": "complete",
|
|
241
|
-
"store": {
|
|
242
|
-
"verified": 1,
|
|
243
|
-
"pending": 1
|
|
244
|
-
},
|
|
245
|
-
"brand": {
|
|
246
|
-
"verified": 1,
|
|
247
|
-
"pending": 1
|
|
248
|
-
},
|
|
249
|
-
"product": {
|
|
250
|
-
"verified": 0,
|
|
251
|
-
"pending": 0
|
|
252
|
-
},
|
|
253
|
-
"company_documents": {
|
|
254
|
-
"verified": 1,
|
|
255
|
-
"pending": 0
|
|
256
|
-
},
|
|
257
|
-
"store_documents": {
|
|
258
|
-
"verified": 0,
|
|
259
|
-
"pending": 2
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
```
|
|
263
|
-
</details>
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
---
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
### getBrand
|
|
277
|
-
Get a single brand.
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
```javascript
|
|
282
|
-
// Promise
|
|
283
|
-
const promise = client.companyProfile.getBrand({ brandId : value });
|
|
284
|
-
|
|
285
|
-
// Async/Await
|
|
286
|
-
const data = await client.companyProfile.getBrand({ brandId : value });
|
|
287
|
-
```
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
| Argument | Type | Required | Description |
|
|
294
|
-
| --------- | ----- | -------- | ----------- |
|
|
295
|
-
| brandId | string | yes | Id of the brand to be viewed. |
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
This API helps to get data associated to a particular brand.
|
|
300
|
-
|
|
301
|
-
*Returned Response:*
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
[GetBrandResponseSerializer](#GetBrandResponseSerializer)
|
|
307
|
-
|
|
308
|
-
Brand object. See example below or refer `GetBrandResponseSerializer` for details
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
<details>
|
|
314
|
-
<summary><i> Example:</i></summary>
|
|
315
|
-
|
|
316
|
-
```json
|
|
317
|
-
{
|
|
318
|
-
"stage": "verified",
|
|
319
|
-
"_custom_json": {},
|
|
320
|
-
"uid": 1,
|
|
321
|
-
"logo": "http://cdn4.gofynd.com/media/logo/brand/original/4597_40d1ce44d61940d4829a3c54951bd9ee.jpg",
|
|
322
|
-
"warnings": {},
|
|
323
|
-
"_locale_language": {},
|
|
324
|
-
"name": "edited brand",
|
|
325
|
-
"slug_key": "brand-2",
|
|
326
|
-
"banner": {
|
|
327
|
-
"portrait": "http://cdn4.gofynd.com/media/banner_portrait/brand/original/7021_16fc50205c40477daf419b64ec64c64c.jpg",
|
|
328
|
-
"landscape": "http://cdn4.gofynd.com/media/banner/brand/original/7020_f9e91f7d501c4f2985c09bd196ed304d.jpg"
|
|
329
|
-
},
|
|
330
|
-
"created_by": {
|
|
331
|
-
"username": "silverbolt",
|
|
332
|
-
"user_id": "0"
|
|
333
|
-
},
|
|
334
|
-
"modified_by": {
|
|
335
|
-
"username": "917827311650_22960",
|
|
336
|
-
"user_id": "123"
|
|
337
|
-
},
|
|
338
|
-
"verified_by": {
|
|
339
|
-
"username": "917827311650_22960",
|
|
340
|
-
"user_id": "123"
|
|
341
|
-
},
|
|
342
|
-
"synonyms": [
|
|
343
|
-
"xyz"
|
|
344
|
-
]
|
|
345
|
-
}
|
|
346
|
-
```
|
|
347
|
-
</details>
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
---
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
### editBrand
|
|
361
|
-
Edit a brand.
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
```javascript
|
|
366
|
-
// Promise
|
|
367
|
-
const promise = client.companyProfile.editBrand({ brandId : value,
|
|
368
|
-
body : value });
|
|
369
|
-
|
|
370
|
-
// Async/Await
|
|
371
|
-
const data = await client.companyProfile.editBrand({ brandId : value,
|
|
372
|
-
body : value });
|
|
373
|
-
```
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
| Argument | Type | Required | Description |
|
|
380
|
-
| --------- | ----- | -------- | ----------- |
|
|
381
|
-
| brandId | string | yes | Id of the brand to be viewed. |
|
|
382
|
-
| body | [CreateUpdateBrandRequestSerializer](#CreateUpdateBrandRequestSerializer) | yes | Request body |
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
This API allows to edit meta of a brand.
|
|
386
|
-
|
|
387
|
-
*Returned Response:*
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
[ProfileSuccessResponse](#ProfileSuccessResponse)
|
|
393
|
-
|
|
394
|
-
Returns a success response
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
<details>
|
|
400
|
-
<summary><i> Example:</i></summary>
|
|
401
|
-
|
|
402
|
-
```json
|
|
403
|
-
{
|
|
404
|
-
"uid": 1,
|
|
405
|
-
"success": true
|
|
406
|
-
}
|
|
407
|
-
```
|
|
408
|
-
</details>
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
---
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
### createBrand
|
|
422
|
-
Create a Brand.
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
```javascript
|
|
427
|
-
// Promise
|
|
428
|
-
const promise = client.companyProfile.createBrand({ body : value });
|
|
429
|
-
|
|
430
|
-
// Async/Await
|
|
431
|
-
const data = await client.companyProfile.createBrand({ body : value });
|
|
432
|
-
```
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
| Argument | Type | Required | Description |
|
|
439
|
-
| --------- | ----- | -------- | ----------- |
|
|
440
|
-
| body | [CreateUpdateBrandRequestSerializer](#CreateUpdateBrandRequestSerializer) | yes | Request body |
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
This API allows to create a brand associated to a company.
|
|
444
|
-
|
|
445
|
-
*Returned Response:*
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
[ProfileSuccessResponse](#ProfileSuccessResponse)
|
|
451
|
-
|
|
452
|
-
Returns a success response
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
<details>
|
|
458
|
-
<summary><i> Example:</i></summary>
|
|
459
|
-
|
|
460
|
-
```json
|
|
461
|
-
{
|
|
462
|
-
"uid": 1,
|
|
463
|
-
"success": true
|
|
464
|
-
}
|
|
465
|
-
```
|
|
466
|
-
</details>
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
---
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
### getBrands
|
|
480
|
-
Get brands associated to a company
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
```javascript
|
|
485
|
-
// Promise
|
|
486
|
-
const promise = client.companyProfile.getBrands({ pageNo : value,
|
|
487
|
-
pageSize : value,
|
|
488
|
-
q : value });
|
|
489
|
-
|
|
490
|
-
// Async/Await
|
|
491
|
-
const data = await client.companyProfile.getBrands({ pageNo : value,
|
|
492
|
-
pageSize : value,
|
|
493
|
-
q : value });
|
|
494
|
-
```
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
| Argument | Type | Required | Description |
|
|
501
|
-
| --------- | ----- | -------- | ----------- |
|
|
502
|
-
| pageNo | number | no | The page number to navigate through the given set of results |
|
|
503
|
-
| pageSize | number | no | Number of items to retrieve in each page. Default is 10. |
|
|
504
|
-
| q | string | no | Search term for name. |
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
This API helps to get view brands associated to a particular company.
|
|
509
|
-
|
|
510
|
-
*Returned Response:*
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
[CompanyBrandListSerializer](#CompanyBrandListSerializer)
|
|
516
|
-
|
|
517
|
-
Brand object. See example below or refer `CompanyBrandListSerializer` for details
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
<details>
|
|
523
|
-
<summary><i> Example:</i></summary>
|
|
524
|
-
|
|
525
|
-
```json
|
|
526
|
-
{
|
|
527
|
-
"items": [
|
|
528
|
-
{
|
|
529
|
-
"brand": {
|
|
530
|
-
"stage": "complete",
|
|
531
|
-
"uid": 2,
|
|
532
|
-
"banner": {
|
|
533
|
-
"portrait": "http://cdn4.gofynd.com/media/banner_portrait/brand/original/7021_16fc50205c40477daf419b64ec64c64c.jpg",
|
|
534
|
-
"landscape": "http://cdn4.gofynd.com/media/banner/brand/original/7020_f9e91f7d501c4f2985c09bd196ed304d.jpg"
|
|
535
|
-
},
|
|
536
|
-
"modified_by": {
|
|
537
|
-
"user_id": "123",
|
|
538
|
-
"username": "917827311650_22960"
|
|
539
|
-
},
|
|
540
|
-
"slug_key": "test-post",
|
|
541
|
-
"synonyms": [
|
|
542
|
-
"xyz"
|
|
543
|
-
],
|
|
544
|
-
"created_on": "2021-02-25T15:21:57.666000+00:00",
|
|
545
|
-
"created_by": {
|
|
546
|
-
"user_id": "123",
|
|
547
|
-
"username": "917827311650_22960"
|
|
548
|
-
},
|
|
549
|
-
"modified_on": "2021-02-25T15:21:57.666000+00:00",
|
|
550
|
-
"name": "test_post",
|
|
551
|
-
"logo": "http://cdn4.gofynd.com/media/logo/brand/original/4597_40d1ce44d61940d4829a3c54951bd9ee.jpg"
|
|
552
|
-
},
|
|
553
|
-
"stage": "complete",
|
|
554
|
-
"uid": 2,
|
|
555
|
-
"modified_by": {
|
|
556
|
-
"user_id": "123",
|
|
557
|
-
"username": "917827311650_22960"
|
|
558
|
-
},
|
|
559
|
-
"company": {
|
|
560
|
-
"business_type": "huf",
|
|
561
|
-
"stage": "complete",
|
|
562
|
-
"uid": 1,
|
|
563
|
-
"addresses": [
|
|
564
|
-
{
|
|
565
|
-
"city": "Mumbai Suburban",
|
|
566
|
-
"latitude": 19.058461,
|
|
567
|
-
"longitude": 72.871395,
|
|
568
|
-
"address1": "Chunabhatti Phatak, Maharashtra Nagar, Maharashtra Nagar, ",
|
|
569
|
-
"country_code": "IN",
|
|
570
|
-
"state": "Maharashtra",
|
|
571
|
-
"country": "India",
|
|
572
|
-
"pincode": 400070,
|
|
573
|
-
"address_type": "office"
|
|
574
|
-
},
|
|
575
|
-
{
|
|
576
|
-
"city": "Mumbai Suburban",
|
|
577
|
-
"latitude": 19.058461,
|
|
578
|
-
"longitude": 72.871395,
|
|
579
|
-
"address1": "Chunabhatti Phatak, Maharashtra Nagar, Maharashtra Nagar, ",
|
|
580
|
-
"country_code": "IN",
|
|
581
|
-
"state": "Maharashtra",
|
|
582
|
-
"country": "India",
|
|
583
|
-
"pincode": 400070,
|
|
584
|
-
"address_type": "registered"
|
|
585
|
-
}
|
|
586
|
-
],
|
|
587
|
-
"modified_by": {
|
|
588
|
-
"user_id": "-1",
|
|
589
|
-
"username": "silverbolt"
|
|
590
|
-
},
|
|
591
|
-
"company_type": "mbo",
|
|
592
|
-
"created_on": "2021-02-25T15:21:51.526000+00:00",
|
|
593
|
-
"created_by": {
|
|
594
|
-
"user_id": "123",
|
|
595
|
-
"username": "917827311650_22960"
|
|
596
|
-
},
|
|
597
|
-
"modified_on": "2021-02-25T17:44:55.722000+00:00",
|
|
598
|
-
"name": "Cache Company"
|
|
599
|
-
},
|
|
600
|
-
"created_by": {
|
|
601
|
-
"user_id": "123",
|
|
602
|
-
"username": "917827311650_22960"
|
|
603
|
-
}
|
|
604
|
-
}
|
|
605
|
-
],
|
|
606
|
-
"page": {
|
|
607
|
-
"current": 1,
|
|
608
|
-
"size": 1,
|
|
609
|
-
"has_previous": false,
|
|
610
|
-
"has_next": false,
|
|
611
|
-
"item_count": 1
|
|
612
|
-
}
|
|
613
|
-
}
|
|
614
|
-
```
|
|
615
|
-
</details>
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
---
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
### createCompanyBrandMapping
|
|
629
|
-
Create a company brand mapping.
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
```javascript
|
|
634
|
-
// Promise
|
|
635
|
-
const promise = client.companyProfile.createCompanyBrandMapping({ body : value });
|
|
636
|
-
|
|
637
|
-
// Async/Await
|
|
638
|
-
const data = await client.companyProfile.createCompanyBrandMapping({ body : value });
|
|
639
|
-
```
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
| Argument | Type | Required | Description |
|
|
646
|
-
| --------- | ----- | -------- | ----------- |
|
|
647
|
-
| body | [CompanyBrandPostRequestSerializer](#CompanyBrandPostRequestSerializer) | yes | Request body |
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
This API allows to create a company brand mapping, for a already existing brand in the system.
|
|
651
|
-
|
|
652
|
-
*Returned Response:*
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
[ProfileSuccessResponse](#ProfileSuccessResponse)
|
|
658
|
-
|
|
659
|
-
Returns a success response
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
<details>
|
|
665
|
-
<summary><i> Example:</i></summary>
|
|
666
|
-
|
|
667
|
-
```json
|
|
668
|
-
{
|
|
669
|
-
"success": true
|
|
670
|
-
}
|
|
671
|
-
```
|
|
672
|
-
</details>
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
---
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
### getLocations
|
|
686
|
-
Get list of locations
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
```javascript
|
|
691
|
-
// Promise
|
|
692
|
-
const promise = client.companyProfile.getLocations({ storeType : value,
|
|
693
|
-
q : value,
|
|
694
|
-
stage : value,
|
|
695
|
-
pageNo : value,
|
|
696
|
-
pageSize : value,
|
|
697
|
-
locationIds : value });
|
|
698
|
-
|
|
699
|
-
// Async/Await
|
|
700
|
-
const data = await client.companyProfile.getLocations({ storeType : value,
|
|
701
|
-
q : value,
|
|
702
|
-
stage : value,
|
|
703
|
-
pageNo : value,
|
|
704
|
-
pageSize : value,
|
|
705
|
-
locationIds : value });
|
|
706
|
-
```
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
| Argument | Type | Required | Description |
|
|
713
|
-
| --------- | ----- | -------- | ----------- |
|
|
714
|
-
| storeType | string | no | Helps to sort the location list on the basis of location type. |
|
|
715
|
-
| q | string | no | Query that is to be searched. |
|
|
716
|
-
| stage | string | no | to filter companies on basis of verified or unverified companies. |
|
|
717
|
-
| pageNo | number | no | The page number to navigate through the given set of results |
|
|
718
|
-
| pageSize | number | no | Number of items to retrieve in each page. Default is 10. |
|
|
719
|
-
| locationIds | Array<number> | no | Helps to filter stores on the basis of uids. |
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
This API allows to view all the locations associated to a company.
|
|
724
|
-
|
|
725
|
-
*Returned Response:*
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
[LocationListSerializer](#LocationListSerializer)
|
|
731
|
-
|
|
732
|
-
Company profile object. See example below or refer `LocationListSerializer` for details
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
<details>
|
|
738
|
-
<summary><i> Example:</i></summary>
|
|
739
|
-
|
|
740
|
-
```json
|
|
741
|
-
{
|
|
742
|
-
"items": [
|
|
743
|
-
{
|
|
744
|
-
"company": {
|
|
745
|
-
"business_type": "huf",
|
|
746
|
-
"stage": "complete",
|
|
747
|
-
"uid": 1,
|
|
748
|
-
"addresses": [
|
|
749
|
-
{
|
|
750
|
-
"city": "Mumbai Suburban",
|
|
751
|
-
"latitude": 19.058461,
|
|
752
|
-
"longitude": 72.871395,
|
|
753
|
-
"address1": "Chunabhatti Phatak, Maharashtra Nagar, Maharashtra Nagar, ",
|
|
754
|
-
"country_code": "IN",
|
|
755
|
-
"state": "Maharashtra",
|
|
756
|
-
"country": "India",
|
|
757
|
-
"pincode": 400070,
|
|
758
|
-
"address_type": "office"
|
|
759
|
-
},
|
|
760
|
-
{
|
|
761
|
-
"city": "Mumbai Suburban",
|
|
762
|
-
"latitude": 19.058461,
|
|
763
|
-
"longitude": 72.871395,
|
|
764
|
-
"address1": "Chunabhatti Phatak, Maharashtra Nagar, Maharashtra Nagar, ",
|
|
765
|
-
"country_code": "IN",
|
|
766
|
-
"state": "Maharashtra",
|
|
767
|
-
"country": "India",
|
|
768
|
-
"pincode": 400070,
|
|
769
|
-
"address_type": "registered"
|
|
770
|
-
}
|
|
771
|
-
],
|
|
772
|
-
"modified_by": {
|
|
773
|
-
"user_id": "-1",
|
|
774
|
-
"username": "silverbolt"
|
|
775
|
-
},
|
|
776
|
-
"company_type": "mbo",
|
|
777
|
-
"created_on": "2021-02-25T15:21:51.526000+00:00",
|
|
778
|
-
"created_by": {
|
|
779
|
-
"user_id": "123",
|
|
780
|
-
"username": "917827311650_22960"
|
|
781
|
-
},
|
|
782
|
-
"modified_on": "2021-02-25T17:44:55.722000+00:00",
|
|
783
|
-
"name": "Cache Company"
|
|
784
|
-
},
|
|
785
|
-
"address": {
|
|
786
|
-
"city": "MUMBAI",
|
|
787
|
-
"latitude": 19.4232024,
|
|
788
|
-
"longitude": 72.8231511,
|
|
789
|
-
"address1": "A/204, SAI VANDAN, NARAYAN NAGAR, TULINJ ROAD",
|
|
790
|
-
"state": "MAHARASHTRA",
|
|
791
|
-
"country": "INDIA",
|
|
792
|
-
"pincode": 401209
|
|
793
|
-
},
|
|
794
|
-
"timing": [
|
|
795
|
-
{
|
|
796
|
-
"closing": {
|
|
797
|
-
"minute": 0,
|
|
798
|
-
"hour": 22
|
|
799
|
-
},
|
|
800
|
-
"opening": {
|
|
801
|
-
"minute": 0,
|
|
802
|
-
"hour": 11
|
|
803
|
-
},
|
|
804
|
-
"open": true,
|
|
805
|
-
"weekday": "monday"
|
|
806
|
-
},
|
|
807
|
-
{
|
|
808
|
-
"closing": {
|
|
809
|
-
"minute": 0,
|
|
810
|
-
"hour": 22
|
|
811
|
-
},
|
|
812
|
-
"opening": {
|
|
813
|
-
"minute": 0,
|
|
814
|
-
"hour": 11
|
|
815
|
-
},
|
|
816
|
-
"open": true,
|
|
817
|
-
"weekday": "tuesday"
|
|
818
|
-
},
|
|
819
|
-
{
|
|
820
|
-
"closing": {
|
|
821
|
-
"minute": 0,
|
|
822
|
-
"hour": 22
|
|
823
|
-
},
|
|
824
|
-
"opening": {
|
|
825
|
-
"minute": 0,
|
|
826
|
-
"hour": 11
|
|
827
|
-
},
|
|
828
|
-
"open": true,
|
|
829
|
-
"weekday": "wednesday"
|
|
830
|
-
},
|
|
831
|
-
{
|
|
832
|
-
"closing": {
|
|
833
|
-
"minute": 0,
|
|
834
|
-
"hour": 22
|
|
835
|
-
},
|
|
836
|
-
"opening": {
|
|
837
|
-
"minute": 0,
|
|
838
|
-
"hour": 11
|
|
839
|
-
},
|
|
840
|
-
"open": true,
|
|
841
|
-
"weekday": "thursday"
|
|
842
|
-
},
|
|
843
|
-
{
|
|
844
|
-
"closing": {
|
|
845
|
-
"minute": 0,
|
|
846
|
-
"hour": 22
|
|
847
|
-
},
|
|
848
|
-
"opening": {
|
|
849
|
-
"minute": 0,
|
|
850
|
-
"hour": 11
|
|
851
|
-
},
|
|
852
|
-
"open": true,
|
|
853
|
-
"weekday": "friday"
|
|
854
|
-
},
|
|
855
|
-
{
|
|
856
|
-
"closing": {
|
|
857
|
-
"minute": 0,
|
|
858
|
-
"hour": 22
|
|
859
|
-
},
|
|
860
|
-
"opening": {
|
|
861
|
-
"minute": 0,
|
|
862
|
-
"hour": 11
|
|
863
|
-
},
|
|
864
|
-
"open": true,
|
|
865
|
-
"weekday": "saturday"
|
|
866
|
-
},
|
|
867
|
-
{
|
|
868
|
-
"closing": {
|
|
869
|
-
"minute": 0,
|
|
870
|
-
"hour": 22
|
|
871
|
-
},
|
|
872
|
-
"opening": {
|
|
873
|
-
"minute": 0,
|
|
874
|
-
"hour": 11
|
|
875
|
-
},
|
|
876
|
-
"open": true,
|
|
877
|
-
"weekday": "sunday"
|
|
878
|
-
}
|
|
879
|
-
],
|
|
880
|
-
"documents": [],
|
|
881
|
-
"display_name": "new store",
|
|
882
|
-
"manager": {
|
|
883
|
-
"name": "Yrf",
|
|
884
|
-
"mobile_no": {
|
|
885
|
-
"country_code": 91,
|
|
886
|
-
"number": "83456774567"
|
|
887
|
-
},
|
|
888
|
-
"email": "gbp@jkl.com"
|
|
889
|
-
},
|
|
890
|
-
"code": "code2",
|
|
891
|
-
"product_return_config": {
|
|
892
|
-
"on_same_store": true
|
|
893
|
-
},
|
|
894
|
-
"created_on": "2021-02-25T15:22:04.913000+00:00",
|
|
895
|
-
"created_by": {
|
|
896
|
-
"user_id": "123",
|
|
897
|
-
"username": "917827311650_22960"
|
|
898
|
-
},
|
|
899
|
-
"name": "location2",
|
|
900
|
-
"gst_credentials": {
|
|
901
|
-
"e_invoice": {
|
|
902
|
-
"enabled": false
|
|
903
|
-
}
|
|
904
|
-
},
|
|
905
|
-
"store_type": "high_street",
|
|
906
|
-
"contact_numbers": [
|
|
907
|
-
{
|
|
908
|
-
"country_code": 91,
|
|
909
|
-
"number": "7208229698"
|
|
910
|
-
}
|
|
911
|
-
],
|
|
912
|
-
"stage": "complete",
|
|
913
|
-
"uid": 2,
|
|
914
|
-
"notification_emails": []
|
|
915
|
-
}
|
|
916
|
-
],
|
|
917
|
-
"page": {
|
|
918
|
-
"current": 1,
|
|
919
|
-
"size": 1,
|
|
920
|
-
"has_previous": false,
|
|
921
|
-
"has_next": false,
|
|
922
|
-
"item_count": 1
|
|
923
|
-
}
|
|
924
|
-
}
|
|
925
|
-
```
|
|
926
|
-
</details>
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
---
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
### createLocation
|
|
940
|
-
Create a location associated to a company.
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
```javascript
|
|
945
|
-
// Promise
|
|
946
|
-
const promise = client.companyProfile.createLocation({ body : value });
|
|
947
|
-
|
|
948
|
-
// Async/Await
|
|
949
|
-
const data = await client.companyProfile.createLocation({ body : value });
|
|
950
|
-
```
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
| Argument | Type | Required | Description |
|
|
957
|
-
| --------- | ----- | -------- | ----------- |
|
|
958
|
-
| body | [LocationSerializer](#LocationSerializer) | yes | Request body |
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
This API allows to edit a location associated to a company.
|
|
962
|
-
|
|
963
|
-
*Returned Response:*
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
[ProfileSuccessResponse](#ProfileSuccessResponse)
|
|
969
|
-
|
|
970
|
-
Returns a success response
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
<details>
|
|
976
|
-
<summary><i> Example:</i></summary>
|
|
977
|
-
|
|
978
|
-
```json
|
|
979
|
-
{
|
|
980
|
-
"uid": 1,
|
|
981
|
-
"success": true
|
|
982
|
-
}
|
|
983
|
-
```
|
|
984
|
-
</details>
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
---
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
### getLocationDetail
|
|
998
|
-
Get details of a specific location.
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
```javascript
|
|
1003
|
-
// Promise
|
|
1004
|
-
const promise = client.companyProfile.getLocationDetail({ locationId : value });
|
|
1005
|
-
|
|
1006
|
-
// Async/Await
|
|
1007
|
-
const data = await client.companyProfile.getLocationDetail({ locationId : value });
|
|
1008
|
-
```
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
| Argument | Type | Required | Description |
|
|
1015
|
-
| --------- | ----- | -------- | ----------- |
|
|
1016
|
-
| locationId | string | yes | Id of the location which you want to view. |
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
This API helps to get data associated to a specific location.
|
|
1021
|
-
|
|
1022
|
-
*Returned Response:*
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
[GetLocationSerializer](#GetLocationSerializer)
|
|
1028
|
-
|
|
1029
|
-
Brand object. See example below or refer `GetLocationSerializer` for details
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
<details>
|
|
1035
|
-
<summary><i> Example:</i></summary>
|
|
1036
|
-
|
|
1037
|
-
```json
|
|
1038
|
-
{
|
|
1039
|
-
"verified_on": "2021-02-25T15:22:07.140000+00:00",
|
|
1040
|
-
"company": {
|
|
1041
|
-
"business_type": "huf",
|
|
1042
|
-
"stage": "complete",
|
|
1043
|
-
"uid": 1,
|
|
1044
|
-
"addresses": [
|
|
1045
|
-
{
|
|
1046
|
-
"city": "Mumbai Suburban",
|
|
1047
|
-
"latitude": 19.058461,
|
|
1048
|
-
"longitude": 72.871395,
|
|
1049
|
-
"address1": "Chunabhatti Phatak, Maharashtra Nagar, Maharashtra Nagar, ",
|
|
1050
|
-
"country_code": "IN",
|
|
1051
|
-
"state": "Maharashtra",
|
|
1052
|
-
"country": "India",
|
|
1053
|
-
"pincode": 400070,
|
|
1054
|
-
"address_type": "office"
|
|
1055
|
-
},
|
|
1056
|
-
{
|
|
1057
|
-
"city": "Mumbai Suburban",
|
|
1058
|
-
"latitude": 19.058461,
|
|
1059
|
-
"longitude": 72.871395,
|
|
1060
|
-
"address1": "Chunabhatti Phatak, Maharashtra Nagar, Maharashtra Nagar, ",
|
|
1061
|
-
"country_code": "IN",
|
|
1062
|
-
"state": "Maharashtra",
|
|
1063
|
-
"country": "India",
|
|
1064
|
-
"pincode": 400070,
|
|
1065
|
-
"address_type": "registered"
|
|
1066
|
-
}
|
|
1067
|
-
],
|
|
1068
|
-
"modified_by": {
|
|
1069
|
-
"user_id": "-1",
|
|
1070
|
-
"username": "silverbolt"
|
|
1071
|
-
},
|
|
1072
|
-
"company_type": "mbo",
|
|
1073
|
-
"created_by": {
|
|
1074
|
-
"user_id": "123",
|
|
1075
|
-
"username": "917827311650_22960"
|
|
1076
|
-
},
|
|
1077
|
-
"name": "Cache Company"
|
|
1078
|
-
},
|
|
1079
|
-
"address": {
|
|
1080
|
-
"city": "MUMBAI",
|
|
1081
|
-
"landmark": "",
|
|
1082
|
-
"latitude": 19.4232024,
|
|
1083
|
-
"longitude": 72.8231511,
|
|
1084
|
-
"address2": "",
|
|
1085
|
-
"address1": "A/204, SAI VANDAN, NARAYAN NAGAR, TULINJ ROAD",
|
|
1086
|
-
"state": "MAHARASHTRA",
|
|
1087
|
-
"country": "INDIA",
|
|
1088
|
-
"pincode": 401209
|
|
1089
|
-
},
|
|
1090
|
-
"timing": [
|
|
1091
|
-
{
|
|
1092
|
-
"closing": {
|
|
1093
|
-
"minute": 0,
|
|
1094
|
-
"hour": 22
|
|
1095
|
-
},
|
|
1096
|
-
"opening": {
|
|
1097
|
-
"minute": 0,
|
|
1098
|
-
"hour": 11
|
|
1099
|
-
},
|
|
1100
|
-
"open": true,
|
|
1101
|
-
"weekday": "monday"
|
|
1102
|
-
},
|
|
1103
|
-
{
|
|
1104
|
-
"closing": {
|
|
1105
|
-
"minute": 0,
|
|
1106
|
-
"hour": 22
|
|
1107
|
-
},
|
|
1108
|
-
"opening": {
|
|
1109
|
-
"minute": 0,
|
|
1110
|
-
"hour": 11
|
|
1111
|
-
},
|
|
1112
|
-
"open": true,
|
|
1113
|
-
"weekday": "tuesday"
|
|
1114
|
-
},
|
|
1115
|
-
{
|
|
1116
|
-
"closing": {
|
|
1117
|
-
"minute": 0,
|
|
1118
|
-
"hour": 22
|
|
1119
|
-
},
|
|
1120
|
-
"opening": {
|
|
1121
|
-
"minute": 0,
|
|
1122
|
-
"hour": 11
|
|
1123
|
-
},
|
|
1124
|
-
"open": true,
|
|
1125
|
-
"weekday": "wednesday"
|
|
1126
|
-
},
|
|
1127
|
-
{
|
|
1128
|
-
"closing": {
|
|
1129
|
-
"minute": 0,
|
|
1130
|
-
"hour": 22
|
|
1131
|
-
},
|
|
1132
|
-
"opening": {
|
|
1133
|
-
"minute": 0,
|
|
1134
|
-
"hour": 11
|
|
1135
|
-
},
|
|
1136
|
-
"open": true,
|
|
1137
|
-
"weekday": "thursday"
|
|
1138
|
-
},
|
|
1139
|
-
{
|
|
1140
|
-
"closing": {
|
|
1141
|
-
"minute": 0,
|
|
1142
|
-
"hour": 22
|
|
1143
|
-
},
|
|
1144
|
-
"opening": {
|
|
1145
|
-
"minute": 0,
|
|
1146
|
-
"hour": 11
|
|
1147
|
-
},
|
|
1148
|
-
"open": true,
|
|
1149
|
-
"weekday": "friday"
|
|
1150
|
-
},
|
|
1151
|
-
{
|
|
1152
|
-
"closing": {
|
|
1153
|
-
"minute": 0,
|
|
1154
|
-
"hour": 22
|
|
1155
|
-
},
|
|
1156
|
-
"opening": {
|
|
1157
|
-
"minute": 0,
|
|
1158
|
-
"hour": 11
|
|
1159
|
-
},
|
|
1160
|
-
"open": true,
|
|
1161
|
-
"weekday": "saturday"
|
|
1162
|
-
},
|
|
1163
|
-
{
|
|
1164
|
-
"closing": {
|
|
1165
|
-
"minute": 0,
|
|
1166
|
-
"hour": 22
|
|
1167
|
-
},
|
|
1168
|
-
"opening": {
|
|
1169
|
-
"minute": 0,
|
|
1170
|
-
"hour": 11
|
|
1171
|
-
},
|
|
1172
|
-
"open": true,
|
|
1173
|
-
"weekday": "sunday"
|
|
1174
|
-
}
|
|
1175
|
-
],
|
|
1176
|
-
"documents": [],
|
|
1177
|
-
"warnings": {},
|
|
1178
|
-
"display_name": "new store",
|
|
1179
|
-
"manager": {
|
|
1180
|
-
"name": "Yrf",
|
|
1181
|
-
"mobile_no": {
|
|
1182
|
-
"country_code": 91,
|
|
1183
|
-
"number": "83456774567"
|
|
1184
|
-
},
|
|
1185
|
-
"email": "gbp@jkl.com"
|
|
1186
|
-
},
|
|
1187
|
-
"code": "store1",
|
|
1188
|
-
"product_return_config": {
|
|
1189
|
-
"on_same_store": true
|
|
1190
|
-
},
|
|
1191
|
-
"modified_by": {
|
|
1192
|
-
"user_id": "-1",
|
|
1193
|
-
"username": "silverbolt"
|
|
1194
|
-
},
|
|
1195
|
-
"created_by": {
|
|
1196
|
-
"user_id": "123",
|
|
1197
|
-
"username": "917827311650_22960"
|
|
1198
|
-
},
|
|
1199
|
-
"name": "edited_store",
|
|
1200
|
-
"gst_credentials": {
|
|
1201
|
-
"e_invoice": {
|
|
1202
|
-
"enabled": false
|
|
1203
|
-
}
|
|
1204
|
-
},
|
|
1205
|
-
"verified_by": {
|
|
1206
|
-
"user_id": "-1",
|
|
1207
|
-
"username": "silverbolt"
|
|
1208
|
-
},
|
|
1209
|
-
"store_type": "high_street",
|
|
1210
|
-
"contact_numbers": [
|
|
1211
|
-
{
|
|
1212
|
-
"country_code": 91,
|
|
1213
|
-
"number": "7208229698"
|
|
1214
|
-
}
|
|
1215
|
-
],
|
|
1216
|
-
"stage": "verified",
|
|
1217
|
-
"uid": 1,
|
|
1218
|
-
"notification_emails": []
|
|
1219
|
-
}
|
|
1220
|
-
```
|
|
1221
|
-
</details>
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
---
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
### updateLocation
|
|
1235
|
-
Edit a location asscoiated to a company.
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
```javascript
|
|
1240
|
-
// Promise
|
|
1241
|
-
const promise = client.companyProfile.updateLocation({ locationId : value,
|
|
1242
|
-
body : value });
|
|
1243
|
-
|
|
1244
|
-
// Async/Await
|
|
1245
|
-
const data = await client.companyProfile.updateLocation({ locationId : value,
|
|
1246
|
-
body : value });
|
|
1247
|
-
```
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
| Argument | Type | Required | Description |
|
|
1254
|
-
| --------- | ----- | -------- | ----------- |
|
|
1255
|
-
| locationId | string | yes | Id of the location which you want to edit. |
|
|
1256
|
-
| body | [LocationSerializer](#LocationSerializer) | yes | Request body |
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
This API allows to edit a location associated to a company.
|
|
1260
|
-
|
|
1261
|
-
*Returned Response:*
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
[ProfileSuccessResponse](#ProfileSuccessResponse)
|
|
1267
|
-
|
|
1268
|
-
Returns a success response
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
<details>
|
|
1274
|
-
<summary><i> Example:</i></summary>
|
|
1275
|
-
|
|
1276
|
-
```json
|
|
1277
|
-
{
|
|
1278
|
-
"uid": 1,
|
|
1279
|
-
"success": true
|
|
1280
|
-
}
|
|
1281
|
-
```
|
|
1282
|
-
</details>
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
---
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
### createLocationBulk
|
|
1296
|
-
Create a location asscoiated to a company in bulk.
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
```javascript
|
|
1301
|
-
// Promise
|
|
1302
|
-
const promise = client.companyProfile.createLocationBulk({ body : value });
|
|
1303
|
-
|
|
1304
|
-
// Async/Await
|
|
1305
|
-
const data = await client.companyProfile.createLocationBulk({ body : value });
|
|
1306
|
-
```
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
| Argument | Type | Required | Description |
|
|
1313
|
-
| --------- | ----- | -------- | ----------- |
|
|
1314
|
-
| body | [BulkLocationSerializer](#BulkLocationSerializer) | yes | Request body |
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
This API allows to create a location associated to a company.
|
|
1318
|
-
|
|
1319
|
-
*Returned Response:*
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
[ProfileSuccessResponse](#ProfileSuccessResponse)
|
|
1325
|
-
|
|
1326
|
-
Returns a success response
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
<details>
|
|
1332
|
-
<summary><i> Example:</i></summary>
|
|
1333
|
-
|
|
1334
|
-
```json
|
|
1335
|
-
{
|
|
1336
|
-
"message": "10 stores inserted",
|
|
1337
|
-
"success": true
|
|
1338
|
-
}
|
|
1339
|
-
```
|
|
1340
|
-
</details>
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
---
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
### Schemas
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
#### [UserSerializer](#UserSerializer)
|
|
1359
|
-
|
|
1360
|
-
| Properties | Type | Nullable | Description |
|
|
1361
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1362
|
-
| user_id | string | no | |
|
|
1363
|
-
| username | string | no | |
|
|
1364
|
-
| contact | string | no | |
|
|
1365
|
-
|
|
1366
|
-
---
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
#### [GetAddressSerializer](#GetAddressSerializer)
|
|
1372
|
-
|
|
1373
|
-
| Properties | Type | Nullable | Description |
|
|
1374
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1375
|
-
| address1 | string | no | |
|
|
1376
|
-
| latitude | number | yes | |
|
|
1377
|
-
| city | string | no | |
|
|
1378
|
-
| longitude | number | yes | |
|
|
1379
|
-
| country_code | string | no | |
|
|
1380
|
-
| address2 | string | no | |
|
|
1381
|
-
| state | string | no | |
|
|
1382
|
-
| pincode | number | no | |
|
|
1383
|
-
| country | string | no | |
|
|
1384
|
-
| address_type | string | no | |
|
|
1385
|
-
| landmark | string | no | |
|
|
1386
|
-
|
|
1387
|
-
---
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
#### [CompanyTaxesSerializer](#CompanyTaxesSerializer)
|
|
1393
|
-
|
|
1394
|
-
| Properties | Type | Nullable | Description |
|
|
1395
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1396
|
-
| effective_date | string | no | |
|
|
1397
|
-
| rate | number | no | |
|
|
1398
|
-
| enable | boolean | no | |
|
|
1399
|
-
|
|
1400
|
-
---
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
#### [BusinessCountryInfo](#BusinessCountryInfo)
|
|
1406
|
-
|
|
1407
|
-
| Properties | Type | Nullable | Description |
|
|
1408
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1409
|
-
| country_code | string | no | |
|
|
1410
|
-
| country | string | no | |
|
|
1411
|
-
|
|
1412
|
-
---
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
#### [Website](#Website)
|
|
1418
|
-
|
|
1419
|
-
| Properties | Type | Nullable | Description |
|
|
1420
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1421
|
-
| url | string | no | |
|
|
1422
|
-
|
|
1423
|
-
---
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
#### [BusinessDetails](#BusinessDetails)
|
|
1429
|
-
|
|
1430
|
-
| Properties | Type | Nullable | Description |
|
|
1431
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1432
|
-
| website | [Website](#Website) | no | |
|
|
1433
|
-
|
|
1434
|
-
---
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
#### [SellerPhoneNumber](#SellerPhoneNumber)
|
|
1440
|
-
|
|
1441
|
-
| Properties | Type | Nullable | Description |
|
|
1442
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1443
|
-
| country_code | number | yes | |
|
|
1444
|
-
| number | string | yes | |
|
|
1445
|
-
|
|
1446
|
-
---
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
#### [ContactDetails](#ContactDetails)
|
|
1452
|
-
|
|
1453
|
-
| Properties | Type | Nullable | Description |
|
|
1454
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1455
|
-
| phone | [[SellerPhoneNumber](#SellerPhoneNumber)] | no | |
|
|
1456
|
-
| emails | [string] | no | |
|
|
1457
|
-
|
|
1458
|
-
---
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
#### [Document](#Document)
|
|
1464
|
-
|
|
1465
|
-
| Properties | Type | Nullable | Description |
|
|
1466
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1467
|
-
| url | string | no | |
|
|
1468
|
-
| legal_name | string | no | |
|
|
1469
|
-
| value | string | yes | |
|
|
1470
|
-
| type | string | yes | |
|
|
1471
|
-
| verified | boolean | no | |
|
|
1472
|
-
|
|
1473
|
-
---
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
#### [GetCompanyProfileSerializerResponse](#GetCompanyProfileSerializerResponse)
|
|
1479
|
-
|
|
1480
|
-
| Properties | Type | Nullable | Description |
|
|
1481
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1482
|
-
| verified_by | [UserSerializer](#UserSerializer) | no | |
|
|
1483
|
-
| franchise_enabled | boolean | no | |
|
|
1484
|
-
| addresses | [[GetAddressSerializer](#GetAddressSerializer)] | no | |
|
|
1485
|
-
| taxes | [[CompanyTaxesSerializer](#CompanyTaxesSerializer)] | no | |
|
|
1486
|
-
| uid | number | yes | |
|
|
1487
|
-
| created_by | [UserSerializer](#UserSerializer) | no | |
|
|
1488
|
-
| business_info | string | no | |
|
|
1489
|
-
| warnings | string | no | |
|
|
1490
|
-
| business_country_info | [BusinessCountryInfo](#BusinessCountryInfo) | no | |
|
|
1491
|
-
| stage | string | no | |
|
|
1492
|
-
| modified_on | string | no | |
|
|
1493
|
-
| company_type | string | yes | |
|
|
1494
|
-
| business_details | [BusinessDetails](#BusinessDetails) | no | |
|
|
1495
|
-
| contact_details | [ContactDetails](#ContactDetails) | no | |
|
|
1496
|
-
| business_type | string | yes | |
|
|
1497
|
-
| notification_emails | [string] | no | |
|
|
1498
|
-
| modified_by | [UserSerializer](#UserSerializer) | no | |
|
|
1499
|
-
| documents | [[Document](#Document)] | no | |
|
|
1500
|
-
| created_on | string | no | |
|
|
1501
|
-
| mode | string | no | |
|
|
1502
|
-
| verified_on | string | no | |
|
|
1503
|
-
| name | string | no | |
|
|
1504
|
-
| _custom_json | string | no | |
|
|
1505
|
-
|
|
1506
|
-
---
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
#### [ErrorResponse](#ErrorResponse)
|
|
1512
|
-
|
|
1513
|
-
| Properties | Type | Nullable | Description |
|
|
1514
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1515
|
-
| message | string | no | |
|
|
1516
|
-
| status | number | no | |
|
|
1517
|
-
| code | string | no | |
|
|
1518
|
-
| meta | string | no | |
|
|
1519
|
-
|
|
1520
|
-
---
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
#### [CreateUpdateAddressSerializer](#CreateUpdateAddressSerializer)
|
|
1526
|
-
|
|
1527
|
-
| Properties | Type | Nullable | Description |
|
|
1528
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1529
|
-
| address1 | string | yes | |
|
|
1530
|
-
| latitude | number | yes | |
|
|
1531
|
-
| city | string | yes | |
|
|
1532
|
-
| longitude | number | yes | |
|
|
1533
|
-
| country_code | string | no | |
|
|
1534
|
-
| address2 | string | no | |
|
|
1535
|
-
| state | string | yes | |
|
|
1536
|
-
| pincode | number | yes | |
|
|
1537
|
-
| country | string | yes | |
|
|
1538
|
-
| address_type | string | yes | |
|
|
1539
|
-
| landmark | string | no | |
|
|
1540
|
-
|
|
1541
|
-
---
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
#### [CompanyTaxesSerializer1](#CompanyTaxesSerializer1)
|
|
1547
|
-
|
|
1548
|
-
| Properties | Type | Nullable | Description |
|
|
1549
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1550
|
-
| effective_date | string | no | |
|
|
1551
|
-
| rate | number | no | |
|
|
1552
|
-
| enable | boolean | no | |
|
|
1553
|
-
|
|
1554
|
-
---
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
#### [UpdateCompany](#UpdateCompany)
|
|
1560
|
-
|
|
1561
|
-
| Properties | Type | Nullable | Description |
|
|
1562
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1563
|
-
| addresses | [[CreateUpdateAddressSerializer](#CreateUpdateAddressSerializer)] | no | |
|
|
1564
|
-
| company_type | string | no | |
|
|
1565
|
-
| taxes | [[CompanyTaxesSerializer1](#CompanyTaxesSerializer1)] | no | |
|
|
1566
|
-
| business_details | [BusinessDetails](#BusinessDetails) | no | |
|
|
1567
|
-
| reject_reason | string | no | |
|
|
1568
|
-
| contact_details | [ContactDetails](#ContactDetails) | no | |
|
|
1569
|
-
| business_type | string | no | |
|
|
1570
|
-
| name | string | no | |
|
|
1571
|
-
| notification_emails | [string] | no | |
|
|
1572
|
-
| business_info | string | no | |
|
|
1573
|
-
| warnings | string | no | |
|
|
1574
|
-
| _custom_json | string | no | |
|
|
1575
|
-
| documents | [[Document](#Document)] | no | |
|
|
1576
|
-
| franchise_enabled | boolean | no | |
|
|
1577
|
-
|
|
1578
|
-
---
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
#### [ProfileSuccessResponse](#ProfileSuccessResponse)
|
|
1584
|
-
|
|
1585
|
-
| Properties | Type | Nullable | Description |
|
|
1586
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1587
|
-
| success | boolean | no | |
|
|
1588
|
-
| uid | number | no | |
|
|
1589
|
-
|
|
1590
|
-
---
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
#### [DocumentsObj](#DocumentsObj)
|
|
1596
|
-
|
|
1597
|
-
| Properties | Type | Nullable | Description |
|
|
1598
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1599
|
-
| pending | number | no | |
|
|
1600
|
-
| verified | number | no | |
|
|
1601
|
-
|
|
1602
|
-
---
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
#### [MetricsSerializer](#MetricsSerializer)
|
|
1608
|
-
|
|
1609
|
-
| Properties | Type | Nullable | Description |
|
|
1610
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1611
|
-
| stage | string | no | |
|
|
1612
|
-
| uid | number | no | |
|
|
1613
|
-
| company_documents | [DocumentsObj](#DocumentsObj) | no | |
|
|
1614
|
-
| store_documents | [DocumentsObj](#DocumentsObj) | no | |
|
|
1615
|
-
| brand | [DocumentsObj](#DocumentsObj) | no | |
|
|
1616
|
-
| product | [DocumentsObj](#DocumentsObj) | no | |
|
|
1617
|
-
| store | [DocumentsObj](#DocumentsObj) | no | |
|
|
1618
|
-
|
|
1619
|
-
---
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
#### [BrandBannerSerializer](#BrandBannerSerializer)
|
|
1625
|
-
|
|
1626
|
-
| Properties | Type | Nullable | Description |
|
|
1627
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1628
|
-
| landscape | string | no | |
|
|
1629
|
-
| portrait | string | no | |
|
|
1630
|
-
|
|
1631
|
-
---
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
#### [GetBrandResponseSerializer](#GetBrandResponseSerializer)
|
|
1637
|
-
|
|
1638
|
-
| Properties | Type | Nullable | Description |
|
|
1639
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1640
|
-
| _locale_language | string | no | |
|
|
1641
|
-
| reject_reason | string | no | |
|
|
1642
|
-
| logo | string | no | |
|
|
1643
|
-
| description | string | no | |
|
|
1644
|
-
| verified_by | [UserSerializer](#UserSerializer) | no | |
|
|
1645
|
-
| uid | number | no | |
|
|
1646
|
-
| created_by | [UserSerializer](#UserSerializer) | no | |
|
|
1647
|
-
| warnings | string | no | |
|
|
1648
|
-
| slug_key | string | no | |
|
|
1649
|
-
| stage | string | no | |
|
|
1650
|
-
| modified_on | string | no | |
|
|
1651
|
-
| banner | [BrandBannerSerializer](#BrandBannerSerializer) | no | |
|
|
1652
|
-
| modified_by | [UserSerializer](#UserSerializer) | no | |
|
|
1653
|
-
| created_on | string | no | |
|
|
1654
|
-
| mode | string | no | |
|
|
1655
|
-
| verified_on | string | no | |
|
|
1656
|
-
| name | string | yes | |
|
|
1657
|
-
| _custom_json | string | no | |
|
|
1658
|
-
| synonyms | [string] | no | |
|
|
1659
|
-
|
|
1660
|
-
---
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
#### [CreateUpdateBrandRequestSerializer](#CreateUpdateBrandRequestSerializer)
|
|
1666
|
-
|
|
1667
|
-
| Properties | Type | Nullable | Description |
|
|
1668
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1669
|
-
| brand_tier | string | no | |
|
|
1670
|
-
| uid | number | no | |
|
|
1671
|
-
| _locale_language | string | no | |
|
|
1672
|
-
| logo | string | yes | |
|
|
1673
|
-
| description | string | no | |
|
|
1674
|
-
| name | string | yes | |
|
|
1675
|
-
| banner | [BrandBannerSerializer](#BrandBannerSerializer) | no | |
|
|
1676
|
-
| _custom_json | string | no | |
|
|
1677
|
-
| company_id | number | no | |
|
|
1678
|
-
| synonyms | [string] | no | |
|
|
1679
|
-
|
|
1680
|
-
---
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
#### [Page](#Page)
|
|
1686
|
-
|
|
1687
|
-
| Properties | Type | Nullable | Description |
|
|
1688
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1689
|
-
| item_total | number | no | |
|
|
1690
|
-
| type | string | yes | |
|
|
1691
|
-
| has_previous | boolean | no | |
|
|
1692
|
-
| next_id | string | no | |
|
|
1693
|
-
| has_next | boolean | no | |
|
|
1694
|
-
| current | number | no | |
|
|
1695
|
-
| size | number | no | |
|
|
1696
|
-
|
|
1697
|
-
---
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
#### [CompanySocialAccounts](#CompanySocialAccounts)
|
|
1703
|
-
|
|
1704
|
-
| Properties | Type | Nullable | Description |
|
|
1705
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1706
|
-
| url | string | yes | |
|
|
1707
|
-
| name | string | yes | |
|
|
1708
|
-
|
|
1709
|
-
---
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
#### [CompanyDetails](#CompanyDetails)
|
|
1715
|
-
|
|
1716
|
-
| Properties | Type | Nullable | Description |
|
|
1717
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1718
|
-
| socials | [[CompanySocialAccounts](#CompanySocialAccounts)] | no | |
|
|
1719
|
-
| website_url | string | no | |
|
|
1720
|
-
|
|
1721
|
-
---
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
#### [CompanySerializer](#CompanySerializer)
|
|
1727
|
-
|
|
1728
|
-
| Properties | Type | Nullable | Description |
|
|
1729
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1730
|
-
| addresses | [[GetAddressSerializer](#GetAddressSerializer)] | no | |
|
|
1731
|
-
| stage | string | no | |
|
|
1732
|
-
| modified_on | string | no | |
|
|
1733
|
-
| company_type | string | yes | |
|
|
1734
|
-
| uid | number | no | |
|
|
1735
|
-
| reject_reason | string | no | |
|
|
1736
|
-
| business_type | string | yes | |
|
|
1737
|
-
| verified_by | [UserSerializer](#UserSerializer) | no | |
|
|
1738
|
-
| name | string | no | |
|
|
1739
|
-
| details | [CompanyDetails](#CompanyDetails) | no | |
|
|
1740
|
-
| created_by | [UserSerializer](#UserSerializer) | no | |
|
|
1741
|
-
| notification_emails | [string] | no | |
|
|
1742
|
-
| modified_by | [UserSerializer](#UserSerializer) | no | |
|
|
1743
|
-
| market_channels | [string] | no | |
|
|
1744
|
-
| _custom_json | string | no | |
|
|
1745
|
-
| business_country_info | [BusinessCountryInfo](#BusinessCountryInfo) | no | |
|
|
1746
|
-
| created_on | string | no | |
|
|
1747
|
-
| verified_on | string | no | |
|
|
1748
|
-
|
|
1749
|
-
---
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
#### [CompanyBrandSerializer](#CompanyBrandSerializer)
|
|
1755
|
-
|
|
1756
|
-
| Properties | Type | Nullable | Description |
|
|
1757
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1758
|
-
| stage | string | no | |
|
|
1759
|
-
| modified_on | string | no | |
|
|
1760
|
-
| uid | number | no | |
|
|
1761
|
-
| reject_reason | string | no | |
|
|
1762
|
-
| brand | [GetBrandResponseSerializer](#GetBrandResponseSerializer) | no | |
|
|
1763
|
-
| verified_by | [UserSerializer](#UserSerializer) | no | |
|
|
1764
|
-
| created_by | [UserSerializer](#UserSerializer) | no | |
|
|
1765
|
-
| warnings | string | no | |
|
|
1766
|
-
| modified_by | [UserSerializer](#UserSerializer) | no | |
|
|
1767
|
-
| company | [CompanySerializer](#CompanySerializer) | no | |
|
|
1768
|
-
| created_on | string | no | |
|
|
1769
|
-
| verified_on | string | no | |
|
|
1770
|
-
|
|
1771
|
-
---
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
#### [CompanyBrandListSerializer](#CompanyBrandListSerializer)
|
|
1777
|
-
|
|
1778
|
-
| Properties | Type | Nullable | Description |
|
|
1779
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1780
|
-
| page | [Page](#Page) | no | |
|
|
1781
|
-
| items | [[CompanyBrandSerializer](#CompanyBrandSerializer)] | no | |
|
|
1782
|
-
|
|
1783
|
-
---
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
#### [CompanyBrandPostRequestSerializer](#CompanyBrandPostRequestSerializer)
|
|
1789
|
-
|
|
1790
|
-
| Properties | Type | Nullable | Description |
|
|
1791
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1792
|
-
| brands | [number] | yes | |
|
|
1793
|
-
| company | number | yes | |
|
|
1794
|
-
| uid | number | no | |
|
|
1795
|
-
|
|
1796
|
-
---
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
#### [GetCompanySerializer](#GetCompanySerializer)
|
|
1802
|
-
|
|
1803
|
-
| Properties | Type | Nullable | Description |
|
|
1804
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1805
|
-
| stage | string | no | |
|
|
1806
|
-
| addresses | [[GetAddressSerializer](#GetAddressSerializer)] | no | |
|
|
1807
|
-
| modified_on | string | no | |
|
|
1808
|
-
| company_type | string | no | |
|
|
1809
|
-
| uid | number | no | |
|
|
1810
|
-
| reject_reason | string | no | |
|
|
1811
|
-
| business_type | string | no | |
|
|
1812
|
-
| verified_by | [UserSerializer](#UserSerializer) | no | |
|
|
1813
|
-
| name | string | no | |
|
|
1814
|
-
| created_by | [UserSerializer](#UserSerializer) | no | |
|
|
1815
|
-
| modified_by | [UserSerializer](#UserSerializer) | no | |
|
|
1816
|
-
| created_on | string | no | |
|
|
1817
|
-
| verified_on | string | no | |
|
|
1818
|
-
|
|
1819
|
-
---
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
#### [HolidayDateSerializer](#HolidayDateSerializer)
|
|
1825
|
-
|
|
1826
|
-
| Properties | Type | Nullable | Description |
|
|
1827
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1828
|
-
| start_date | string | yes | |
|
|
1829
|
-
| end_date | string | yes | |
|
|
1830
|
-
|
|
1831
|
-
---
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
#### [HolidaySchemaSerializer](#HolidaySchemaSerializer)
|
|
1837
|
-
|
|
1838
|
-
| Properties | Type | Nullable | Description |
|
|
1839
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1840
|
-
| date | [HolidayDateSerializer](#HolidayDateSerializer) | yes | |
|
|
1841
|
-
| title | string | yes | |
|
|
1842
|
-
| holiday_type | string | yes | |
|
|
1843
|
-
|
|
1844
|
-
---
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
#### [InvoiceCredSerializer](#InvoiceCredSerializer)
|
|
1850
|
-
|
|
1851
|
-
| Properties | Type | Nullable | Description |
|
|
1852
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1853
|
-
| username | string | no | |
|
|
1854
|
-
| password | string | no | |
|
|
1855
|
-
| enabled | boolean | no | |
|
|
1856
|
-
|
|
1857
|
-
---
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
#### [InvoiceDetailsSerializer](#InvoiceDetailsSerializer)
|
|
1863
|
-
|
|
1864
|
-
| Properties | Type | Nullable | Description |
|
|
1865
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1866
|
-
| e_waybill | [InvoiceCredSerializer](#InvoiceCredSerializer) | no | |
|
|
1867
|
-
| e_invoice | [InvoiceCredSerializer](#InvoiceCredSerializer) | no | |
|
|
1868
|
-
|
|
1869
|
-
---
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
#### [LocationTimingSerializer](#LocationTimingSerializer)
|
|
1875
|
-
|
|
1876
|
-
| Properties | Type | Nullable | Description |
|
|
1877
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1878
|
-
| hour | number | yes | |
|
|
1879
|
-
| minute | number | yes | |
|
|
1880
|
-
|
|
1881
|
-
---
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
#### [LocationDayWiseSerializer](#LocationDayWiseSerializer)
|
|
1887
|
-
|
|
1888
|
-
| Properties | Type | Nullable | Description |
|
|
1889
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1890
|
-
| closing | [LocationTimingSerializer](#LocationTimingSerializer) | no | |
|
|
1891
|
-
| weekday | string | yes | |
|
|
1892
|
-
| open | boolean | yes | |
|
|
1893
|
-
| opening | [LocationTimingSerializer](#LocationTimingSerializer) | no | |
|
|
1894
|
-
|
|
1895
|
-
---
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
#### [ProductReturnConfigSerializer](#ProductReturnConfigSerializer)
|
|
1901
|
-
|
|
1902
|
-
| Properties | Type | Nullable | Description |
|
|
1903
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1904
|
-
| on_same_store | boolean | no | |
|
|
1905
|
-
| store_uid | number | no | |
|
|
1906
|
-
|
|
1907
|
-
---
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
#### [LocationManagerSerializer](#LocationManagerSerializer)
|
|
1913
|
-
|
|
1914
|
-
| Properties | Type | Nullable | Description |
|
|
1915
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1916
|
-
| email | string | no | |
|
|
1917
|
-
| mobile_no | [SellerPhoneNumber](#SellerPhoneNumber) | yes | |
|
|
1918
|
-
| name | string | no | |
|
|
1919
|
-
|
|
1920
|
-
---
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
#### [GetLocationSerializer](#GetLocationSerializer)
|
|
1926
|
-
|
|
1927
|
-
| Properties | Type | Nullable | Description |
|
|
1928
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1929
|
-
| store_type | string | no | |
|
|
1930
|
-
| verified_by | [UserSerializer](#UserSerializer) | no | |
|
|
1931
|
-
| company | [GetCompanySerializer](#GetCompanySerializer) | no | |
|
|
1932
|
-
| holiday | [[HolidaySchemaSerializer](#HolidaySchemaSerializer)] | no | |
|
|
1933
|
-
| gst_credentials | [InvoiceDetailsSerializer](#InvoiceDetailsSerializer) | no | |
|
|
1934
|
-
| uid | number | no | |
|
|
1935
|
-
| created_by | [UserSerializer](#UserSerializer) | no | |
|
|
1936
|
-
| warnings | string | no | |
|
|
1937
|
-
| timing | [[LocationDayWiseSerializer](#LocationDayWiseSerializer)] | no | |
|
|
1938
|
-
| address | [GetAddressSerializer](#GetAddressSerializer) | yes | |
|
|
1939
|
-
| stage | string | no | |
|
|
1940
|
-
| modified_on | string | no | |
|
|
1941
|
-
| code | string | yes | |
|
|
1942
|
-
| product_return_config | [ProductReturnConfigSerializer](#ProductReturnConfigSerializer) | no | |
|
|
1943
|
-
| manager | [LocationManagerSerializer](#LocationManagerSerializer) | no | |
|
|
1944
|
-
| notification_emails | [string] | no | |
|
|
1945
|
-
| modified_by | [UserSerializer](#UserSerializer) | no | |
|
|
1946
|
-
| documents | [[Document](#Document)] | no | |
|
|
1947
|
-
| created_on | string | no | |
|
|
1948
|
-
| verified_on | string | no | |
|
|
1949
|
-
| phone_number | string | no | |
|
|
1950
|
-
| name | string | yes | |
|
|
1951
|
-
| contact_numbers | [[SellerPhoneNumber](#SellerPhoneNumber)] | no | |
|
|
1952
|
-
| _custom_json | string | no | |
|
|
1953
|
-
| display_name | string | yes | |
|
|
1954
|
-
|
|
1955
|
-
---
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
#### [LocationListSerializer](#LocationListSerializer)
|
|
1961
|
-
|
|
1962
|
-
| Properties | Type | Nullable | Description |
|
|
1963
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1964
|
-
| page | [Page](#Page) | no | |
|
|
1965
|
-
| items | [[GetLocationSerializer](#GetLocationSerializer)] | no | |
|
|
1966
|
-
|
|
1967
|
-
---
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
#### [AddressSerializer](#AddressSerializer)
|
|
1973
|
-
|
|
1974
|
-
| Properties | Type | Nullable | Description |
|
|
1975
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1976
|
-
| address1 | string | no | |
|
|
1977
|
-
| latitude | number | yes | |
|
|
1978
|
-
| city | string | no | |
|
|
1979
|
-
| longitude | number | yes | |
|
|
1980
|
-
| country_code | string | no | |
|
|
1981
|
-
| address2 | string | no | |
|
|
1982
|
-
| state | string | no | |
|
|
1983
|
-
| pincode | number | no | |
|
|
1984
|
-
| country | string | no | |
|
|
1985
|
-
| address_type | string | no | |
|
|
1986
|
-
| landmark | string | no | |
|
|
1987
|
-
|
|
1988
|
-
---
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
#### [LocationSerializer](#LocationSerializer)
|
|
1994
|
-
|
|
1995
|
-
| Properties | Type | Nullable | Description |
|
|
1996
|
-
| ---------- | ---- | -------- | ----------- |
|
|
1997
|
-
| stage | string | no | |
|
|
1998
|
-
| code | string | yes | |
|
|
1999
|
-
| uid | number | no | |
|
|
2000
|
-
| product_return_config | [ProductReturnConfigSerializer](#ProductReturnConfigSerializer) | no | |
|
|
2001
|
-
| store_type | string | no | |
|
|
2002
|
-
| manager | [LocationManagerSerializer](#LocationManagerSerializer) | no | |
|
|
2003
|
-
| name | string | yes | |
|
|
2004
|
-
| notification_emails | [string] | no | |
|
|
2005
|
-
| contact_numbers | [[SellerPhoneNumber](#SellerPhoneNumber)] | no | |
|
|
2006
|
-
| warnings | string | no | |
|
|
2007
|
-
| company | number | yes | |
|
|
2008
|
-
| display_name | string | yes | |
|
|
2009
|
-
| holiday | [[HolidaySchemaSerializer](#HolidaySchemaSerializer)] | no | |
|
|
2010
|
-
| documents | [[Document](#Document)] | no | |
|
|
2011
|
-
| timing | [[LocationDayWiseSerializer](#LocationDayWiseSerializer)] | no | |
|
|
2012
|
-
| _custom_json | string | no | |
|
|
2013
|
-
| gst_credentials | [InvoiceDetailsSerializer](#InvoiceDetailsSerializer) | no | |
|
|
2014
|
-
| address | [AddressSerializer](#AddressSerializer) | yes | |
|
|
2015
|
-
|
|
2016
|
-
---
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
#### [BulkLocationSerializer](#BulkLocationSerializer)
|
|
2022
|
-
|
|
2023
|
-
| Properties | Type | Nullable | Description |
|
|
2024
|
-
| ---------- | ---- | -------- | ----------- |
|
|
2025
|
-
| data | [[LocationSerializer](#LocationSerializer)] | no | |
|
|
2026
|
-
|
|
2027
|
-
---
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|