@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.
Files changed (346) hide show
  1. package/README.md +31 -2
  2. package/index.d.ts +4 -4
  3. package/index.js +9 -10
  4. package/package.json +14 -14
  5. package/sdk/APIClient.d.ts +11 -0
  6. package/sdk/APIClient.js +35 -0
  7. package/sdk/Client.d.ts +6 -0
  8. package/sdk/Client.js +17 -0
  9. package/sdk/Config.d.ts +9 -0
  10. package/sdk/Config.js +17 -0
  11. package/sdk/application/Cart/CartApplicationClient.d.ts +243 -243
  12. package/sdk/application/Cart/CartApplicationClient.js +595 -594
  13. package/sdk/application/Cart/CartApplicationModel.d.ts +64 -63
  14. package/sdk/application/Cart/CartApplicationModel.js +490 -885
  15. package/sdk/application/Cart/CartApplicationValidator.d.ts +17 -17
  16. package/sdk/application/Cart/CartApplicationValidator.js +98 -98
  17. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +358 -358
  18. package/sdk/application/Catalog/CatalogApplicationClient.js +1079 -1078
  19. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +90 -90
  20. package/sdk/application/Catalog/CatalogApplicationModel.js +683 -1249
  21. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +19 -19
  22. package/sdk/application/Catalog/CatalogApplicationValidator.js +110 -110
  23. package/sdk/application/Common/CommonApplicationClient.d.ts +13 -13
  24. package/sdk/application/Common/CommonApplicationClient.js +43 -42
  25. package/sdk/application/Common/CommonApplicationModel.d.ts +12 -12
  26. package/sdk/application/Common/CommonApplicationModel.js +83 -160
  27. package/sdk/application/Common/CommonApplicationValidator.d.ts +1 -1
  28. package/sdk/application/Common/CommonApplicationValidator.js +6 -6
  29. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +11 -11
  30. package/sdk/application/Communication/CommunicationApplicationClient.js +32 -31
  31. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +6 -6
  32. package/sdk/application/Communication/CommunicationApplicationModel.js +38 -83
  33. package/sdk/application/Communication/CommunicationApplicationValidator.d.ts +1 -1
  34. package/sdk/application/Communication/CommunicationApplicationValidator.js +4 -4
  35. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +116 -116
  36. package/sdk/application/Configuration/ConfigurationApplicationClient.js +350 -349
  37. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +85 -85
  38. package/sdk/application/Configuration/ConfigurationApplicationModel.js +480 -851
  39. package/sdk/application/Configuration/ConfigurationApplicationValidator.d.ts +8 -8
  40. package/sdk/application/Configuration/ConfigurationApplicationValidator.js +33 -33
  41. package/sdk/application/Content/ContentApplicationClient.d.ts +67 -67
  42. package/sdk/application/Content/ContentApplicationClient.js +216 -215
  43. package/sdk/application/Content/ContentApplicationModel.d.ts +76 -76
  44. package/sdk/application/Content/ContentApplicationModel.js +468 -884
  45. package/sdk/application/Content/ContentApplicationValidator.d.ts +5 -5
  46. package/sdk/application/Content/ContentApplicationValidator.js +24 -24
  47. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +25 -25
  48. package/sdk/application/FileStorage/FileStorageApplicationClient.js +65 -64
  49. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +13 -13
  50. package/sdk/application/FileStorage/FileStorageApplicationModel.js +86 -169
  51. package/sdk/application/FileStorage/FileStorageApplicationValidator.d.ts +1 -1
  52. package/sdk/application/FileStorage/FileStorageApplicationValidator.js +7 -7
  53. package/sdk/application/Lead/LeadApplicationClient.d.ts +24 -24
  54. package/sdk/application/Lead/LeadApplicationClient.js +109 -108
  55. package/sdk/application/Lead/LeadApplicationModel.d.ts +35 -35
  56. package/sdk/application/Lead/LeadApplicationModel.js +267 -474
  57. package/sdk/application/Lead/LeadApplicationValidator.d.ts +2 -2
  58. package/sdk/application/Lead/LeadApplicationValidator.js +11 -11
  59. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +31 -22
  60. package/sdk/application/Logistic/LogisticApplicationClient.js +115 -49
  61. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +17 -14
  62. package/sdk/application/Logistic/LogisticApplicationModel.js +133 -201
  63. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +3 -2
  64. package/sdk/application/Logistic/LogisticApplicationValidator.js +14 -9
  65. package/sdk/application/Order/OrderApplicationClient.d.ts +85 -85
  66. package/sdk/application/Order/OrderApplicationClient.js +247 -246
  67. package/sdk/application/Order/OrderApplicationModel.d.ts +50 -50
  68. package/sdk/application/Order/OrderApplicationModel.js +361 -656
  69. package/sdk/application/Order/OrderApplicationValidator.d.ts +7 -7
  70. package/sdk/application/Order/OrderApplicationValidator.js +28 -28
  71. package/sdk/application/Payment/PaymentApplicationClient.d.ts +318 -318
  72. package/sdk/application/Payment/PaymentApplicationClient.js +781 -780
  73. package/sdk/application/Payment/PaymentApplicationModel.d.ts +72 -72
  74. package/sdk/application/Payment/PaymentApplicationModel.js +570 -1038
  75. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +28 -28
  76. package/sdk/application/Payment/PaymentApplicationValidator.js +107 -107
  77. package/sdk/application/PosCart/PosCartApplicationClient.d.ts +254 -254
  78. package/sdk/application/PosCart/PosCartApplicationClient.js +646 -645
  79. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +64 -63
  80. package/sdk/application/PosCart/PosCartApplicationModel.js +476 -870
  81. package/sdk/application/PosCart/PosCartApplicationValidator.d.ts +18 -18
  82. package/sdk/application/PosCart/PosCartApplicationValidator.js +103 -103
  83. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +27 -27
  84. package/sdk/application/Rewards/RewardsApplicationClient.js +122 -121
  85. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +14 -14
  86. package/sdk/application/Rewards/RewardsApplicationModel.js +96 -191
  87. package/sdk/application/Rewards/RewardsApplicationValidator.d.ts +3 -3
  88. package/sdk/application/Rewards/RewardsApplicationValidator.js +12 -12
  89. package/sdk/application/Share/ShareApplicationClient.d.ts +37 -37
  90. package/sdk/application/Share/ShareApplicationClient.js +94 -93
  91. package/sdk/application/Share/ShareApplicationModel.d.ts +8 -8
  92. package/sdk/application/Share/ShareApplicationModel.js +63 -123
  93. package/sdk/application/Share/ShareApplicationValidator.d.ts +4 -4
  94. package/sdk/application/Share/ShareApplicationValidator.js +12 -12
  95. package/sdk/application/Theme/ThemeApplicationClient.d.ts +8 -8
  96. package/sdk/application/Theme/ThemeApplicationClient.js +38 -37
  97. package/sdk/application/Theme/ThemeApplicationModel.d.ts +34 -34
  98. package/sdk/application/Theme/ThemeApplicationModel.js +190 -336
  99. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +1 -1
  100. package/sdk/application/Theme/ThemeApplicationValidator.js +4 -4
  101. package/sdk/application/User/UserApplicationClient.d.ts +280 -280
  102. package/sdk/application/User/UserApplicationClient.js +619 -618
  103. package/sdk/application/User/UserApplicationModel.d.ts +79 -72
  104. package/sdk/application/User/UserApplicationModel.js +440 -689
  105. package/sdk/application/User/UserApplicationValidator.d.ts +24 -24
  106. package/sdk/application/User/UserApplicationValidator.js +89 -89
  107. package/sdk/common/AxiosHelper.js +18 -7
  108. package/sdk/constructUrl.d.ts +5 -0
  109. package/sdk/constructUrl.js +13 -0
  110. package/sdk/index.d.ts +3 -0
  111. package/sdk/index.js +5 -0
  112. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +51 -51
  113. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +182 -180
  114. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +6 -6
  115. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +21 -21
  116. package/sdk/platform/Analytics/AnalyticsPlatformClient.js +5 -4
  117. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +11 -11
  118. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +95 -178
  119. package/sdk/platform/Analytics/AnalyticsPlatformValidator.js +1 -0
  120. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +10 -10
  121. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +44 -43
  122. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +10 -10
  123. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +50 -89
  124. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +1 -1
  125. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +7 -6
  126. package/sdk/platform/Billing/BillingPlatformClient.d.ts +60 -60
  127. package/sdk/platform/Billing/BillingPlatformClient.js +184 -183
  128. package/sdk/platform/Billing/BillingPlatformModel.d.ts +40 -40
  129. package/sdk/platform/Billing/BillingPlatformModel.js +342 -668
  130. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +8 -8
  131. package/sdk/platform/Billing/BillingPlatformValidator.js +26 -25
  132. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +192 -165
  133. package/sdk/platform/Cart/CartPlatformApplicationClient.js +686 -510
  134. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +14 -11
  135. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +77 -61
  136. package/sdk/platform/Cart/CartPlatformModel.d.ts +84 -83
  137. package/sdk/platform/Cart/CartPlatformModel.js +676 -1206
  138. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +632 -632
  139. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +1558 -1556
  140. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +40 -40
  141. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +175 -175
  142. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +688 -688
  143. package/sdk/platform/Catalog/CatalogPlatformClient.js +1556 -1559
  144. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +291 -291
  145. package/sdk/platform/Catalog/CatalogPlatformModel.js +2133 -3910
  146. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +66 -66
  147. package/sdk/platform/Catalog/CatalogPlatformValidator.js +229 -228
  148. package/sdk/platform/Common/CommonPlatformClient.d.ts +12 -12
  149. package/sdk/platform/Common/CommonPlatformClient.js +40 -51
  150. package/sdk/platform/Common/CommonPlatformModel.d.ts +12 -12
  151. package/sdk/platform/Common/CommonPlatformModel.js +83 -160
  152. package/sdk/platform/Common/CommonPlatformValidator.d.ts +1 -1
  153. package/sdk/platform/Common/CommonPlatformValidator.js +7 -6
  154. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +326 -326
  155. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +945 -943
  156. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +30 -30
  157. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +88 -88
  158. package/sdk/platform/Communication/CommunicationPlatformClient.js +4 -3
  159. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +67 -67
  160. package/sdk/platform/Communication/CommunicationPlatformModel.js +522 -974
  161. package/sdk/platform/Communication/CommunicationPlatformValidator.js +1 -0
  162. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +55 -55
  163. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +217 -216
  164. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +27 -27
  165. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +279 -542
  166. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +7 -7
  167. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +25 -24
  168. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +163 -153
  169. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +617 -552
  170. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +22 -21
  171. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +70 -64
  172. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +125 -125
  173. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +348 -347
  174. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +148 -146
  175. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +854 -1508
  176. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +9 -9
  177. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +39 -38
  178. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +524 -534
  179. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1287 -1346
  180. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +49 -50
  181. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +153 -159
  182. package/sdk/platform/Content/ContentPlatformModel.d.ts +78 -78
  183. package/sdk/platform/Content/ContentPlatformModel.js +485 -907
  184. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +65 -65
  185. package/sdk/platform/Discount/DiscountPlatformClient.js +219 -218
  186. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +7 -7
  187. package/sdk/platform/Discount/DiscountPlatformModel.js +60 -121
  188. package/sdk/platform/Discount/DiscountPlatformValidator.d.ts +6 -6
  189. package/sdk/platform/Discount/DiscountPlatformValidator.js +30 -29
  190. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +25 -25
  191. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +83 -61
  192. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +1 -1
  193. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +9 -9
  194. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +53 -53
  195. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +147 -125
  196. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +13 -13
  197. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +86 -169
  198. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +3 -3
  199. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +12 -11
  200. package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +63 -63
  201. package/sdk/platform/Inventory/InventoryPlatformClient.js +231 -230
  202. package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +30 -30
  203. package/sdk/platform/Inventory/InventoryPlatformModel.js +497 -964
  204. package/sdk/platform/Inventory/InventoryPlatformValidator.d.ts +7 -7
  205. package/sdk/platform/Inventory/InventoryPlatformValidator.js +29 -28
  206. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +73 -73
  207. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +203 -201
  208. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +7 -7
  209. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +29 -29
  210. package/sdk/platform/Lead/LeadPlatformClient.d.ts +80 -80
  211. package/sdk/platform/Lead/LeadPlatformClient.js +215 -214
  212. package/sdk/platform/Lead/LeadPlatformModel.d.ts +35 -35
  213. package/sdk/platform/Lead/LeadPlatformModel.js +267 -474
  214. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +6 -6
  215. package/sdk/platform/Lead/LeadPlatformValidator.js +25 -24
  216. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +10 -10
  217. package/sdk/platform/Order/OrderPlatformApplicationClient.js +68 -66
  218. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -1
  219. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +7 -7
  220. package/sdk/platform/Order/OrderPlatformClient.d.ts +357 -357
  221. package/sdk/platform/Order/OrderPlatformClient.js +1046 -1033
  222. package/sdk/platform/Order/OrderPlatformModel.d.ts +198 -196
  223. package/sdk/platform/Order/OrderPlatformModel.js +1575 -2861
  224. package/sdk/platform/Order/OrderPlatformValidator.d.ts +32 -32
  225. package/sdk/platform/Order/OrderPlatformValidator.js +161 -160
  226. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +3 -1
  227. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +1 -1
  228. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +1 -1
  229. package/sdk/platform/Partner/PartnerPlatformModel.js +10 -26
  230. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +58 -58
  231. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +178 -178
  232. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +6 -6
  233. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +24 -24
  234. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +42 -42
  235. package/sdk/platform/Payment/PaymentPlatformClient.js +156 -155
  236. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +27 -27
  237. package/sdk/platform/Payment/PaymentPlatformModel.js +222 -410
  238. package/sdk/platform/Payment/PaymentPlatformValidator.d.ts +4 -4
  239. package/sdk/platform/Payment/PaymentPlatformValidator.js +22 -21
  240. package/sdk/platform/PlatformApplicationClient.d.ts +1496 -10325
  241. package/sdk/platform/PlatformApplicationClient.js +1584 -13899
  242. package/sdk/platform/PlatformClient.d.ts +7972 -7888
  243. package/sdk/platform/PlatformClient.js +8678 -10107
  244. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +85 -85
  245. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +299 -280
  246. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +8 -8
  247. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +35 -35
  248. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +15 -15
  249. package/sdk/platform/Rewards/RewardsPlatformModel.js +92 -194
  250. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +10 -10
  251. package/sdk/platform/Share/SharePlatformApplicationClient.js +62 -60
  252. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +1 -1
  253. package/sdk/platform/Share/SharePlatformApplicationValidator.js +7 -7
  254. package/sdk/platform/Share/SharePlatformModel.d.ts +8 -8
  255. package/sdk/platform/Share/SharePlatformModel.js +60 -118
  256. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +132 -132
  257. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +314 -312
  258. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +15 -15
  259. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +45 -45
  260. package/sdk/platform/Theme/ThemePlatformModel.d.ts +34 -34
  261. package/sdk/platform/Theme/ThemePlatformModel.js +190 -336
  262. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +136 -69
  263. package/sdk/platform/User/UserPlatformApplicationClient.js +507 -166
  264. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +12 -7
  265. package/sdk/platform/User/UserPlatformApplicationValidator.js +62 -24
  266. package/sdk/platform/User/UserPlatformModel.d.ts +79 -72
  267. package/sdk/platform/User/UserPlatformModel.js +440 -689
  268. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +31 -31
  269. package/sdk/platform/Webhook/WebhookPlatformClient.js +91 -90
  270. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +7 -7
  271. package/sdk/platform/Webhook/WebhookPlatformModel.js +68 -136
  272. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +3 -3
  273. package/sdk/platform/Webhook/WebhookPlatformValidator.js +15 -14
  274. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +13 -13
  275. package/sdk/public/Configuration/ConfigurationPublicClient.js +40 -38
  276. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +12 -12
  277. package/sdk/public/Configuration/ConfigurationPublicModel.js +85 -162
  278. package/sdk/public/Configuration/ConfigurationPublicValidator.d.ts +1 -1
  279. package/sdk/public/Configuration/ConfigurationPublicValidator.js +6 -6
  280. package/sdk/public/Inventory/InventoryPublicClient.d.ts +34 -34
  281. package/sdk/public/Inventory/InventoryPublicClient.js +115 -113
  282. package/sdk/public/Inventory/InventoryPublicModel.d.ts +10 -10
  283. package/sdk/public/Inventory/InventoryPublicModel.js +119 -245
  284. package/sdk/public/Inventory/InventoryPublicValidator.d.ts +3 -3
  285. package/sdk/public/Inventory/InventoryPublicValidator.js +15 -15
  286. package/sdk/public/Webhook/WebhookPublicClient.js +2 -0
  287. package/sdk/public/Webhook/WebhookPublicModel.d.ts +7 -7
  288. package/sdk/public/Webhook/WebhookPublicModel.js +68 -136
  289. package/.github/workflows/on_create_release.yml +0 -23
  290. package/.github/workflows/on_merge_main.yml +0 -38
  291. package/.github/workflows/on_pull_request.yml +0 -35
  292. package/.prettierrc +0 -5
  293. package/documentation/application/CART.md +0 -7339
  294. package/documentation/application/CATALOG.md +0 -9597
  295. package/documentation/application/COMMON.md +0 -452
  296. package/documentation/application/COMMUNICATION.md +0 -467
  297. package/documentation/application/CONFIGURATION.md +0 -2906
  298. package/documentation/application/CONTENT.md +0 -3351
  299. package/documentation/application/FILESTORAGE.md +0 -578
  300. package/documentation/application/LEAD.md +0 -1895
  301. package/documentation/application/LOGISTIC.md +0 -765
  302. package/documentation/application/ORDER.md +0 -3432
  303. package/documentation/application/PAYMENT.md +0 -5221
  304. package/documentation/application/POSCART.md +0 -7938
  305. package/documentation/application/README.md +0 -21
  306. package/documentation/application/REWARDS.md +0 -708
  307. package/documentation/application/SHARE.md +0 -733
  308. package/documentation/application/THEME.md +0 -5800
  309. package/documentation/application/USER.md +0 -4335
  310. package/documentation/platform/ANALYTICS.md +0 -1154
  311. package/documentation/platform/AUDITTRAIL.md +0 -576
  312. package/documentation/platform/BILLING.md +0 -2400
  313. package/documentation/platform/CART.md +0 -5559
  314. package/documentation/platform/CATALOG.md +0 -23261
  315. package/documentation/platform/COMMON.md +0 -452
  316. package/documentation/platform/COMMUNICATION.md +0 -5718
  317. package/documentation/platform/COMPANYPROFILE.md +0 -2031
  318. package/documentation/platform/CONFIGURATION.md +0 -7339
  319. package/documentation/platform/CONTENT.md +0 -9098
  320. package/documentation/platform/DISCOUNT.md +0 -863
  321. package/documentation/platform/FILESTORAGE.md +0 -1081
  322. package/documentation/platform/INVENTORY.md +0 -1779
  323. package/documentation/platform/LEAD.md +0 -4740
  324. package/documentation/platform/ORDER.md +0 -8486
  325. package/documentation/platform/PARTNER.md +0 -220
  326. package/documentation/platform/PAYMENT.md +0 -3448
  327. package/documentation/platform/README.md +0 -27
  328. package/documentation/platform/REWARDS.md +0 -1083
  329. package/documentation/platform/SHARE.md +0 -606
  330. package/documentation/platform/THEME.md +0 -35729
  331. package/documentation/platform/USER.md +0 -2319
  332. package/documentation/platform/WEBHOOK.md +0 -591
  333. package/documentation/public/CONFIGURATION.md +0 -452
  334. package/documentation/public/INVENTORY.md +0 -690
  335. package/documentation/public/WEBHOOK.md +0 -352
  336. package/jest.config.d.ts +0 -4
  337. package/jest.config.js +0 -6
  338. package/tests/application/catalog.spec.js +0 -47
  339. package/tests/common/action-url.spec.js +0 -35
  340. package/tests/common/schema/action-url.json +0 -178
  341. package/tests/common/schema/url-action.json +0 -683
  342. package/tests/common/url-action.spec.js +0 -48
  343. package/tests/helpers/cookie.helper.js +0 -31
  344. package/tests/helpers/oauth.helper.js +0 -43
  345. package/tests/platform/catalog.spec.js +0 -49
  346. package/tests/public/location.spec.js +0 -39
@@ -1,3432 +0,0 @@
1
-
2
-
3
-
4
-
5
-
6
- ##### [Back to Application docs](./README.md)
7
-
8
- ## Order Methods
9
- Handles all Application order and shipment api(s)
10
-
11
- * [getOrders](#getorders)
12
- * [getOrderById](#getorderbyid)
13
- * [getPosOrderById](#getposorderbyid)
14
- * [getShipmentById](#getshipmentbyid)
15
- * [getInvoiceByShipmentId](#getinvoicebyshipmentid)
16
- * [trackShipment](#trackshipment)
17
- * [getCustomerDetailsByShipmentId](#getcustomerdetailsbyshipmentid)
18
- * [sendOtpToShipmentCustomer](#sendotptoshipmentcustomer)
19
- * [verifyOtpShipmentCustomer](#verifyotpshipmentcustomer)
20
- * [getShipmentBagReasons](#getshipmentbagreasons)
21
- * [getShipmentReasons](#getshipmentreasons)
22
- * [updateShipmentStatus](#updateshipmentstatus)
23
-
24
-
25
-
26
- ## Methods with example and description
27
-
28
-
29
-
30
-
31
- ### getOrders
32
- Get all orders
33
-
34
-
35
-
36
- ```javascript
37
- // Promise
38
- const promise = order.getOrders({ status : value,
39
- pageNo : value,
40
- pageSize : value,
41
- fromDate : value,
42
- toDate : value,
43
- customMeta : value });
44
-
45
- // Async/Await
46
- const data = await order.getOrders({ status : value,
47
- pageNo : value,
48
- pageSize : value,
49
- fromDate : value,
50
- toDate : value,
51
- customMeta : value });
52
- ```
53
-
54
-
55
-
56
-
57
-
58
- | Argument | Type | Required | Description |
59
- | --------- | ----- | -------- | ----------- |
60
- | status | number | no | A filter to retrieve orders by their current status such as _placed_, _delivered_, etc. |
61
- | pageNo | number | no | The page number to navigate through the given set of results. Default value is 1. |
62
- | pageSize | number | no | The number of items to retrieve in each page. Default value is 10. |
63
- | fromDate | string | no | The date from which the orders should be retrieved. |
64
- | toDate | string | no | The date till which the orders should be retrieved. |
65
- | customMeta | string | no | A filter and retrieve data using special fields included for special use-cases |
66
-
67
-
68
-
69
- Use this API to retrieve all the orders.
70
-
71
- *Returned Response:*
72
-
73
-
74
-
75
-
76
- [OrderList](#OrderList)
77
-
78
- Success. Returns all the orders. Check the example shown below or refer `OrderList` for more details.
79
-
80
-
81
-
82
-
83
- <details>
84
- <summary><i>&nbsp; Example:</i></summary>
85
-
86
- ```json
87
-
88
- ```
89
- </details>
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
-
98
-
99
- ---
100
-
101
-
102
- ### getOrderById
103
- Get details of an order
104
-
105
-
106
-
107
- ```javascript
108
- // Promise
109
- const promise = order.getOrderById({ orderId : value });
110
-
111
- // Async/Await
112
- const data = await order.getOrderById({ orderId : value });
113
- ```
114
-
115
-
116
-
117
-
118
-
119
- | Argument | Type | Required | Description |
120
- | --------- | ----- | -------- | ----------- |
121
- | orderId | string | yes | A unique number used for identifying and tracking your orders. |
122
-
123
-
124
-
125
- Use this API to retrieve order details such as tracking details, shipment, store information using Fynd Order ID.
126
-
127
- *Returned Response:*
128
-
129
-
130
-
131
-
132
- [OrderById](#OrderById)
133
-
134
- Success. Check the example shown below or refer `OrderById` for more details.
135
-
136
-
137
-
138
-
139
- <details>
140
- <summary><i>&nbsp; Example:</i></summary>
141
-
142
- ```json
143
- {
144
- "order": {
145
- "bags_for_reorder": [
146
- {
147
- "item_id": 7500429,
148
- "item_size": "OS",
149
- "store_id": 50,
150
- "seller_id": 33,
151
- "article_assignment": {
152
- "level": "multi-companies",
153
- "strategy": "low-price"
154
- },
155
- "quantity": 3
156
- }
157
- ],
158
- "user_info": {
159
- "mobile": "9892133001",
160
- "first_name": "User",
161
- "last_name": "-",
162
- "gender": "male"
163
- },
164
- "order_created_time": "2022-09-23T12:07:20.000Z",
165
- "total_shipments_in_order": 2,
166
- "order_id": "FY632D541F01152493D0",
167
- "breakup_values": [
168
- {
169
- "name": "mrp_total",
170
- "display": "MRP Total",
171
- "value": 3000
172
- },
173
- {
174
- "name": "sub_total",
175
- "display": "Sub Total",
176
- "value": 1797
177
- },
178
- {
179
- "name": "coupon",
180
- "display": "Coupon",
181
- "value": 0
182
- },
183
- {
184
- "name": "discount",
185
- "display": "Discount",
186
- "value": -1203
187
- },
188
- {
189
- "name": "promotion",
190
- "display": "Promotion",
191
- "value": 0
192
- },
193
- {
194
- "name": "reward_points",
195
- "display": "Reward Points",
196
- "value": 0
197
- },
198
- {
199
- "name": "cashback_applied",
200
- "display": "Cashback Applied",
201
- "value": 0
202
- },
203
- {
204
- "name": "delivery_charges",
205
- "display": "Delivery Charges",
206
- "value": 0
207
- },
208
- {
209
- "name": "cod_charges",
210
- "display": "COD Charges",
211
- "value": 0
212
- },
213
- {
214
- "name": "total",
215
- "display": "Total",
216
- "value": 1797
217
- }
218
- ],
219
- "shipments": [
220
- {
221
- "order_id": "FY632D541F01152493D0",
222
- "breakup_values": [
223
- {
224
- "name": "mrp_total",
225
- "display": "MRP Total",
226
- "value": 2000
227
- },
228
- {
229
- "name": "sub_total",
230
- "display": "Sub Total",
231
- "value": 1198
232
- },
233
- {
234
- "name": "coupon",
235
- "display": "Coupon",
236
- "value": 0
237
- },
238
- {
239
- "name": "discount",
240
- "display": "Discount",
241
- "value": -802
242
- },
243
- {
244
- "name": "promotion",
245
- "display": "Promotion",
246
- "value": 0
247
- },
248
- {
249
- "name": "reward_points",
250
- "display": "Reward Points",
251
- "value": 0
252
- },
253
- {
254
- "name": "cashback_applied",
255
- "display": "Cashback Applied",
256
- "value": 0
257
- },
258
- {
259
- "name": "delivery_charges",
260
- "display": "Delivery Charges",
261
- "value": 0
262
- },
263
- {
264
- "name": "cod_charges",
265
- "display": "COD Charges",
266
- "value": 0
267
- },
268
- {
269
- "name": "total",
270
- "display": "Total",
271
- "value": 1198
272
- }
273
- ],
274
- "beneficiary_details": false,
275
- "shipment_created_at": "2022-09-23T12:07:35.000Z",
276
- "shipment_id": "16639150404761166748K",
277
- "shipment_status": {
278
- "title": "Placed",
279
- "value": "processing",
280
- "hex_code": "#02D1CB"
281
- },
282
- "track_url": "",
283
- "traking_no": "",
284
- "awb_no": "",
285
- "dp_name": "",
286
- "tracking_details": [
287
- {
288
- "status": "Order Placed",
289
- "time": "2022-09-23T12:07:35.000Z",
290
- "is_passed": true,
291
- "value": "processing"
292
- },
293
- {
294
- "status": "Order Confirmed",
295
- "time": "",
296
- "is_passed": false,
297
- "value": "confirmed"
298
- },
299
- {
300
- "status": "Delivery Partner Assigned",
301
- "time": "",
302
- "is_passed": false,
303
- "value": "dp_assigned"
304
- },
305
- {
306
- "status": "In Transit",
307
- "time": "",
308
- "is_passed": false,
309
- "value": "in_transit"
310
- },
311
- {
312
- "status": "Out For Delivery",
313
- "time": "",
314
- "is_passed": false,
315
- "value": "out_for_delivery"
316
- },
317
- {
318
- "status": "Delivered",
319
- "time": "",
320
- "is_passed": false,
321
- "value": "delivered"
322
- }
323
- ],
324
- "total_bags": 1,
325
- "order_type": null,
326
- "promise": {
327
- "show_promise": true,
328
- "timestamp": {
329
- "dp_promise": null,
330
- "min": "2022-09-26T06:37:17+00:00",
331
- "max": "2022-09-27T06:37:17+00:00"
332
- }
333
- },
334
- "bags": [
335
- {
336
- "id": 67631,
337
- "current_status": {
338
- "status": "placed",
339
- "updated_at": "2022-09-23T12:07:35+00:00",
340
- "name": "Placed",
341
- "journey_type": "forward"
342
- },
343
- "prices": {
344
- "price_effective": 599,
345
- "discount": 401,
346
- "amount_paid": 599,
347
- "coupon_effective_discount": 0,
348
- "delivery_charge": 0,
349
- "fynd_credits": 0,
350
- "cod_charges": 0,
351
- "refund_credit": 0,
352
- "cashback": 0,
353
- "refund_amount": 599,
354
- "added_to_fynd_cash": false,
355
- "cashback_applied": 0,
356
- "gst_tax_percentage": 5,
357
- "value_of_good": 570.48,
358
- "price_marked": 1000,
359
- "transfer_price": 0,
360
- "brand_calculated_amount": 599,
361
- "promotion_effective_discount": 0,
362
- "coupon_value": 0,
363
- "pm_price_split": {
364
- "": 599
365
- }
366
- },
367
- "item": {
368
- "name": "FYND Black T-Shirt 03",
369
- "brand": {
370
- "name": "lacoste",
371
- "logo": "https://hdn-1.jiomarketx0.de/x0/brands/pictures/square-logo/original/JK1ZUAgrl-Logo.png"
372
- },
373
- "image": [
374
- "https://hdn-1.jiomarketx0.de/x0/products/pictures/item/free/270x0/Cg5vRX38t-FYND-Black-Cotton-Mens-T-shirt.jpeg",
375
- "https://hdn-1.jiomarketx0.de/x0/products/pictures/item/free/270x0/QkYTI_VBn-FYND-Black-Cotton-Mens-T-shirt.jpeg",
376
- "https://hdn-1.jiomarketx0.de/x0/products/pictures/item/free/270x0/QRNIZFn7_-FYND-Black-T-Shirt.jpeg",
377
- "https://hdn-1.jiomarketx0.de/x0/products/pictures/item/free/270x0/TJLO6V8dW-FYND-Black-T-Shirt.jpeg",
378
- "https://hdn-1.jiomarketx0.de/x0/products/pictures/item/free/270x0/h0HW_3rr5-FYND-Black-T-Shirt-01.jpeg",
379
- "https://hdn-1.jiomarketx0.de/x0/products/pictures/item/free/270x0/u1zbaCncl-FYND-Black-T-Shirt-01.jpeg",
380
- "https://hdn-1.jiomarketx0.de/x0/products/pictures/item/free/270x0/TJLO6V8dW-FYND-Black-T-Shirt.jpeg",
381
- "https://hdn-1.jiomarketx0.de/x0/products/pictures/item/free/270x0/h0HW_3rr5-FYND-Black-T-Shirt-01.jpeg",
382
- "https://hdn-1.jiomarketx0.de/x0/products/pictures/item/free/270x0/u1zbaCncl-FYND-Black-T-Shirt-01.jpeg"
383
- ],
384
- "slug_key": "fynd-black-cotton-mens-t-shirt",
385
- "size": "OS",
386
- "code": "SHIRT-01",
387
- "id": 7500429,
388
- "category": {
389
- "l1": [
390
- {
391
- "uid": 124,
392
- "name": "Apparel",
393
- "level": 1,
394
- "departments": [
395
- {
396
- "uid": 24,
397
- "name": "Crafts Of India"
398
- },
399
- {
400
- "uid": 8,
401
- "name": "Fashion"
402
- }
403
- ],
404
- "gated_category_types": {}
405
- }
406
- ],
407
- "l2": [
408
- {
409
- "uid": 50,
410
- "name": "Western Wear",
411
- "level": 2,
412
- "departments": [
413
- {
414
- "uid": 8,
415
- "name": "Fashion"
416
- }
417
- ],
418
- "gated_category_types": {}
419
- }
420
- ],
421
- "l3": [
422
- {
423
- "uid": 25,
424
- "name": "T-Shirts",
425
- "level": 3,
426
- "departments": [
427
- {
428
- "uid": 1,
429
- "name": "Men's Fashionjhjh"
430
- },
431
- {
432
- "uid": 8,
433
- "name": "Fashion"
434
- }
435
- ],
436
- "gated_category_types": {
437
- "food": false
438
- }
439
- }
440
- ]
441
- },
442
- "seller_identifier": "SHIRT-01"
443
- },
444
- "financial_breakup": [
445
- {
446
- "price_effective": 599,
447
- "discount": 401,
448
- "amount_paid": 599,
449
- "coupon_effective_discount": 0,
450
- "delivery_charge": 0,
451
- "fynd_credits": 0,
452
- "cod_charges": 0,
453
- "refund_credit": 0,
454
- "cashback": 0,
455
- "refund_amount": 599,
456
- "added_to_fynd_cash": false,
457
- "cashback_applied": 0,
458
- "gst_tax_percentage": 5,
459
- "value_of_good": 570.48,
460
- "price_marked": 1000,
461
- "transfer_price": 0,
462
- "brand_calculated_amount": 599,
463
- "promotion_effective_discount": 0,
464
- "coupon_value": 0,
465
- "pm_price_split": {
466
- "": 599
467
- },
468
- "size": "OS",
469
- "total_units": 1,
470
- "hsn_code": "62063000",
471
- "identifiers": {
472
- "sku_code": "SHIRT-01"
473
- },
474
- "item_name": "FYND Black T-Shirt 03",
475
- "gst_fee": "28.52",
476
- "gst_tag": "SGST"
477
- }
478
- ],
479
- "quantity": 2,
480
- "can_cancel": true,
481
- "can_return": false,
482
- "delivery_date": null,
483
- "returnable_date": null
484
- }
485
- ],
486
- "size_info": {
487
- "SHIRT-01": {
488
- "quantity": 2,
489
- "price_effective": 599,
490
- "amount_paid": 599,
491
- "price_marked": 1000,
492
- "margin": 40.1
493
- }
494
- },
495
- "total_details": {
496
- "sizes": 1,
497
- "total_price": 599,
498
- "pieces": 2
499
- },
500
- "fulfilling_store": {
501
- "name": "Jio-market-store4",
502
- "company_id": 33,
503
- "id": 50,
504
- "code": "store3"
505
- },
506
- "fulfilling_company": {
507
- "id": 33,
508
- "name": "RELIANCE JIO INFOCOMM LIMITED"
509
- },
510
- "delivery_date": null,
511
- "delivery_address": {
512
- "id": "62dfe1d112b842b2959de99e",
513
- "uid": 660,
514
- "area": "asd",
515
- "city": "Mumbai",
516
- "name": "Vaishakh Shetty",
517
- "email": null,
518
- "phone": "9892133001",
519
- "state": "Maharashtra",
520
- "address": "dsa",
521
- "country": "India",
522
- "pincode": "400059",
523
- "version": "1.0",
524
- "address1": " asd",
525
- "address2": "",
526
- "landmark": "tr",
527
- "latitude": 19.1157486,
528
- "address_1": " asd",
529
- "area_code": "400059",
530
- "longitude": 72.8773159,
531
- "created_at": "2022-09-22T18:19:29+00:00",
532
- "updated_at": "2022-09-22T18:19:29+00:00",
533
- "address_type": "home",
534
- "country_code": "91",
535
- "geo_location": {
536
- "latitude": 19.1157486,
537
- "longitude": 72.8773159
538
- },
539
- "area_code_slug": "pincode",
540
- "delivery_address_id": 660,
541
- "addressee_name": "Vaishakh Shetty",
542
- "delivery_code_required": 1
543
- },
544
- "can_cancel": true,
545
- "can_return": false,
546
- "returnable_date": null,
547
- "show_download_invoice": false,
548
- "show_track_link": false,
549
- "prices": {
550
- "amount_paid": 1198,
551
- "refund_amount": 1198,
552
- "price_marked": 2000,
553
- "cod_charges": 0,
554
- "coupon_value": 0,
555
- "discount": 802,
556
- "cashback_applied": 0,
557
- "delivery_charge": 0,
558
- "fynd_credits": 0,
559
- "cashback": 0,
560
- "price_effective": 1198,
561
- "refund_credit": 0,
562
- "value_of_good": 1140.96,
563
- "discount_percent": 40
564
- },
565
- "can_break": {
566
- "bag_repriced": {
567
- "can_break_entity": false
568
- },
569
- "cancelled_seller": {
570
- "can_break_entity": false
571
- },
572
- "bag_not_verified": {
573
- "can_break_entity": false
574
- },
575
- "product_not_available": {
576
- "can_break_entity": false
577
- },
578
- "bag_invoiced": {
579
- "can_break_entity": false
580
- },
581
- "store_reassigned": {
582
- "can_break_entity": false
583
- },
584
- "cancelled_fynd": {
585
- "can_break_entity": false
586
- },
587
- "cancelled_operations": {
588
- "can_break_entity": true
589
- },
590
- "cancelled_customer": {
591
- "can_break_entity": true
592
- },
593
- "bag_not_confirmed": {
594
- "can_break_entity": true
595
- },
596
- "delivery_sla_breached": {
597
- "can_break_entity": false
598
- },
599
- "bag_confirmed": {
600
- "can_break_entity": true
601
- }
602
- },
603
- "need_help_url": "https://fynd.freshdesk.com/support/solutions/33000003306",
604
- "payment": {
605
- "logo": "https://hdn-1.fynd.com/payment/Pos+Logo.png",
606
- "mode": "Jio Partner Pay",
607
- "mop": "PREPAID",
608
- "status": "Paid"
609
- },
610
- "user_info": {
611
- "email": "paymentsdummy@gofynd.com",
612
- "gender": "male",
613
- "mobile": "9892133001",
614
- "name": "User -"
615
- },
616
- "comment": "",
617
- "invoice": {
618
- "updated_date": "1970-01-01T00:00:00.000Z",
619
- "store_invoice_id": null,
620
- "invoice_url": "",
621
- "label_url": ""
622
- },
623
- "refund_details": {
624
- "rrn": null
625
- }
626
- },
627
- {
628
- "order_id": "FY632D541F01152493D0",
629
- "breakup_values": [
630
- {
631
- "name": "mrp_total",
632
- "display": "MRP Total",
633
- "value": 1000
634
- },
635
- {
636
- "name": "sub_total",
637
- "display": "Sub Total",
638
- "value": 599
639
- },
640
- {
641
- "name": "coupon",
642
- "display": "Coupon",
643
- "value": 0
644
- },
645
- {
646
- "name": "discount",
647
- "display": "Discount",
648
- "value": -401
649
- },
650
- {
651
- "name": "promotion",
652
- "display": "Promotion",
653
- "value": 0
654
- },
655
- {
656
- "name": "reward_points",
657
- "display": "Reward Points",
658
- "value": 0
659
- },
660
- {
661
- "name": "cashback_applied",
662
- "display": "Cashback Applied",
663
- "value": 0
664
- },
665
- {
666
- "name": "delivery_charges",
667
- "display": "Delivery Charges",
668
- "value": 0
669
- },
670
- {
671
- "name": "cod_charges",
672
- "display": "COD Charges",
673
- "value": 0
674
- },
675
- {
676
- "name": "total",
677
- "display": "Total",
678
- "value": 599
679
- }
680
- ],
681
- "beneficiary_details": false,
682
- "shipment_created_at": "2022-09-23T12:07:58.000Z",
683
- "shipment_id": "16639150772951172388K",
684
- "shipment_status": {
685
- "title": "Refund Initiated",
686
- "value": "refund_initiated",
687
- "hex_code": "#FE8F46"
688
- },
689
- "track_url": "",
690
- "traking_no": "",
691
- "awb_no": "",
692
- "dp_name": "",
693
- "tracking_details": [
694
- {
695
- "status": "Order Placed",
696
- "time": "2022-09-23T12:07:35.000Z",
697
- "is_passed": true,
698
- "value": "processing"
699
- },
700
- {
701
- "status": "Cancelled",
702
- "time": "2022-09-23T12:07:57.000Z",
703
- "is_passed": true,
704
- "value": "cancelled"
705
- },
706
- {
707
- "status": "Refund Processing",
708
- "time": "2022-09-23T12:07:58.000Z",
709
- "is_passed": true,
710
- "value": "refund_initiated",
711
- "tracking_details": [
712
- {
713
- "status": "Refund Initiated",
714
- "time": "2022-09-23T12:07:58.000Z",
715
- "is_passed": true,
716
- "value": "refund_initiated"
717
- },
718
- {
719
- "status": "Refund Completed",
720
- "time": "",
721
- "is_passed": false,
722
- "value": "refund_done"
723
- }
724
- ]
725
- }
726
- ],
727
- "total_bags": 1,
728
- "order_type": null,
729
- "promise": {
730
- "show_promise": false,
731
- "timestamp": {
732
- "dp_promise": null,
733
- "min": "2022-09-26T06:37:17+00:00",
734
- "max": "2022-09-27T06:37:17+00:00"
735
- }
736
- },
737
- "bags": [
738
- {
739
- "id": 67632,
740
- "current_status": {
741
- "status": "refund_acknowledged",
742
- "updated_at": "2022-09-23T12:07:58+00:00",
743
- "name": "Refund Acknowledged",
744
- "journey_type": null
745
- },
746
- "prices": {
747
- "price_effective": 599,
748
- "discount": 401,
749
- "amount_paid": 599,
750
- "coupon_effective_discount": 0,
751
- "delivery_charge": 0,
752
- "fynd_credits": 0,
753
- "cod_charges": 0,
754
- "refund_credit": 0,
755
- "cashback": 0,
756
- "refund_amount": 599,
757
- "added_to_fynd_cash": false,
758
- "cashback_applied": 0,
759
- "gst_tax_percentage": 5,
760
- "value_of_good": 570.48,
761
- "price_marked": 1000,
762
- "transfer_price": 0,
763
- "brand_calculated_amount": 599,
764
- "promotion_effective_discount": 0,
765
- "coupon_value": 0,
766
- "pm_price_split": {
767
- "": 599
768
- }
769
- },
770
- "item": {
771
- "name": "FYND Black T-Shirt 03",
772
- "brand": {
773
- "name": "lacoste",
774
- "logo": "https://hdn-1.jiomarketx0.de/x0/brands/pictures/square-logo/original/JK1ZUAgrl-Logo.png"
775
- },
776
- "image": [
777
- "https://hdn-1.jiomarketx0.de/x0/products/pictures/item/free/270x0/Cg5vRX38t-FYND-Black-Cotton-Mens-T-shirt.jpeg",
778
- "https://hdn-1.jiomarketx0.de/x0/products/pictures/item/free/270x0/QkYTI_VBn-FYND-Black-Cotton-Mens-T-shirt.jpeg",
779
- "https://hdn-1.jiomarketx0.de/x0/products/pictures/item/free/270x0/QRNIZFn7_-FYND-Black-T-Shirt.jpeg",
780
- "https://hdn-1.jiomarketx0.de/x0/products/pictures/item/free/270x0/TJLO6V8dW-FYND-Black-T-Shirt.jpeg",
781
- "https://hdn-1.jiomarketx0.de/x0/products/pictures/item/free/270x0/h0HW_3rr5-FYND-Black-T-Shirt-01.jpeg",
782
- "https://hdn-1.jiomarketx0.de/x0/products/pictures/item/free/270x0/u1zbaCncl-FYND-Black-T-Shirt-01.jpeg",
783
- "https://hdn-1.jiomarketx0.de/x0/products/pictures/item/free/270x0/TJLO6V8dW-FYND-Black-T-Shirt.jpeg",
784
- "https://hdn-1.jiomarketx0.de/x0/products/pictures/item/free/270x0/h0HW_3rr5-FYND-Black-T-Shirt-01.jpeg",
785
- "https://hdn-1.jiomarketx0.de/x0/products/pictures/item/free/270x0/u1zbaCncl-FYND-Black-T-Shirt-01.jpeg"
786
- ],
787
- "slug_key": "fynd-black-cotton-mens-t-shirt",
788
- "size": "OS",
789
- "code": "SHIRT-01",
790
- "id": 7500429,
791
- "category": {
792
- "l1": [
793
- {
794
- "uid": 124,
795
- "name": "Apparel",
796
- "level": 1,
797
- "departments": [
798
- {
799
- "uid": 24,
800
- "name": "Crafts Of India"
801
- },
802
- {
803
- "uid": 8,
804
- "name": "Fashion"
805
- }
806
- ],
807
- "gated_category_types": {}
808
- }
809
- ],
810
- "l2": [
811
- {
812
- "uid": 50,
813
- "name": "Western Wear",
814
- "level": 2,
815
- "departments": [
816
- {
817
- "uid": 8,
818
- "name": "Fashion"
819
- }
820
- ],
821
- "gated_category_types": {}
822
- }
823
- ],
824
- "l3": [
825
- {
826
- "uid": 25,
827
- "name": "T-Shirts",
828
- "level": 3,
829
- "departments": [
830
- {
831
- "uid": 1,
832
- "name": "Men's Fashionjhjh"
833
- },
834
- {
835
- "uid": 8,
836
- "name": "Fashion"
837
- }
838
- ],
839
- "gated_category_types": {
840
- "food": false
841
- }
842
- }
843
- ]
844
- },
845
- "seller_identifier": "SHIRT-01"
846
- },
847
- "financial_breakup": [
848
- {
849
- "price_effective": 599,
850
- "discount": 401,
851
- "amount_paid": 599,
852
- "coupon_effective_discount": 0,
853
- "delivery_charge": 0,
854
- "fynd_credits": 0,
855
- "cod_charges": 0,
856
- "refund_credit": 0,
857
- "cashback": 0,
858
- "refund_amount": 599,
859
- "added_to_fynd_cash": false,
860
- "cashback_applied": 0,
861
- "gst_tax_percentage": 5,
862
- "value_of_good": 570.48,
863
- "price_marked": 1000,
864
- "transfer_price": 0,
865
- "brand_calculated_amount": 599,
866
- "promotion_effective_discount": 0,
867
- "coupon_value": 0,
868
- "pm_price_split": {
869
- "": 599
870
- },
871
- "size": "OS",
872
- "total_units": 1,
873
- "hsn_code": "62063000",
874
- "identifiers": {
875
- "sku_code": "SHIRT-01"
876
- },
877
- "item_name": "FYND Black T-Shirt 03",
878
- "gst_fee": "28.52",
879
- "gst_tag": "SGST"
880
- }
881
- ],
882
- "quantity": 1,
883
- "can_cancel": false,
884
- "can_return": false,
885
- "delivery_date": null,
886
- "returnable_date": null
887
- }
888
- ],
889
- "size_info": {
890
- "SHIRT-01": {
891
- "quantity": 1,
892
- "price_effective": 599,
893
- "amount_paid": 599,
894
- "price_marked": 1000,
895
- "margin": 40.1
896
- }
897
- },
898
- "total_details": {
899
- "sizes": 1,
900
- "total_price": 599,
901
- "pieces": 1
902
- },
903
- "fulfilling_store": {
904
- "name": "Jio-market-store4",
905
- "company_id": 33,
906
- "id": 50,
907
- "code": "store3"
908
- },
909
- "fulfilling_company": {
910
- "id": 33,
911
- "name": "RELIANCE JIO INFOCOMM LIMITED"
912
- },
913
- "delivery_date": null,
914
- "delivery_address": {
915
- "id": "62dfe1d112b842b2959de99e",
916
- "uid": 660,
917
- "area": "asd",
918
- "city": "Mumbai",
919
- "name": "Vaishakh Shetty",
920
- "email": null,
921
- "phone": "9892133001",
922
- "state": "Maharashtra",
923
- "address": "dsa",
924
- "country": "India",
925
- "pincode": "400059",
926
- "version": "1.0",
927
- "address1": " asd",
928
- "address2": "",
929
- "landmark": "tr",
930
- "latitude": 19.1157486,
931
- "address_1": " asd",
932
- "area_code": "400059",
933
- "longitude": 72.8773159,
934
- "created_at": "2022-09-22T18:19:29+00:00",
935
- "updated_at": "2022-09-22T18:19:29+00:00",
936
- "address_type": "home",
937
- "country_code": "91",
938
- "geo_location": {
939
- "latitude": 19.1157486,
940
- "longitude": 72.8773159
941
- },
942
- "area_code_slug": "pincode",
943
- "delivery_address_id": 660,
944
- "addressee_name": "Vaishakh Shetty",
945
- "delivery_code_required": 1
946
- },
947
- "can_cancel": false,
948
- "can_return": false,
949
- "returnable_date": null,
950
- "show_download_invoice": false,
951
- "show_track_link": false,
952
- "prices": {
953
- "amount_paid": 599,
954
- "refund_amount": 599,
955
- "price_marked": 1000,
956
- "cod_charges": 0,
957
- "coupon_value": 0,
958
- "discount": 401,
959
- "cashback_applied": 0,
960
- "delivery_charge": 0,
961
- "fynd_credits": 0,
962
- "cashback": 0,
963
- "price_effective": 599,
964
- "refund_credit": 0,
965
- "value_of_good": 570.48,
966
- "discount_percent": 40
967
- },
968
- "can_break": {
969
- "refund_completed": {
970
- "can_break_entity": false
971
- },
972
- "rto_delivery_attempt_failed": {
973
- "can_break_entity": false
974
- },
975
- "return_rejected_by_dp": {
976
- "can_break_entity": false
977
- },
978
- "return_to_origin": {
979
- "can_break_entity": false
980
- },
981
- "rto_initiated": {
982
- "can_break_entity": false
983
- },
984
- "refund_failed": {
985
- "can_break_entity": false
986
- },
987
- "bag_picked": {
988
- "can_break_entity": false
989
- },
990
- "rto_bag_delivered": {
991
- "can_break_entity": false
992
- },
993
- "return_dp_assigned": {
994
- "can_break_entity": false
995
- },
996
- "return_bag_in_transit": {
997
- "can_break_entity": false
998
- },
999
- "return_bag_out_for_delivery": {
1000
- "can_break_entity": false
1001
- },
1002
- "return_initiated": {
1003
- "can_break_entity": true
1004
- },
1005
- "return_rejected_by_store": {
1006
- "can_break_entity": false
1007
- },
1008
- "rto_bag_out_for_delivery": {
1009
- "can_break_entity": false
1010
- },
1011
- "deadstock": {
1012
- "can_break_entity": false
1013
- },
1014
- "bag_lost": {
1015
- "can_break_entity": false
1016
- },
1017
- "return_bag_delivered": {
1018
- "can_break_entity": false
1019
- },
1020
- "return_completed": {
1021
- "can_break_entity": false
1022
- },
1023
- "return_bag_picked": {
1024
- "can_break_entity": false
1025
- },
1026
- "rto_bag_accepted": {
1027
- "can_break_entity": false
1028
- },
1029
- "deadstock_defective": {
1030
- "can_break_entity": false
1031
- },
1032
- "rto_in_transit": {
1033
- "can_break_entity": false
1034
- },
1035
- "return_accepted": {
1036
- "can_break_entity": false
1037
- },
1038
- "out_for_pickup": {
1039
- "can_break_entity": false
1040
- },
1041
- "return_bag_not_delivered": {
1042
- "can_break_entity": false
1043
- },
1044
- "cancelled_customer": {
1045
- "can_break_entity": true
1046
- },
1047
- "return_bag_lost": {
1048
- "can_break_entity": false
1049
- }
1050
- },
1051
- "need_help_url": "https://fynd.freshdesk.com/support/solutions/33000003306",
1052
- "payment": {
1053
- "logo": "https://hdn-1.fynd.com/payment/Pos+Logo.png",
1054
- "mode": "Jio Partner Pay",
1055
- "mop": "PREPAID",
1056
- "status": "Paid"
1057
- },
1058
- "user_info": {
1059
- "email": "paymentsdummy@gofynd.com",
1060
- "gender": "male",
1061
- "mobile": "9892133001",
1062
- "name": "User -"
1063
- },
1064
- "comment": "",
1065
- "invoice": {
1066
- "updated_date": "1970-01-01T00:00:00.000Z",
1067
- "store_invoice_id": null,
1068
- "invoice_url": "",
1069
- "label_url": ""
1070
- },
1071
- "refund_details": {
1072
- "rrn": ""
1073
- }
1074
- }
1075
- ],
1076
- "is_validated": false
1077
- }
1078
- }
1079
- ```
1080
- </details>
1081
-
1082
-
1083
-
1084
-
1085
-
1086
-
1087
-
1088
-
1089
-
1090
- ---
1091
-
1092
-
1093
- ### getPosOrderById
1094
- Get POS Order
1095
-
1096
-
1097
-
1098
- ```javascript
1099
- // Promise
1100
- const promise = order.getPosOrderById({ orderId : value });
1101
-
1102
- // Async/Await
1103
- const data = await order.getPosOrderById({ orderId : value });
1104
- ```
1105
-
1106
-
1107
-
1108
-
1109
-
1110
- | Argument | Type | Required | Description |
1111
- | --------- | ----- | -------- | ----------- |
1112
- | orderId | string | yes | A unique number used for identifying and tracking your orders. |
1113
-
1114
-
1115
-
1116
- Use this API to retrieve a POS order and all its details such as tracking details, shipment, store information using Fynd Order ID.
1117
-
1118
- *Returned Response:*
1119
-
1120
-
1121
-
1122
-
1123
- [OrderList](#OrderList)
1124
-
1125
- Success. Check the example shown below or refer `PosOrderById` for more details.
1126
-
1127
-
1128
-
1129
-
1130
- <details>
1131
- <summary><i>&nbsp; Example:</i></summary>
1132
-
1133
- ```json
1134
- {
1135
- "order": {
1136
- "order_created_time": "2022-08-11T16:09:17.000Z",
1137
- "total_shipments_in_order": 1,
1138
- "order_id": "FY62F4CE260113EFCC64",
1139
- "breakup_values": [
1140
- {
1141
- "name": "mrp_total",
1142
- "display": "MRP Total",
1143
- "value": 1000
1144
- },
1145
- {
1146
- "name": "sub_total",
1147
- "display": "Sub Total",
1148
- "value": 999
1149
- },
1150
- {
1151
- "name": "coupon",
1152
- "display": "Coupon",
1153
- "value": 0
1154
- },
1155
- {
1156
- "name": "discount",
1157
- "display": "Discount",
1158
- "value": -1
1159
- },
1160
- {
1161
- "name": "promotion",
1162
- "display": "Promotion",
1163
- "value": 0
1164
- },
1165
- {
1166
- "name": "reward_points",
1167
- "display": "Reward Points",
1168
- "value": 0
1169
- },
1170
- {
1171
- "name": "cashback_applied",
1172
- "display": "Cashback Applied",
1173
- "value": 0
1174
- },
1175
- {
1176
- "name": "delivery_charges",
1177
- "display": "Delivery Charges",
1178
- "value": 0
1179
- },
1180
- {
1181
- "name": "cod_charges",
1182
- "display": "COD Charges",
1183
- "value": 0
1184
- },
1185
- {
1186
- "name": "total",
1187
- "display": "Total",
1188
- "value": 999
1189
- }
1190
- ],
1191
- "shipments": [
1192
- {
1193
- "order_id": "FY62F4CE260113EFCC64",
1194
- "breakup_values": [
1195
- {
1196
- "name": "mrp_total",
1197
- "display": "MRP Total",
1198
- "value": 1000
1199
- },
1200
- {
1201
- "name": "sub_total",
1202
- "display": "Sub Total",
1203
- "value": 999
1204
- },
1205
- {
1206
- "name": "coupon",
1207
- "display": "Coupon",
1208
- "value": 0
1209
- },
1210
- {
1211
- "name": "discount",
1212
- "display": "Discount",
1213
- "value": -1
1214
- },
1215
- {
1216
- "name": "promotion",
1217
- "display": "Promotion",
1218
- "value": 0
1219
- },
1220
- {
1221
- "name": "reward_points",
1222
- "display": "Reward Points",
1223
- "value": 0
1224
- },
1225
- {
1226
- "name": "cashback_applied",
1227
- "display": "Cashback Applied",
1228
- "value": 0
1229
- },
1230
- {
1231
- "name": "delivery_charges",
1232
- "display": "Delivery Charges",
1233
- "value": 0
1234
- },
1235
- {
1236
- "name": "cod_charges",
1237
- "display": "COD Charges",
1238
- "value": 0
1239
- },
1240
- {
1241
- "name": "total",
1242
- "display": "Total",
1243
- "value": 999
1244
- }
1245
- ],
1246
- "beneficiary_details": false,
1247
- "shipment_created_at": "2022-08-22T21:33:33.000Z",
1248
- "shipment_id": "16602143565551542371K",
1249
- "shipment_status": {
1250
- "title": "DP Assigned",
1251
- "value": "dp_assigned",
1252
- "hex_code": "#FE8F46"
1253
- },
1254
- "track_url": "",
1255
- "traking_no": "Tracking No.: 118022046",
1256
- "awb_no": "118022046",
1257
- "dp_name": "ecom_jio",
1258
- "tracking_details": [
1259
- {
1260
- "status": "Order Placed",
1261
- "time": "2022-08-11T16:09:17.000Z",
1262
- "is_passed": true,
1263
- "value": "processing"
1264
- },
1265
- {
1266
- "status": "Order Confirmed",
1267
- "time": "2022-08-22T17:14:02.000Z",
1268
- "is_passed": true,
1269
- "value": "confirmed"
1270
- },
1271
- {
1272
- "status": "Delivery Partner Assigned",
1273
- "time": "2022-08-22T17:14:13.000Z",
1274
- "is_passed": true,
1275
- "value": "dp_assigned"
1276
- },
1277
- {
1278
- "status": "In Transit",
1279
- "time": "",
1280
- "is_passed": false,
1281
- "value": "in_transit"
1282
- },
1283
- {
1284
- "status": "Out For Delivery",
1285
- "time": "",
1286
- "is_passed": false,
1287
- "value": "out_for_delivery"
1288
- },
1289
- {
1290
- "status": "Delivered",
1291
- "time": "",
1292
- "is_passed": false,
1293
- "value": "delivered"
1294
- }
1295
- ],
1296
- "total_bags": 1,
1297
- "order_type": null,
1298
- "promise": {
1299
- "show_promise": false,
1300
- "timestamp": {
1301
- "dp_promise": null,
1302
- "min": "2022-08-15T09:38:44+00:00",
1303
- "max": "2022-08-18T09:38:44+00:00"
1304
- }
1305
- },
1306
- "bags": [
1307
- {
1308
- "id": 59987,
1309
- "current_status": {
1310
- "status": "bag_not_picked",
1311
- "updated_at": "2022-08-22T21:33:33+00:00",
1312
- "name": "Bag Not Picked",
1313
- "journey_type": "forward"
1314
- },
1315
- "prices": {
1316
- "price_effective": 999,
1317
- "discount": 1,
1318
- "amount_paid": 999,
1319
- "coupon_effective_discount": 0,
1320
- "delivery_charge": 0,
1321
- "fynd_credits": 0,
1322
- "cod_charges": 0,
1323
- "refund_credit": 0,
1324
- "cashback": 0,
1325
- "refund_amount": 999,
1326
- "added_to_fynd_cash": false,
1327
- "cashback_applied": 0,
1328
- "gst_tax_percentage": 18,
1329
- "value_of_good": 846.61,
1330
- "price_marked": 1000,
1331
- "transfer_price": 0,
1332
- "brand_calculated_amount": 999,
1333
- "promotion_effective_discount": 0,
1334
- "coupon_value": 0,
1335
- "pm_price_split": {
1336
- "Net Banking": 999
1337
- }
1338
- },
1339
- "item": {
1340
- "name": "Puma Men Tshirt",
1341
- "brand": {
1342
- "name": "Dabur",
1343
- "logo": "https://hdn-1.jiomarketx0.de/x0/brands/pictures/square-logo/original/kv5DZy0J8-Logo.jpeg"
1344
- },
1345
- "image": [
1346
- "https://hdn-1.jiomarketx0.de/x0/products/pictures/item/free/270x0/e6qJ_Bihn-61x838nYQUL._UL1440_.jpg"
1347
- ],
1348
- "slug_key": "puma-men-tshirt",
1349
- "size": "OS",
1350
- "code": "PUMATSHIRT",
1351
- "id": 7507572,
1352
- "category": [],
1353
- "seller_identifier": "PUMATSHIRT"
1354
- },
1355
- "financial_breakup": [
1356
- {
1357
- "price_effective": 999,
1358
- "discount": 1,
1359
- "amount_paid": 999,
1360
- "coupon_effective_discount": 0,
1361
- "delivery_charge": 0,
1362
- "fynd_credits": 0,
1363
- "cod_charges": 0,
1364
- "refund_credit": 0,
1365
- "cashback": 0,
1366
- "refund_amount": 999,
1367
- "added_to_fynd_cash": false,
1368
- "cashback_applied": 0,
1369
- "gst_tax_percentage": 18,
1370
- "value_of_good": 846.61,
1371
- "price_marked": 1000,
1372
- "transfer_price": 0,
1373
- "brand_calculated_amount": 999,
1374
- "promotion_effective_discount": 0,
1375
- "coupon_value": 0,
1376
- "pm_price_split": {
1377
- "Net Banking": 999
1378
- },
1379
- "size": "OS",
1380
- "total_units": 1,
1381
- "hsn_code": "99972900",
1382
- "identifiers": {
1383
- "sku_code": "PUMATSHIRT"
1384
- },
1385
- "item_name": "Puma Men Tshirt",
1386
- "gst_fee": "152.38",
1387
- "gst_tag": "IGST"
1388
- }
1389
- ],
1390
- "quantity": 1
1391
- }
1392
- ],
1393
- "size_info": {
1394
- "PUMATSHIRT": {
1395
- "quantity": 1,
1396
- "price_effective": 999,
1397
- "amount_paid": 999,
1398
- "price_marked": 1000,
1399
- "margin": 0.1
1400
- }
1401
- },
1402
- "total_details": {
1403
- "sizes": 1,
1404
- "total_price": 999,
1405
- "pieces": 1
1406
- },
1407
- "fulfilling_store": {
1408
- "name": "jio-location",
1409
- "company_id": 41,
1410
- "id": 8,
1411
- "code": "jio-location"
1412
- },
1413
- "fulfilling_company": {
1414
- "id": 41,
1415
- "name": "Jio"
1416
- }
1417
- }
1418
- ],
1419
- "is_validated": false
1420
- }
1421
- }
1422
- ```
1423
- </details>
1424
-
1425
-
1426
-
1427
-
1428
-
1429
-
1430
-
1431
-
1432
-
1433
- ---
1434
-
1435
-
1436
- ### getShipmentById
1437
- Get details of a shipment
1438
-
1439
-
1440
-
1441
- ```javascript
1442
- // Promise
1443
- const promise = order.getShipmentById({ shipmentId : value });
1444
-
1445
- // Async/Await
1446
- const data = await order.getShipmentById({ shipmentId : value });
1447
- ```
1448
-
1449
-
1450
-
1451
-
1452
-
1453
- | Argument | Type | Required | Description |
1454
- | --------- | ----- | -------- | ----------- |
1455
- | shipmentId | string | yes | ID of the shipment. An order may contain multiple items and may get divided into one or more shipment, each having its own ID. |
1456
-
1457
-
1458
-
1459
- Use this API to retrieve shipment details such as price breakup, tracking details, store information, etc. using Shipment ID.
1460
-
1461
- *Returned Response:*
1462
-
1463
-
1464
-
1465
-
1466
- [ShipmentById](#ShipmentById)
1467
-
1468
- Success. Check the example shown below or refer `ShipmentById` for more details.
1469
-
1470
-
1471
-
1472
-
1473
- <details>
1474
- <summary><i>&nbsp; Example:</i></summary>
1475
-
1476
- ```json
1477
- {
1478
- "shipment": {
1479
- "order_id": "FY62F3B8290150D13E36",
1480
- "breakup_values": [
1481
- {
1482
- "name": "mrp_total",
1483
- "display": "MRP Total",
1484
- "value": 50
1485
- },
1486
- {
1487
- "name": "sub_total",
1488
- "display": "Sub Total",
1489
- "value": 50
1490
- },
1491
- {
1492
- "name": "coupon",
1493
- "display": "Coupon",
1494
- "value": 0
1495
- },
1496
- {
1497
- "name": "discount",
1498
- "display": "Discount",
1499
- "value": 0
1500
- },
1501
- {
1502
- "name": "promotion",
1503
- "display": "Promotion",
1504
- "value": 0
1505
- },
1506
- {
1507
- "name": "reward_points",
1508
- "display": "Reward Points",
1509
- "value": 0
1510
- },
1511
- {
1512
- "name": "cashback_applied",
1513
- "display": "Cashback Applied",
1514
- "value": 0
1515
- },
1516
- {
1517
- "name": "delivery_charges",
1518
- "display": "Delivery Charges",
1519
- "value": 0
1520
- },
1521
- {
1522
- "name": "cod_charges",
1523
- "display": "COD Charges",
1524
- "value": 0
1525
- },
1526
- {
1527
- "name": "total",
1528
- "display": "Total",
1529
- "value": 50
1530
- }
1531
- ],
1532
- "beneficiary_details": false,
1533
- "need_help_url": "https://fynd.freshdesk.com/support/solutions/33000003306",
1534
- "shipment_created_at": "2022-08-10T19:22:42.000Z",
1535
- "shipment_id": "16601395620321798247K",
1536
- "shipment_status": {
1537
- "title": "DP Assigned",
1538
- "value": "dp_assigned",
1539
- "hex_code": "#FE8F46"
1540
- },
1541
- "track_url": "",
1542
- "traking_no": "Tracking No.: 5923410031146",
1543
- "awb_no": "5923410031146",
1544
- "dp_name": "delhivery_jio_surface",
1545
- "tracking_details": [
1546
- {
1547
- "status": "Order Placed",
1548
- "time": "2022-08-10T19:22:55.000Z",
1549
- "is_passed": true,
1550
- "value": "processing"
1551
- },
1552
- {
1553
- "status": "Order Confirmed",
1554
- "time": "2022-08-18T19:11:02.000Z",
1555
- "is_passed": true,
1556
- "value": "confirmed"
1557
- },
1558
- {
1559
- "status": "Delivery Partner Assigned",
1560
- "time": "2022-08-18T19:11:38.000Z",
1561
- "is_passed": true,
1562
- "value": "dp_assigned"
1563
- },
1564
- {
1565
- "status": "In Transit",
1566
- "time": "",
1567
- "is_passed": false,
1568
- "value": "in_transit"
1569
- },
1570
- {
1571
- "status": "Out For Delivery",
1572
- "time": "",
1573
- "is_passed": false,
1574
- "value": "out_for_delivery"
1575
- },
1576
- {
1577
- "status": "Delivered",
1578
- "time": "",
1579
- "is_passed": false,
1580
- "value": "delivered"
1581
- }
1582
- ],
1583
- "total_bags": 1,
1584
- "promise": {
1585
- "show_promise": false,
1586
- "timestamp": {
1587
- "min": "2022-08-14T13:52:37+00:00",
1588
- "max": "2022-08-17T13:52:37+00:00",
1589
- "dp_promise": null
1590
- }
1591
- },
1592
- "bags": [
1593
- {
1594
- "id": 59624,
1595
- "current_status": {
1596
- "status": "bag_not_picked",
1597
- "updated_at": "2022-08-18T23:46:11+00:00",
1598
- "name": "Bag Not Picked",
1599
- "journey_type": "forward"
1600
- },
1601
- "prices": {
1602
- "price_effective": 50,
1603
- "discount": 0,
1604
- "amount_paid": 50,
1605
- "coupon_effective_discount": 0,
1606
- "delivery_charge": 0,
1607
- "fynd_credits": 0,
1608
- "cod_charges": 0,
1609
- "refund_credit": 0,
1610
- "cashback": 0,
1611
- "refund_amount": 50,
1612
- "added_to_fynd_cash": false,
1613
- "cashback_applied": 0,
1614
- "gst_tax_percentage": 18,
1615
- "value_of_good": 42.37,
1616
- "price_marked": 50,
1617
- "transfer_price": 0,
1618
- "brand_calculated_amount": 50,
1619
- "promotion_effective_discount": 0,
1620
- "coupon_value": 0,
1621
- "pm_price_split": {
1622
- "COD": 50
1623
- }
1624
- },
1625
- "item": {
1626
- "name": "Tissues",
1627
- "brand": {
1628
- "name": "Zepto",
1629
- "logo": "https://hdn-1.jiomarketx0.de/x0/brands/pictures/square-logo/original/5XLRHXC5H-Logo.png"
1630
- },
1631
- "image": [
1632
- "https://hdn-1.jiomarketx0.de/x0/products/pictures/item/free/270x0/hGov80Pbv-411yLXtNYNL._SL1000_.jpg",
1633
- "https://hdn-1.jiomarketx0.de/x0/products/pictures/item/free/270x0/U-6bpneFP-Tissues.jpeg",
1634
- "https://hdn-1.jiomarketx0.de/x0/products/pictures/item/free/270x0/U-6bpneFP-Tissues.jpeg",
1635
- "https://hdn-1.jiomarketx0.de/x0/products/pictures/item/free/270x0/U-6bpneFP-Tissues.jpeg",
1636
- "https://hdn-1.jiomarketx0.de/x0/products/pictures/item/free/270x0/U-6bpneFP-Tissues.jpeg",
1637
- "https://hdn-1.jiomarketx0.de/x0/products/pictures/item/free/270x0/U-6bpneFP-Tissues.jpeg",
1638
- "https://hdn-1.jiomarketx0.de/x0/products/pictures/item/free/270x0/U-6bpneFP-Tissues.jpeg",
1639
- "https://hdn-1.jiomarketx0.de/x0/products/pictures/item/free/270x0/U-6bpneFP-Tissues.jpeg",
1640
- "https://hdn-1.jiomarketx0.de/x0/products/pictures/item/free/270x0/U-6bpneFP-Tissues.jpeg",
1641
- "https://hdn-1.jiomarketx0.de/x0/products/pictures/item/free/270x0/U-6bpneFP-Tissues.jpeg",
1642
- "https://hdn-1.jiomarketx0.de/x0/products/pictures/item/free/270x0/U-6bpneFP-Tissues.jpeg"
1643
- ],
1644
- "slug_key": "tissues",
1645
- "size": "OS",
1646
- "code": "TIS-102",
1647
- "id": 7500474,
1648
- "seller_identifier": "987432134"
1649
- },
1650
- "financial_breakup": [
1651
- {
1652
- "price_effective": 50,
1653
- "discount": 0,
1654
- "amount_paid": 50,
1655
- "coupon_effective_discount": 0,
1656
- "delivery_charge": 0,
1657
- "fynd_credits": 0,
1658
- "cod_charges": 0,
1659
- "refund_credit": 0,
1660
- "cashback": 0,
1661
- "refund_amount": 50,
1662
- "added_to_fynd_cash": false,
1663
- "cashback_applied": 0,
1664
- "gst_tax_percentage": 18,
1665
- "value_of_good": 42.37,
1666
- "price_marked": 50,
1667
- "transfer_price": 0,
1668
- "brand_calculated_amount": 50,
1669
- "promotion_effective_discount": 0,
1670
- "coupon_value": 0,
1671
- "pm_price_split": {
1672
- "COD": 50
1673
- },
1674
- "size": "OS",
1675
- "total_units": 1,
1676
- "hsn_code": "70099200",
1677
- "identifiers": {
1678
- "sku_code": "987432134"
1679
- },
1680
- "item_name": "Tissues",
1681
- "gst_fee": "7.62",
1682
- "gst_tag": "SGST"
1683
- }
1684
- ],
1685
- "quantity": 1,
1686
- "departments": [
1687
- 31
1688
- ],
1689
- "can_cancel": false,
1690
- "can_return": false
1691
- }
1692
- ],
1693
- "size_info": {
1694
- "TIS-102": {
1695
- "quantity": 1,
1696
- "price_effective": 50,
1697
- "amount_paid": 50,
1698
- "price_marked": 50,
1699
- "margin": 0
1700
- }
1701
- },
1702
- "total_details": {
1703
- "sizes": 1,
1704
- "total_price": 50,
1705
- "pieces": 1
1706
- },
1707
- "fulfilling_store": {
1708
- "name": "Jio-market-store3",
1709
- "company_id": 33,
1710
- "id": 50,
1711
- "code": "store3"
1712
- },
1713
- "fulfilling_company": {
1714
- "id": 33,
1715
- "name": "RELIANCE JIO INFOCOMM LIMITED"
1716
- },
1717
- "delivery_address": {
1718
- "id": "62e8fc91c1700b808fe528bd",
1719
- "uid": 745,
1720
- "area": "test",
1721
- "city": "Mumbai",
1722
- "name": "abc",
1723
- "email": "abc@gofynd.com",
1724
- "phone": "1234567890",
1725
- "state": "Maharashtra",
1726
- "address": "1234",
1727
- "country": "India",
1728
- "pincode": "400074",
1729
- "version": "1.0",
1730
- "address1": " test",
1731
- "address2": "",
1732
- "landmark": "test",
1733
- "latitude": 19.0653252,
1734
- "address_1": " test",
1735
- "area_code": "400074",
1736
- "longitude": 72.8423802,
1737
- "created_at": "2022-08-10T18:52:38+00:00",
1738
- "updated_at": "2022-08-10T18:52:38+00:00",
1739
- "address_type": "home",
1740
- "country_code": "91",
1741
- "geo_location": {
1742
- "latitude": 19.0653252,
1743
- "longitude": 72.8423802
1744
- },
1745
- "area_code_slug": "pincode",
1746
- "delivery_address_id": 745,
1747
- "addressee_name": "abc",
1748
- "delivery_code_required": 1
1749
- },
1750
- "can_cancel": false,
1751
- "can_return": false,
1752
- "delivery_date": null,
1753
- "returnable_date": null,
1754
- "show_download_invoice": true,
1755
- "show_track_link": true,
1756
- "prices": {
1757
- "amount_paid": 50,
1758
- "refund_amount": 50,
1759
- "price_marked": 50,
1760
- "cod_charges": 0,
1761
- "coupon_value": 0,
1762
- "discount": 0,
1763
- "cashback_applied": 0,
1764
- "delivery_charge": 0,
1765
- "fynd_credits": 0,
1766
- "cashback": 0,
1767
- "price_effective": 50,
1768
- "refund_credit": 0,
1769
- "value_of_good": 42.37
1770
- },
1771
- "can_break": {
1772
- "bag_not_picked": {
1773
- "can_break_entity": false
1774
- },
1775
- "cancelled_customer": {
1776
- "can_break_entity": true
1777
- },
1778
- "bag_picked": {
1779
- "can_break_entity": false
1780
- },
1781
- "cancelled_fynd": {
1782
- "can_break_entity": true
1783
- },
1784
- "bag_rescheduled": {
1785
- "can_break_entity": false
1786
- },
1787
- "cancelled_at_dp": {
1788
- "can_break_entity": false
1789
- },
1790
- "handed_over_to_dg": {
1791
- "can_break_entity": false
1792
- },
1793
- "dp_assigned": {
1794
- "can_break_entity": false
1795
- },
1796
- "cancelled_operations": {
1797
- "can_break_entity": false
1798
- },
1799
- "cancelled_seller": {
1800
- "can_break_entity": false
1801
- },
1802
- "out_for_pickup": {
1803
- "can_break_entity": false
1804
- },
1805
- "bag_pick_failed": {
1806
- "can_break_entity": false
1807
- },
1808
- "update_qr_code": {
1809
- "can_break_entity": false
1810
- }
1811
- },
1812
- "payment": {
1813
- "logo": "https://hdn-1.fynd.com/payment/Pos+Logo.png",
1814
- "mode": "Jio Partner Pay",
1815
- "mop": "COD",
1816
- "display_name": "COD",
1817
- "payment_mode": "COD",
1818
- "status": "Unpaid"
1819
- },
1820
- "user_info": {
1821
- "email": "paymentsdummy@gofynd.com",
1822
- "gender": "male",
1823
- "mobile": "1234567890",
1824
- "name": "User -"
1825
- },
1826
- "comment": "",
1827
- "invoice": {
1828
- "updated_date": "2022-08-18T19:11:02.000Z",
1829
- "store_invoice_id": "00000050AA000147",
1830
- "invoice_url": "",
1831
- "label_url": ""
1832
- },
1833
- "refund_details": {
1834
- "rrn": ""
1835
- }
1836
- }
1837
- }
1838
- ```
1839
- </details>
1840
-
1841
-
1842
-
1843
-
1844
-
1845
-
1846
-
1847
-
1848
-
1849
- ---
1850
-
1851
-
1852
- ### getInvoiceByShipmentId
1853
- Get Invoice of a shipment
1854
-
1855
-
1856
-
1857
- ```javascript
1858
- // Promise
1859
- const promise = order.getInvoiceByShipmentId({ shipmentId : value });
1860
-
1861
- // Async/Await
1862
- const data = await order.getInvoiceByShipmentId({ shipmentId : value });
1863
- ```
1864
-
1865
-
1866
-
1867
-
1868
-
1869
- | Argument | Type | Required | Description |
1870
- | --------- | ----- | -------- | ----------- |
1871
- | shipmentId | string | yes | ID of the shipment. |
1872
-
1873
-
1874
-
1875
- Use this API to retrieve shipment invoice.
1876
-
1877
- *Returned Response:*
1878
-
1879
-
1880
-
1881
-
1882
- [ResponseGetInvoiceShipment](#ResponseGetInvoiceShipment)
1883
-
1884
- Success. Check the example shown below or refer `ShipmentById` for more details.
1885
-
1886
-
1887
-
1888
-
1889
- <details>
1890
- <summary><i>&nbsp; Example:</i></summary>
1891
-
1892
- ```json
1893
-
1894
- ```
1895
- </details>
1896
-
1897
-
1898
-
1899
-
1900
-
1901
-
1902
-
1903
-
1904
-
1905
- ---
1906
-
1907
-
1908
- ### trackShipment
1909
- Track shipment
1910
-
1911
-
1912
-
1913
- ```javascript
1914
- // Promise
1915
- const promise = order.trackShipment({ shipmentId : value });
1916
-
1917
- // Async/Await
1918
- const data = await order.trackShipment({ shipmentId : value });
1919
- ```
1920
-
1921
-
1922
-
1923
-
1924
-
1925
- | Argument | Type | Required | Description |
1926
- | --------- | ----- | -------- | ----------- |
1927
- | shipmentId | string | yes | ID of the shipment. An order may contain multiple items and may get divided into one or more shipment, each having its own ID. |
1928
-
1929
-
1930
-
1931
- Track Shipment by shipment id, for application based on application Id
1932
-
1933
- *Returned Response:*
1934
-
1935
-
1936
-
1937
-
1938
- [ShipmentTrack](#ShipmentTrack)
1939
-
1940
- Success. Check the example shown below or refer `ShipmentTrack` for more details.
1941
-
1942
-
1943
-
1944
-
1945
- <details>
1946
- <summary><i>&nbsp; Example:</i></summary>
1947
-
1948
- ```json
1949
- {
1950
- "results": [
1951
- {
1952
- "awb": "string",
1953
- "updated_at": "string",
1954
- "last_location_recieved_at": "string",
1955
- "reason": "string",
1956
- "shipment_type": "string",
1957
- "status": "string",
1958
- "updated_time": "string",
1959
- "account_name": "string"
1960
- }
1961
- ]
1962
- }
1963
- ```
1964
- </details>
1965
-
1966
-
1967
-
1968
-
1969
-
1970
-
1971
-
1972
-
1973
-
1974
- ---
1975
-
1976
-
1977
- ### getCustomerDetailsByShipmentId
1978
- Get Customer Details by Shipment Id
1979
-
1980
-
1981
-
1982
- ```javascript
1983
- // Promise
1984
- const promise = order.getCustomerDetailsByShipmentId({ orderId : value,
1985
- shipmentId : value });
1986
-
1987
- // Async/Await
1988
- const data = await order.getCustomerDetailsByShipmentId({ orderId : value,
1989
- shipmentId : value });
1990
- ```
1991
-
1992
-
1993
-
1994
-
1995
-
1996
- | Argument | Type | Required | Description |
1997
- | --------- | ----- | -------- | ----------- |
1998
- | orderId | string | yes | ID of the shipment. An order may contain multiple items and may get divided into one or more shipment, each having its own ID. |
1999
- | shipmentId | string | yes | A unique number used for identifying and tracking your orders. |
2000
-
2001
-
2002
-
2003
- Use this API to retrieve customer details such as mobileno using Shipment ID.
2004
-
2005
- *Returned Response:*
2006
-
2007
-
2008
-
2009
-
2010
- [CustomerDetailsResponse](#CustomerDetailsResponse)
2011
-
2012
- Success. Check the example shown below or refer `CustomerDetailsByShipmentId` for more details.
2013
-
2014
-
2015
-
2016
-
2017
- <details>
2018
- <summary><i>&nbsp; Example:</i></summary>
2019
-
2020
- ```json
2021
- {
2022
- "order_id": "FYMP629D972D01B6BD76",
2023
- "shipment_id": "16544950215681060915J",
2024
- "name": "sagar Kulkarni",
2025
- "phone": "XXX-XXX-6780",
2026
- "country": "India"
2027
- }
2028
- ```
2029
- </details>
2030
-
2031
-
2032
-
2033
-
2034
-
2035
-
2036
-
2037
-
2038
-
2039
- ---
2040
-
2041
-
2042
- ### sendOtpToShipmentCustomer
2043
- Send and Resend Otp code to Order-Shipment customer
2044
-
2045
-
2046
-
2047
- ```javascript
2048
- // Promise
2049
- const promise = order.sendOtpToShipmentCustomer({ orderId : value,
2050
- shipmentId : value });
2051
-
2052
- // Async/Await
2053
- const data = await order.sendOtpToShipmentCustomer({ orderId : value,
2054
- shipmentId : value });
2055
- ```
2056
-
2057
-
2058
-
2059
-
2060
-
2061
- | Argument | Type | Required | Description |
2062
- | --------- | ----- | -------- | ----------- |
2063
- | orderId | string | yes | A unique number used for identifying and tracking your orders. |
2064
- | shipmentId | string | yes | ID of the shipment. An order may contain multiple items and may get divided into one or more shipment, each having its own ID. |
2065
-
2066
-
2067
-
2068
- Use this API to send OTP to the customer of the mapped Shipment.
2069
-
2070
- *Returned Response:*
2071
-
2072
-
2073
-
2074
-
2075
- [SendOtpToCustomerResponse](#SendOtpToCustomerResponse)
2076
-
2077
- Success to acknowledge the service was notified
2078
-
2079
-
2080
-
2081
-
2082
- <details>
2083
- <summary><i>&nbsp; Example:</i></summary>
2084
-
2085
- ```json
2086
- {
2087
- "success": true,
2088
- "request_id": "0fe0d6e16205ddc57d212e947ee31896",
2089
- "message": "OTP sent",
2090
- "resend_timer": 30
2091
- }
2092
- ```
2093
- </details>
2094
-
2095
-
2096
-
2097
-
2098
-
2099
-
2100
-
2101
-
2102
-
2103
- ---
2104
-
2105
-
2106
- ### verifyOtpShipmentCustomer
2107
- Verify Otp code
2108
-
2109
-
2110
-
2111
- ```javascript
2112
- // Promise
2113
- const promise = order.verifyOtpShipmentCustomer({ orderId : value,
2114
- shipmentId : value,
2115
- body : value });
2116
-
2117
- // Async/Await
2118
- const data = await order.verifyOtpShipmentCustomer({ orderId : value,
2119
- shipmentId : value,
2120
- body : value });
2121
- ```
2122
-
2123
-
2124
-
2125
-
2126
-
2127
- | Argument | Type | Required | Description |
2128
- | --------- | ----- | -------- | ----------- |
2129
- | orderId | string | yes | A unique number used for identifying and tracking your orders. |
2130
- | shipmentId | string | yes | ID of the shipment. An order may contain multiple items and may get divided into one or more shipment, each having its own ID. |
2131
- | body | [VerifyOtp](#VerifyOtp) | yes | Request body |
2132
-
2133
-
2134
- Use this API to verify OTP and create a session token with custom payload.
2135
-
2136
- *Returned Response:*
2137
-
2138
-
2139
-
2140
-
2141
- [VerifyOtpResponse](#VerifyOtpResponse)
2142
-
2143
- Success, the code is valid and returns a session token
2144
-
2145
-
2146
-
2147
-
2148
- <details>
2149
- <summary><i>&nbsp; Example:</i></summary>
2150
-
2151
- ```json
2152
- {
2153
- "success": true
2154
- }
2155
- ```
2156
- </details>
2157
-
2158
-
2159
-
2160
-
2161
-
2162
-
2163
-
2164
-
2165
-
2166
- ---
2167
-
2168
-
2169
- ### getShipmentBagReasons
2170
- Get reasons behind full or partial cancellation of a shipment
2171
-
2172
-
2173
-
2174
- ```javascript
2175
- // Promise
2176
- const promise = order.getShipmentBagReasons({ shipmentId : value,
2177
- bagId : value });
2178
-
2179
- // Async/Await
2180
- const data = await order.getShipmentBagReasons({ shipmentId : value,
2181
- bagId : value });
2182
- ```
2183
-
2184
-
2185
-
2186
-
2187
-
2188
- | Argument | Type | Required | Description |
2189
- | --------- | ----- | -------- | ----------- |
2190
- | shipmentId | string | yes | ID of the bag. An order may contain multiple items and may get divided into one or more shipment, each having its own ID. |
2191
- | bagId | string | yes | ID of the bag. An order may contain multiple items and may get divided into one or more shipment, each having its own ID. |
2192
-
2193
-
2194
-
2195
- Use this API to retrieve the issues that led to the cancellation of bags within a shipment.
2196
-
2197
- *Returned Response:*
2198
-
2199
-
2200
-
2201
-
2202
- [ShipmentBagReasons](#ShipmentBagReasons)
2203
-
2204
- Success. Check the example shown below or refer `ShipmentBagReasons` for more details.
2205
-
2206
-
2207
-
2208
-
2209
- <details>
2210
- <summary><i>&nbsp; Example:</i></summary>
2211
-
2212
- ```json
2213
- {
2214
- "success": true,
2215
- "reasons": [
2216
- {
2217
- "id": 1,
2218
- "display_name": "Not available",
2219
- "qc_type": [],
2220
- "question_set": []
2221
- },
2222
- {
2223
- "reasons": [
2224
- {
2225
- "id": 2,
2226
- "display_name": "Processing other orders",
2227
- "qc_type": [],
2228
- "question_set": []
2229
- },
2230
- {
2231
- "id": 3,
2232
- "display_name": "Printer not working",
2233
- "qc_type": [],
2234
- "question_set": []
2235
- },
2236
- {
2237
- "reasons": [
2238
- {
2239
- "id": 4,
2240
- "display_name": "Card issues",
2241
- "qc_type": [],
2242
- "question_set": []
2243
- }
2244
- ]
2245
- }
2246
- ]
2247
- },
2248
- {
2249
- "id": 4,
2250
- "display_name": "Card issues",
2251
- "qc_type": [],
2252
- "question_set": []
2253
- }
2254
- ]
2255
- }
2256
- ```
2257
- </details>
2258
-
2259
-
2260
-
2261
-
2262
-
2263
-
2264
-
2265
-
2266
-
2267
- ---
2268
-
2269
-
2270
- ### getShipmentReasons
2271
- Get reasons behind full or partial cancellation of a shipment
2272
-
2273
-
2274
-
2275
- ```javascript
2276
- // Promise
2277
- const promise = order.getShipmentReasons({ shipmentId : value });
2278
-
2279
- // Async/Await
2280
- const data = await order.getShipmentReasons({ shipmentId : value });
2281
- ```
2282
-
2283
-
2284
-
2285
-
2286
-
2287
- | Argument | Type | Required | Description |
2288
- | --------- | ----- | -------- | ----------- |
2289
- | shipmentId | string | yes | ID of the shipment. An order may contain multiple items and may get divided into one or more shipment, each having its own ID. |
2290
-
2291
-
2292
-
2293
- Use this API to retrieve the issues that led to the cancellation of bags within a shipment.
2294
-
2295
- *Returned Response:*
2296
-
2297
-
2298
-
2299
-
2300
- [ShipmentReasons](#ShipmentReasons)
2301
-
2302
- Success. Check the example shown below or refer `ShipmentBagReasons` for more details.
2303
-
2304
-
2305
-
2306
-
2307
- <details>
2308
- <summary><i>&nbsp; Example:</i></summary>
2309
-
2310
- ```json
2311
- {
2312
- "reasons": [
2313
- {
2314
- "reason_id": 115,
2315
- "priority": 9,
2316
- "reason_text": "Wrong size/colour delivered",
2317
- "show_text_area": false,
2318
- "feedback_type": "bag",
2319
- "flow": "return"
2320
- },
2321
- {
2322
- "reason_id": 116,
2323
- "priority": 10,
2324
- "reason_text": "Product does not fit me",
2325
- "show_text_area": false,
2326
- "feedback_type": "bag",
2327
- "flow": "return"
2328
- },
2329
- {
2330
- "reason_id": 117,
2331
- "priority": 11,
2332
- "reason_text": "Quality of product is not good",
2333
- "show_text_area": false,
2334
- "feedback_type": "bag",
2335
- "flow": "return"
2336
- },
2337
- {
2338
- "reason_id": 118,
2339
- "priority": 12,
2340
- "reason_text": "Wrong product delivered",
2341
- "show_text_area": true,
2342
- "feedback_type": "bag",
2343
- "flow": "return"
2344
- },
2345
- {
2346
- "reason_id": 119,
2347
- "priority": 13,
2348
- "reason_text": "Damaged product delivered",
2349
- "show_text_area": true,
2350
- "feedback_type": "bag",
2351
- "flow": "return"
2352
- },
2353
- {
2354
- "reason_id": 120,
2355
- "priority": 14,
2356
- "reason_text": "Used product delivered",
2357
- "show_text_area": true,
2358
- "feedback_type": "bag",
2359
- "flow": "return"
2360
- },
2361
- {
2362
- "reason_id": 124,
2363
- "priority": 15,
2364
- "reason_text": "Missing Items/Partially Received",
2365
- "show_text_area": true,
2366
- "feedback_type": "bag",
2367
- "flow": "return"
2368
- },
2369
- {
2370
- "reason_id": 121,
2371
- "priority": 16,
2372
- "reason_text": "Found better price elsewhere",
2373
- "show_text_area": true,
2374
- "feedback_type": "bag",
2375
- "flow": "return"
2376
- },
2377
- {
2378
- "reason_id": 122,
2379
- "priority": 17,
2380
- "reason_text": "Product looks different from image",
2381
- "show_text_area": true,
2382
- "feedback_type": "bag",
2383
- "flow": "return"
2384
- },
2385
- {
2386
- "reason_id": 123,
2387
- "priority": 18,
2388
- "reason_text": "Other issue",
2389
- "show_text_area": true,
2390
- "feedback_type": "bag",
2391
- "flow": "return"
2392
- }
2393
- ]
2394
- }
2395
- ```
2396
- </details>
2397
-
2398
-
2399
-
2400
-
2401
-
2402
-
2403
-
2404
-
2405
-
2406
- ---
2407
-
2408
-
2409
- ### updateShipmentStatus
2410
- Update the shipment status
2411
-
2412
-
2413
-
2414
- ```javascript
2415
- // Promise
2416
- const promise = order.updateShipmentStatus({ shipmentId : value,
2417
- body : value });
2418
-
2419
- // Async/Await
2420
- const data = await order.updateShipmentStatus({ shipmentId : value,
2421
- body : value });
2422
- ```
2423
-
2424
-
2425
-
2426
-
2427
-
2428
- | Argument | Type | Required | Description |
2429
- | --------- | ----- | -------- | ----------- |
2430
- | shipmentId | string | yes | ID of the shipment. An order may contain multiple items and may get divided into one or more shipment, each having its own ID. |
2431
- | body | [UpdateShipmentStatusRequest](#UpdateShipmentStatusRequest) | yes | Request body |
2432
-
2433
-
2434
- Use this API to update the status of a shipment using its shipment ID.
2435
-
2436
- *Returned Response:*
2437
-
2438
-
2439
-
2440
-
2441
- [ShipmentApplicationStatusResponse](#ShipmentApplicationStatusResponse)
2442
-
2443
- Successfully updateShipmentStatus!
2444
-
2445
-
2446
-
2447
-
2448
- <details>
2449
- <summary><i>&nbsp; Example:</i></summary>
2450
-
2451
- ```json
2452
- {
2453
- "statuses": [
2454
- {
2455
- "shipments": {
2456
- "16291129095851065963": {
2457
- "status": 400,
2458
- "message": {
2459
- "16291129095851065963": "Invalid State Transition bag_invoiced detected for given entity"
2460
- },
2461
- "code": null,
2462
- "exception": "ValidationError",
2463
- "stack_trace": null
2464
- }
2465
- }
2466
- }
2467
- ]
2468
- }
2469
- ```
2470
- </details>
2471
-
2472
-
2473
-
2474
-
2475
-
2476
-
2477
-
2478
-
2479
-
2480
- ---
2481
-
2482
-
2483
-
2484
- ### Schemas
2485
-
2486
-
2487
-
2488
- #### [OrderPage](#OrderPage)
2489
-
2490
- | Properties | Type | Nullable | Description |
2491
- | ---------- | ---- | -------- | ----------- |
2492
- | current | number | no | |
2493
- | type | string | no | |
2494
- | item_total | number | no | |
2495
- | size | number | no | |
2496
- | has_next | boolean | no | |
2497
-
2498
- ---
2499
-
2500
-
2501
-
2502
-
2503
- #### [OrderStatuses](#OrderStatuses)
2504
-
2505
- | Properties | Type | Nullable | Description |
2506
- | ---------- | ---- | -------- | ----------- |
2507
- | is_selected | boolean | no | |
2508
- | value | number | no | |
2509
- | display | string | no | |
2510
-
2511
- ---
2512
-
2513
-
2514
-
2515
-
2516
- #### [OrderFilters](#OrderFilters)
2517
-
2518
- | Properties | Type | Nullable | Description |
2519
- | ---------- | ---- | -------- | ----------- |
2520
- | statuses | [[OrderStatuses](#OrderStatuses)] | no | |
2521
-
2522
- ---
2523
-
2524
-
2525
-
2526
-
2527
- #### [BagsForReorderArticleAssignment](#BagsForReorderArticleAssignment)
2528
-
2529
- | Properties | Type | Nullable | Description |
2530
- | ---------- | ---- | -------- | ----------- |
2531
- | level | string | no | |
2532
- | strategy | string | no | |
2533
-
2534
- ---
2535
-
2536
-
2537
-
2538
-
2539
- #### [BagsForReorder](#BagsForReorder)
2540
-
2541
- | Properties | Type | Nullable | Description |
2542
- | ---------- | ---- | -------- | ----------- |
2543
- | article_assignment | [BagsForReorderArticleAssignment](#BagsForReorderArticleAssignment) | no | |
2544
- | quantity | number | no | |
2545
- | item_size | string | no | |
2546
- | seller_id | number | no | |
2547
- | store_id | number | no | |
2548
- | item_id | number | no | |
2549
-
2550
- ---
2551
-
2552
-
2553
-
2554
-
2555
- #### [BreakupValues](#BreakupValues)
2556
-
2557
- | Properties | Type | Nullable | Description |
2558
- | ---------- | ---- | -------- | ----------- |
2559
- | name | string | no | |
2560
- | value | number | no | |
2561
- | display | string | no | |
2562
-
2563
- ---
2564
-
2565
-
2566
-
2567
-
2568
- #### [UserInfo](#UserInfo)
2569
-
2570
- | Properties | Type | Nullable | Description |
2571
- | ---------- | ---- | -------- | ----------- |
2572
- | gender | string | no | |
2573
- | email | string | no | |
2574
- | name | string | no | |
2575
- | mobile | string | no | |
2576
-
2577
- ---
2578
-
2579
-
2580
-
2581
-
2582
- #### [ShipmentTotalDetails](#ShipmentTotalDetails)
2583
-
2584
- | Properties | Type | Nullable | Description |
2585
- | ---------- | ---- | -------- | ----------- |
2586
- | sizes | number | no | |
2587
- | pieces | number | no | |
2588
- | total_price | number | no | |
2589
-
2590
- ---
2591
-
2592
-
2593
-
2594
-
2595
- #### [Prices](#Prices)
2596
-
2597
- | Properties | Type | Nullable | Description |
2598
- | ---------- | ---- | -------- | ----------- |
2599
- | refund_credit | number | no | |
2600
- | brand_calculated_amount | number | no | |
2601
- | cod_charges | number | no | |
2602
- | amount_paid | number | no | |
2603
- | discount | number | no | |
2604
- | transfer_price | number | no | |
2605
- | gst_tax_percentage | number | no | |
2606
- | refund_amount | number | no | |
2607
- | cashback_applied | number | no | |
2608
- | price_marked | number | no | |
2609
- | coupon_value | number | no | |
2610
- | value_of_good | number | no | |
2611
- | price_effective | number | no | |
2612
- | added_to_fynd_cash | boolean | no | |
2613
- | delivery_charge | number | no | |
2614
- | cashback | number | no | |
2615
- | fynd_credits | number | no | |
2616
- | coupon_effective_discount | number | no | |
2617
- | amount_paid_roundoff | number | no | |
2618
- | promotion_effective_discount | number | no | |
2619
-
2620
- ---
2621
-
2622
-
2623
-
2624
-
2625
- #### [ShipmentPayment](#ShipmentPayment)
2626
-
2627
- | Properties | Type | Nullable | Description |
2628
- | ---------- | ---- | -------- | ----------- |
2629
- | mop | string | no | |
2630
- | logo | string | no | |
2631
- | display_name | string | no | |
2632
- | payment_mode | string | no | |
2633
- | status | string | no | |
2634
- | mode | string | no | |
2635
-
2636
- ---
2637
-
2638
-
2639
-
2640
-
2641
- #### [Invoice](#Invoice)
2642
-
2643
- | Properties | Type | Nullable | Description |
2644
- | ---------- | ---- | -------- | ----------- |
2645
- | label_url | string | no | |
2646
- | invoice_url | string | no | |
2647
- | updated_date | string | no | |
2648
-
2649
- ---
2650
-
2651
-
2652
-
2653
-
2654
- #### [FulfillingStore](#FulfillingStore)
2655
-
2656
- | Properties | Type | Nullable | Description |
2657
- | ---------- | ---- | -------- | ----------- |
2658
- | code | string | no | |
2659
- | name | string | no | |
2660
- | id | number | no | |
2661
- | company_name | string | no | |
2662
- | company_id | number | no | |
2663
-
2664
- ---
2665
-
2666
-
2667
-
2668
-
2669
- #### [NestedTrackingDetails](#NestedTrackingDetails)
2670
-
2671
- | Properties | Type | Nullable | Description |
2672
- | ---------- | ---- | -------- | ----------- |
2673
- | is_current | boolean | no | |
2674
- | is_passed | boolean | no | |
2675
- | time | string | no | |
2676
- | status | string | no | |
2677
-
2678
- ---
2679
-
2680
-
2681
-
2682
-
2683
- #### [TrackingDetails](#TrackingDetails)
2684
-
2685
- | Properties | Type | Nullable | Description |
2686
- | ---------- | ---- | -------- | ----------- |
2687
- | tracking_details | [[NestedTrackingDetails](#NestedTrackingDetails)] | no | |
2688
- | status | string | no | |
2689
- | time | string | no | |
2690
- | is_current | boolean | no | |
2691
- | is_passed | boolean | no | |
2692
-
2693
- ---
2694
-
2695
-
2696
-
2697
-
2698
- #### [DeliveryAddress](#DeliveryAddress)
2699
-
2700
- | Properties | Type | Nullable | Description |
2701
- | ---------- | ---- | -------- | ----------- |
2702
- | address_type | string | no | |
2703
- | latitude | number | no | |
2704
- | landmark | string | no | |
2705
- | contact_person | string | no | |
2706
- | address | string | no | |
2707
- | longitude | number | no | |
2708
- | state | string | no | |
2709
- | updated_at | string | no | |
2710
- | address1 | string | no | |
2711
- | address_category | string | no | |
2712
- | version | string | no | |
2713
- | city | string | no | |
2714
- | name | string | no | |
2715
- | address2 | string | no | |
2716
- | country | string | no | |
2717
- | area | string | no | |
2718
- | pincode | string | no | |
2719
- | email | string | no | |
2720
- | created_at | string | no | |
2721
- | phone | string | no | |
2722
-
2723
- ---
2724
-
2725
-
2726
-
2727
-
2728
- #### [FulfillingCompany](#FulfillingCompany)
2729
-
2730
- | Properties | Type | Nullable | Description |
2731
- | ---------- | ---- | -------- | ----------- |
2732
- | id | number | no | |
2733
- | name | string | no | |
2734
-
2735
- ---
2736
-
2737
-
2738
-
2739
-
2740
- #### [ShipmentUserInfo](#ShipmentUserInfo)
2741
-
2742
- | Properties | Type | Nullable | Description |
2743
- | ---------- | ---- | -------- | ----------- |
2744
- | gender | string | no | |
2745
- | last_name | string | no | |
2746
- | first_name | string | no | |
2747
- | mobile | string | no | |
2748
-
2749
- ---
2750
-
2751
-
2752
-
2753
-
2754
- #### [TimeStampData](#TimeStampData)
2755
-
2756
- | Properties | Type | Nullable | Description |
2757
- | ---------- | ---- | -------- | ----------- |
2758
- | min | string | no | |
2759
- | max | string | no | |
2760
-
2761
- ---
2762
-
2763
-
2764
-
2765
-
2766
- #### [Promise](#Promise)
2767
-
2768
- | Properties | Type | Nullable | Description |
2769
- | ---------- | ---- | -------- | ----------- |
2770
- | show_promise | boolean | no | |
2771
- | timestamp | [TimeStampData](#TimeStampData) | no | |
2772
-
2773
- ---
2774
-
2775
-
2776
-
2777
-
2778
- #### [ShipmentStatus](#ShipmentStatus)
2779
-
2780
- | Properties | Type | Nullable | Description |
2781
- | ---------- | ---- | -------- | ----------- |
2782
- | title | string | no | |
2783
- | hex_code | string | no | |
2784
-
2785
- ---
2786
-
2787
-
2788
-
2789
-
2790
- #### [ItemBrand](#ItemBrand)
2791
-
2792
- | Properties | Type | Nullable | Description |
2793
- | ---------- | ---- | -------- | ----------- |
2794
- | name | string | no | |
2795
- | logo | string | no | |
2796
-
2797
- ---
2798
-
2799
-
2800
-
2801
-
2802
- #### [Item](#Item)
2803
-
2804
- | Properties | Type | Nullable | Description |
2805
- | ---------- | ---- | -------- | ----------- |
2806
- | slug_key | string | no | |
2807
- | code | string | no | |
2808
- | size | string | no | |
2809
- | brand | [ItemBrand](#ItemBrand) | no | |
2810
- | image | [string] | no | |
2811
- | id | number | no | |
2812
- | seller_identifier | string | no | |
2813
- | name | string | no | |
2814
-
2815
- ---
2816
-
2817
-
2818
-
2819
-
2820
- #### [Identifiers](#Identifiers)
2821
-
2822
- | Properties | Type | Nullable | Description |
2823
- | ---------- | ---- | -------- | ----------- |
2824
- | sku_code | string | no | |
2825
- | ean | string | no | |
2826
-
2827
- ---
2828
-
2829
-
2830
-
2831
-
2832
- #### [FinancialBreakup](#FinancialBreakup)
2833
-
2834
- | Properties | Type | Nullable | Description |
2835
- | ---------- | ---- | -------- | ----------- |
2836
- | refund_credit | number | no | |
2837
- | size | string | no | |
2838
- | brand_calculated_amount | number | no | |
2839
- | cod_charges | number | no | |
2840
- | amount_paid | number | no | |
2841
- | discount | number | no | |
2842
- | identifiers | [Identifiers](#Identifiers) | no | |
2843
- | transfer_price | number | no | |
2844
- | hsn_code | string | no | |
2845
- | gst_tax_percentage | number | no | |
2846
- | refund_amount | number | no | |
2847
- | cashback_applied | number | no | |
2848
- | coupon_value | number | no | |
2849
- | price_marked | number | no | |
2850
- | value_of_good | number | no | |
2851
- | price_effective | number | no | |
2852
- | added_to_fynd_cash | boolean | no | |
2853
- | gst_tag | string | no | |
2854
- | delivery_charge | number | no | |
2855
- | gst_fee | number | no | |
2856
- | item_name | string | no | |
2857
- | cashback | number | no | |
2858
- | fynd_credits | number | no | |
2859
- | coupon_effective_discount | number | no | |
2860
- | amount_paid_roundoff | number | no | |
2861
- | promotion_effective_discount | number | no | |
2862
- | total_units | number | no | |
2863
-
2864
- ---
2865
-
2866
-
2867
-
2868
-
2869
- #### [AppliedFreeArticles](#AppliedFreeArticles)
2870
-
2871
- | Properties | Type | Nullable | Description |
2872
- | ---------- | ---- | -------- | ----------- |
2873
- | article_id | string | no | |
2874
- | quantity | number | no | |
2875
- | free_gift_item_details | string | no | |
2876
- | parent_item_identifier | string | no | |
2877
-
2878
- ---
2879
-
2880
-
2881
-
2882
-
2883
- #### [AppliedPromos](#AppliedPromos)
2884
-
2885
- | Properties | Type | Nullable | Description |
2886
- | ---------- | ---- | -------- | ----------- |
2887
- | applied_free_articles | [[AppliedFreeArticles](#AppliedFreeArticles)] | no | |
2888
- | mrp_promotion | boolean | no | |
2889
- | promo_id | string | no | |
2890
- | promotion_type | string | no | |
2891
- | article_quantity | number | no | |
2892
- | amount | number | no | |
2893
- | promotion_name | string | no | |
2894
-
2895
- ---
2896
-
2897
-
2898
-
2899
-
2900
- #### [CurrentStatus](#CurrentStatus)
2901
-
2902
- | Properties | Type | Nullable | Description |
2903
- | ---------- | ---- | -------- | ----------- |
2904
- | journey_type | string | no | |
2905
- | name | string | no | |
2906
- | updated_at | string | no | |
2907
- | status | string | no | |
2908
-
2909
- ---
2910
-
2911
-
2912
-
2913
-
2914
- #### [Bags](#Bags)
2915
-
2916
- | Properties | Type | Nullable | Description |
2917
- | ---------- | ---- | -------- | ----------- |
2918
- | returnable_date | string | no | |
2919
- | item | [Item](#Item) | no | |
2920
- | prices | [Prices](#Prices) | no | |
2921
- | quantity | number | no | |
2922
- | financial_breakup | [[FinancialBreakup](#FinancialBreakup)] | no | |
2923
- | parent_promo_bags | string | no | |
2924
- | line_number | number | no | |
2925
- | can_return | boolean | no | |
2926
- | id | number | no | |
2927
- | seller_identifier | string | no | |
2928
- | applied_promos | [[AppliedPromos](#AppliedPromos)] | no | |
2929
- | can_cancel | boolean | no | |
2930
- | delivery_date | string | no | |
2931
- | current_status | [CurrentStatus](#CurrentStatus) | no | |
2932
-
2933
- ---
2934
-
2935
-
2936
-
2937
-
2938
- #### [Shipments](#Shipments)
2939
-
2940
- | Properties | Type | Nullable | Description |
2941
- | ---------- | ---- | -------- | ----------- |
2942
- | shipment_id | string | no | |
2943
- | total_details | [ShipmentTotalDetails](#ShipmentTotalDetails) | no | |
2944
- | prices | [Prices](#Prices) | no | |
2945
- | payment | [ShipmentPayment](#ShipmentPayment) | no | |
2946
- | can_return | boolean | no | |
2947
- | order_id | string | no | |
2948
- | awb_no | string | no | |
2949
- | invoice | [Invoice](#Invoice) | no | |
2950
- | shipment_created_at | string | no | |
2951
- | fulfilling_store | [FulfillingStore](#FulfillingStore) | no | |
2952
- | show_track_link | boolean | no | |
2953
- | need_help_url | string | no | |
2954
- | order_type | string | no | |
2955
- | dp_name | string | no | |
2956
- | can_cancel | boolean | no | |
2957
- | returnable_date | string | no | |
2958
- | refund_details | string | no | |
2959
- | breakup_values | [[BreakupValues](#BreakupValues)] | no | |
2960
- | traking_no | string | no | |
2961
- | tracking_details | [[TrackingDetails](#TrackingDetails)] | no | |
2962
- | delivery_address | [DeliveryAddress](#DeliveryAddress) | no | |
2963
- | size_info | string | no | |
2964
- | can_break | string | no | |
2965
- | fulfilling_company | [FulfillingCompany](#FulfillingCompany) | no | |
2966
- | track_url | string | no | |
2967
- | user_info | [ShipmentUserInfo](#ShipmentUserInfo) | no | |
2968
- | beneficiary_details | boolean | no | |
2969
- | promise | [Promise](#Promise) | no | |
2970
- | total_bags | number | no | |
2971
- | shipment_status | [ShipmentStatus](#ShipmentStatus) | no | |
2972
- | show_download_invoice | boolean | no | |
2973
- | bags | [[Bags](#Bags)] | no | |
2974
- | delivery_date | string | no | |
2975
- | custom_meta | [string] | no | |
2976
- | comment | string | no | |
2977
-
2978
- ---
2979
-
2980
-
2981
-
2982
-
2983
- #### [OrderSchema](#OrderSchema)
2984
-
2985
- | Properties | Type | Nullable | Description |
2986
- | ---------- | ---- | -------- | ----------- |
2987
- | bags_for_reorder | [[BagsForReorder](#BagsForReorder)] | no | |
2988
- | breakup_values | [[BreakupValues](#BreakupValues)] | no | |
2989
- | user_info | [UserInfo](#UserInfo) | no | |
2990
- | order_id | string | no | |
2991
- | total_shipments_in_order | number | no | |
2992
- | order_created_time | string | no | |
2993
- | shipments | [[Shipments](#Shipments)] | no | |
2994
-
2995
- ---
2996
-
2997
-
2998
-
2999
-
3000
- #### [OrderList](#OrderList)
3001
-
3002
- | Properties | Type | Nullable | Description |
3003
- | ---------- | ---- | -------- | ----------- |
3004
- | page | [OrderPage](#OrderPage) | no | |
3005
- | filters | [OrderFilters](#OrderFilters) | no | |
3006
- | items | [[OrderSchema](#OrderSchema)] | no | |
3007
-
3008
- ---
3009
-
3010
-
3011
-
3012
-
3013
- #### [ApefaceApiError](#ApefaceApiError)
3014
-
3015
- | Properties | Type | Nullable | Description |
3016
- | ---------- | ---- | -------- | ----------- |
3017
- | message | string | no | |
3018
- | success | boolean | no | |
3019
-
3020
- ---
3021
-
3022
-
3023
-
3024
-
3025
- #### [OrderById](#OrderById)
3026
-
3027
- | Properties | Type | Nullable | Description |
3028
- | ---------- | ---- | -------- | ----------- |
3029
- | order | [OrderSchema](#OrderSchema) | no | |
3030
-
3031
- ---
3032
-
3033
-
3034
-
3035
-
3036
- #### [ShipmentById](#ShipmentById)
3037
-
3038
- | Properties | Type | Nullable | Description |
3039
- | ---------- | ---- | -------- | ----------- |
3040
- | shipment | [Shipments](#Shipments) | no | |
3041
-
3042
- ---
3043
-
3044
-
3045
-
3046
-
3047
- #### [ResponseGetInvoiceShipment](#ResponseGetInvoiceShipment)
3048
-
3049
- | Properties | Type | Nullable | Description |
3050
- | ---------- | ---- | -------- | ----------- |
3051
- | presigned_url | string | yes | |
3052
- | shipment_id | string | yes | |
3053
- | success | boolean | yes | |
3054
- | presigned_type | string | yes | |
3055
-
3056
- ---
3057
-
3058
-
3059
-
3060
-
3061
- #### [Track](#Track)
3062
-
3063
- | Properties | Type | Nullable | Description |
3064
- | ---------- | ---- | -------- | ----------- |
3065
- | last_location_recieved_at | string | no | |
3066
- | reason | string | no | |
3067
- | updated_time | string | no | |
3068
- | account_name | string | no | |
3069
- | updated_at | string | no | |
3070
- | awb | string | no | |
3071
- | status | string | no | |
3072
- | shipment_type | string | no | |
3073
-
3074
- ---
3075
-
3076
-
3077
-
3078
-
3079
- #### [ShipmentTrack](#ShipmentTrack)
3080
-
3081
- | Properties | Type | Nullable | Description |
3082
- | ---------- | ---- | -------- | ----------- |
3083
- | results | [[Track](#Track)] | no | |
3084
-
3085
- ---
3086
-
3087
-
3088
-
3089
-
3090
- #### [CustomerDetailsResponse](#CustomerDetailsResponse)
3091
-
3092
- | Properties | Type | Nullable | Description |
3093
- | ---------- | ---- | -------- | ----------- |
3094
- | shipment_id | string | no | |
3095
- | country | string | no | |
3096
- | order_id | string | no | |
3097
- | phone | string | no | |
3098
- | name | string | no | |
3099
-
3100
- ---
3101
-
3102
-
3103
-
3104
-
3105
- #### [SendOtpToCustomerResponse](#SendOtpToCustomerResponse)
3106
-
3107
- | Properties | Type | Nullable | Description |
3108
- | ---------- | ---- | -------- | ----------- |
3109
- | request_id | string | no | |
3110
- | message | string | no | |
3111
- | success | boolean | no | |
3112
- | resend_timer | number | no | |
3113
-
3114
- ---
3115
-
3116
-
3117
-
3118
-
3119
- #### [VerifyOtp](#VerifyOtp)
3120
-
3121
- | Properties | Type | Nullable | Description |
3122
- | ---------- | ---- | -------- | ----------- |
3123
- | request_id | string | no | |
3124
- | otp_code | string | no | |
3125
-
3126
- ---
3127
-
3128
-
3129
-
3130
-
3131
- #### [VerifyOtpResponse](#VerifyOtpResponse)
3132
-
3133
- | Properties | Type | Nullable | Description |
3134
- | ---------- | ---- | -------- | ----------- |
3135
- | success | boolean | no | |
3136
-
3137
- ---
3138
-
3139
-
3140
-
3141
-
3142
- #### [QuestionSet](#QuestionSet)
3143
-
3144
- | Properties | Type | Nullable | Description |
3145
- | ---------- | ---- | -------- | ----------- |
3146
- | id | number | no | |
3147
- | display_name | string | no | |
3148
-
3149
- ---
3150
-
3151
-
3152
-
3153
-
3154
- #### [BagReasonMeta](#BagReasonMeta)
3155
-
3156
- | Properties | Type | Nullable | Description |
3157
- | ---------- | ---- | -------- | ----------- |
3158
- | show_text_area | boolean | no | |
3159
-
3160
- ---
3161
-
3162
-
3163
-
3164
-
3165
- #### [BagReasons](#BagReasons)
3166
-
3167
- | Properties | Type | Nullable | Description |
3168
- | ---------- | ---- | -------- | ----------- |
3169
- | question_set | [[QuestionSet](#QuestionSet)] | no | |
3170
- | meta | [BagReasonMeta](#BagReasonMeta) | no | |
3171
- | display_name | string | no | |
3172
- | reasons | [[BagReasons](#BagReasons)] | no | |
3173
- | id | number | no | |
3174
- | qc_type | [string] | no | |
3175
-
3176
- ---
3177
-
3178
-
3179
-
3180
-
3181
- #### [ShipmentBagReasons](#ShipmentBagReasons)
3182
-
3183
- | Properties | Type | Nullable | Description |
3184
- | ---------- | ---- | -------- | ----------- |
3185
- | success | boolean | no | |
3186
- | reasons | [[BagReasons](#BagReasons)] | no | |
3187
-
3188
- ---
3189
-
3190
-
3191
-
3192
-
3193
- #### [ShipmentReason](#ShipmentReason)
3194
-
3195
- | Properties | Type | Nullable | Description |
3196
- | ---------- | ---- | -------- | ----------- |
3197
- | reason_id | number | no | |
3198
- | feedback_type | string | no | |
3199
- | flow | string | no | |
3200
- | reason_text | string | no | |
3201
- | show_text_area | boolean | no | |
3202
- | priority | number | no | |
3203
-
3204
- ---
3205
-
3206
-
3207
-
3208
-
3209
- #### [ShipmentReasons](#ShipmentReasons)
3210
-
3211
- | Properties | Type | Nullable | Description |
3212
- | ---------- | ---- | -------- | ----------- |
3213
- | reasons | [[ShipmentReason](#ShipmentReason)] | no | |
3214
-
3215
- ---
3216
-
3217
-
3218
-
3219
-
3220
- #### [Products](#Products)
3221
-
3222
- | Properties | Type | Nullable | Description |
3223
- | ---------- | ---- | -------- | ----------- |
3224
- | line_number | number | no | |
3225
- | identifier | string | no | |
3226
- | quantity | number | no | |
3227
-
3228
- ---
3229
-
3230
-
3231
-
3232
-
3233
- #### [ProductsReasonsData](#ProductsReasonsData)
3234
-
3235
- | Properties | Type | Nullable | Description |
3236
- | ---------- | ---- | -------- | ----------- |
3237
- | reason_text | string | no | |
3238
- | reason_id | number | no | |
3239
-
3240
- ---
3241
-
3242
-
3243
-
3244
-
3245
- #### [ProductsReasonsFilters](#ProductsReasonsFilters)
3246
-
3247
- | Properties | Type | Nullable | Description |
3248
- | ---------- | ---- | -------- | ----------- |
3249
- | line_number | number | no | |
3250
- | identifier | string | no | |
3251
- | quantity | number | no | |
3252
-
3253
- ---
3254
-
3255
-
3256
-
3257
-
3258
- #### [ProductsReasons](#ProductsReasons)
3259
-
3260
- | Properties | Type | Nullable | Description |
3261
- | ---------- | ---- | -------- | ----------- |
3262
- | data | [ProductsReasonsData](#ProductsReasonsData) | no | |
3263
- | filters | [[ProductsReasonsFilters](#ProductsReasonsFilters)] | no | |
3264
-
3265
- ---
3266
-
3267
-
3268
-
3269
-
3270
- #### [EntityReasonData](#EntityReasonData)
3271
-
3272
- | Properties | Type | Nullable | Description |
3273
- | ---------- | ---- | -------- | ----------- |
3274
- | reason_text | string | no | |
3275
- | reason_id | number | no | |
3276
-
3277
- ---
3278
-
3279
-
3280
-
3281
-
3282
- #### [EntitiesReasons](#EntitiesReasons)
3283
-
3284
- | Properties | Type | Nullable | Description |
3285
- | ---------- | ---- | -------- | ----------- |
3286
- | data | [EntityReasonData](#EntityReasonData) | no | |
3287
- | filters | [string] | no | |
3288
-
3289
- ---
3290
-
3291
-
3292
-
3293
-
3294
- #### [ReasonsData](#ReasonsData)
3295
-
3296
- | Properties | Type | Nullable | Description |
3297
- | ---------- | ---- | -------- | ----------- |
3298
- | products | [[ProductsReasons](#ProductsReasons)] | no | |
3299
- | entities | [[EntitiesReasons](#EntitiesReasons)] | no | |
3300
-
3301
- ---
3302
-
3303
-
3304
-
3305
-
3306
- #### [ProductsDataUpdatesFilters](#ProductsDataUpdatesFilters)
3307
-
3308
- | Properties | Type | Nullable | Description |
3309
- | ---------- | ---- | -------- | ----------- |
3310
- | line_number | number | no | |
3311
- | identifier | string | no | |
3312
-
3313
- ---
3314
-
3315
-
3316
-
3317
-
3318
- #### [ProductsDataUpdates](#ProductsDataUpdates)
3319
-
3320
- | Properties | Type | Nullable | Description |
3321
- | ---------- | ---- | -------- | ----------- |
3322
- | data | string | no | |
3323
- | filters | [[ProductsDataUpdatesFilters](#ProductsDataUpdatesFilters)] | no | |
3324
-
3325
- ---
3326
-
3327
-
3328
-
3329
-
3330
- #### [EntitiesDataUpdates](#EntitiesDataUpdates)
3331
-
3332
- | Properties | Type | Nullable | Description |
3333
- | ---------- | ---- | -------- | ----------- |
3334
- | data | string | no | |
3335
- | filters | [string] | no | |
3336
-
3337
- ---
3338
-
3339
-
3340
-
3341
-
3342
- #### [DataUpdates](#DataUpdates)
3343
-
3344
- | Properties | Type | Nullable | Description |
3345
- | ---------- | ---- | -------- | ----------- |
3346
- | products | [[ProductsDataUpdates](#ProductsDataUpdates)] | no | |
3347
- | entities | [[EntitiesDataUpdates](#EntitiesDataUpdates)] | no | |
3348
-
3349
- ---
3350
-
3351
-
3352
-
3353
-
3354
- #### [ShipmentsRequest](#ShipmentsRequest)
3355
-
3356
- | Properties | Type | Nullable | Description |
3357
- | ---------- | ---- | -------- | ----------- |
3358
- | identifier | string | yes | |
3359
- | products | [[Products](#Products)] | no | |
3360
- | reasons | [ReasonsData](#ReasonsData) | no | |
3361
- | data_updates | [DataUpdates](#DataUpdates) | no | |
3362
-
3363
- ---
3364
-
3365
-
3366
-
3367
-
3368
- #### [StatuesRequest](#StatuesRequest)
3369
-
3370
- | Properties | Type | Nullable | Description |
3371
- | ---------- | ---- | -------- | ----------- |
3372
- | exclude_bags_next_state | string | no | |
3373
- | shipments | [[ShipmentsRequest](#ShipmentsRequest)] | no | |
3374
- | status | string | no | |
3375
-
3376
- ---
3377
-
3378
-
3379
-
3380
-
3381
- #### [UpdateShipmentStatusRequest](#UpdateShipmentStatusRequest)
3382
-
3383
- | Properties | Type | Nullable | Description |
3384
- | ---------- | ---- | -------- | ----------- |
3385
- | statuses | [[StatuesRequest](#StatuesRequest)] | no | |
3386
- | task | boolean | no | |
3387
- | unlock_before_transition | boolean | no | |
3388
- | force_transition | boolean | no | |
3389
- | lock_after_transition | boolean | no | |
3390
-
3391
- ---
3392
-
3393
-
3394
-
3395
-
3396
- #### [StatusesBodyResponse](#StatusesBodyResponse)
3397
-
3398
- | Properties | Type | Nullable | Description |
3399
- | ---------- | ---- | -------- | ----------- |
3400
- | shipments | [string] | no | |
3401
-
3402
- ---
3403
-
3404
-
3405
-
3406
-
3407
- #### [ShipmentApplicationStatusResponse](#ShipmentApplicationStatusResponse)
3408
-
3409
- | Properties | Type | Nullable | Description |
3410
- | ---------- | ---- | -------- | ----------- |
3411
- | statuses | [[StatusesBodyResponse](#StatusesBodyResponse)] | no | |
3412
-
3413
- ---
3414
-
3415
-
3416
-
3417
-
3418
- #### [ErrorResponse](#ErrorResponse)
3419
-
3420
- | Properties | Type | Nullable | Description |
3421
- | ---------- | ---- | -------- | ----------- |
3422
- | stack_trace | string | no | |
3423
- | code | string | no | |
3424
- | message | string | no | |
3425
- | exception | string | no | |
3426
- | status | number | no | |
3427
-
3428
- ---
3429
-
3430
-
3431
-
3432
-