ultracart_api 3.11.35 → 4.0.32.rc

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 (1871) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +9 -7
  3. data/README.md +1166 -1846
  4. data/Rakefile +10 -8
  5. data/docs/AccountsReceivableRetryConfig.md +46 -23
  6. data/docs/AccountsReceivableRetryConfigResponse.md +32 -15
  7. data/docs/AccountsReceivableRetryDayActivity.md +22 -10
  8. data/docs/AccountsReceivableRetryStatAccount.md +24 -11
  9. data/docs/AccountsReceivableRetryStatMetrics.md +38 -18
  10. data/docs/AccountsReceivableRetryStatRevenue.md +20 -9
  11. data/docs/AccountsReceivableRetryStatsResponse.md +28 -13
  12. data/docs/Activity.md +28 -15
  13. data/docs/AddLibraryItemRequest.md +38 -18
  14. data/docs/AdjustInternalCertificateRequest.md +28 -13
  15. data/docs/AdjustInternalCertificateResponse.md +28 -13
  16. data/docs/AffiliateApi.md +173 -126
  17. data/docs/AffiliateClick.md +38 -20
  18. data/docs/AffiliateClickQuery.md +28 -13
  19. data/docs/AffiliateClicksResponse.md +26 -12
  20. data/docs/AffiliateLedger.md +54 -26
  21. data/docs/AffiliateLedgerQuery.md +28 -13
  22. data/docs/AffiliateLedgersResponse.md +26 -12
  23. data/docs/AffiliateLink.md +44 -21
  24. data/docs/ApiUserApplicationProfile.md +26 -12
  25. data/docs/ApplyLibraryItemRequest.md +24 -11
  26. data/docs/ApplyLibraryItemResponse.md +38 -18
  27. data/docs/AutoOrder.md +60 -34
  28. data/docs/AutoOrderApi.md +693 -675
  29. data/docs/AutoOrderItem.md +64 -35
  30. data/docs/AutoOrderItemFutureSchedule.md +24 -11
  31. data/docs/AutoOrderItemOption.md +20 -9
  32. data/docs/AutoOrderItemSimpleSchedule.md +22 -10
  33. data/docs/AutoOrderLog.md +20 -9
  34. data/docs/AutoOrderQuery.md +58 -28
  35. data/docs/AutoOrderQueryBatch.md +18 -8
  36. data/docs/AutoOrderResponse.md +26 -12
  37. data/docs/AutoOrdersRequest.md +18 -8
  38. data/docs/AutoOrdersResponse.md +26 -12
  39. data/docs/AvalaraConfig.md +42 -20
  40. data/docs/BaseResponse.md +24 -11
  41. data/docs/Browser.md +22 -10
  42. data/docs/BrowserDevice.md +18 -8
  43. data/docs/BrowserOS.md +26 -12
  44. data/docs/BrowserUserAgent.md +24 -11
  45. data/docs/Cart.md +68 -33
  46. data/docs/CartAffiliate.md +20 -9
  47. data/docs/CartAffirmCheckoutResponse.md +20 -9
  48. data/docs/CartBilling.md +46 -24
  49. data/docs/CartBuysafe.md +28 -13
  50. data/docs/CartCheckout.md +44 -25
  51. data/docs/CartCoupon.md +18 -8
  52. data/docs/CartCurrencyConversion.md +20 -9
  53. data/docs/CartCustomerProfile.md +60 -30
  54. data/docs/CartCustomerProfileAddress.md +44 -21
  55. data/docs/CartCustomerProfileCreditCard.md +28 -13
  56. data/docs/CartFinalizeOrderRequest.md +20 -9
  57. data/docs/CartFinalizeOrderRequestOptions.md +42 -20
  58. data/docs/CartFinalizeOrderResponse.md +26 -12
  59. data/docs/CartGift.md +28 -13
  60. data/docs/CartGiftCertificate.md +22 -10
  61. data/docs/CartItem.md +74 -37
  62. data/docs/CartItemAttribute.md +22 -10
  63. data/docs/CartItemMultimedia.md +34 -16
  64. data/docs/CartItemMultimediaThumbnail.md +26 -12
  65. data/docs/CartItemOption.md +40 -19
  66. data/docs/CartItemOptionValue.md +26 -12
  67. data/docs/CartItemPhysical.md +24 -11
  68. data/docs/CartItemVariationSelection.md +20 -9
  69. data/docs/CartKitComponentOption.md +44 -21
  70. data/docs/CartMarketing.md +20 -10
  71. data/docs/CartPayment.md +30 -15
  72. data/docs/CartPaymentAffirm.md +18 -8
  73. data/docs/CartPaymentAmazon.md +18 -8
  74. data/docs/CartPaymentCheck.md +18 -8
  75. data/docs/CartPaymentCreditCard.md +34 -16
  76. data/docs/CartPaymentPurchaseOrder.md +18 -8
  77. data/docs/CartProfileLoginRequest.md +22 -10
  78. data/docs/CartProfileLoginResponse.md +20 -9
  79. data/docs/CartProfileRegisterRequest.md +20 -9
  80. data/docs/CartProfileRegisterResponse.md +20 -9
  81. data/docs/CartProperty.md +24 -11
  82. data/docs/CartResponse.md +20 -9
  83. data/docs/CartSettings.md +28 -13
  84. data/docs/CartSettingsBilling.md +18 -8
  85. data/docs/CartSettingsGift.md +24 -11
  86. data/docs/CartSettingsGiftWrap.md +22 -10
  87. data/docs/CartSettingsPayment.md +42 -20
  88. data/docs/CartSettingsPaymentAmazon.md +22 -10
  89. data/docs/CartSettingsPaymentCreditCard.md +22 -11
  90. data/docs/CartSettingsPaymentPayPal.md +26 -12
  91. data/docs/CartSettingsProvince.md +20 -9
  92. data/docs/CartSettingsShipping.md +26 -12
  93. data/docs/CartSettingsShippingCalendar.md +26 -12
  94. data/docs/CartSettingsShippingEstimate.md +44 -21
  95. data/docs/CartSettingsTaxes.md +18 -8
  96. data/docs/CartSettingsTerms.md +20 -9
  97. data/docs/CartShipping.md +54 -26
  98. data/docs/CartSummary.md +48 -27
  99. data/docs/CartTaxes.md +22 -10
  100. data/docs/CartUpsellAfter.md +22 -12
  101. data/docs/CartValidationRequest.md +20 -9
  102. data/docs/CartValidationResponse.md +20 -9
  103. data/docs/ChannelPartnerApi.md +382 -811
  104. data/docs/ChannelPartnerCancelResponse.md +26 -12
  105. data/docs/ChannelPartnerEstimateShippingResponse.md +26 -12
  106. data/docs/ChannelPartnerEstimateTaxResponse.md +26 -12
  107. data/docs/ChannelPartnerImportResponse.md +30 -14
  108. data/docs/ChannelPartnerOrder.md +176 -100
  109. data/docs/ChannelPartnerOrderItem.md +30 -15
  110. data/docs/ChannelPartnerOrderItemOption.md +20 -9
  111. data/docs/ChannelPartnerOrderTransaction.md +20 -9
  112. data/docs/ChannelPartnerOrderTransactionDetail.md +20 -9
  113. data/docs/ChannelPartnerShippingEstimate.md +20 -9
  114. data/docs/ChargebackApi.md +420 -0
  115. data/docs/ChargebackDispute.md +62 -0
  116. data/docs/ChargebackDisputeResponse.md +26 -0
  117. data/docs/ChargebackDisputesResponse.md +26 -0
  118. data/docs/CheckoutAllowedCountriesResponse.md +18 -8
  119. data/docs/CheckoutApi.md +1566 -1023
  120. data/docs/CheckoutHandoffRequest.md +32 -15
  121. data/docs/CheckoutHandoffResponse.md +22 -10
  122. data/docs/CheckoutSetupBrowserKeyRequest.md +18 -8
  123. data/docs/CheckoutSetupBrowserKeyResponse.md +18 -8
  124. data/docs/CheckoutStateProvinceResponse.md +18 -8
  125. data/docs/CityStateZip.md +26 -12
  126. data/docs/CountriesResponse.md +18 -8
  127. data/docs/Country.md +20 -9
  128. data/docs/Coupon.md +136 -74
  129. data/docs/CouponAmountOffItems.md +24 -12
  130. data/docs/CouponAmountOffShipping.md +22 -10
  131. data/docs/CouponAmountOffShippingWithItemsPurchase.md +24 -11
  132. data/docs/CouponAmountOffSubtotal.md +20 -9
  133. data/docs/CouponAmountOffSubtotalAndShipping.md +20 -9
  134. data/docs/CouponAmountOffSubtotalFreeShippingWithPurchase.md +24 -11
  135. data/docs/CouponAmountOffSubtotalWithBlockPurchase.md +24 -11
  136. data/docs/CouponAmountOffSubtotalWithItemsPurchase.md +24 -11
  137. data/docs/CouponAmountOffSubtotalWithPurchase.md +22 -10
  138. data/docs/CouponAmountShippingWithSubtotal.md +24 -11
  139. data/docs/CouponApi.md +1500 -1043
  140. data/docs/CouponAutoApplyCondition.md +22 -10
  141. data/docs/CouponAutoApplyConditions.md +28 -13
  142. data/docs/CouponAutomaticallyApplyCouponCodes.md +18 -8
  143. data/docs/CouponBuyOneGetOneLimit.md +20 -10
  144. data/docs/CouponCodesRequest.md +30 -14
  145. data/docs/CouponCodesResponse.md +28 -13
  146. data/docs/CouponDeletesRequest.md +20 -9
  147. data/docs/CouponDiscountItemWithItemPurchase.md +26 -14
  148. data/docs/CouponDiscountItems.md +24 -11
  149. data/docs/CouponEditorValues.md +36 -18
  150. data/docs/CouponExistsResponse.md +28 -13
  151. data/docs/CouponFreeItemAndShippingWithSubtotal.md +26 -12
  152. data/docs/CouponFreeItemWithItemPurchase.md +24 -13
  153. data/docs/CouponFreeItemWithSubtotal.md +24 -11
  154. data/docs/CouponFreeItemsWithItemPurchase.md +26 -12
  155. data/docs/CouponFreeItemsWithMixMatchPurchase.md +26 -12
  156. data/docs/CouponFreeShipping.md +18 -8
  157. data/docs/CouponFreeShippingSpecificItems.md +18 -8
  158. data/docs/CouponFreeShippingWithItemsPurchase.md +20 -9
  159. data/docs/CouponFreeShippingWithSubtotal.md +22 -10
  160. data/docs/CouponItemSearchResult.md +32 -15
  161. data/docs/CouponItemSearchResultsResponse.md +26 -12
  162. data/docs/CouponMultipleAmountsOffItems.md +20 -9
  163. data/docs/CouponPercentOffItemWithItemsQuantityPurchase.md +26 -14
  164. data/docs/CouponPercentOffItems.md +24 -13
  165. data/docs/CouponPercentOffItemsAndFreeShipping.md +22 -13
  166. data/docs/CouponPercentOffItemsWithItemsPurchase.md +24 -13
  167. data/docs/CouponPercentOffMsrpItems.md +24 -13
  168. data/docs/CouponPercentOffRetailPriceItems.md +24 -11
  169. data/docs/CouponPercentOffShipping.md +20 -9
  170. data/docs/CouponPercentOffSubtotal.md +18 -8
  171. data/docs/CouponPercentOffSubtotalAndFreeShipping.md +20 -9
  172. data/docs/CouponPercentOffSubtotalLimit.md +22 -10
  173. data/docs/CouponPercentOffSubtotalWithItemsPurchase.md +20 -9
  174. data/docs/CouponPercentOffSubtotalWithSubtotal.md +22 -10
  175. data/docs/CouponQuery.md +36 -17
  176. data/docs/CouponResponse.md +28 -13
  177. data/docs/CouponRestriction.md +24 -11
  178. data/docs/CouponTierAmount.md +22 -10
  179. data/docs/CouponTierItemDiscount.md +20 -9
  180. data/docs/CouponTierPercent.md +22 -10
  181. data/docs/CouponTierQuantityAmount.md +22 -10
  182. data/docs/CouponTierQuantityPercent.md +22 -10
  183. data/docs/CouponTieredAmountOffItems.md +22 -11
  184. data/docs/CouponTieredAmountOffSubtotal.md +20 -9
  185. data/docs/CouponTieredPercentOffItems.md +22 -11
  186. data/docs/CouponTieredPercentOffShipping.md +22 -10
  187. data/docs/CouponTieredPercentOffSubtotal.md +20 -9
  188. data/docs/CouponType.md +20 -9
  189. data/docs/CouponsRequest.md +18 -8
  190. data/docs/CouponsResponse.md +26 -12
  191. data/docs/Currency.md +26 -12
  192. data/docs/Customer.md +134 -72
  193. data/docs/CustomerActivity.md +24 -15
  194. data/docs/CustomerAffiliate.md +24 -11
  195. data/docs/CustomerApi.md +1380 -1412
  196. data/docs/CustomerAttachment.md +26 -12
  197. data/docs/CustomerBilling.md +50 -24
  198. data/docs/CustomerCard.md +32 -15
  199. data/docs/CustomerEditorValues.md +36 -19
  200. data/docs/CustomerEmail.md +28 -13
  201. data/docs/CustomerEmailListChanges.md +20 -9
  202. data/docs/CustomerLoyalty.md +30 -17
  203. data/docs/CustomerLoyaltyLedger.md +46 -22
  204. data/docs/CustomerLoyaltyRedemption.md +42 -20
  205. data/docs/CustomerOrdersSummary.md +24 -11
  206. data/docs/CustomerPricingTier.md +20 -9
  207. data/docs/CustomerPrivacy.md +24 -11
  208. data/docs/CustomerQuery.md +74 -38
  209. data/docs/CustomerQuotesSummary.md +24 -11
  210. data/docs/CustomerResponse.md +26 -12
  211. data/docs/CustomerReviewer.md +36 -17
  212. data/docs/CustomerShipping.md +50 -24
  213. data/docs/CustomerSoftwareEntitlement.md +32 -15
  214. data/docs/CustomerStoreCredit.md +28 -13
  215. data/docs/CustomerStoreCreditAddRequest.md +24 -11
  216. data/docs/CustomerStoreCreditLedgerEntry.md +30 -14
  217. data/docs/CustomerStoreCreditResponse.md +26 -12
  218. data/docs/CustomerTag.md +18 -8
  219. data/docs/CustomerTaxCodes.md +26 -12
  220. data/docs/CustomersResponse.md +26 -12
  221. data/docs/DataTablesServerSideResponse.md +24 -11
  222. data/docs/Distance.md +20 -9
  223. data/docs/DistributionCenter.md +86 -57
  224. data/docs/DistributionCentersResponse.md +26 -12
  225. data/docs/EmailBaseTemplateListResponse.md +18 -8
  226. data/docs/EmailCampaign.md +64 -35
  227. data/docs/EmailCampaignFolder.md +26 -12
  228. data/docs/EmailCampaignFolderResponse.md +26 -12
  229. data/docs/EmailCampaignFoldersResponse.md +26 -12
  230. data/docs/EmailCampaignResponse.md +26 -12
  231. data/docs/EmailCampaignsResponse.md +26 -12
  232. data/docs/EmailClick.md +20 -9
  233. data/docs/EmailClicksResponse.md +26 -12
  234. data/docs/EmailCommseq.md +24 -11
  235. data/docs/EmailCommseqEmail.md +68 -44
  236. data/docs/EmailCommseqEmailResponse.md +26 -12
  237. data/docs/EmailCommseqEmailSendTestRequest.md +36 -17
  238. data/docs/EmailCommseqEmailSendTestResponse.md +24 -11
  239. data/docs/EmailCommseqEmailsRequest.md +26 -12
  240. data/docs/EmailCommseqEmailsResponse.md +26 -12
  241. data/docs/EmailCommseqPostcard.md +42 -20
  242. data/docs/EmailCommseqPostcardResponse.md +26 -12
  243. data/docs/EmailCommseqPostcardSendTestRequest.md +42 -20
  244. data/docs/EmailCommseqPostcardSendTestResponse.md +30 -14
  245. data/docs/EmailCommseqPostcardsRequest.md +18 -8
  246. data/docs/EmailCommseqPostcardsResponse.md +26 -12
  247. data/docs/EmailCommseqResponse.md +26 -12
  248. data/docs/EmailCommseqStat.md +90 -44
  249. data/docs/EmailCommseqStatResponse.md +26 -12
  250. data/docs/EmailCommseqStep.md +36 -17
  251. data/docs/EmailCommseqStepLog.md +22 -10
  252. data/docs/EmailCommseqStepLogsResponse.md +26 -12
  253. data/docs/EmailCommseqWebhookSendTestRequest.md +30 -14
  254. data/docs/EmailCommseqWebhookSendTestResponse.md +30 -14
  255. data/docs/EmailCommseqsResponse.md +26 -12
  256. data/docs/EmailCustomer.md +32 -15
  257. data/docs/EmailCustomerEditorUrlResponse.md +26 -12
  258. data/docs/EmailCustomersResponse.md +26 -12
  259. data/docs/EmailDashboardActivity.md +30 -14
  260. data/docs/EmailDashboardActivityResponse.md +26 -12
  261. data/docs/EmailDashboardStatsResponse.md +26 -12
  262. data/docs/EmailDomain.md +42 -20
  263. data/docs/EmailEditorTokenResponse.md +26 -12
  264. data/docs/EmailFlow.md +72 -38
  265. data/docs/EmailFlowBackPopulateRequest.md +20 -9
  266. data/docs/EmailFlowBackPopulateResponse.md +24 -11
  267. data/docs/EmailFlowFolder.md +26 -12
  268. data/docs/EmailFlowFolderResponse.md +26 -12
  269. data/docs/EmailFlowFoldersResponse.md +26 -12
  270. data/docs/EmailFlowResponse.md +26 -12
  271. data/docs/EmailFlowsResponse.md +26 -12
  272. data/docs/EmailGlobalSettings.md +18 -8
  273. data/docs/EmailGlobalSettingsResponse.md +26 -12
  274. data/docs/EmailGlobalUnsubscribeRequest.md +18 -8
  275. data/docs/EmailGlobalUnsubscribeResponse.md +18 -8
  276. data/docs/EmailHistogramPropertyNamesResponse.md +18 -8
  277. data/docs/EmailHistogramPropertyValuesResponse.md +18 -8
  278. data/docs/EmailList.md +40 -19
  279. data/docs/EmailListArchiveResponse.md +26 -12
  280. data/docs/EmailListCustomer.md +24 -11
  281. data/docs/EmailListCustomersResponse.md +26 -12
  282. data/docs/EmailListResponse.md +26 -12
  283. data/docs/EmailListSegmentFolder.md +26 -12
  284. data/docs/EmailListSegmentFolderResponse.md +26 -12
  285. data/docs/EmailListSegmentFoldersResponse.md +26 -12
  286. data/docs/EmailListSegmentMembership.md +24 -11
  287. data/docs/EmailListSegmentUsedBy.md +22 -10
  288. data/docs/EmailListSubscribeResponse.md +20 -9
  289. data/docs/EmailListsResponse.md +26 -12
  290. data/docs/EmailOrder.md +24 -11
  291. data/docs/EmailOrdersResponse.md +26 -12
  292. data/docs/EmailPerformance.md +62 -30
  293. data/docs/EmailPerformanceCustomerHistogram.md +18 -8
  294. data/docs/EmailPerformanceCustomerHistogramPeriod.md +26 -12
  295. data/docs/EmailPerformanceDaily.md +30 -14
  296. data/docs/EmailPerformanceResponse.md +26 -12
  297. data/docs/EmailPlan.md +50 -24
  298. data/docs/EmailPlanAdditional.md +34 -16
  299. data/docs/EmailPlanResponse.md +26 -12
  300. data/docs/EmailPostcardStat.md +80 -39
  301. data/docs/EmailSegment.md +58 -29
  302. data/docs/EmailSegmentArchiveResponse.md +26 -12
  303. data/docs/EmailSegmentCustomer.md +24 -11
  304. data/docs/EmailSegmentCustomersResponse.md +26 -12
  305. data/docs/EmailSegmentDownloadPrepareResponse.md +32 -15
  306. data/docs/EmailSegmentResponse.md +26 -12
  307. data/docs/EmailSegmentsResponse.md +26 -12
  308. data/docs/EmailSendingDomainResponse.md +26 -12
  309. data/docs/EmailSendingDomainsResponse.md +26 -12
  310. data/docs/EmailSettings.md +40 -26
  311. data/docs/EmailSettingsResponse.md +26 -12
  312. data/docs/EmailStat.md +92 -45
  313. data/docs/EmailStatPostcardSummaryRequest.md +20 -9
  314. data/docs/EmailStatPostcardSummaryResponse.md +26 -12
  315. data/docs/EmailStatSummaryRequest.md +22 -10
  316. data/docs/EmailStatSummaryResponse.md +26 -12
  317. data/docs/EmailStepStat.md +56 -37
  318. data/docs/EmailStepStatRequest.md +20 -9
  319. data/docs/EmailStepStatResponse.md +26 -12
  320. data/docs/EmailStepWaitingRequest.md +18 -8
  321. data/docs/EmailStepWaitingResponse.md +18 -8
  322. data/docs/EmailTemplate.md +38 -18
  323. data/docs/EmailTemplatesResponse.md +26 -12
  324. data/docs/EmailThirdPartyList.md +20 -9
  325. data/docs/EmailThirdPartyListImportRequest.md +18 -8
  326. data/docs/EmailThirdPartyProvider.md +38 -18
  327. data/docs/EmailThirdPartyProvidersResponse.md +26 -12
  328. data/docs/EmailThirdPartyTag.md +20 -9
  329. data/docs/EmailVerifyTokenRequest.md +20 -9
  330. data/docs/EmailVerifyTokenResponse.md +26 -12
  331. data/docs/EmailVerifyTokenValidateRequest.md +18 -8
  332. data/docs/EmailVerifyTokenValidateResponse.md +24 -11
  333. data/docs/EmailWebhookEditorValuesResponse.md +30 -14
  334. data/docs/Error.md +26 -12
  335. data/docs/ErrorResponse.md +24 -11
  336. data/docs/Experiment.md +52 -31
  337. data/docs/ExperimentResponse.md +26 -12
  338. data/docs/ExperimentVariation.md +60 -30
  339. data/docs/ExperimentVariationStat.md +38 -20
  340. data/docs/ExperimentsResponse.md +26 -12
  341. data/docs/FulfillmentApi.md +459 -318
  342. data/docs/FulfillmentInventory.md +20 -9
  343. data/docs/FulfillmentShipment.md +26 -12
  344. data/docs/GeoPoint.md +20 -9
  345. data/docs/GeocodeRequest.md +26 -12
  346. data/docs/GeocodeResponse.md +28 -13
  347. data/docs/GiftCertificate.md +44 -21
  348. data/docs/GiftCertificateApi.md +622 -433
  349. data/docs/GiftCertificateCreateRequest.md +26 -12
  350. data/docs/GiftCertificateLedgerEntry.md +28 -13
  351. data/docs/GiftCertificateQuery.md +34 -16
  352. data/docs/GiftCertificateResponse.md +26 -12
  353. data/docs/GiftCertificatesResponse.md +26 -12
  354. data/docs/Group.md +26 -12
  355. data/docs/GroupResponse.md +26 -12
  356. data/docs/GroupUserMembership.md +26 -12
  357. data/docs/GroupsResponse.md +26 -12
  358. data/docs/HTTPHeader.md +20 -9
  359. data/docs/IntegrationLog.md +52 -26
  360. data/docs/IntegrationLogApi.md +400 -286
  361. data/docs/IntegrationLogFile.md +24 -11
  362. data/docs/IntegrationLogLog.md +20 -9
  363. data/docs/IntegrationLogQueryFilterValues.md +40 -19
  364. data/docs/IntegrationLogQueryRequest.md +42 -23
  365. data/docs/IntegrationLogQueryResponse.md +28 -13
  366. data/docs/IntegrationLogResponse.md +26 -12
  367. data/docs/IntegrationLogSummary.md +34 -16
  368. data/docs/IntegrationLogSummaryQueryRequest.md +20 -9
  369. data/docs/IntegrationLogSummaryQueryResponse.md +26 -12
  370. data/docs/Item.md +118 -58
  371. data/docs/ItemAccounting.md +20 -9
  372. data/docs/ItemAmember.md +20 -9
  373. data/docs/ItemApi.md +733 -1266
  374. data/docs/ItemAutoOrder.md +50 -29
  375. data/docs/ItemAutoOrderStep.md +46 -24
  376. data/docs/ItemAutoOrderStepArbitraryUnitCostSchedule.md +20 -9
  377. data/docs/ItemAutoOrderStepGrandfatherPricing.md +20 -9
  378. data/docs/ItemCCBill.md +28 -13
  379. data/docs/ItemChannelPartnerMapping.md +54 -26
  380. data/docs/ItemChargeback.md +20 -9
  381. data/docs/ItemChargebackAddendum.md +24 -11
  382. data/docs/ItemChargebackAdjustmentRequest.md +22 -10
  383. data/docs/ItemCheckout.md +24 -11
  384. data/docs/ItemContent.md +42 -23
  385. data/docs/ItemContentAssignment.md +28 -13
  386. data/docs/ItemContentAttribute.md +24 -11
  387. data/docs/ItemContentMultimedia.md +46 -22
  388. data/docs/ItemContentMultimediaThumbnail.md +28 -13
  389. data/docs/ItemDigitalDelivery.md +28 -13
  390. data/docs/ItemDigitalItem.md +26 -17
  391. data/docs/ItemEbay.md +154 -76
  392. data/docs/ItemEbayCategorySpecific.md +20 -9
  393. data/docs/ItemEbayMarketListing.md +26 -12
  394. data/docs/ItemEbayMarketPlaceAnalysis.md +36 -17
  395. data/docs/ItemEmailNotifications.md +20 -9
  396. data/docs/ItemEnrollment123.md +18 -8
  397. data/docs/ItemFulfillmentAddon.md +24 -12
  398. data/docs/ItemGiftCertificate.md +20 -9
  399. data/docs/ItemGoogleProductSearch.md +112 -55
  400. data/docs/ItemIdentifiers.md +24 -15
  401. data/docs/ItemInstantPaymentNotification.md +22 -10
  402. data/docs/ItemInstantPaymentNotifications.md +18 -8
  403. data/docs/ItemInternal.md +18 -8
  404. data/docs/ItemKitComponent.md +26 -12
  405. data/docs/ItemKitDefinition.md +18 -8
  406. data/docs/ItemOption.md +44 -21
  407. data/docs/ItemOptionValue.md +46 -22
  408. data/docs/ItemOptionValueAdditionalItem.md +20 -9
  409. data/docs/ItemOptionValueDigitalItem.md +20 -9
  410. data/docs/ItemPaymentProcessing.md +26 -13
  411. data/docs/ItemPhysical.md +24 -11
  412. data/docs/ItemPricing.md +52 -25
  413. data/docs/ItemPricingTier.md +26 -12
  414. data/docs/ItemPricingTierDiscount.md +20 -9
  415. data/docs/ItemPricingTierLimit.md +22 -12
  416. data/docs/ItemProperty.md +22 -10
  417. data/docs/ItemRealtimePricing.md +22 -10
  418. data/docs/ItemRelated.md +22 -10
  419. data/docs/ItemRelatedItem.md +22 -10
  420. data/docs/ItemReporting.md +20 -9
  421. data/docs/ItemResponse.md +26 -12
  422. data/docs/ItemRestriction.md +32 -16
  423. data/docs/ItemRestrictionItem.md +22 -10
  424. data/docs/ItemRevguard.md +30 -14
  425. data/docs/ItemReviews.md +34 -17
  426. data/docs/ItemSalesforce.md +20 -9
  427. data/docs/ItemShipping.md +112 -57
  428. data/docs/ItemShippingCase.md +24 -11
  429. data/docs/ItemShippingDestinationMarkup.md +28 -14
  430. data/docs/ItemShippingDestinationRestriction.md +22 -10
  431. data/docs/ItemShippingDistributionCenter.md +44 -21
  432. data/docs/ItemShippingMethod.md +46 -23
  433. data/docs/ItemShippingPackageRequirement.md +20 -9
  434. data/docs/ItemTag.md +20 -9
  435. data/docs/ItemTags.md +18 -8
  436. data/docs/ItemTax.md +24 -11
  437. data/docs/ItemTaxExemption.md +26 -12
  438. data/docs/ItemThirdPartyEmailMarketing.md +26 -12
  439. data/docs/ItemVariantItem.md +28 -13
  440. data/docs/ItemVariation.md +26 -12
  441. data/docs/ItemVariationOption.md +24 -11
  442. data/docs/ItemWishlistMember.md +22 -10
  443. data/docs/ItemsRequest.md +18 -8
  444. data/docs/ItemsResponse.md +26 -12
  445. data/docs/KeyValue.md +22 -10
  446. data/docs/LibraryFilterValues.md +24 -11
  447. data/docs/LibraryFilterValuesResponse.md +26 -12
  448. data/docs/LibraryItem.md +96 -47
  449. data/docs/LibraryItemAccount.md +22 -10
  450. data/docs/LibraryItemAsset.md +20 -9
  451. data/docs/LibraryItemAttribute.md +20 -9
  452. data/docs/LibraryItemEmail.md +22 -10
  453. data/docs/LibraryItemPublishedMeta.md +32 -15
  454. data/docs/LibraryItemPurchasedMeta.md +22 -10
  455. data/docs/LibraryItemQuery.md +40 -19
  456. data/docs/LibraryItemResponse.md +26 -12
  457. data/docs/LibraryItemScreenshot.md +20 -9
  458. data/docs/LibraryItemsResponse.md +26 -12
  459. data/docs/LinkedAccount.md +22 -10
  460. data/docs/ListSegmentMembership.md +22 -10
  461. data/docs/LookupRequest.md +26 -13
  462. data/docs/LookupResponse.md +26 -12
  463. data/docs/Mailgun.md +18 -8
  464. data/docs/Metric.md +32 -15
  465. data/docs/Notification.md +38 -18
  466. data/docs/OauthApi.md +179 -124
  467. data/docs/OauthRevokeSuccessResponse.md +20 -9
  468. data/docs/OauthTokenResponse.md +32 -15
  469. data/docs/Order.md +84 -46
  470. data/docs/OrderAffiliate.md +22 -10
  471. data/docs/OrderAffiliateLedger.md +34 -16
  472. data/docs/OrderApi.md +1856 -1742
  473. data/docs/OrderAutoOrder.md +56 -27
  474. data/docs/OrderBilling.md +48 -25
  475. data/docs/OrderBuysafe.md +28 -13
  476. data/docs/OrderByTokenQuery.md +18 -8
  477. data/docs/OrderChannelPartner.md +38 -18
  478. data/docs/OrderCheckout.md +44 -24
  479. data/docs/OrderCoupon.md +26 -12
  480. data/docs/OrderDigitalItem.md +32 -15
  481. data/docs/OrderDigitalOrder.md +26 -12
  482. data/docs/OrderEdi.md +24 -11
  483. data/docs/OrderFormat.md +48 -23
  484. data/docs/OrderFormatResponse.md +20 -9
  485. data/docs/OrderFraudScore.md +56 -27
  486. data/docs/OrderGift.md +36 -17
  487. data/docs/OrderGiftCertificate.md +22 -10
  488. data/docs/OrderInternal.md +26 -13
  489. data/docs/OrderItem.md +128 -73
  490. data/docs/OrderItemEdi.md +20 -9
  491. data/docs/OrderItemEdiIdentification.md +20 -9
  492. data/docs/OrderItemEdiLot.md +22 -10
  493. data/docs/OrderItemOption.md +38 -18
  494. data/docs/OrderItemOptionFileAttachment.md +24 -11
  495. data/docs/OrderItemProperty.md +24 -11
  496. data/docs/OrderItemTag.md +18 -8
  497. data/docs/OrderLinkedShipment.md +26 -12
  498. data/docs/OrderMarketing.md +22 -11
  499. data/docs/OrderPackingSlipResponse.md +26 -12
  500. data/docs/OrderPayment.md +52 -27
  501. data/docs/OrderPaymentCheck.md +18 -8
  502. data/docs/OrderPaymentCreditCard.md +38 -19
  503. data/docs/OrderPaymentECheck.md +36 -17
  504. data/docs/OrderPaymentInsurance.md +24 -11
  505. data/docs/OrderPaymentPurchaseOrder.md +18 -8
  506. data/docs/OrderPaymentTransaction.md +24 -12
  507. data/docs/OrderPaymentTransactionDetail.md +22 -10
  508. data/docs/OrderProcessPaymentRequest.md +20 -9
  509. data/docs/OrderProcessPaymentResponse.md +26 -12
  510. data/docs/OrderProperty.md +24 -13
  511. data/docs/OrderQuery.md +94 -50
  512. data/docs/OrderQueryBatch.md +18 -9
  513. data/docs/OrderQuote.md +22 -10
  514. data/docs/OrderReplacement.md +46 -22
  515. data/docs/OrderReplacementItem.md +22 -10
  516. data/docs/OrderReplacementResponse.md +28 -13
  517. data/docs/OrderResponse.md +26 -12
  518. data/docs/OrderSalesforce.md +18 -8
  519. data/docs/OrderShipping.md +76 -38
  520. data/docs/OrderSummary.md +56 -33
  521. data/docs/OrderTag.md +18 -8
  522. data/docs/OrderTaxes.md +50 -24
  523. data/docs/OrderTokenResponse.md +26 -12
  524. data/docs/OrderTrackingNumberDetail.md +40 -19
  525. data/docs/OrderTrackingNumberDetails.md +52 -25
  526. data/docs/OrdersResponse.md +26 -12
  527. data/docs/Permission.md +22 -10
  528. data/docs/PricingTier.md +78 -41
  529. data/docs/PricingTierNotification.md +22 -10
  530. data/docs/PricingTiersResponse.md +26 -12
  531. data/docs/Property.md +20 -9
  532. data/docs/PublishLibraryItemRequest.md +18 -8
  533. data/docs/RegisterAffiliateClickRequest.md +28 -13
  534. data/docs/RegisterAffiliateClickResponse.md +24 -11
  535. data/docs/ResponseMetadata.md +20 -9
  536. data/docs/ResultSet.md +28 -13
  537. data/docs/ScreenRecording.md +116 -57
  538. data/docs/ScreenRecordingAdPlatform.md +30 -14
  539. data/docs/ScreenRecordingFilter.md +136 -67
  540. data/docs/ScreenRecordingFilterGeoDistance.md +26 -12
  541. data/docs/ScreenRecordingFilterIpSearch.md +24 -11
  542. data/docs/ScreenRecordingFilterPageView.md +50 -24
  543. data/docs/ScreenRecordingFilterPageViewEvent.md +20 -9
  544. data/docs/ScreenRecordingFilterPageViewEventParam.md +26 -12
  545. data/docs/ScreenRecordingFilterPageViewParam.md +20 -9
  546. data/docs/ScreenRecordingFilterPageViewReferrerParam.md +20 -9
  547. data/docs/ScreenRecordingFilterRangeBigDecimal.md +26 -12
  548. data/docs/ScreenRecordingFilterRangeDate.md +20 -9
  549. data/docs/ScreenRecordingFilterRangeInteger.md +26 -12
  550. data/docs/ScreenRecordingFilterStringSearch.md +26 -12
  551. data/docs/ScreenRecordingFilterValues.md +58 -28
  552. data/docs/ScreenRecordingFilterValuesEvent.md +20 -9
  553. data/docs/ScreenRecordingFilterValuesEventParams.md +26 -12
  554. data/docs/ScreenRecordingFilterValuesPageParam.md +20 -9
  555. data/docs/ScreenRecordingFilterValuesPageView.md +28 -13
  556. data/docs/ScreenRecordingHeatmap.md +64 -31
  557. data/docs/ScreenRecordingHeatmapIndexRequest.md +18 -8
  558. data/docs/ScreenRecordingHeatmapIndexResponse.md +26 -12
  559. data/docs/ScreenRecordingHeatmapRequest.md +22 -10
  560. data/docs/ScreenRecordingHeatmapReset.md +18 -8
  561. data/docs/ScreenRecordingHeatmapResponse.md +26 -12
  562. data/docs/ScreenRecordingHeatmapUrl.md +28 -13
  563. data/docs/ScreenRecordingMerchantNotesRequest.md +18 -8
  564. data/docs/ScreenRecordingMultifield.md +26 -12
  565. data/docs/ScreenRecordingPageView.md +54 -26
  566. data/docs/ScreenRecordingPageViewDataResponse.md +26 -12
  567. data/docs/ScreenRecordingPageViewEvent.md +28 -13
  568. data/docs/ScreenRecordingPageViewEventParameter.md +20 -9
  569. data/docs/ScreenRecordingPageViewParameter.md +20 -9
  570. data/docs/ScreenRecordingQueryRequest.md +18 -8
  571. data/docs/ScreenRecordingQueryResponse.md +38 -18
  572. data/docs/ScreenRecordingResponse.md +28 -13
  573. data/docs/ScreenRecordingSegment.md +36 -17
  574. data/docs/ScreenRecordingSegmentResponse.md +26 -12
  575. data/docs/ScreenRecordingSegmentsResponse.md +26 -12
  576. data/docs/ScreenRecordingSettings.md +32 -15
  577. data/docs/ScreenRecordingSettingsResponse.md +26 -12
  578. data/docs/ScreenRecordingStoreFront.md +20 -9
  579. data/docs/ScreenRecordingTagsRequest.md +18 -8
  580. data/docs/ScreenRecordingTagsResponse.md +26 -12
  581. data/docs/ScreenRecordingUserAgent.md +26 -12
  582. data/docs/ScreenRecordingUserAgentDevice.md +18 -8
  583. data/docs/ScreenRecordingUserAgentOS.md +22 -10
  584. data/docs/ScreenRecordingUserProperty.md +20 -9
  585. data/docs/ScreenshotsResponse.md +26 -12
  586. data/docs/SelfConfig.md +18 -10
  587. data/docs/SimpleValue.md +20 -9
  588. data/docs/SingleSignOnAuthorizeRequest.md +20 -9
  589. data/docs/SingleSignOnAuthorizeResponse.md +20 -9
  590. data/docs/SingleSignOnTokenRequest.md +20 -9
  591. data/docs/SingleSignOnTokenResponse.md +22 -10
  592. data/docs/SovosConfig.md +30 -14
  593. data/docs/SsoApi.md +300 -201
  594. data/docs/StateProvince.md +20 -9
  595. data/docs/StepWaiting.md +20 -9
  596. data/docs/StorefrontApi.md +13005 -9426
  597. data/docs/TaxApi.md +2101 -1421
  598. data/docs/TaxCity.md +34 -16
  599. data/docs/TaxCountry.md +34 -16
  600. data/docs/TaxCountryCode.md +26 -12
  601. data/docs/TaxCounty.md +36 -17
  602. data/docs/TaxJarConfig.md +30 -14
  603. data/docs/TaxPostalCode.md +30 -14
  604. data/docs/TaxProviderActivateResult.md +20 -9
  605. data/docs/TaxProviderAvalara.md +24 -11
  606. data/docs/TaxProviderAvalaraCompaniesResult.md +18 -8
  607. data/docs/TaxProviderAvalaraCompany.md +26 -12
  608. data/docs/TaxProviderSelf.md +26 -12
  609. data/docs/TaxProviderSelfCountriesResponse.md +18 -8
  610. data/docs/TaxProviderSelfRegionsResponse.md +18 -8
  611. data/docs/TaxProviderSovos.md +24 -11
  612. data/docs/TaxProviderTaxJar.md +24 -11
  613. data/docs/TaxProviderTestResult.md +20 -9
  614. data/docs/TaxProviderUltraCart.md +26 -12
  615. data/docs/TaxProviderUltraCartState.md +36 -17
  616. data/docs/TaxProvidersResponse.md +34 -16
  617. data/docs/TaxState.md +52 -25
  618. data/docs/TaxStateCode.md +26 -12
  619. data/docs/TempMultimedia.md +30 -14
  620. data/docs/TempMultimediaResponse.md +26 -12
  621. data/docs/ThumbnailParametersRequest.md +26 -12
  622. data/docs/ThumbnailParametersResponse.md +26 -12
  623. data/docs/TransactionEmail.md +56 -27
  624. data/docs/TransactionEmailListResponse.md +26 -12
  625. data/docs/TransactionEmailOption.md +32 -15
  626. data/docs/TransactionEmailResponse.md +26 -12
  627. data/docs/Twilio.md +24 -16
  628. data/docs/TwilioResponse.md +28 -13
  629. data/docs/TwiliosResponse.md +26 -12
  630. data/docs/UltraCartConfig.md +18 -10
  631. data/docs/UploadCouponCodesRequest.md +26 -12
  632. data/docs/UploadCouponCodesResponse.md +30 -14
  633. data/docs/User.md +44 -21
  634. data/docs/UserApi.md +823 -558
  635. data/docs/UserGroupMembership.md +22 -10
  636. data/docs/UserLogin.md +24 -11
  637. data/docs/UserLoginsResponse.md +26 -12
  638. data/docs/UserResponse.md +26 -12
  639. data/docs/UsersResponse.md +26 -12
  640. data/docs/VerificationRecord.md +22 -10
  641. data/docs/Warning.md +20 -9
  642. data/docs/Webhook.md +52 -26
  643. data/docs/WebhookApi.md +636 -447
  644. data/docs/WebhookEventCategory.md +26 -12
  645. data/docs/WebhookEventSubscription.md +34 -17
  646. data/docs/WebhookLog.md +38 -19
  647. data/docs/WebhookLogResponse.md +26 -12
  648. data/docs/WebhookLogSummariesResponse.md +26 -12
  649. data/docs/WebhookLogSummary.md +22 -10
  650. data/docs/WebhookResponse.md +26 -12
  651. data/docs/WebhookSampleRequest.md +24 -0
  652. data/docs/WebhookSampleRequestResponse.md +26 -0
  653. data/docs/WebhooksResponse.md +26 -12
  654. data/docs/Weight.md +20 -9
  655. data/git_push.sh +57 -55
  656. data/lib/ultracart_api/api/affiliate_api.rb +191 -164
  657. data/lib/ultracart_api/api/auto_order_api.rb +672 -770
  658. data/lib/ultracart_api/api/channel_partner_api.rb +370 -920
  659. data/lib/ultracart_api/api/chargeback_api.rb +410 -0
  660. data/lib/ultracart_api/api/checkout_api.rb +1341 -1111
  661. data/lib/ultracart_api/api/coupon_api.rb +1390 -1161
  662. data/lib/ultracart_api/api/customer_api.rb +1292 -1595
  663. data/lib/ultracart_api/api/fulfillment_api.rb +452 -381
  664. data/lib/ultracart_api/api/gift_certificate_api.rb +594 -502
  665. data/lib/ultracart_api/api/integration_log_api.rb +404 -350
  666. data/lib/ultracart_api/api/item_api.rb +686 -1412
  667. data/lib/ultracart_api/api/oauth_api.rb +198 -171
  668. data/lib/ultracart_api/api/order_api.rb +1728 -1942
  669. data/lib/ultracart_api/api/sso_api.rb +289 -243
  670. data/lib/ultracart_api/api/storefront_api.rb +11407 -10636
  671. data/lib/ultracart_api/api/tax_api.rb +1916 -1580
  672. data/lib/ultracart_api/api/user_api.rb +755 -634
  673. data/lib/ultracart_api/api/webhook_api.rb +601 -514
  674. data/lib/ultracart_api/api_client.rb +399 -400
  675. data/lib/ultracart_api/api_error.rb +57 -38
  676. data/lib/ultracart_api/configuration.rb +302 -229
  677. data/lib/ultracart_api/models/accounts_receivable_retry_config.rb +364 -341
  678. data/lib/ultracart_api/models/accounts_receivable_retry_config_response.rb +287 -252
  679. data/lib/ultracart_api/models/accounts_receivable_retry_day_activity.rb +240 -205
  680. data/lib/ultracart_api/models/accounts_receivable_retry_stat_account.rb +250 -215
  681. data/lib/ultracart_api/models/accounts_receivable_retry_stat_metrics.rb +309 -274
  682. data/lib/ultracart_api/models/accounts_receivable_retry_stat_revenue.rb +228 -193
  683. data/lib/ultracart_api/models/accounts_receivable_retry_stats_response.rb +267 -232
  684. data/lib/ultracart_api/models/activity.rb +264 -247
  685. data/lib/ultracart_api/models/add_library_item_request.rb +324 -289
  686. data/lib/ultracart_api/models/adjust_internal_certificate_request.rb +270 -235
  687. data/lib/ultracart_api/models/adjust_internal_certificate_response.rb +267 -232
  688. data/lib/ultracart_api/models/affiliate_click.rb +319 -304
  689. data/lib/ultracart_api/models/affiliate_click_query.rb +270 -235
  690. data/lib/ultracart_api/models/affiliate_clicks_response.rb +259 -224
  691. data/lib/ultracart_api/models/affiliate_ledger.rb +431 -396
  692. data/lib/ultracart_api/models/affiliate_ledger_query.rb +270 -235
  693. data/lib/ultracart_api/models/affiliate_ledgers_response.rb +259 -224
  694. data/lib/ultracart_api/models/affiliate_link.rb +408 -373
  695. data/lib/ultracart_api/models/api_user_application_profile.rb +260 -225
  696. data/lib/ultracart_api/models/apply_library_item_request.rb +250 -215
  697. data/lib/ultracart_api/models/apply_library_item_response.rb +319 -284
  698. data/lib/ultracart_api/models/auto_order.rb +469 -485
  699. data/lib/ultracart_api/models/auto_order_item.rb +487 -492
  700. data/lib/ultracart_api/models/auto_order_item_future_schedule.rb +250 -215
  701. data/lib/ultracart_api/models/auto_order_item_option.rb +260 -225
  702. data/lib/ultracart_api/models/auto_order_item_simple_schedule.rb +274 -239
  703. data/lib/ultracart_api/models/auto_order_log.rb +230 -195
  704. data/lib/ultracart_api/models/auto_order_query.rb +480 -445
  705. data/lib/ultracart_api/models/auto_order_query_batch.rb +222 -187
  706. data/lib/ultracart_api/models/auto_order_response.rb +256 -221
  707. data/lib/ultracart_api/models/auto_orders_request.rb +222 -187
  708. data/lib/ultracart_api/models/auto_orders_response.rb +258 -223
  709. data/lib/ultracart_api/models/avalara_config.rb +340 -305
  710. data/lib/ultracart_api/models/base_response.rb +247 -212
  711. data/lib/ultracart_api/models/browser.rb +237 -202
  712. data/lib/ultracart_api/models/browser_device.rb +219 -184
  713. data/lib/ultracart_api/models/browser_os.rb +255 -220
  714. data/lib/ultracart_api/models/browser_user_agent.rb +246 -211
  715. data/lib/ultracart_api/models/cart.rb +506 -471
  716. data/lib/ultracart_api/models/cart_affiliate.rb +245 -210
  717. data/lib/ultracart_api/models/cart_affirm_checkout_response.rb +232 -197
  718. data/lib/ultracart_api/models/cart_billing.rb +572 -587
  719. data/lib/ultracart_api/models/cart_buysafe.rb +269 -234
  720. data/lib/ultracart_api/models/cart_checkout.rb +500 -550
  721. data/lib/ultracart_api/models/cart_coupon.rb +220 -185
  722. data/lib/ultracart_api/models/cart_currency_conversion.rb +232 -197
  723. data/lib/ultracart_api/models/cart_customer_profile.rb +438 -413
  724. data/lib/ultracart_api/models/cart_customer_profile_address.rb +350 -315
  725. data/lib/ultracart_api/models/cart_customer_profile_credit_card.rb +304 -269
  726. data/lib/ultracart_api/models/cart_finalize_order_request.rb +228 -193
  727. data/lib/ultracart_api/models/cart_finalize_order_request_options.rb +355 -320
  728. data/lib/ultracart_api/models/cart_finalize_order_response.rb +260 -225
  729. data/lib/ultracart_api/models/cart_gift.rb +313 -278
  730. data/lib/ultracart_api/models/cart_gift_certificate.rb +238 -203
  731. data/lib/ultracart_api/models/cart_item.rb +504 -481
  732. data/lib/ultracart_api/models/cart_item_attribute.rb +240 -205
  733. data/lib/ultracart_api/models/cart_item_multimedia.rb +336 -301
  734. data/lib/ultracart_api/models/cart_item_multimedia_thumbnail.rb +260 -225
  735. data/lib/ultracart_api/models/cart_item_option.rb +378 -343
  736. data/lib/ultracart_api/models/cart_item_option_value.rb +258 -223
  737. data/lib/ultracart_api/models/cart_item_physical.rb +246 -211
  738. data/lib/ultracart_api/models/cart_item_variation_selection.rb +230 -195
  739. data/lib/ultracart_api/models/cart_kit_component_option.rb +398 -363
  740. data/lib/ultracart_api/models/cart_marketing.rb +230 -205
  741. data/lib/ultracart_api/models/cart_payment.rb +275 -249
  742. data/lib/ultracart_api/models/cart_payment_affirm.rb +220 -185
  743. data/lib/ultracart_api/models/cart_payment_amazon.rb +220 -185
  744. data/lib/ultracart_api/models/cart_payment_check.rb +220 -185
  745. data/lib/ultracart_api/models/cart_payment_credit_card.rb +300 -265
  746. data/lib/ultracart_api/models/cart_payment_purchase_order.rb +220 -185
  747. data/lib/ultracart_api/models/cart_profile_login_request.rb +239 -204
  748. data/lib/ultracart_api/models/cart_profile_login_response.rb +231 -196
  749. data/lib/ultracart_api/models/cart_profile_register_request.rb +229 -194
  750. data/lib/ultracart_api/models/cart_profile_register_response.rb +231 -196
  751. data/lib/ultracart_api/models/cart_property.rb +280 -245
  752. data/lib/ultracart_api/models/cart_response.rb +231 -196
  753. data/lib/ultracart_api/models/cart_settings.rb +264 -229
  754. data/lib/ultracart_api/models/cart_settings_billing.rb +222 -187
  755. data/lib/ultracart_api/models/cart_settings_gift.rb +251 -216
  756. data/lib/ultracart_api/models/cart_settings_gift_wrap.rb +239 -204
  757. data/lib/ultracart_api/models/cart_settings_payment.rb +337 -302
  758. data/lib/ultracart_api/models/cart_settings_payment_amazon.rb +240 -205
  759. data/lib/ultracart_api/models/cart_settings_payment_credit_card.rb +242 -217
  760. data/lib/ultracart_api/models/cart_settings_payment_pay_pal.rb +260 -225
  761. data/lib/ultracart_api/models/cart_settings_province.rb +228 -193
  762. data/lib/ultracart_api/models/cart_settings_shipping.rb +262 -227
  763. data/lib/ultracart_api/models/cart_settings_shipping_calendar.rb +264 -229
  764. data/lib/ultracart_api/models/cart_settings_shipping_estimate.rb +345 -310
  765. data/lib/ultracart_api/models/cart_settings_taxes.rb +221 -186
  766. data/lib/ultracart_api/models/cart_settings_terms.rb +230 -195
  767. data/lib/ultracart_api/models/cart_shipping.rb +625 -590
  768. data/lib/ultracart_api/models/cart_summary.rb +354 -356
  769. data/lib/ultracart_api/models/cart_taxes.rb +255 -220
  770. data/lib/ultracart_api/models/cart_upsell_after.rb +255 -240
  771. data/lib/ultracart_api/models/cart_validation_request.rb +231 -196
  772. data/lib/ultracart_api/models/cart_validation_response.rb +231 -196
  773. data/lib/ultracart_api/models/channel_partner_cancel_response.rb +259 -224
  774. data/lib/ultracart_api/models/channel_partner_estimate_shipping_response.rb +259 -224
  775. data/lib/ultracart_api/models/channel_partner_estimate_tax_response.rb +256 -221
  776. data/lib/ultracart_api/models/channel_partner_import_response.rb +281 -246
  777. data/lib/ultracart_api/models/channel_partner_order.rb +1604 -1723
  778. data/lib/ultracart_api/models/channel_partner_order_item.rb +331 -308
  779. data/lib/ultracart_api/models/channel_partner_order_item_option.rb +230 -195
  780. data/lib/ultracart_api/models/channel_partner_order_transaction.rb +232 -197
  781. data/lib/ultracart_api/models/channel_partner_order_transaction_detail.rb +230 -195
  782. data/lib/ultracart_api/models/channel_partner_shipping_estimate.rb +230 -195
  783. data/lib/ultracart_api/models/chargeback_dispute.rb +649 -0
  784. data/lib/ultracart_api/models/{conversation_pbx_audio_usage_response.rb → chargeback_dispute_response.rb} +256 -245
  785. data/lib/ultracart_api/models/{conversation_pbx_customer_snapshot_response.rb → chargeback_disputes_response.rb} +258 -245
  786. data/lib/ultracart_api/models/checkout_allowed_countries_response.rb +221 -186
  787. data/lib/ultracart_api/models/checkout_handoff_request.rb +323 -288
  788. data/lib/ultracart_api/models/checkout_handoff_response.rb +241 -206
  789. data/lib/ultracart_api/models/checkout_setup_browser_key_request.rb +222 -187
  790. data/lib/ultracart_api/models/checkout_setup_browser_key_response.rb +220 -185
  791. data/lib/ultracart_api/models/checkout_state_province_response.rb +221 -186
  792. data/lib/ultracart_api/models/city_state_zip.rb +255 -220
  793. data/lib/ultracart_api/models/countries_response.rb +221 -186
  794. data/lib/ultracart_api/models/country.rb +260 -225
  795. data/lib/ultracart_api/models/coupon.rb +864 -917
  796. data/lib/ultracart_api/models/coupon_amount_off_items.rb +267 -244
  797. data/lib/ultracart_api/models/coupon_amount_off_shipping.rb +257 -222
  798. data/lib/ultracart_api/models/coupon_amount_off_shipping_with_items_purchase.rb +269 -234
  799. data/lib/ultracart_api/models/coupon_amount_off_subtotal.rb +245 -210
  800. data/lib/ultracart_api/models/coupon_amount_off_subtotal_and_shipping.rb +245 -210
  801. data/lib/ultracart_api/models/coupon_amount_off_subtotal_free_shipping_with_purchase.rb +267 -232
  802. data/lib/ultracart_api/models/coupon_amount_off_subtotal_with_block_purchase.rb +265 -230
  803. data/lib/ultracart_api/models/coupon_amount_off_subtotal_with_items_purchase.rb +267 -232
  804. data/lib/ultracart_api/models/coupon_amount_off_subtotal_with_purchase.rb +255 -220
  805. data/lib/ultracart_api/models/coupon_amount_shipping_with_subtotal.rb +267 -232
  806. data/lib/ultracart_api/models/coupon_auto_apply_condition.rb +239 -204
  807. data/lib/ultracart_api/models/coupon_auto_apply_conditions.rb +269 -234
  808. data/lib/ultracart_api/models/coupon_automatically_apply_coupon_codes.rb +222 -187
  809. data/lib/ultracart_api/models/coupon_buy_one_get_one_limit.rb +232 -209
  810. data/lib/ultracart_api/models/coupon_codes_request.rb +277 -242
  811. data/lib/ultracart_api/models/coupon_codes_response.rb +269 -234
  812. data/lib/ultracart_api/models/coupon_deletes_request.rb +234 -199
  813. data/lib/ultracart_api/models/coupon_discount_item_with_item_purchase.rb +275 -264
  814. data/lib/ultracart_api/models/coupon_discount_items.rb +267 -232
  815. data/lib/ultracart_api/models/coupon_editor_values.rb +330 -307
  816. data/lib/ultracart_api/models/coupon_exists_response.rb +267 -232
  817. data/lib/ultracart_api/models/coupon_free_item_and_shipping_with_subtotal.rb +279 -244
  818. data/lib/ultracart_api/models/coupon_free_item_with_item_purchase.rb +254 -243
  819. data/lib/ultracart_api/models/coupon_free_item_with_subtotal.rb +267 -232
  820. data/lib/ultracart_api/models/coupon_free_items_with_item_purchase.rb +260 -225
  821. data/lib/ultracart_api/models/coupon_free_items_with_mix_match_purchase.rb +260 -225
  822. data/lib/ultracart_api/models/coupon_free_shipping.rb +222 -187
  823. data/lib/ultracart_api/models/coupon_free_shipping_specific_items.rb +222 -187
  824. data/lib/ultracart_api/models/coupon_free_shipping_with_items_purchase.rb +234 -199
  825. data/lib/ultracart_api/models/coupon_free_shipping_with_subtotal.rb +257 -222
  826. data/lib/ultracart_api/models/coupon_item_search_result.rb +290 -255
  827. data/lib/ultracart_api/models/coupon_item_search_results_response.rb +259 -224
  828. data/lib/ultracart_api/models/coupon_multiple_amounts_off_items.rb +232 -197
  829. data/lib/ultracart_api/models/coupon_percent_off_item_with_items_quantity_purchase.rb +264 -253
  830. data/lib/ultracart_api/models/coupon_percent_off_items.rb +254 -243
  831. data/lib/ultracart_api/models/coupon_percent_off_items_and_free_shipping.rb +244 -245
  832. data/lib/ultracart_api/models/coupon_percent_off_items_with_items_purchase.rb +254 -243
  833. data/lib/ultracart_api/models/coupon_percent_off_msrp_items.rb +254 -239
  834. data/lib/ultracart_api/models/coupon_percent_off_retail_price_items.rb +254 -219
  835. data/lib/ultracart_api/models/coupon_percent_off_shipping.rb +232 -197
  836. data/lib/ultracart_api/models/coupon_percent_off_subtotal.rb +220 -185
  837. data/lib/ultracart_api/models/coupon_percent_off_subtotal_and_free_shipping.rb +232 -197
  838. data/lib/ultracart_api/models/coupon_percent_off_subtotal_limit.rb +255 -220
  839. data/lib/ultracart_api/models/coupon_percent_off_subtotal_with_items_purchase.rb +232 -197
  840. data/lib/ultracart_api/models/coupon_percent_off_subtotal_with_subtotal.rb +255 -220
  841. data/lib/ultracart_api/models/coupon_query.rb +310 -275
  842. data/lib/ultracart_api/models/coupon_response.rb +268 -233
  843. data/lib/ultracart_api/models/coupon_restriction.rb +246 -211
  844. data/lib/ultracart_api/models/coupon_tier_amount.rb +255 -220
  845. data/lib/ultracart_api/models/coupon_tier_item_discount.rb +232 -197
  846. data/lib/ultracart_api/models/coupon_tier_percent.rb +255 -220
  847. data/lib/ultracart_api/models/coupon_tier_quantity_amount.rb +255 -220
  848. data/lib/ultracart_api/models/coupon_tier_quantity_percent.rb +255 -220
  849. data/lib/ultracart_api/models/coupon_tiered_amount_off_items.rb +244 -221
  850. data/lib/ultracart_api/models/coupon_tiered_amount_off_subtotal.rb +234 -199
  851. data/lib/ultracart_api/models/coupon_tiered_percent_off_items.rb +244 -221
  852. data/lib/ultracart_api/models/coupon_tiered_percent_off_shipping.rb +259 -224
  853. data/lib/ultracart_api/models/coupon_tiered_percent_off_subtotal.rb +234 -199
  854. data/lib/ultracart_api/models/coupon_type.rb +230 -195
  855. data/lib/ultracart_api/models/coupons_request.rb +222 -187
  856. data/lib/ultracart_api/models/coupons_response.rb +258 -223
  857. data/lib/ultracart_api/models/currency.rb +260 -225
  858. data/lib/ultracart_api/models/customer.rb +978 -1019
  859. data/lib/ultracart_api/models/customer_activity.rb +254 -255
  860. data/lib/ultracart_api/models/customer_affiliate.rb +250 -215
  861. data/lib/ultracart_api/models/customer_attachment.rb +260 -225
  862. data/lib/ultracart_api/models/customer_billing.rb +575 -540
  863. data/lib/ultracart_api/models/customer_card.rb +290 -255
  864. data/lib/ultracart_api/models/customer_editor_values.rb +328 -317
  865. data/lib/ultracart_api/models/customer_email.rb +300 -265
  866. data/lib/ultracart_api/models/customer_email_list_changes.rb +234 -199
  867. data/lib/ultracart_api/models/customer_loyalty.rb +283 -278
  868. data/lib/ultracart_api/models/customer_loyalty_ledger.rb +360 -325
  869. data/lib/ultracart_api/models/customer_loyalty_redemption.rb +340 -305
  870. data/lib/ultracart_api/models/customer_orders_summary.rb +250 -215
  871. data/lib/ultracart_api/models/customer_pricing_tier.rb +245 -210
  872. data/lib/ultracart_api/models/customer_privacy.rb +250 -215
  873. data/lib/ultracart_api/models/customer_query.rb +789 -810
  874. data/lib/ultracart_api/models/customer_quotes_summary.rb +250 -215
  875. data/lib/ultracart_api/models/customer_response.rb +256 -221
  876. data/lib/ultracart_api/models/customer_reviewer.rb +310 -275
  877. data/lib/ultracart_api/models/customer_shipping.rb +575 -540
  878. data/lib/ultracart_api/models/customer_software_entitlement.rb +365 -330
  879. data/lib/ultracart_api/models/customer_store_credit.rb +274 -239
  880. data/lib/ultracart_api/models/customer_store_credit_add_request.rb +250 -215
  881. data/lib/ultracart_api/models/customer_store_credit_ledger_entry.rb +295 -260
  882. data/lib/ultracart_api/models/customer_store_credit_response.rb +256 -221
  883. data/lib/ultracart_api/models/customer_tag.rb +235 -200
  884. data/lib/ultracart_api/models/customer_tax_codes.rb +260 -225
  885. data/lib/ultracart_api/models/customers_response.rb +258 -223
  886. data/lib/ultracart_api/models/data_tables_server_side_response.rb +248 -213
  887. data/lib/ultracart_api/models/distance.rb +264 -229
  888. data/lib/ultracart_api/models/distribution_center.rb +559 -674
  889. data/lib/ultracart_api/models/distribution_centers_response.rb +258 -223
  890. data/lib/ultracart_api/models/email_base_template_list_response.rb +221 -186
  891. data/lib/ultracart_api/models/email_campaign.rb +467 -472
  892. data/lib/ultracart_api/models/email_campaign_folder.rb +275 -240
  893. data/lib/ultracart_api/models/email_campaign_folder_response.rb +256 -221
  894. data/lib/ultracart_api/models/email_campaign_folders_response.rb +258 -223
  895. data/lib/ultracart_api/models/email_campaign_response.rb +256 -221
  896. data/lib/ultracart_api/models/email_campaigns_response.rb +258 -223
  897. data/lib/ultracart_api/models/email_click.rb +230 -195
  898. data/lib/ultracart_api/models/email_clicks_response.rb +258 -223
  899. data/lib/ultracart_api/models/email_commseq.rb +252 -217
  900. data/lib/ultracart_api/models/email_commseq_email.rb +470 -534
  901. data/lib/ultracart_api/models/email_commseq_email_response.rb +256 -221
  902. data/lib/ultracart_api/models/email_commseq_email_send_test_request.rb +304 -269
  903. data/lib/ultracart_api/models/email_commseq_email_send_test_response.rb +247 -212
  904. data/lib/ultracart_api/models/email_commseq_emails_request.rb +258 -223
  905. data/lib/ultracart_api/models/email_commseq_emails_response.rb +258 -223
  906. data/lib/ultracart_api/models/email_commseq_postcard.rb +340 -305
  907. data/lib/ultracart_api/models/email_commseq_postcard_response.rb +256 -221
  908. data/lib/ultracart_api/models/email_commseq_postcard_send_test_request.rb +329 -294
  909. data/lib/ultracart_api/models/email_commseq_postcard_send_test_response.rb +274 -239
  910. data/lib/ultracart_api/models/email_commseq_postcards_request.rb +221 -186
  911. data/lib/ultracart_api/models/email_commseq_postcards_response.rb +258 -223
  912. data/lib/ultracart_api/models/email_commseq_response.rb +256 -221
  913. data/lib/ultracart_api/models/email_commseq_stat.rb +580 -545
  914. data/lib/ultracart_api/models/email_commseq_stat_response.rb +256 -221
  915. data/lib/ultracart_api/models/email_commseq_step.rb +348 -313
  916. data/lib/ultracart_api/models/email_commseq_step_log.rb +240 -205
  917. data/lib/ultracart_api/models/email_commseq_step_logs_response.rb +258 -223
  918. data/lib/ultracart_api/models/email_commseq_webhook_send_test_request.rb +275 -240
  919. data/lib/ultracart_api/models/email_commseq_webhook_send_test_response.rb +277 -242
  920. data/lib/ultracart_api/models/email_commseqs_response.rb +258 -223
  921. data/lib/ultracart_api/models/email_customer.rb +292 -257
  922. data/lib/ultracart_api/models/email_customer_editor_url_response.rb +256 -221
  923. data/lib/ultracart_api/models/email_customers_response.rb +262 -227
  924. data/lib/ultracart_api/models/email_dashboard_activity.rb +280 -245
  925. data/lib/ultracart_api/models/email_dashboard_activity_response.rb +258 -223
  926. data/lib/ultracart_api/models/email_dashboard_stats_response.rb +258 -223
  927. data/lib/ultracart_api/models/email_domain.rb +329 -294
  928. data/lib/ultracart_api/models/email_editor_token_response.rb +256 -221
  929. data/lib/ultracart_api/models/email_flow.rb +505 -500
  930. data/lib/ultracart_api/models/email_flow_back_populate_request.rb +230 -195
  931. data/lib/ultracart_api/models/email_flow_back_populate_response.rb +247 -212
  932. data/lib/ultracart_api/models/email_flow_folder.rb +275 -240
  933. data/lib/ultracart_api/models/email_flow_folder_response.rb +256 -221
  934. data/lib/ultracart_api/models/email_flow_folders_response.rb +258 -223
  935. data/lib/ultracart_api/models/email_flow_response.rb +256 -221
  936. data/lib/ultracart_api/models/email_flows_response.rb +258 -223
  937. data/lib/ultracart_api/models/email_global_settings.rb +219 -184
  938. data/lib/ultracart_api/models/email_global_settings_response.rb +256 -221
  939. data/lib/ultracart_api/models/email_global_unsubscribe_request.rb +219 -184
  940. data/lib/ultracart_api/models/email_global_unsubscribe_response.rb +219 -184
  941. data/lib/ultracart_api/models/email_histogram_property_names_response.rb +221 -186
  942. data/lib/ultracart_api/models/email_histogram_property_values_response.rb +221 -186
  943. data/lib/ultracart_api/models/email_list.rb +347 -312
  944. data/lib/ultracart_api/models/email_list_archive_response.rb +256 -221
  945. data/lib/ultracart_api/models/email_list_customer.rb +250 -215
  946. data/lib/ultracart_api/models/email_list_customers_response.rb +262 -227
  947. data/lib/ultracart_api/models/email_list_response.rb +256 -221
  948. data/lib/ultracart_api/models/email_list_segment_folder.rb +275 -240
  949. data/lib/ultracart_api/models/email_list_segment_folder_response.rb +256 -221
  950. data/lib/ultracart_api/models/email_list_segment_folders_response.rb +258 -223
  951. data/lib/ultracart_api/models/email_list_segment_membership.rb +250 -215
  952. data/lib/ultracart_api/models/email_list_segment_used_by.rb +240 -205
  953. data/lib/ultracart_api/models/email_list_subscribe_response.rb +228 -193
  954. data/lib/ultracart_api/models/email_lists_response.rb +258 -223
  955. data/lib/ultracart_api/models/email_order.rb +249 -214
  956. data/lib/ultracart_api/models/email_orders_response.rb +258 -223
  957. data/lib/ultracart_api/models/email_performance.rb +475 -440
  958. data/lib/ultracart_api/models/email_performance_customer_histogram.rb +222 -187
  959. data/lib/ultracart_api/models/email_performance_customer_histogram_period.rb +260 -225
  960. data/lib/ultracart_api/models/email_performance_daily.rb +280 -245
  961. data/lib/ultracart_api/models/email_performance_response.rb +256 -221
  962. data/lib/ultracart_api/models/email_plan.rb +365 -330
  963. data/lib/ultracart_api/models/email_plan_additional.rb +291 -256
  964. data/lib/ultracart_api/models/email_plan_response.rb +256 -221
  965. data/lib/ultracart_api/models/email_postcard_stat.rb +531 -496
  966. data/lib/ultracart_api/models/email_segment.rb +445 -420
  967. data/lib/ultracart_api/models/email_segment_archive_response.rb +256 -221
  968. data/lib/ultracart_api/models/email_segment_customer.rb +250 -215
  969. data/lib/ultracart_api/models/email_segment_customers_response.rb +262 -227
  970. data/lib/ultracart_api/models/email_segment_download_prepare_response.rb +283 -248
  971. data/lib/ultracart_api/models/email_segment_response.rb +256 -221
  972. data/lib/ultracart_api/models/email_segments_response.rb +258 -223
  973. data/lib/ultracart_api/models/email_sending_domain_response.rb +256 -221
  974. data/lib/ultracart_api/models/email_sending_domains_response.rb +258 -223
  975. data/lib/ultracart_api/models/email_settings.rb +318 -351
  976. data/lib/ultracart_api/models/email_settings_response.rb +256 -221
  977. data/lib/ultracart_api/models/email_stat.rb +591 -556
  978. data/lib/ultracart_api/models/email_stat_postcard_summary_request.rb +230 -195
  979. data/lib/ultracart_api/models/email_stat_postcard_summary_response.rb +258 -223
  980. data/lib/ultracart_api/models/email_stat_summary_request.rb +241 -206
  981. data/lib/ultracart_api/models/email_stat_summary_response.rb +258 -223
  982. data/lib/ultracart_api/models/email_step_stat.rb +410 -475
  983. data/lib/ultracart_api/models/email_step_stat_request.rb +230 -195
  984. data/lib/ultracart_api/models/email_step_stat_response.rb +258 -223
  985. data/lib/ultracart_api/models/email_step_waiting_request.rb +221 -186
  986. data/lib/ultracart_api/models/email_step_waiting_response.rb +221 -186
  987. data/lib/ultracart_api/models/email_template.rb +365 -330
  988. data/lib/ultracart_api/models/email_templates_response.rb +258 -223
  989. data/lib/ultracart_api/models/email_third_party_list.rb +230 -195
  990. data/lib/ultracart_api/models/email_third_party_list_import_request.rb +222 -187
  991. data/lib/ultracart_api/models/email_third_party_provider.rb +324 -289
  992. data/lib/ultracart_api/models/email_third_party_providers_response.rb +258 -223
  993. data/lib/ultracart_api/models/email_third_party_tag.rb +230 -195
  994. data/lib/ultracart_api/models/email_verify_token_request.rb +230 -195
  995. data/lib/ultracart_api/models/email_verify_token_response.rb +257 -222
  996. data/lib/ultracart_api/models/email_verify_token_validate_request.rb +220 -185
  997. data/lib/ultracart_api/models/email_verify_token_validate_response.rb +247 -212
  998. data/lib/ultracart_api/models/email_webhook_editor_values_response.rb +278 -243
  999. data/lib/ultracart_api/models/error.rb +260 -225
  1000. data/lib/ultracart_api/models/error_response.rb +247 -212
  1001. data/lib/ultracart_api/models/experiment.rb +426 -463
  1002. data/lib/ultracart_api/models/experiment_response.rb +256 -221
  1003. data/lib/ultracart_api/models/experiment_variation.rb +432 -407
  1004. data/lib/ultracart_api/models/experiment_variation_stat.rb +320 -307
  1005. data/lib/ultracart_api/models/experiments_response.rb +258 -223
  1006. data/lib/ultracart_api/models/fulfillment_inventory.rb +228 -193
  1007. data/lib/ultracart_api/models/fulfillment_shipment.rb +262 -227
  1008. data/lib/ultracart_api/models/geo_point.rb +228 -193
  1009. data/lib/ultracart_api/models/geocode_request.rb +260 -225
  1010. data/lib/ultracart_api/models/geocode_response.rb +265 -230
  1011. data/lib/ultracart_api/models/gift_certificate.rb +367 -332
  1012. data/lib/ultracart_api/models/gift_certificate_create_request.rb +260 -225
  1013. data/lib/ultracart_api/models/gift_certificate_ledger_entry.rb +285 -250
  1014. data/lib/ultracart_api/models/gift_certificate_query.rb +300 -265
  1015. data/lib/ultracart_api/models/gift_certificate_response.rb +256 -221
  1016. data/lib/ultracart_api/models/gift_certificates_response.rb +258 -223
  1017. data/lib/ultracart_api/models/group.rb +266 -231
  1018. data/lib/ultracart_api/models/group_response.rb +256 -221
  1019. data/lib/ultracart_api/models/group_user_membership.rb +260 -225
  1020. data/lib/ultracart_api/models/groups_response.rb +258 -223
  1021. data/lib/ultracart_api/models/http_header.rb +230 -195
  1022. data/lib/ultracart_api/models/integration_log.rb +379 -355
  1023. data/lib/ultracart_api/models/integration_log_file.rb +246 -211
  1024. data/lib/ultracart_api/models/integration_log_log.rb +228 -193
  1025. data/lib/ultracart_api/models/integration_log_query_filter_values.rb +340 -305
  1026. data/lib/ultracart_api/models/integration_log_query_request.rb +333 -329
  1027. data/lib/ultracart_api/models/integration_log_query_response.rb +267 -232
  1028. data/lib/ultracart_api/models/integration_log_response.rb +256 -221
  1029. data/lib/ultracart_api/models/integration_log_summary.rb +291 -256
  1030. data/lib/ultracart_api/models/integration_log_summary_query_request.rb +230 -195
  1031. data/lib/ultracart_api/models/integration_log_summary_query_response.rb +258 -223
  1032. data/lib/ultracart_api/models/item.rb +748 -713
  1033. data/lib/ultracart_api/models/item_accounting.rb +260 -225
  1034. data/lib/ultracart_api/models/item_amember.rb +245 -210
  1035. data/lib/ultracart_api/models/item_auto_order.rb +403 -418
  1036. data/lib/ultracart_api/models/item_auto_order_step.rb +413 -398
  1037. data/lib/ultracart_api/models/item_auto_order_step_arbitrary_unit_cost_schedule.rb +230 -195
  1038. data/lib/ultracart_api/models/item_auto_order_step_grandfather_pricing.rb +230 -195
  1039. data/lib/ultracart_api/models/item_cc_bill.rb +270 -235
  1040. data/lib/ultracart_api/models/item_channel_partner_mapping.rb +445 -410
  1041. data/lib/ultracart_api/models/item_chargeback.rb +234 -199
  1042. data/lib/ultracart_api/models/item_chargeback_addendum.rb +250 -215
  1043. data/lib/ultracart_api/models/item_chargeback_adjustment_request.rb +240 -205
  1044. data/lib/ultracart_api/models/item_checkout.rb +265 -230
  1045. data/lib/ultracart_api/models/item_content.rb +361 -356
  1046. data/lib/ultracart_api/models/item_content_assignment.rb +285 -250
  1047. data/lib/ultracart_api/models/item_content_attribute.rb +280 -245
  1048. data/lib/ultracart_api/models/item_content_multimedia.rb +441 -406
  1049. data/lib/ultracart_api/models/item_content_multimedia_thumbnail.rb +270 -235
  1050. data/lib/ultracart_api/models/item_digital_delivery.rb +317 -282
  1051. data/lib/ultracart_api/models/item_digital_item.rb +305 -334
  1052. data/lib/ultracart_api/models/item_ebay.rb +901 -866
  1053. data/lib/ultracart_api/models/item_ebay_category_specific.rb +230 -195
  1054. data/lib/ultracart_api/models/item_ebay_market_listing.rb +260 -225
  1055. data/lib/ultracart_api/models/item_ebay_market_place_analysis.rb +311 -276
  1056. data/lib/ultracart_api/models/item_email_notifications.rb +230 -195
  1057. data/lib/ultracart_api/models/item_enrollment123.rb +220 -185
  1058. data/lib/ultracart_api/models/item_fulfillment_addon.rb +250 -225
  1059. data/lib/ultracart_api/models/item_gift_certificate.rb +230 -195
  1060. data/lib/ultracart_api/models/item_google_product_search.rb +1289 -1254
  1061. data/lib/ultracart_api/models/item_identifiers.rb +310 -375
  1062. data/lib/ultracart_api/models/item_instant_payment_notification.rb +270 -235
  1063. data/lib/ultracart_api/models/item_instant_payment_notifications.rb +222 -187
  1064. data/lib/ultracart_api/models/item_internal.rb +235 -200
  1065. data/lib/ultracart_api/models/item_kit_component.rb +260 -225
  1066. data/lib/ultracart_api/models/item_kit_definition.rb +222 -187
  1067. data/lib/ultracart_api/models/item_option.rb +416 -381
  1068. data/lib/ultracart_api/models/item_option_value.rb +409 -374
  1069. data/lib/ultracart_api/models/item_option_value_additional_item.rb +230 -195
  1070. data/lib/ultracart_api/models/item_option_value_digital_item.rb +230 -195
  1071. data/lib/ultracart_api/models/item_payment_processing.rb +264 -239
  1072. data/lib/ultracart_api/models/item_physical.rb +246 -211
  1073. data/lib/ultracart_api/models/item_pricing.rb +422 -387
  1074. data/lib/ultracart_api/models/item_pricing_tier.rb +261 -226
  1075. data/lib/ultracart_api/models/item_pricing_tier_discount.rb +230 -195
  1076. data/lib/ultracart_api/models/item_pricing_tier_limit.rb +240 -227
  1077. data/lib/ultracart_api/models/item_property.rb +270 -235
  1078. data/lib/ultracart_api/models/item_realtime_pricing.rb +240 -205
  1079. data/lib/ultracart_api/models/item_related.rb +242 -207
  1080. data/lib/ultracart_api/models/item_related_item.rb +274 -239
  1081. data/lib/ultracart_api/models/item_reporting.rb +232 -197
  1082. data/lib/ultracart_api/models/item_response.rb +256 -221
  1083. data/lib/ultracart_api/models/item_restriction.rb +292 -267
  1084. data/lib/ultracart_api/models/item_restriction_item.rb +274 -239
  1085. data/lib/ultracart_api/models/item_revguard.rb +280 -245
  1086. data/lib/ultracart_api/models/item_reviews.rb +300 -276
  1087. data/lib/ultracart_api/models/item_salesforce.rb +230 -195
  1088. data/lib/ultracart_api/models/item_shipping.rb +713 -698
  1089. data/lib/ultracart_api/models/item_shipping_case.rb +265 -230
  1090. data/lib/ultracart_api/models/item_shipping_destination_markup.rb +315 -290
  1091. data/lib/ultracart_api/models/item_shipping_destination_restriction.rb +304 -269
  1092. data/lib/ultracart_api/models/item_shipping_distribution_center.rb +380 -345
  1093. data/lib/ultracart_api/models/item_shipping_method.rb +394 -369
  1094. data/lib/ultracart_api/models/item_shipping_package_requirement.rb +230 -195
  1095. data/lib/ultracart_api/models/item_tag.rb +279 -244
  1096. data/lib/ultracart_api/models/item_tags.rb +222 -187
  1097. data/lib/ultracart_api/models/item_tax.rb +286 -251
  1098. data/lib/ultracart_api/models/item_tax_exemption.rb +335 -300
  1099. data/lib/ultracart_api/models/item_third_party_email_marketing.rb +302 -267
  1100. data/lib/ultracart_api/models/item_variant_item.rb +289 -254
  1101. data/lib/ultracart_api/models/item_variation.rb +292 -257
  1102. data/lib/ultracart_api/models/item_variation_option.rb +265 -230
  1103. data/lib/ultracart_api/models/item_wishlist_member.rb +255 -220
  1104. data/lib/ultracart_api/models/items_request.rb +222 -187
  1105. data/lib/ultracart_api/models/items_response.rb +259 -224
  1106. data/lib/ultracart_api/models/key_value.rb +240 -205
  1107. data/lib/ultracart_api/models/library_filter_values.rb +254 -219
  1108. data/lib/ultracart_api/models/library_filter_values_response.rb +256 -221
  1109. data/lib/ultracart_api/models/library_item.rb +606 -571
  1110. data/lib/ultracart_api/models/library_item_account.rb +237 -202
  1111. data/lib/ultracart_api/models/library_item_asset.rb +228 -193
  1112. data/lib/ultracart_api/models/library_item_attribute.rb +228 -193
  1113. data/lib/ultracart_api/models/library_item_email.rb +237 -202
  1114. data/lib/ultracart_api/models/library_item_published_meta.rb +290 -255
  1115. data/lib/ultracart_api/models/library_item_purchased_meta.rb +240 -205
  1116. data/lib/ultracart_api/models/library_item_query.rb +330 -295
  1117. data/lib/ultracart_api/models/library_item_response.rb +256 -221
  1118. data/lib/ultracart_api/models/library_item_screenshot.rb +228 -193
  1119. data/lib/ultracart_api/models/library_items_response.rb +259 -224
  1120. data/lib/ultracart_api/models/linked_account.rb +240 -205
  1121. data/lib/ultracart_api/models/list_segment_membership.rb +237 -202
  1122. data/lib/ultracart_api/models/lookup_request.rb +255 -229
  1123. data/lib/ultracart_api/models/lookup_response.rb +258 -223
  1124. data/lib/ultracart_api/models/mailgun.rb +219 -184
  1125. data/lib/ultracart_api/models/metric.rb +282 -247
  1126. data/lib/ultracart_api/models/notification.rb +322 -287
  1127. data/lib/ultracart_api/models/oauth_revoke_success_response.rb +230 -195
  1128. data/lib/ultracart_api/models/oauth_token_response.rb +321 -286
  1129. data/lib/ultracart_api/models/order.rb +604 -622
  1130. data/lib/ultracart_api/models/order_affiliate.rb +242 -207
  1131. data/lib/ultracart_api/models/order_affiliate_ledger.rb +334 -299
  1132. data/lib/ultracart_api/models/order_auto_order.rb +448 -413
  1133. data/lib/ultracart_api/models/order_billing.rb +597 -612
  1134. data/lib/ultracart_api/models/order_buysafe.rb +268 -233
  1135. data/lib/ultracart_api/models/order_by_token_query.rb +220 -185
  1136. data/lib/ultracart_api/models/order_channel_partner.rb +335 -300
  1137. data/lib/ultracart_api/models/order_checkout.rb +469 -509
  1138. data/lib/ultracart_api/models/order_coupon.rb +290 -255
  1139. data/lib/ultracart_api/models/order_digital_item.rb +290 -255
  1140. data/lib/ultracart_api/models/order_digital_order.rb +262 -227
  1141. data/lib/ultracart_api/models/order_edi.rb +265 -230
  1142. data/lib/ultracart_api/models/order_format.rb +404 -369
  1143. data/lib/ultracart_api/models/order_format_response.rb +232 -197
  1144. data/lib/ultracart_api/models/order_fraud_score.rb +444 -409
  1145. data/lib/ultracart_api/models/order_gift.rb +351 -316
  1146. data/lib/ultracart_api/models/order_gift_certificate.rb +239 -204
  1147. data/lib/ultracart_api/models/order_internal.rb +275 -252
  1148. data/lib/ultracart_api/models/order_item.rb +889 -1028
  1149. data/lib/ultracart_api/models/order_item_edi.rb +234 -199
  1150. data/lib/ultracart_api/models/order_item_edi_identification.rb +230 -195
  1151. data/lib/ultracart_api/models/order_item_edi_lot.rb +240 -205
  1152. data/lib/ultracart_api/models/order_item_option.rb +378 -343
  1153. data/lib/ultracart_api/models/order_item_option_file_attachment.rb +250 -215
  1154. data/lib/ultracart_api/models/order_item_property.rb +280 -245
  1155. data/lib/ultracart_api/models/order_item_tag.rb +235 -200
  1156. data/lib/ultracart_api/models/order_linked_shipment.rb +264 -229
  1157. data/lib/ultracart_api/models/order_marketing.rb +270 -245
  1158. data/lib/ultracart_api/models/order_packing_slip_response.rb +257 -222
  1159. data/lib/ultracart_api/models/order_payment.rb +432 -415
  1160. data/lib/ultracart_api/models/order_payment_check.rb +220 -185
  1161. data/lib/ultracart_api/models/order_payment_credit_card.rb +354 -328
  1162. data/lib/ultracart_api/models/order_payment_e_check.rb +476 -441
  1163. data/lib/ultracart_api/models/order_payment_insurance.rb +250 -215
  1164. data/lib/ultracart_api/models/order_payment_purchase_order.rb +220 -185
  1165. data/lib/ultracart_api/models/order_payment_transaction.rb +252 -227
  1166. data/lib/ultracart_api/models/order_payment_transaction_detail.rb +240 -205
  1167. data/lib/ultracart_api/models/order_process_payment_request.rb +230 -195
  1168. data/lib/ultracart_api/models/order_process_payment_response.rb +256 -221
  1169. data/lib/ultracart_api/models/order_property.rb +280 -280
  1170. data/lib/ultracart_api/models/order_query.rb +826 -843
  1171. data/lib/ultracart_api/models/order_query_batch.rb +222 -231
  1172. data/lib/ultracart_api/models/order_quote.rb +240 -205
  1173. data/lib/ultracart_api/models/order_replacement.rb +467 -432
  1174. data/lib/ultracart_api/models/order_replacement_item.rb +255 -220
  1175. data/lib/ultracart_api/models/order_replacement_response.rb +264 -229
  1176. data/lib/ultracart_api/models/order_response.rb +256 -221
  1177. data/lib/ultracart_api/models/order_salesforce.rb +220 -185
  1178. data/lib/ultracart_api/models/order_shipping.rb +770 -745
  1179. data/lib/ultracart_api/models/order_summary.rb +390 -411
  1180. data/lib/ultracart_api/models/order_tag.rb +235 -200
  1181. data/lib/ultracart_api/models/order_taxes.rb +395 -360
  1182. data/lib/ultracart_api/models/order_token_response.rb +257 -222
  1183. data/lib/ultracart_api/models/order_tracking_number_detail.rb +320 -285
  1184. data/lib/ultracart_api/models/order_tracking_number_details.rb +374 -339
  1185. data/lib/ultracart_api/models/orders_response.rb +259 -224
  1186. data/lib/ultracart_api/models/permission.rb +240 -205
  1187. data/lib/ultracart_api/models/pricing_tier.rb +533 -528
  1188. data/lib/ultracart_api/models/pricing_tier_notification.rb +270 -235
  1189. data/lib/ultracart_api/models/pricing_tiers_response.rb +259 -224
  1190. data/lib/ultracart_api/models/property.rb +228 -193
  1191. data/lib/ultracart_api/models/publish_library_item_request.rb +220 -185
  1192. data/lib/ultracart_api/models/register_affiliate_click_request.rb +270 -235
  1193. data/lib/ultracart_api/models/register_affiliate_click_response.rb +254 -219
  1194. data/lib/ultracart_api/models/response_metadata.rb +229 -194
  1195. data/lib/ultracart_api/models/result_set.rb +270 -235
  1196. data/lib/ultracart_api/models/screen_recording.rb +688 -653
  1197. data/lib/ultracart_api/models/screen_recording_ad_platform.rb +280 -245
  1198. data/lib/ultracart_api/models/screen_recording_filter.rb +758 -723
  1199. data/lib/ultracart_api/models/screen_recording_filter_geo_distance.rb +255 -220
  1200. data/lib/ultracart_api/models/screen_recording_filter_ip_search.rb +246 -211
  1201. data/lib/ultracart_api/models/screen_recording_filter_page_view.rb +369 -334
  1202. data/lib/ultracart_api/models/screen_recording_filter_page_view_event.rb +230 -195
  1203. data/lib/ultracart_api/models/screen_recording_filter_page_view_event_param.rb +255 -220
  1204. data/lib/ultracart_api/models/screen_recording_filter_page_view_param.rb +228 -193
  1205. data/lib/ultracart_api/models/screen_recording_filter_page_view_referrer_param.rb +228 -193
  1206. data/lib/ultracart_api/models/screen_recording_filter_range_big_decimal.rb +255 -220
  1207. data/lib/ultracart_api/models/screen_recording_filter_range_date.rb +230 -195
  1208. data/lib/ultracart_api/models/screen_recording_filter_range_integer.rb +255 -220
  1209. data/lib/ultracart_api/models/screen_recording_filter_string_search.rb +255 -220
  1210. data/lib/ultracart_api/models/screen_recording_filter_values.rb +435 -400
  1211. data/lib/ultracart_api/models/screen_recording_filter_values_event.rb +230 -195
  1212. data/lib/ultracart_api/models/screen_recording_filter_values_event_params.rb +263 -228
  1213. data/lib/ultracart_api/models/screen_recording_filter_values_page_param.rb +230 -195
  1214. data/lib/ultracart_api/models/screen_recording_filter_values_page_view.rb +272 -237
  1215. data/lib/ultracart_api/models/screen_recording_heatmap.rb +426 -391
  1216. data/lib/ultracart_api/models/screen_recording_heatmap_index_request.rb +219 -184
  1217. data/lib/ultracart_api/models/screen_recording_heatmap_index_response.rb +258 -223
  1218. data/lib/ultracart_api/models/screen_recording_heatmap_request.rb +239 -204
  1219. data/lib/ultracart_api/models/screen_recording_heatmap_reset.rb +219 -184
  1220. data/lib/ultracart_api/models/screen_recording_heatmap_response.rb +256 -221
  1221. data/lib/ultracart_api/models/screen_recording_heatmap_url.rb +266 -231
  1222. data/lib/ultracart_api/models/screen_recording_merchant_notes_request.rb +219 -184
  1223. data/lib/ultracart_api/models/screen_recording_multifield.rb +255 -220
  1224. data/lib/ultracart_api/models/screen_recording_page_view.rb +391 -356
  1225. data/lib/ultracart_api/models/screen_recording_page_view_data_response.rb +256 -221
  1226. data/lib/ultracart_api/models/screen_recording_page_view_event.rb +267 -232
  1227. data/lib/ultracart_api/models/screen_recording_page_view_event_parameter.rb +228 -193
  1228. data/lib/ultracart_api/models/screen_recording_page_view_parameter.rb +228 -193
  1229. data/lib/ultracart_api/models/screen_recording_query_request.rb +219 -184
  1230. data/lib/ultracart_api/models/screen_recording_query_response.rb +314 -279
  1231. data/lib/ultracart_api/models/screen_recording_response.rb +265 -230
  1232. data/lib/ultracart_api/models/screen_recording_segment.rb +302 -267
  1233. data/lib/ultracart_api/models/screen_recording_segment_response.rb +256 -221
  1234. data/lib/ultracart_api/models/screen_recording_segments_response.rb +258 -223
  1235. data/lib/ultracart_api/models/screen_recording_settings.rb +284 -249
  1236. data/lib/ultracart_api/models/screen_recording_settings_response.rb +256 -221
  1237. data/lib/ultracart_api/models/screen_recording_store_front.rb +228 -193
  1238. data/lib/ultracart_api/models/screen_recording_tags_request.rb +221 -186
  1239. data/lib/ultracart_api/models/screen_recording_tags_response.rb +258 -223
  1240. data/lib/ultracart_api/models/screen_recording_user_agent.rb +255 -220
  1241. data/lib/ultracart_api/models/screen_recording_user_agent_device.rb +219 -184
  1242. data/lib/ultracart_api/models/screen_recording_user_agent_os.rb +237 -202
  1243. data/lib/ultracart_api/models/screen_recording_user_property.rb +228 -193
  1244. data/lib/ultracart_api/models/screenshots_response.rb +259 -224
  1245. data/lib/ultracart_api/models/self_config.rb +220 -205
  1246. data/lib/ultracart_api/models/simple_value.rb +230 -195
  1247. data/lib/ultracart_api/models/single_sign_on_authorize_request.rb +230 -195
  1248. data/lib/ultracart_api/models/single_sign_on_authorize_response.rb +230 -195
  1249. data/lib/ultracart_api/models/single_sign_on_token_request.rb +230 -195
  1250. data/lib/ultracart_api/models/single_sign_on_token_response.rb +240 -205
  1251. data/lib/ultracart_api/models/sovos_config.rb +280 -245
  1252. data/lib/ultracart_api/models/state_province.rb +245 -210
  1253. data/lib/ultracart_api/models/step_waiting.rb +228 -193
  1254. data/lib/ultracart_api/models/tax_city.rb +302 -267
  1255. data/lib/ultracart_api/models/tax_country.rb +302 -267
  1256. data/lib/ultracart_api/models/tax_country_code.rb +260 -225
  1257. data/lib/ultracart_api/models/tax_county.rb +312 -277
  1258. data/lib/ultracart_api/models/tax_jar_config.rb +280 -245
  1259. data/lib/ultracart_api/models/tax_postal_code.rb +280 -245
  1260. data/lib/ultracart_api/models/tax_provider_activate_result.rb +229 -194
  1261. data/lib/ultracart_api/models/tax_provider_avalara.rb +249 -214
  1262. data/lib/ultracart_api/models/tax_provider_avalara_companies_result.rb +222 -187
  1263. data/lib/ultracart_api/models/tax_provider_avalara_company.rb +260 -225
  1264. data/lib/ultracart_api/models/tax_provider_self.rb +261 -226
  1265. data/lib/ultracart_api/models/tax_provider_self_countries_response.rb +222 -187
  1266. data/lib/ultracart_api/models/tax_provider_self_regions_response.rb +222 -187
  1267. data/lib/ultracart_api/models/tax_provider_sovos.rb +249 -214
  1268. data/lib/ultracart_api/models/tax_provider_tax_jar.rb +249 -214
  1269. data/lib/ultracart_api/models/tax_provider_test_result.rb +229 -194
  1270. data/lib/ultracart_api/models/tax_provider_ultra_cart.rb +261 -226
  1271. data/lib/ultracart_api/models/tax_provider_ultra_cart_state.rb +310 -275
  1272. data/lib/ultracart_api/models/tax_providers_response.rb +292 -257
  1273. data/lib/ultracart_api/models/tax_state.rb +392 -357
  1274. data/lib/ultracart_api/models/tax_state_code.rb +260 -225
  1275. data/lib/ultracart_api/models/temp_multimedia.rb +329 -294
  1276. data/lib/ultracart_api/models/temp_multimedia_response.rb +256 -221
  1277. data/lib/ultracart_api/models/thumbnail_parameters_request.rb +255 -220
  1278. data/lib/ultracart_api/models/thumbnail_parameters_response.rb +257 -222
  1279. data/lib/ultracart_api/models/transaction_email.rb +414 -379
  1280. data/lib/ultracart_api/models/transaction_email_list_response.rb +258 -223
  1281. data/lib/ultracart_api/models/transaction_email_option.rb +282 -247
  1282. data/lib/ultracart_api/models/transaction_email_response.rb +256 -221
  1283. data/lib/ultracart_api/models/twilio.rb +248 -258
  1284. data/lib/ultracart_api/models/twilio_response.rb +265 -230
  1285. data/lib/ultracart_api/models/twilios_response.rb +258 -223
  1286. data/lib/ultracart_api/models/ultra_cart_config.rb +220 -205
  1287. data/lib/ultracart_api/models/upload_coupon_codes_request.rb +259 -224
  1288. data/lib/ultracart_api/models/upload_coupon_codes_response.rb +283 -248
  1289. data/lib/ultracart_api/models/user.rb +377 -342
  1290. data/lib/ultracart_api/models/user_group_membership.rb +240 -205
  1291. data/lib/ultracart_api/models/user_login.rb +250 -215
  1292. data/lib/ultracart_api/models/user_logins_response.rb +259 -224
  1293. data/lib/ultracart_api/models/user_response.rb +256 -221
  1294. data/lib/ultracart_api/models/users_response.rb +258 -223
  1295. data/lib/ultracart_api/models/verification_record.rb +237 -202
  1296. data/lib/ultracart_api/models/warning.rb +230 -195
  1297. data/lib/ultracart_api/models/webhook.rb +437 -412
  1298. data/lib/ultracart_api/models/webhook_event_category.rb +264 -229
  1299. data/lib/ultracart_api/models/webhook_event_subscription.rb +300 -275
  1300. data/lib/ultracart_api/models/webhook_log.rb +324 -299
  1301. data/lib/ultracart_api/models/webhook_log_response.rb +256 -221
  1302. data/lib/ultracart_api/models/webhook_log_summaries_response.rb +259 -224
  1303. data/lib/ultracart_api/models/webhook_log_summary.rb +240 -205
  1304. data/lib/ultracart_api/models/webhook_response.rb +256 -221
  1305. data/lib/ultracart_api/models/{custom_reports_execution_response.rb → webhook_sample_request.rb} +252 -234
  1306. data/lib/ultracart_api/models/{customer_wish_list_items_response.rb → webhook_sample_request_response.rb} +256 -223
  1307. data/lib/ultracart_api/models/webhooks_response.rb +258 -223
  1308. data/lib/ultracart_api/models/weight.rb +264 -229
  1309. data/lib/ultracart_api/version.rb +15 -15
  1310. data/lib/ultracart_api.rb +689 -963
  1311. data/spec/api_client_spec.rb +226 -243
  1312. data/spec/configuration_spec.rb +42 -42
  1313. data/spec/spec_helper.rb +111 -111
  1314. data/ultracart_api.gemspec +38 -46
  1315. metadata +17 -725
  1316. data/docs/AccountsReceivableRetryTransactionReject.md +0 -9
  1317. data/docs/AutoOrderAddonItem.md +0 -13
  1318. data/docs/AutoOrderAddonItemOption.md +0 -9
  1319. data/docs/AutoOrderConsolidate.md +0 -8
  1320. data/docs/AutoOrderManagement.md +0 -8
  1321. data/docs/CartItemProperty.md +0 -11
  1322. data/docs/CartPaymentHealthBenefitCard.md +0 -13
  1323. data/docs/ChanelPartnerReasonCodesResponse.md +0 -18
  1324. data/docs/ChannelPartner.md +0 -15
  1325. data/docs/ChannelPartnerOrderItemProperty.md +0 -11
  1326. data/docs/ChannelPartnerShipToPreference.md +0 -14
  1327. data/docs/ChannelPartnerShipToPreferenceResponse.md +0 -12
  1328. data/docs/ChannelPartnerShipToPreferencesResponse.md +0 -12
  1329. data/docs/ChannelPartnersResponse.md +0 -12
  1330. data/docs/Conversation.md +0 -28
  1331. data/docs/ConversationAgentAuth.md +0 -22
  1332. data/docs/ConversationAgentAuthResponse.md +0 -12
  1333. data/docs/ConversationAgentProfile.md +0 -22
  1334. data/docs/ConversationAgentProfileResponse.md +0 -12
  1335. data/docs/ConversationAgentProfilesResponse.md +0 -12
  1336. data/docs/ConversationApi.md +0 -4975
  1337. data/docs/ConversationAutocompleteRequest.md +0 -9
  1338. data/docs/ConversationAutocompleteResponse.md +0 -14
  1339. data/docs/ConversationAutocompleteValue.md +0 -9
  1340. data/docs/ConversationCannedMessage.md +0 -11
  1341. data/docs/ConversationCannedMessageResponse.md +0 -12
  1342. data/docs/ConversationCannedMessagesResponse.md +0 -12
  1343. data/docs/ConversationCannedMessagesSearch.md +0 -9
  1344. data/docs/ConversationDeleteKnowledgeBaseDocumentResponse.md +0 -12
  1345. data/docs/ConversationDepartment.md +0 -12
  1346. data/docs/ConversationDepartmentMember.md +0 -10
  1347. data/docs/ConversationDepartmentMembersResponse.md +0 -12
  1348. data/docs/ConversationDepartmentResponse.md +0 -12
  1349. data/docs/ConversationDepartmentSettings.md +0 -7
  1350. data/docs/ConversationDepartmentsResponse.md +0 -12
  1351. data/docs/ConversationEngagement.md +0 -16
  1352. data/docs/ConversationEngagementEquation.md +0 -8
  1353. data/docs/ConversationEngagementEquationFunction.md +0 -21
  1354. data/docs/ConversationEngagementEquationGroup.md +0 -8
  1355. data/docs/ConversationEngagementResponse.md +0 -12
  1356. data/docs/ConversationEngagementsResponse.md +0 -12
  1357. data/docs/ConversationEventAddCoupon.md +0 -10
  1358. data/docs/ConversationEventAddItem.md +0 -10
  1359. data/docs/ConversationEventQueuePosition.md +0 -9
  1360. data/docs/ConversationEventRRWeb.md +0 -14
  1361. data/docs/ConversationEventReadMessage.md +0 -10
  1362. data/docs/ConversationEventTyping.md +0 -10
  1363. data/docs/ConversationEventWebchatContext.md +0 -10
  1364. data/docs/ConversationInsertKnowledgeBaseDocumentRequest.md +0 -9
  1365. data/docs/ConversationInsertKnowledgeBaseDocumentResponse.md +0 -14
  1366. data/docs/ConversationJoinRequest.md +0 -8
  1367. data/docs/ConversationKnowledgeBaseDocument.md +0 -15
  1368. data/docs/ConversationKnowledgeBaseDocumentUploadUrl.md +0 -9
  1369. data/docs/ConversationKnowledgeBaseDocumentUploadUrlResponse.md +0 -12
  1370. data/docs/ConversationKnowledgeBaseDocumentsResponse.md +0 -12
  1371. data/docs/ConversationLocationCountry.md +0 -10
  1372. data/docs/ConversationLocationStateProvince.md +0 -9
  1373. data/docs/ConversationLocationsResponse.md +0 -12
  1374. data/docs/ConversationMcpServer.md +0 -15
  1375. data/docs/ConversationMcpServerResponse.md +0 -12
  1376. data/docs/ConversationMcpServerToolsResponse.md +0 -12
  1377. data/docs/ConversationMcpServersResponse.md +0 -12
  1378. data/docs/ConversationMessage.md +0 -23
  1379. data/docs/ConversationMessageTranslation.md +0 -9
  1380. data/docs/ConversationMessageTransportStatus.md +0 -9
  1381. data/docs/ConversationMessagesResponse.md +0 -12
  1382. data/docs/ConversationMultimediaUploadUrl.md +0 -9
  1383. data/docs/ConversationMultimediaUploadUrlResponse.md +0 -12
  1384. data/docs/ConversationParticipant.md +0 -20
  1385. data/docs/ConversationPbxAgent.md +0 -23
  1386. data/docs/ConversationPbxAgentResponse.md +0 -12
  1387. data/docs/ConversationPbxAgentsResponse.md +0 -12
  1388. data/docs/ConversationPbxAudio.md +0 -17
  1389. data/docs/ConversationPbxAudioResponse.md +0 -12
  1390. data/docs/ConversationPbxAudioUploadUrl.md +0 -9
  1391. data/docs/ConversationPbxAudioUploadUrlResponse.md +0 -12
  1392. data/docs/ConversationPbxAudioUsageResponse.md +0 -14
  1393. data/docs/ConversationPbxAudiosResponse.md +0 -12
  1394. data/docs/ConversationPbxCustomerSnapshotRequest.md +0 -15
  1395. data/docs/ConversationPbxCustomerSnapshotResponse.md +0 -14
  1396. data/docs/ConversationPbxMenu.md +0 -18
  1397. data/docs/ConversationPbxMenuMapping.md +0 -11
  1398. data/docs/ConversationPbxMenuResponse.md +0 -12
  1399. data/docs/ConversationPbxMenusResponse.md +0 -12
  1400. data/docs/ConversationPbxPhoneNumber.md +0 -12
  1401. data/docs/ConversationPbxPhoneNumberResponse.md +0 -12
  1402. data/docs/ConversationPbxPhoneNumbersResponse.md +0 -12
  1403. data/docs/ConversationPbxQueue.md +0 -28
  1404. data/docs/ConversationPbxQueueMembers.md +0 -9
  1405. data/docs/ConversationPbxQueueResponse.md +0 -12
  1406. data/docs/ConversationPbxQueuesResponse.md +0 -12
  1407. data/docs/ConversationPbxTimeBased.md +0 -11
  1408. data/docs/ConversationPbxTimeBasedMapping.md +0 -11
  1409. data/docs/ConversationPbxTimeBasedMappingConfig.md +0 -9
  1410. data/docs/ConversationPbxTimeBasedResponse.md +0 -12
  1411. data/docs/ConversationPbxTimeBasedsResponse.md +0 -12
  1412. data/docs/ConversationPbxTimeRange.md +0 -12
  1413. data/docs/ConversationPbxTimeRangeConfig.md +0 -13
  1414. data/docs/ConversationPbxTimeRangeResponse.md +0 -12
  1415. data/docs/ConversationPbxTimeRangesResponse.md +0 -12
  1416. data/docs/ConversationPbxVoicemailMailbox.md +0 -19
  1417. data/docs/ConversationPbxVoicemailMailboxResponse.md +0 -12
  1418. data/docs/ConversationPbxVoicemailMailboxesResponse.md +0 -12
  1419. data/docs/ConversationPbxVoicemailMessage.md +0 -20
  1420. data/docs/ConversationPbxVoicemailMessageResponse.md +0 -12
  1421. data/docs/ConversationPbxVoicemailMessageSummariesResponse.md +0 -12
  1422. data/docs/ConversationPbxVoicemailMessageSummary.md +0 -17
  1423. data/docs/ConversationPermissions.md +0 -8
  1424. data/docs/ConversationPermissionsResponse.md +0 -12
  1425. data/docs/ConversationResponse.md +0 -12
  1426. data/docs/ConversationSearchRequest.md +0 -19
  1427. data/docs/ConversationSearchResponse.md +0 -11
  1428. data/docs/ConversationSentiment.md +0 -13
  1429. data/docs/ConversationStartRequest.md +0 -10
  1430. data/docs/ConversationStartResponse.md +0 -8
  1431. data/docs/ConversationSummary.md +0 -24
  1432. data/docs/ConversationTwilioAccount.md +0 -9
  1433. data/docs/ConversationVirtualAgentBudget.md +0 -11
  1434. data/docs/ConversationVirtualAgentBudgetResponse.md +0 -12
  1435. data/docs/ConversationVirtualAgentCapabilities.md +0 -23
  1436. data/docs/ConversationVirtualAgentCapabilitiesResponse.md +0 -12
  1437. data/docs/ConversationVirtualAgentCapabilityZohoDeskDepartment.md +0 -9
  1438. data/docs/ConversationWebchatContext.md +0 -15
  1439. data/docs/ConversationWebchatQueueStatus.md +0 -22
  1440. data/docs/ConversationWebchatQueueStatusAgent.md +0 -13
  1441. data/docs/ConversationWebchatQueueStatusQueueEntry.md +0 -15
  1442. data/docs/ConversationWebchatQueueStatusUpdateRequest.md +0 -8
  1443. data/docs/ConversationWebchatQueueStatusesResponse.md +0 -12
  1444. data/docs/ConversationWebsocketMessage.md +0 -31
  1445. data/docs/ConversationsResponse.md +0 -12
  1446. data/docs/CouponFreeItemWithItemPurchaseAndFreeShipping.md +0 -12
  1447. data/docs/CouponMoreLoyaltyCashback.md +0 -8
  1448. data/docs/CouponMoreLoyaltyPoints.md +0 -8
  1449. data/docs/CouponNoDiscount.md +0 -8
  1450. data/docs/CouponPercentMoreLoyaltyCashback.md +0 -8
  1451. data/docs/CouponPercentMoreLoyaltyPoints.md +0 -8
  1452. data/docs/CouponTieredPercentOffSubtotalBasedOnMSRP.md +0 -9
  1453. data/docs/CustomDashboard.md +0 -12
  1454. data/docs/CustomDashboardExecutionParameter.md +0 -11
  1455. data/docs/CustomDashboardPage.md +0 -10
  1456. data/docs/CustomDashboardPageReport.md +0 -12
  1457. data/docs/CustomDashboardResponse.md +0 -12
  1458. data/docs/CustomDashboardSchedule.md +0 -12
  1459. data/docs/CustomDashboardScheduleResponse.md +0 -12
  1460. data/docs/CustomDashboardSchedulesResponse.md +0 -12
  1461. data/docs/CustomDashboardsResponse.md +0 -12
  1462. data/docs/CustomReport.md +0 -18
  1463. data/docs/CustomReportAccountConfig.md +0 -18
  1464. data/docs/CustomReportAccountConfigResponse.md +0 -12
  1465. data/docs/CustomReportAnalysisRequest.md +0 -9
  1466. data/docs/CustomReportAnalysisResponse.md +0 -12
  1467. data/docs/CustomReportChartPngUploadResponse.md +0 -13
  1468. data/docs/CustomReportExecutionParameter.md +0 -11
  1469. data/docs/CustomReportExecutionRequest.md +0 -8
  1470. data/docs/CustomReportExecutionResponse.md +0 -15
  1471. data/docs/CustomReportParameter.md +0 -13
  1472. data/docs/CustomReportParameterOption.md +0 -9
  1473. data/docs/CustomReportQuery.md +0 -13
  1474. data/docs/CustomReportResponse.md +0 -12
  1475. data/docs/CustomReportTooltip.md +0 -9
  1476. data/docs/CustomReportUsageBreakdown.md +0 -9
  1477. data/docs/CustomReportsExecutionReportData.md +0 -10
  1478. data/docs/CustomReportsExecutionRequest.md +0 -9
  1479. data/docs/CustomReportsExecutionResponse.md +0 -13
  1480. data/docs/CustomReportsResponse.md +0 -12
  1481. data/docs/CustomerEDI.md +0 -10
  1482. data/docs/CustomerMagicLinkResponse.md +0 -12
  1483. data/docs/CustomerMergeRequest.md +0 -9
  1484. data/docs/CustomerProperty.md +0 -11
  1485. data/docs/CustomerWishListItem.md +0 -14
  1486. data/docs/CustomerWishListItemResponse.md +0 -12
  1487. data/docs/CustomerWishListItemsResponse.md +0 -12
  1488. data/docs/DatawarehouseApi.md +0 -1538
  1489. data/docs/EmailCommseqSequenceTestRequest.md +0 -22
  1490. data/docs/EmailCommseqSequenceTestResponse.md +0 -11
  1491. data/docs/EmailCommseqSmsSendTestRequest.md +0 -10
  1492. data/docs/EmailCommseqSmsSendTestResponse.md +0 -13
  1493. data/docs/EmailEditorValuesResponse.md +0 -12
  1494. data/docs/EmailPostcardTracking.md +0 -32
  1495. data/docs/EmailPostcardTrackingResponse.md +0 -12
  1496. data/docs/EmailRateLimiter.md +0 -10
  1497. data/docs/EmailRateLimitersResponse.md +0 -12
  1498. data/docs/EmailSmsOrder.md +0 -11
  1499. data/docs/EmailSmsOrdersResponse.md +0 -12
  1500. data/docs/EmailSmsStat.md +0 -37
  1501. data/docs/EmailStatSmsSummaryRequest.md +0 -9
  1502. data/docs/EmailStatSmsSummaryResponse.md +0 -12
  1503. data/docs/FileManagerDirectory.md +0 -20
  1504. data/docs/FileManagerFile.md +0 -29
  1505. data/docs/FileManagerPage.md +0 -15
  1506. data/docs/FileManagerPageResponse.md +0 -12
  1507. data/docs/FileManagerUploadRequest.md +0 -10
  1508. data/docs/FileManagerUploadUrlResponse.md +0 -13
  1509. data/docs/HitPageView.md +0 -18
  1510. data/docs/HitPageViewMetaData.md +0 -9
  1511. data/docs/HitSessionStart.md +0 -24
  1512. data/docs/HitSessionUtm.md +0 -22
  1513. data/docs/ItemDigitalItemPdfMeta.md +0 -18
  1514. data/docs/ItemDigitalItemResponse.md +0 -12
  1515. data/docs/ItemDigitalItemsResponse.md +0 -12
  1516. data/docs/ItemInventorySnapshot.md +0 -13
  1517. data/docs/ItemInventorySnapshotDistributionCenter.md +0 -12
  1518. data/docs/ItemInventorySnapshotResponse.md +0 -12
  1519. data/docs/ItemReview.md +0 -45
  1520. data/docs/ItemReviewResponse.md +0 -12
  1521. data/docs/ItemReviewsResponse.md +0 -12
  1522. data/docs/OrderAssignToAffiliateRequest.md +0 -10
  1523. data/docs/OrderCurrentStageHistory.md +0 -10
  1524. data/docs/OrderEdiDocument.md +0 -21
  1525. data/docs/OrderEdiDocumentsResponse.md +0 -12
  1526. data/docs/OrderInvoiceResponse.md +0 -12
  1527. data/docs/OrderPaymentCreditCardDualVaulted.md +0 -10
  1528. data/docs/OrderPaymentCreditCardDualVaultedProperty.md +0 -9
  1529. data/docs/OrderPaymentHealthBenefitCard.md +0 -13
  1530. data/docs/OrderPaymentPayPal.md +0 -9
  1531. data/docs/OrderPointOfSale.md +0 -10
  1532. data/docs/OrderReason.md +0 -10
  1533. data/docs/OrderRefundableResponse.md +0 -20
  1534. data/docs/OrderTransactionalMerchantNote.md +0 -11
  1535. data/docs/OrderUtm.md +0 -39
  1536. data/docs/OrderValidationRequest.md +0 -9
  1537. data/docs/OrderValidationResponse.md +0 -10
  1538. data/docs/PointOfSaleLocation.md +0 -17
  1539. data/docs/PointOfSaleReader.md +0 -16
  1540. data/docs/PointOfSaleRegister.md +0 -11
  1541. data/docs/ReplaceOrderItemIdRequest.md +0 -11
  1542. data/docs/Report.md +0 -18
  1543. data/docs/ReportAuth.md +0 -11
  1544. data/docs/ReportAuthResponse.md +0 -12
  1545. data/docs/ReportDataSet.md +0 -24
  1546. data/docs/ReportDataSetColumn.md +0 -13
  1547. data/docs/ReportDataSetPage.md +0 -17
  1548. data/docs/ReportDataSetPageResponse.md +0 -12
  1549. data/docs/ReportDataSetQuery.md +0 -20
  1550. data/docs/ReportDataSetQueryOrderByColumn.md +0 -9
  1551. data/docs/ReportDataSetResponse.md +0 -12
  1552. data/docs/ReportDataSetRow.md +0 -8
  1553. data/docs/ReportDataSetSchema.md +0 -10
  1554. data/docs/ReportDataSource.md +0 -14
  1555. data/docs/ReportDataSourceSchema.md +0 -11
  1556. data/docs/ReportDryRunQueriesRequest.md +0 -13
  1557. data/docs/ReportDryRunQueriesResponse.md +0 -8
  1558. data/docs/ReportDryRunQueryResult.md +0 -9
  1559. data/docs/ReportExecuteQueriesRequest.md +0 -15
  1560. data/docs/ReportFilter.md +0 -13
  1561. data/docs/ReportFilterConnection.md +0 -10
  1562. data/docs/ReportPage.md +0 -13
  1563. data/docs/ReportPageFilter.md +0 -11
  1564. data/docs/ReportPageVisualization.md +0 -17
  1565. data/docs/ReportPageVisualizationDimension.md +0 -14
  1566. data/docs/ReportPageVisualizationMetric.md +0 -11
  1567. data/docs/ReportResponse.md +0 -12
  1568. data/docs/ReportWebsocketEvent.md +0 -9
  1569. data/docs/ReportsResponse.md +0 -12
  1570. data/docs/RulerValidationRequest.md +0 -8
  1571. data/docs/RulerValidationResponse.md +0 -9
  1572. data/docs/StoreFront.md +0 -18
  1573. data/docs/StoreFrontPageContentAttribute.md +0 -11
  1574. data/docs/StoreFrontsResponse.md +0 -12
  1575. data/docs/WebhookReflow.md +0 -9
  1576. data/docs/WebhookReflowResponse.md +0 -12
  1577. data/docs/WorkflowAgentAuth.md +0 -10
  1578. data/docs/WorkflowAgentAuthResponse.md +0 -12
  1579. data/docs/WorkflowApi.md +0 -620
  1580. data/docs/WorkflowAttachment.md +0 -12
  1581. data/docs/WorkflowAttachmentUploadUrl.md +0 -9
  1582. data/docs/WorkflowAttachmentUploadUrlResponse.md +0 -12
  1583. data/docs/WorkflowGroup.md +0 -9
  1584. data/docs/WorkflowGroupsResponse.md +0 -12
  1585. data/docs/WorkflowNote.md +0 -13
  1586. data/docs/WorkflowTask.md +0 -39
  1587. data/docs/WorkflowTaskHistory.md +0 -11
  1588. data/docs/WorkflowTaskOpenCountResponse.md +0 -12
  1589. data/docs/WorkflowTaskResponse.md +0 -12
  1590. data/docs/WorkflowTaskTagsResponse.md +0 -12
  1591. data/docs/WorkflowTasksRequest.md +0 -27
  1592. data/docs/WorkflowTasksResponse.md +0 -13
  1593. data/docs/WorkflowUser.md +0 -10
  1594. data/docs/WorkflowUserResponse.md +0 -12
  1595. data/docs/WorkflowUsersResponse.md +0 -13
  1596. data/lib/ultracart_api/api/conversation_api.rb +0 -5443
  1597. data/lib/ultracart_api/api/datawarehouse_api.rb +0 -1711
  1598. data/lib/ultracart_api/api/workflow_api.rb +0 -693
  1599. data/lib/ultracart_api/models/accounts_receivable_retry_transaction_reject.rb +0 -195
  1600. data/lib/ultracart_api/models/auto_order_addon_item.rb +0 -232
  1601. data/lib/ultracart_api/models/auto_order_addon_item_option.rb +0 -225
  1602. data/lib/ultracart_api/models/auto_order_consolidate.rb +0 -186
  1603. data/lib/ultracart_api/models/auto_order_management.rb +0 -185
  1604. data/lib/ultracart_api/models/cart_item_property.rb +0 -245
  1605. data/lib/ultracart_api/models/cart_payment_health_benefit_card.rb +0 -235
  1606. data/lib/ultracart_api/models/chanel_partner_reason_codes_response.rb +0 -290
  1607. data/lib/ultracart_api/models/channel_partner.rb +0 -255
  1608. data/lib/ultracart_api/models/channel_partner_order_item_property.rb +0 -245
  1609. data/lib/ultracart_api/models/channel_partner_ship_to_preference.rb +0 -262
  1610. data/lib/ultracart_api/models/channel_partner_ship_to_preference_response.rb +0 -221
  1611. data/lib/ultracart_api/models/channel_partner_ship_to_preferences_response.rb +0 -224
  1612. data/lib/ultracart_api/models/channel_partners_response.rb +0 -224
  1613. data/lib/ultracart_api/models/conversation.rb +0 -410
  1614. data/lib/ultracart_api/models/conversation_agent_auth.rb +0 -316
  1615. data/lib/ultracart_api/models/conversation_agent_auth_response.rb +0 -221
  1616. data/lib/ultracart_api/models/conversation_agent_profile.rb +0 -363
  1617. data/lib/ultracart_api/models/conversation_agent_profile_response.rb +0 -221
  1618. data/lib/ultracart_api/models/conversation_agent_profiles_response.rb +0 -223
  1619. data/lib/ultracart_api/models/conversation_autocomplete_request.rb +0 -193
  1620. data/lib/ultracart_api/models/conversation_autocomplete_response.rb +0 -241
  1621. data/lib/ultracart_api/models/conversation_autocomplete_value.rb +0 -193
  1622. data/lib/ultracart_api/models/conversation_canned_message.rb +0 -213
  1623. data/lib/ultracart_api/models/conversation_canned_message_response.rb +0 -221
  1624. data/lib/ultracart_api/models/conversation_canned_messages_response.rb +0 -223
  1625. data/lib/ultracart_api/models/conversation_canned_messages_search.rb +0 -193
  1626. data/lib/ultracart_api/models/conversation_delete_knowledge_base_document_response.rb +0 -221
  1627. data/lib/ultracart_api/models/conversation_department.rb +0 -222
  1628. data/lib/ultracart_api/models/conversation_department_member.rb +0 -202
  1629. data/lib/ultracart_api/models/conversation_department_members_response.rb +0 -223
  1630. data/lib/ultracart_api/models/conversation_department_response.rb +0 -221
  1631. data/lib/ultracart_api/models/conversation_department_settings.rb +0 -175
  1632. data/lib/ultracart_api/models/conversation_departments_response.rb +0 -223
  1633. data/lib/ultracart_api/models/conversation_engagement.rb +0 -293
  1634. data/lib/ultracart_api/models/conversation_engagement_equation.rb +0 -186
  1635. data/lib/ultracart_api/models/conversation_engagement_equation_function.rb +0 -414
  1636. data/lib/ultracart_api/models/conversation_engagement_equation_group.rb +0 -186
  1637. data/lib/ultracart_api/models/conversation_engagement_response.rb +0 -221
  1638. data/lib/ultracart_api/models/conversation_engagements_response.rb +0 -223
  1639. data/lib/ultracart_api/models/conversation_event_add_coupon.rb +0 -202
  1640. data/lib/ultracart_api/models/conversation_event_add_item.rb +0 -204
  1641. data/lib/ultracart_api/models/conversation_event_queue_position.rb +0 -195
  1642. data/lib/ultracart_api/models/conversation_event_read_message.rb +0 -203
  1643. data/lib/ultracart_api/models/conversation_event_rr_web.rb +0 -273
  1644. data/lib/ultracart_api/models/conversation_event_typing.rb +0 -202
  1645. data/lib/ultracart_api/models/conversation_event_webchat_context.rb +0 -202
  1646. data/lib/ultracart_api/models/conversation_insert_knowledge_base_document_request.rb +0 -193
  1647. data/lib/ultracart_api/models/conversation_insert_knowledge_base_document_response.rb +0 -241
  1648. data/lib/ultracart_api/models/conversation_join_request.rb +0 -184
  1649. data/lib/ultracart_api/models/conversation_knowledge_base_document.rb +0 -248
  1650. data/lib/ultracart_api/models/conversation_knowledge_base_document_upload_url.rb +0 -193
  1651. data/lib/ultracart_api/models/conversation_knowledge_base_document_upload_url_response.rb +0 -221
  1652. data/lib/ultracart_api/models/conversation_knowledge_base_documents_response.rb +0 -224
  1653. data/lib/ultracart_api/models/conversation_location_country.rb +0 -204
  1654. data/lib/ultracart_api/models/conversation_location_state_province.rb +0 -193
  1655. data/lib/ultracart_api/models/conversation_locations_response.rb +0 -223
  1656. data/lib/ultracart_api/models/conversation_mcp_server.rb +0 -289
  1657. data/lib/ultracart_api/models/conversation_mcp_server_response.rb +0 -221
  1658. data/lib/ultracart_api/models/conversation_mcp_server_tools_response.rb +0 -221
  1659. data/lib/ultracart_api/models/conversation_mcp_servers_response.rb +0 -223
  1660. data/lib/ultracart_api/models/conversation_message.rb +0 -365
  1661. data/lib/ultracart_api/models/conversation_message_translation.rb +0 -193
  1662. data/lib/ultracart_api/models/conversation_message_transport_status.rb +0 -228
  1663. data/lib/ultracart_api/models/conversation_messages_response.rb +0 -223
  1664. data/lib/ultracart_api/models/conversation_multimedia_upload_url.rb +0 -193
  1665. data/lib/ultracart_api/models/conversation_multimedia_upload_url_response.rb +0 -221
  1666. data/lib/ultracart_api/models/conversation_participant.rb +0 -295
  1667. data/lib/ultracart_api/models/conversation_pbx_agent.rb +0 -440
  1668. data/lib/ultracart_api/models/conversation_pbx_agent_response.rb +0 -221
  1669. data/lib/ultracart_api/models/conversation_pbx_agents_response.rb +0 -223
  1670. data/lib/ultracart_api/models/conversation_pbx_audio.rb +0 -365
  1671. data/lib/ultracart_api/models/conversation_pbx_audio_response.rb +0 -221
  1672. data/lib/ultracart_api/models/conversation_pbx_audio_upload_url.rb +0 -193
  1673. data/lib/ultracart_api/models/conversation_pbx_audio_upload_url_response.rb +0 -221
  1674. data/lib/ultracart_api/models/conversation_pbx_audios_response.rb +0 -223
  1675. data/lib/ultracart_api/models/conversation_pbx_customer_snapshot_request.rb +0 -248
  1676. data/lib/ultracart_api/models/conversation_pbx_menu.rb +0 -416
  1677. data/lib/ultracart_api/models/conversation_pbx_menu_mapping.rb +0 -269
  1678. data/lib/ultracart_api/models/conversation_pbx_menu_response.rb +0 -221
  1679. data/lib/ultracart_api/models/conversation_pbx_menus_response.rb +0 -223
  1680. data/lib/ultracart_api/models/conversation_pbx_phone_number.rb +0 -324
  1681. data/lib/ultracart_api/models/conversation_pbx_phone_number_response.rb +0 -221
  1682. data/lib/ultracart_api/models/conversation_pbx_phone_numbers_response.rb +0 -223
  1683. data/lib/ultracart_api/models/conversation_pbx_queue.rb +0 -534
  1684. data/lib/ultracart_api/models/conversation_pbx_queue_members.rb +0 -197
  1685. data/lib/ultracart_api/models/conversation_pbx_queue_response.rb +0 -221
  1686. data/lib/ultracart_api/models/conversation_pbx_queues_response.rb +0 -223
  1687. data/lib/ultracart_api/models/conversation_pbx_time_based.rb +0 -211
  1688. data/lib/ultracart_api/models/conversation_pbx_time_based_mapping.rb +0 -299
  1689. data/lib/ultracart_api/models/conversation_pbx_time_based_mapping_config.rb +0 -196
  1690. data/lib/ultracart_api/models/conversation_pbx_time_based_response.rb +0 -221
  1691. data/lib/ultracart_api/models/conversation_pbx_time_baseds_response.rb +0 -223
  1692. data/lib/ultracart_api/models/conversation_pbx_time_range.rb +0 -287
  1693. data/lib/ultracart_api/models/conversation_pbx_time_range_config.rb +0 -235
  1694. data/lib/ultracart_api/models/conversation_pbx_time_range_response.rb +0 -221
  1695. data/lib/ultracart_api/models/conversation_pbx_time_ranges_response.rb +0 -223
  1696. data/lib/ultracart_api/models/conversation_pbx_voicemail_mailbox.rb +0 -458
  1697. data/lib/ultracart_api/models/conversation_pbx_voicemail_mailbox_response.rb +0 -221
  1698. data/lib/ultracart_api/models/conversation_pbx_voicemail_mailboxes_response.rb +0 -223
  1699. data/lib/ultracart_api/models/conversation_pbx_voicemail_message.rb +0 -339
  1700. data/lib/ultracart_api/models/conversation_pbx_voicemail_message_response.rb +0 -221
  1701. data/lib/ultracart_api/models/conversation_pbx_voicemail_message_summaries_response.rb +0 -223
  1702. data/lib/ultracart_api/models/conversation_pbx_voicemail_message_summary.rb +0 -309
  1703. data/lib/ultracart_api/models/conversation_permissions.rb +0 -184
  1704. data/lib/ultracart_api/models/conversation_permissions_response.rb +0 -221
  1705. data/lib/ultracart_api/models/conversation_response.rb +0 -221
  1706. data/lib/ultracart_api/models/conversation_search_request.rb +0 -285
  1707. data/lib/ultracart_api/models/conversation_search_response.rb +0 -213
  1708. data/lib/ultracart_api/models/conversation_sentiment.rb +0 -269
  1709. data/lib/ultracart_api/models/conversation_start_request.rb +0 -204
  1710. data/lib/ultracart_api/models/conversation_start_response.rb +0 -184
  1711. data/lib/ultracart_api/models/conversation_summary.rb +0 -369
  1712. data/lib/ultracart_api/models/conversation_twilio_account.rb +0 -195
  1713. data/lib/ultracart_api/models/conversation_virtual_agent_budget.rb +0 -211
  1714. data/lib/ultracart_api/models/conversation_virtual_agent_budget_response.rb +0 -221
  1715. data/lib/ultracart_api/models/conversation_virtual_agent_capabilities.rb +0 -362
  1716. data/lib/ultracart_api/models/conversation_virtual_agent_capabilities_response.rb +0 -221
  1717. data/lib/ultracart_api/models/conversation_virtual_agent_capability_zoho_desk_department.rb +0 -193
  1718. data/lib/ultracart_api/models/conversation_webchat_context.rb +0 -254
  1719. data/lib/ultracart_api/models/conversation_webchat_queue_status.rb +0 -315
  1720. data/lib/ultracart_api/models/conversation_webchat_queue_status_agent.rb +0 -266
  1721. data/lib/ultracart_api/models/conversation_webchat_queue_status_queue_entry.rb +0 -248
  1722. data/lib/ultracart_api/models/conversation_webchat_queue_status_update_request.rb +0 -219
  1723. data/lib/ultracart_api/models/conversation_webchat_queue_statuses_response.rb +0 -223
  1724. data/lib/ultracart_api/models/conversation_websocket_message.rb +0 -441
  1725. data/lib/ultracart_api/models/conversations_response.rb +0 -223
  1726. data/lib/ultracart_api/models/coupon_free_item_with_item_purchase_and_free_shipping.rb +0 -231
  1727. data/lib/ultracart_api/models/coupon_more_loyalty_cashback.rb +0 -185
  1728. data/lib/ultracart_api/models/coupon_more_loyalty_points.rb +0 -185
  1729. data/lib/ultracart_api/models/coupon_no_discount.rb +0 -185
  1730. data/lib/ultracart_api/models/coupon_percent_more_loyalty_cashback.rb +0 -185
  1731. data/lib/ultracart_api/models/coupon_percent_more_loyalty_points.rb +0 -185
  1732. data/lib/ultracart_api/models/coupon_tiered_percent_off_subtotal_based_on_msrp.rb +0 -199
  1733. data/lib/ultracart_api/models/custom_dashboard.rb +0 -224
  1734. data/lib/ultracart_api/models/custom_dashboard_execution_parameter.rb +0 -211
  1735. data/lib/ultracart_api/models/custom_dashboard_page.rb +0 -204
  1736. data/lib/ultracart_api/models/custom_dashboard_page_report.rb +0 -220
  1737. data/lib/ultracart_api/models/custom_dashboard_response.rb +0 -221
  1738. data/lib/ultracart_api/models/custom_dashboard_schedule.rb +0 -223
  1739. data/lib/ultracart_api/models/custom_dashboard_schedule_response.rb +0 -221
  1740. data/lib/ultracart_api/models/custom_dashboard_schedules_response.rb +0 -224
  1741. data/lib/ultracart_api/models/custom_dashboards_response.rb +0 -224
  1742. data/lib/ultracart_api/models/custom_report.rb +0 -280
  1743. data/lib/ultracart_api/models/custom_report_account_config.rb +0 -281
  1744. data/lib/ultracart_api/models/custom_report_account_config_response.rb +0 -221
  1745. data/lib/ultracart_api/models/custom_report_analysis_request.rb +0 -193
  1746. data/lib/ultracart_api/models/custom_report_analysis_response.rb +0 -221
  1747. data/lib/ultracart_api/models/custom_report_chart_png_upload_response.rb +0 -230
  1748. data/lib/ultracart_api/models/custom_report_execution_parameter.rb +0 -211
  1749. data/lib/ultracart_api/models/custom_report_execution_request.rb +0 -186
  1750. data/lib/ultracart_api/models/custom_report_execution_response.rb +0 -250
  1751. data/lib/ultracart_api/models/custom_report_parameter.rb +0 -231
  1752. data/lib/ultracart_api/models/custom_report_parameter_option.rb +0 -193
  1753. data/lib/ultracart_api/models/custom_report_query.rb +0 -231
  1754. data/lib/ultracart_api/models/custom_report_response.rb +0 -221
  1755. data/lib/ultracart_api/models/custom_report_tooltip.rb +0 -193
  1756. data/lib/ultracart_api/models/custom_report_usage_breakdown.rb +0 -194
  1757. data/lib/ultracart_api/models/custom_reports_execution_report_data.rb +0 -202
  1758. data/lib/ultracart_api/models/custom_reports_execution_request.rb +0 -197
  1759. data/lib/ultracart_api/models/custom_reports_response.rb +0 -224
  1760. data/lib/ultracart_api/models/customer_edi.rb +0 -205
  1761. data/lib/ultracart_api/models/customer_magic_link_response.rb +0 -222
  1762. data/lib/ultracart_api/models/customer_merge_request.rb +0 -195
  1763. data/lib/ultracart_api/models/customer_property.rb +0 -245
  1764. data/lib/ultracart_api/models/customer_wish_list_item.rb +0 -260
  1765. data/lib/ultracart_api/models/customer_wish_list_item_response.rb +0 -221
  1766. data/lib/ultracart_api/models/email_commseq_sequence_test_request.rb +0 -312
  1767. data/lib/ultracart_api/models/email_commseq_sequence_test_response.rb +0 -212
  1768. data/lib/ultracart_api/models/email_commseq_sms_send_test_request.rb +0 -202
  1769. data/lib/ultracart_api/models/email_commseq_sms_send_test_response.rb +0 -232
  1770. data/lib/ultracart_api/models/email_editor_values_response.rb +0 -223
  1771. data/lib/ultracart_api/models/email_postcard_tracking.rb +0 -404
  1772. data/lib/ultracart_api/models/email_postcard_tracking_response.rb +0 -221
  1773. data/lib/ultracart_api/models/email_rate_limiter.rb +0 -202
  1774. data/lib/ultracart_api/models/email_rate_limiters_response.rb +0 -223
  1775. data/lib/ultracart_api/models/email_sms_order.rb +0 -214
  1776. data/lib/ultracart_api/models/email_sms_orders_response.rb +0 -223
  1777. data/lib/ultracart_api/models/email_sms_stat.rb +0 -476
  1778. data/lib/ultracart_api/models/email_stat_sms_summary_request.rb +0 -195
  1779. data/lib/ultracart_api/models/email_stat_sms_summary_response.rb +0 -223
  1780. data/lib/ultracart_api/models/file_manager_directory.rb +0 -292
  1781. data/lib/ultracart_api/models/file_manager_file.rb +0 -376
  1782. data/lib/ultracart_api/models/file_manager_page.rb +0 -253
  1783. data/lib/ultracart_api/models/file_manager_page_response.rb +0 -221
  1784. data/lib/ultracart_api/models/file_manager_upload_request.rb +0 -202
  1785. data/lib/ultracart_api/models/file_manager_upload_url_response.rb +0 -230
  1786. data/lib/ultracart_api/models/hit_page_view.rb +0 -276
  1787. data/lib/ultracart_api/models/hit_page_view_meta_data.rb +0 -193
  1788. data/lib/ultracart_api/models/hit_session_start.rb +0 -328
  1789. data/lib/ultracart_api/models/hit_session_utm.rb +0 -310
  1790. data/lib/ultracart_api/models/item_digital_item_pdf_meta.rb +0 -315
  1791. data/lib/ultracart_api/models/item_digital_item_response.rb +0 -221
  1792. data/lib/ultracart_api/models/item_digital_items_response.rb +0 -224
  1793. data/lib/ultracart_api/models/item_inventory_snapshot.rb +0 -231
  1794. data/lib/ultracart_api/models/item_inventory_snapshot_distribution_center.rb +0 -220
  1795. data/lib/ultracart_api/models/item_inventory_snapshot_response.rb +0 -224
  1796. data/lib/ultracart_api/models/item_review.rb +0 -826
  1797. data/lib/ultracart_api/models/item_review_response.rb +0 -221
  1798. data/lib/ultracart_api/models/item_reviews_response.rb +0 -224
  1799. data/lib/ultracart_api/models/order_assign_to_affiliate_request.rb +0 -220
  1800. data/lib/ultracart_api/models/order_current_stage_history.rb +0 -251
  1801. data/lib/ultracart_api/models/order_edi_document.rb +0 -337
  1802. data/lib/ultracart_api/models/order_edi_documents_response.rb +0 -224
  1803. data/lib/ultracart_api/models/order_invoice_response.rb +0 -222
  1804. data/lib/ultracart_api/models/order_payment_credit_card_dual_vaulted.rb +0 -204
  1805. data/lib/ultracart_api/models/order_payment_credit_card_dual_vaulted_property.rb +0 -193
  1806. data/lib/ultracart_api/models/order_payment_health_benefit_card.rb +0 -235
  1807. data/lib/ultracart_api/models/order_payment_pay_pal.rb +0 -195
  1808. data/lib/ultracart_api/models/order_point_of_sale.rb +0 -202
  1809. data/lib/ultracart_api/models/order_reason.rb +0 -205
  1810. data/lib/ultracart_api/models/order_refundable_response.rb +0 -310
  1811. data/lib/ultracart_api/models/order_transactional_merchant_note.rb +0 -215
  1812. data/lib/ultracart_api/models/order_utm.rb +0 -464
  1813. data/lib/ultracart_api/models/order_validation_request.rb +0 -196
  1814. data/lib/ultracart_api/models/order_validation_response.rb +0 -209
  1815. data/lib/ultracart_api/models/point_of_sale_location.rb +0 -290
  1816. data/lib/ultracart_api/models/point_of_sale_reader.rb +0 -299
  1817. data/lib/ultracart_api/models/point_of_sale_register.rb +0 -215
  1818. data/lib/ultracart_api/models/replace_order_item_id_request.rb +0 -245
  1819. data/lib/ultracart_api/models/report.rb +0 -317
  1820. data/lib/ultracart_api/models/report_auth.rb +0 -212
  1821. data/lib/ultracart_api/models/report_auth_response.rb +0 -221
  1822. data/lib/ultracart_api/models/report_data_set.rb +0 -381
  1823. data/lib/ultracart_api/models/report_data_set_column.rb +0 -229
  1824. data/lib/ultracart_api/models/report_data_set_page.rb +0 -273
  1825. data/lib/ultracart_api/models/report_data_set_page_response.rb +0 -221
  1826. data/lib/ultracart_api/models/report_data_set_query.rb +0 -342
  1827. data/lib/ultracart_api/models/report_data_set_query_order_by_column.rb +0 -193
  1828. data/lib/ultracart_api/models/report_data_set_response.rb +0 -221
  1829. data/lib/ultracart_api/models/report_data_set_row.rb +0 -186
  1830. data/lib/ultracart_api/models/report_data_set_schema.rb +0 -238
  1831. data/lib/ultracart_api/models/report_data_source.rb +0 -242
  1832. data/lib/ultracart_api/models/report_data_source_schema.rb +0 -248
  1833. data/lib/ultracart_api/models/report_dry_run_queries_request.rb +0 -231
  1834. data/lib/ultracart_api/models/report_dry_run_queries_response.rb +0 -186
  1835. data/lib/ultracart_api/models/report_dry_run_query_result.rb +0 -193
  1836. data/lib/ultracart_api/models/report_execute_queries_request.rb +0 -288
  1837. data/lib/ultracart_api/models/report_filter.rb +0 -272
  1838. data/lib/ultracart_api/models/report_filter_connection.rb +0 -203
  1839. data/lib/ultracart_api/models/report_page.rb +0 -237
  1840. data/lib/ultracart_api/models/report_page_filter.rb +0 -214
  1841. data/lib/ultracart_api/models/report_page_visualization.rb +0 -309
  1842. data/lib/ultracart_api/models/report_page_visualization_dimension.rb +0 -244
  1843. data/lib/ultracart_api/models/report_page_visualization_metric.rb +0 -248
  1844. data/lib/ultracart_api/models/report_response.rb +0 -221
  1845. data/lib/ultracart_api/models/report_websocket_event.rb +0 -228
  1846. data/lib/ultracart_api/models/reports_response.rb +0 -223
  1847. data/lib/ultracart_api/models/ruler_validation_request.rb +0 -184
  1848. data/lib/ultracart_api/models/ruler_validation_response.rb +0 -193
  1849. data/lib/ultracart_api/models/store_front.rb +0 -274
  1850. data/lib/ultracart_api/models/store_front_page_content_attribute.rb +0 -245
  1851. data/lib/ultracart_api/models/store_fronts_response.rb +0 -223
  1852. data/lib/ultracart_api/models/webhook_reflow.rb +0 -193
  1853. data/lib/ultracart_api/models/webhook_reflow_response.rb +0 -221
  1854. data/lib/ultracart_api/models/workflow_agent_auth.rb +0 -202
  1855. data/lib/ultracart_api/models/workflow_agent_auth_response.rb +0 -221
  1856. data/lib/ultracart_api/models/workflow_attachment.rb +0 -225
  1857. data/lib/ultracart_api/models/workflow_attachment_upload_url.rb +0 -193
  1858. data/lib/ultracart_api/models/workflow_attachment_upload_url_response.rb +0 -221
  1859. data/lib/ultracart_api/models/workflow_group.rb +0 -195
  1860. data/lib/ultracart_api/models/workflow_groups_response.rb +0 -224
  1861. data/lib/ultracart_api/models/workflow_note.rb +0 -236
  1862. data/lib/ultracart_api/models/workflow_task.rb +0 -574
  1863. data/lib/ultracart_api/models/workflow_task_history.rb +0 -214
  1864. data/lib/ultracart_api/models/workflow_task_open_count_response.rb +0 -222
  1865. data/lib/ultracart_api/models/workflow_task_response.rb +0 -221
  1866. data/lib/ultracart_api/models/workflow_task_tags_response.rb +0 -224
  1867. data/lib/ultracart_api/models/workflow_tasks_request.rb +0 -434
  1868. data/lib/ultracart_api/models/workflow_tasks_response.rb +0 -234
  1869. data/lib/ultracart_api/models/workflow_user.rb +0 -205
  1870. data/lib/ultracart_api/models/workflow_user_response.rb +0 -221
  1871. data/lib/ultracart_api/models/workflow_users_response.rb +0 -234
data/docs/OrderApi.md CHANGED
@@ -1,1742 +1,1856 @@
1
- # UltracartClient::OrderApi
2
-
3
- All URIs are relative to *https://secure.ultracart.com/rest/v2*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**adjust_order_total**](OrderApi.md#adjust_order_total) | **POST** /order/orders/{order_id}/adjust_order_total/{desired_total} | Adjusts an order total
8
- [**assign_to_affiliate**](OrderApi.md#assign_to_affiliate) | **POST** /order/orders/{order_id}/assignToAffiliate | Assigns an order to an affiliate
9
- [**block_refund_on_order**](OrderApi.md#block_refund_on_order) | **GET** /order/orders/{order_id}/refund_block | Set a refund block on an order
10
- [**cancel_order**](OrderApi.md#cancel_order) | **POST** /order/orders/{order_id}/cancel | Cancel an order
11
- [**delete_order**](OrderApi.md#delete_order) | **DELETE** /order/orders/{order_id} | Delete an order
12
- [**duplicate_order**](OrderApi.md#duplicate_order) | **POST** /order/orders/{order_id}/duplicate | Duplicate an order
13
- [**format**](OrderApi.md#format) | **POST** /order/orders/{order_id}/format | Format order
14
- [**generate_invoice**](OrderApi.md#generate_invoice) | **GET** /order/orders/{order_id}/invoice | Generate an invoice for this order.
15
- [**generate_order_token**](OrderApi.md#generate_order_token) | **GET** /order/orders/token/{order_id} | Generate an order token for a given order id
16
- [**generate_packing_slip_all_dc**](OrderApi.md#generate_packing_slip_all_dc) | **GET** /order/orders/{order_id}/packing_slip | Generate a packing slip for this order across all distribution centers.
17
- [**generate_packing_slip_specific_dc**](OrderApi.md#generate_packing_slip_specific_dc) | **GET** /order/orders/{order_id}/packing_slip/{distribution_center_code} | Generate a packing slip for this order for the given distribution center.
18
- [**get_accounts_receivable_retry_config**](OrderApi.md#get_accounts_receivable_retry_config) | **GET** /order/accountsReceivableRetryConfig | Retrieve A/R Retry Configuration
19
- [**get_accounts_receivable_retry_stats**](OrderApi.md#get_accounts_receivable_retry_stats) | **GET** /order/accountsReceivableRetryConfig/stats | Retrieve A/R Retry Statistics
20
- [**get_order**](OrderApi.md#get_order) | **GET** /order/orders/{order_id} | Retrieve an order
21
- [**get_order_by_token**](OrderApi.md#get_order_by_token) | **POST** /order/orders/token | Retrieve an order using a token
22
- [**get_order_edi_documents**](OrderApi.md#get_order_edi_documents) | **GET** /order/orders/{order_id}/edi | Retrieve EDI documents associated with this order.
23
- [**get_orders**](OrderApi.md#get_orders) | **GET** /order/orders | Retrieve orders
24
- [**get_orders_batch**](OrderApi.md#get_orders_batch) | **POST** /order/orders/batch | Retrieve order batch
25
- [**get_orders_by_query**](OrderApi.md#get_orders_by_query) | **POST** /order/orders/query | Retrieve orders by query
26
- [**insert_order**](OrderApi.md#insert_order) | **POST** /order/orders | Insert an order
27
- [**is_refundable_order**](OrderApi.md#is_refundable_order) | **GET** /order/orders/{order_id}/refundable | Determine if an order can be refunded
28
- [**process_payment**](OrderApi.md#process_payment) | **POST** /order/orders/{order_id}/process_payment | Process payment
29
- [**refund_order**](OrderApi.md#refund_order) | **PUT** /order/orders/{order_id}/refund | Refund an order
30
- [**replace_order_item_merchant_item_id**](OrderApi.md#replace_order_item_merchant_item_id) | **PUT** /order/orders/{order_id}/replace_item_id | Replaces an order item id
31
- [**replacement**](OrderApi.md#replacement) | **POST** /order/orders/{order_id}/replacement | Replacement order
32
- [**resend_receipt**](OrderApi.md#resend_receipt) | **POST** /order/orders/{order_id}/resend_receipt | Resend receipt
33
- [**resend_shipment_confirmation**](OrderApi.md#resend_shipment_confirmation) | **POST** /order/orders/{order_id}/resend_shipment_confirmation | Resend shipment confirmation
34
- [**unblock_refund_on_order**](OrderApi.md#unblock_refund_on_order) | **GET** /order/orders/{order_id}/refund_unblock | Remove a refund block on an order
35
- [**update_accounts_receivable_retry_config**](OrderApi.md#update_accounts_receivable_retry_config) | **POST** /order/accountsReceivableRetryConfig | Update A/R Retry Configuration
36
- [**update_order**](OrderApi.md#update_order) | **PUT** /order/orders/{order_id} | Update an order
37
- [**validate_order**](OrderApi.md#validate_order) | **POST** /order/validate | Validate
38
-
39
-
40
- # **adjust_order_total**
41
- > BaseResponse adjust_order_total(order_id, desired_total)
42
-
43
- Adjusts an order total
44
-
45
- Adjusts an order total. Adjusts individual items appropriately and considers taxes. Desired total should be provided in the same currency as the order and must be less than the current total and greater than zero. This call will change the order total. It returns true if the desired total is achieved. If the goal seeking algorithm falls short (usually by pennies), this method returns back false. View the merchant notes for the order for further details.
46
-
47
- ### Example
48
- ```ruby
49
- # load the gem
50
- require 'ultracart_api'
51
-
52
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
53
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
54
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
55
-
56
-
57
- order_id = 'order_id_example' # String | The order id to cancel.
58
-
59
- desired_total = 'desired_total_example' # String | The desired total with no formatting. example 123.45
60
-
61
-
62
- begin
63
- #Adjusts an order total
64
- result = api_instance.adjust_order_total(order_id, desired_total)
65
- p result
66
- rescue UltracartClient::ApiError => e
67
- puts "Exception when calling OrderApi->adjust_order_total: #{e}"
68
- end
69
- ```
70
-
71
- ### Parameters
72
-
73
- Name | Type | Description | Notes
74
- ------------- | ------------- | ------------- | -------------
75
- **order_id** | **String**| The order id to cancel. |
76
- **desired_total** | **String**| The desired total with no formatting. example 123.45 |
77
-
78
- ### Return type
79
-
80
- [**BaseResponse**](BaseResponse.md)
81
-
82
- ### Authorization
83
-
84
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
85
-
86
- ### HTTP request headers
87
-
88
- - **Content-Type**: application/json
89
- - **Accept**: application/json
90
-
91
-
92
-
93
- # **assign_to_affiliate**
94
- > OrderResponse assign_to_affiliate(order_id, assign_to_affiliate_request, opts)
95
-
96
- Assigns an order to an affiliate
97
-
98
- Assigns an order to an affiliate.
99
-
100
- ### Example
101
- ```ruby
102
- # load the gem
103
- require 'ultracart_api'
104
-
105
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
106
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
107
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
108
-
109
-
110
- order_id = 'order_id_example' # String | The order id to assign to the affiliate.
111
-
112
- assign_to_affiliate_request = UltracartClient::OrderAssignToAffiliateRequest.new # OrderAssignToAffiliateRequest | Assign to affiliate request
113
-
114
- opts = {
115
- _expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
116
- }
117
-
118
- begin
119
- #Assigns an order to an affiliate
120
- result = api_instance.assign_to_affiliate(order_id, assign_to_affiliate_request, opts)
121
- p result
122
- rescue UltracartClient::ApiError => e
123
- puts "Exception when calling OrderApi->assign_to_affiliate: #{e}"
124
- end
125
- ```
126
-
127
- ### Parameters
128
-
129
- Name | Type | Description | Notes
130
- ------------- | ------------- | ------------- | -------------
131
- **order_id** | **String**| The order id to assign to the affiliate. |
132
- **assign_to_affiliate_request** | [**OrderAssignToAffiliateRequest**](OrderAssignToAffiliateRequest.md)| Assign to affiliate request |
133
- **_expand** | **String**| The object expansion to perform on the result. See documentation for examples | [optional]
134
-
135
- ### Return type
136
-
137
- [**OrderResponse**](OrderResponse.md)
138
-
139
- ### Authorization
140
-
141
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
142
-
143
- ### HTTP request headers
144
-
145
- - **Content-Type**: application/json
146
- - **Accept**: application/json
147
-
148
-
149
-
150
- # **block_refund_on_order**
151
- > block_refund_on_order(order_id, opts)
152
-
153
- Set a refund block on an order
154
-
155
- Sets a refund block on an order to prevent a user from performing a refund. Commonly used when a chargeback has been received.
156
-
157
- ### Example
158
- ```ruby
159
- # load the gem
160
- require 'ultracart_api'
161
-
162
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
163
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
164
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
165
-
166
-
167
- order_id = 'order_id_example' # String | The order id to block a refund on.
168
-
169
- opts = {
170
- block_reason: 'block_reason_example' # String | Block reason code (optional)
171
- }
172
-
173
- begin
174
- #Set a refund block on an order
175
- api_instance.block_refund_on_order(order_id, opts)
176
- rescue UltracartClient::ApiError => e
177
- puts "Exception when calling OrderApi->block_refund_on_order: #{e}"
178
- end
179
- ```
180
-
181
- ### Parameters
182
-
183
- Name | Type | Description | Notes
184
- ------------- | ------------- | ------------- | -------------
185
- **order_id** | **String**| The order id to block a refund on. |
186
- **block_reason** | **String**| Block reason code (optional) | [optional]
187
-
188
- ### Return type
189
-
190
- nil (empty response body)
191
-
192
- ### Authorization
193
-
194
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
195
-
196
- ### HTTP request headers
197
-
198
- - **Content-Type**: application/json
199
- - **Accept**: application/json
200
-
201
-
202
-
203
- # **cancel_order**
204
- > BaseResponse cancel_order(order_id, opts)
205
-
206
- Cancel an order
207
-
208
- Cancel an order on the UltraCart account. If the success flag is false, then consult the error message for why it failed.
209
-
210
- ### Example
211
- ```ruby
212
- # load the gem
213
- require 'ultracart_api'
214
-
215
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
216
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
217
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
218
-
219
-
220
- order_id = 'order_id_example' # String | The order id to cancel.
221
-
222
- opts = {
223
- lock_self_ship_orders: true, # BOOLEAN | Flag to prevent a order shipping during a refund process
224
- skip_refund_and_hold: true # BOOLEAN | Skip refund and move order to Held Orders department
225
- }
226
-
227
- begin
228
- #Cancel an order
229
- result = api_instance.cancel_order(order_id, opts)
230
- p result
231
- rescue UltracartClient::ApiError => e
232
- puts "Exception when calling OrderApi->cancel_order: #{e}"
233
- end
234
- ```
235
-
236
- ### Parameters
237
-
238
- Name | Type | Description | Notes
239
- ------------- | ------------- | ------------- | -------------
240
- **order_id** | **String**| The order id to cancel. |
241
- **lock_self_ship_orders** | **BOOLEAN**| Flag to prevent a order shipping during a refund process | [optional]
242
- **skip_refund_and_hold** | **BOOLEAN**| Skip refund and move order to Held Orders department | [optional]
243
-
244
- ### Return type
245
-
246
- [**BaseResponse**](BaseResponse.md)
247
-
248
- ### Authorization
249
-
250
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
251
-
252
- ### HTTP request headers
253
-
254
- - **Content-Type**: application/json
255
- - **Accept**: application/json
256
-
257
-
258
-
259
- # **delete_order**
260
- > delete_order(order_id)
261
-
262
- Delete an order
263
-
264
- Delete an order on the UltraCart account.
265
-
266
- ### Example
267
- ```ruby
268
- # load the gem
269
- require 'ultracart_api'
270
-
271
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
272
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
273
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
274
-
275
-
276
- order_id = 'order_id_example' # String | The order id to delete.
277
-
278
-
279
- begin
280
- #Delete an order
281
- api_instance.delete_order(order_id)
282
- rescue UltracartClient::ApiError => e
283
- puts "Exception when calling OrderApi->delete_order: #{e}"
284
- end
285
- ```
286
-
287
- ### Parameters
288
-
289
- Name | Type | Description | Notes
290
- ------------- | ------------- | ------------- | -------------
291
- **order_id** | **String**| The order id to delete. |
292
-
293
- ### Return type
294
-
295
- nil (empty response body)
296
-
297
- ### Authorization
298
-
299
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
300
-
301
- ### HTTP request headers
302
-
303
- - **Content-Type**: application/json
304
- - **Accept**: application/json
305
-
306
-
307
-
308
- # **duplicate_order**
309
- > OrderResponse duplicate_order(order_id, opts)
310
-
311
- Duplicate an order
312
-
313
- Perform a duplicate of the specified order_id and return a new order located in Accounts Receivable.
314
-
315
- ### Example
316
- ```ruby
317
- # load the gem
318
- require 'ultracart_api'
319
-
320
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
321
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
322
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
323
-
324
-
325
- order_id = 'order_id_example' # String | The order id to duplicate.
326
-
327
- opts = {
328
- _expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
329
- }
330
-
331
- begin
332
- #Duplicate an order
333
- result = api_instance.duplicate_order(order_id, opts)
334
- p result
335
- rescue UltracartClient::ApiError => e
336
- puts "Exception when calling OrderApi->duplicate_order: #{e}"
337
- end
338
- ```
339
-
340
- ### Parameters
341
-
342
- Name | Type | Description | Notes
343
- ------------- | ------------- | ------------- | -------------
344
- **order_id** | **String**| The order id to duplicate. |
345
- **_expand** | **String**| The object expansion to perform on the result. See documentation for examples | [optional]
346
-
347
- ### Return type
348
-
349
- [**OrderResponse**](OrderResponse.md)
350
-
351
- ### Authorization
352
-
353
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
354
-
355
- ### HTTP request headers
356
-
357
- - **Content-Type**: application/json
358
- - **Accept**: application/json
359
-
360
-
361
-
362
- # **format**
363
- > OrderFormatResponse format(order_id, format_options)
364
-
365
- Format order
366
-
367
- Format the order for display at text or html
368
-
369
- ### Example
370
- ```ruby
371
- # load the gem
372
- require 'ultracart_api'
373
-
374
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
375
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
376
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
377
-
378
-
379
- order_id = 'order_id_example' # String | The order id to format
380
-
381
- format_options = UltracartClient::OrderFormat.new # OrderFormat | Format options
382
-
383
-
384
- begin
385
- #Format order
386
- result = api_instance.format(order_id, format_options)
387
- p result
388
- rescue UltracartClient::ApiError => e
389
- puts "Exception when calling OrderApi->format: #{e}"
390
- end
391
- ```
392
-
393
- ### Parameters
394
-
395
- Name | Type | Description | Notes
396
- ------------- | ------------- | ------------- | -------------
397
- **order_id** | **String**| The order id to format |
398
- **format_options** | [**OrderFormat**](OrderFormat.md)| Format options |
399
-
400
- ### Return type
401
-
402
- [**OrderFormatResponse**](OrderFormatResponse.md)
403
-
404
- ### Authorization
405
-
406
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
407
-
408
- ### HTTP request headers
409
-
410
- - **Content-Type**: application/json
411
- - **Accept**: application/json
412
-
413
-
414
-
415
- # **generate_invoice**
416
- > OrderInvoiceResponse generate_invoice(order_id)
417
-
418
- Generate an invoice for this order.
419
-
420
- The invoice PDF that is returned is base 64 encoded
421
-
422
- ### Example
423
- ```ruby
424
- # load the gem
425
- require 'ultracart_api'
426
-
427
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
428
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
429
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
430
-
431
-
432
- order_id = 'order_id_example' # String | Order ID
433
-
434
-
435
- begin
436
- #Generate an invoice for this order.
437
- result = api_instance.generate_invoice(order_id)
438
- p result
439
- rescue UltracartClient::ApiError => e
440
- puts "Exception when calling OrderApi->generate_invoice: #{e}"
441
- end
442
- ```
443
-
444
- ### Parameters
445
-
446
- Name | Type | Description | Notes
447
- ------------- | ------------- | ------------- | -------------
448
- **order_id** | **String**| Order ID |
449
-
450
- ### Return type
451
-
452
- [**OrderInvoiceResponse**](OrderInvoiceResponse.md)
453
-
454
- ### Authorization
455
-
456
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
457
-
458
- ### HTTP request headers
459
-
460
- - **Content-Type**: application/json
461
- - **Accept**: application/json
462
-
463
-
464
-
465
- # **generate_order_token**
466
- > OrderTokenResponse generate_order_token(order_id)
467
-
468
- Generate an order token for a given order id
469
-
470
- Retrieves a single order token for a given order id. The token can be used with the getOrderByToken API.
471
-
472
- ### Example
473
- ```ruby
474
- # load the gem
475
- require 'ultracart_api'
476
-
477
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
478
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
479
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
480
-
481
-
482
- order_id = 'order_id_example' # String | The order id to generate a token for.
483
-
484
-
485
- begin
486
- #Generate an order token for a given order id
487
- result = api_instance.generate_order_token(order_id)
488
- p result
489
- rescue UltracartClient::ApiError => e
490
- puts "Exception when calling OrderApi->generate_order_token: #{e}"
491
- end
492
- ```
493
-
494
- ### Parameters
495
-
496
- Name | Type | Description | Notes
497
- ------------- | ------------- | ------------- | -------------
498
- **order_id** | **String**| The order id to generate a token for. |
499
-
500
- ### Return type
501
-
502
- [**OrderTokenResponse**](OrderTokenResponse.md)
503
-
504
- ### Authorization
505
-
506
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
507
-
508
- ### HTTP request headers
509
-
510
- - **Content-Type**: application/json
511
- - **Accept**: application/json
512
-
513
-
514
-
515
- # **generate_packing_slip_all_dc**
516
- > OrderPackingSlipResponse generate_packing_slip_all_dc(order_id)
517
-
518
- Generate a packing slip for this order across all distribution centers.
519
-
520
- The packing slip PDF that is returned is base 64 encoded
521
-
522
- ### Example
523
- ```ruby
524
- # load the gem
525
- require 'ultracart_api'
526
-
527
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
528
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
529
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
530
-
531
-
532
- order_id = 'order_id_example' # String | Order ID
533
-
534
-
535
- begin
536
- #Generate a packing slip for this order across all distribution centers.
537
- result = api_instance.generate_packing_slip_all_dc(order_id)
538
- p result
539
- rescue UltracartClient::ApiError => e
540
- puts "Exception when calling OrderApi->generate_packing_slip_all_dc: #{e}"
541
- end
542
- ```
543
-
544
- ### Parameters
545
-
546
- Name | Type | Description | Notes
547
- ------------- | ------------- | ------------- | -------------
548
- **order_id** | **String**| Order ID |
549
-
550
- ### Return type
551
-
552
- [**OrderPackingSlipResponse**](OrderPackingSlipResponse.md)
553
-
554
- ### Authorization
555
-
556
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
557
-
558
- ### HTTP request headers
559
-
560
- - **Content-Type**: application/json
561
- - **Accept**: application/json
562
-
563
-
564
-
565
- # **generate_packing_slip_specific_dc**
566
- > OrderPackingSlipResponse generate_packing_slip_specific_dc(distribution_center_code, order_id)
567
-
568
- Generate a packing slip for this order for the given distribution center.
569
-
570
- The packing slip PDF that is returned is base 64 encoded
571
-
572
- ### Example
573
- ```ruby
574
- # load the gem
575
- require 'ultracart_api'
576
-
577
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
578
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
579
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
580
-
581
-
582
- distribution_center_code = 'distribution_center_code_example' # String | Distribution center code
583
-
584
- order_id = 'order_id_example' # String | Order ID
585
-
586
-
587
- begin
588
- #Generate a packing slip for this order for the given distribution center.
589
- result = api_instance.generate_packing_slip_specific_dc(distribution_center_code, order_id)
590
- p result
591
- rescue UltracartClient::ApiError => e
592
- puts "Exception when calling OrderApi->generate_packing_slip_specific_dc: #{e}"
593
- end
594
- ```
595
-
596
- ### Parameters
597
-
598
- Name | Type | Description | Notes
599
- ------------- | ------------- | ------------- | -------------
600
- **distribution_center_code** | **String**| Distribution center code |
601
- **order_id** | **String**| Order ID |
602
-
603
- ### Return type
604
-
605
- [**OrderPackingSlipResponse**](OrderPackingSlipResponse.md)
606
-
607
- ### Authorization
608
-
609
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
610
-
611
- ### HTTP request headers
612
-
613
- - **Content-Type**: application/json
614
- - **Accept**: application/json
615
-
616
-
617
-
618
- # **get_accounts_receivable_retry_config**
619
- > AccountsReceivableRetryConfigResponse get_accounts_receivable_retry_config
620
-
621
- Retrieve A/R Retry Configuration
622
-
623
- Retrieve A/R Retry Configuration. This is primarily an internal API call. It is doubtful you would ever need to use it.
624
-
625
- ### Example
626
- ```ruby
627
- # load the gem
628
- require 'ultracart_api'
629
-
630
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
631
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
632
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
633
-
634
-
635
-
636
- begin
637
- #Retrieve A/R Retry Configuration
638
- result = api_instance.get_accounts_receivable_retry_config
639
- p result
640
- rescue UltracartClient::ApiError => e
641
- puts "Exception when calling OrderApi->get_accounts_receivable_retry_config: #{e}"
642
- end
643
- ```
644
-
645
- ### Parameters
646
- This endpoint does not need any parameter.
647
-
648
- ### Return type
649
-
650
- [**AccountsReceivableRetryConfigResponse**](AccountsReceivableRetryConfigResponse.md)
651
-
652
- ### Authorization
653
-
654
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
655
-
656
- ### HTTP request headers
657
-
658
- - **Content-Type**: application/json
659
- - **Accept**: application/json
660
-
661
-
662
-
663
- # **get_accounts_receivable_retry_stats**
664
- > AccountsReceivableRetryStatsResponse get_accounts_receivable_retry_stats(opts)
665
-
666
- Retrieve A/R Retry Statistics
667
-
668
- Retrieve A/R Retry Statistics. This is primarily an internal API call. It is doubtful you would ever need to use it.
669
-
670
- ### Example
671
- ```ruby
672
- # load the gem
673
- require 'ultracart_api'
674
-
675
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
676
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
677
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
678
-
679
-
680
- opts = {
681
- from: 'from_example', # String |
682
- to: 'to_example' # String |
683
- }
684
-
685
- begin
686
- #Retrieve A/R Retry Statistics
687
- result = api_instance.get_accounts_receivable_retry_stats(opts)
688
- p result
689
- rescue UltracartClient::ApiError => e
690
- puts "Exception when calling OrderApi->get_accounts_receivable_retry_stats: #{e}"
691
- end
692
- ```
693
-
694
- ### Parameters
695
-
696
- Name | Type | Description | Notes
697
- ------------- | ------------- | ------------- | -------------
698
- **from** | **String**| | [optional]
699
- **to** | **String**| | [optional]
700
-
701
- ### Return type
702
-
703
- [**AccountsReceivableRetryStatsResponse**](AccountsReceivableRetryStatsResponse.md)
704
-
705
- ### Authorization
706
-
707
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
708
-
709
- ### HTTP request headers
710
-
711
- - **Content-Type**: application/json
712
- - **Accept**: application/json
713
-
714
-
715
-
716
- # **get_order**
717
- > OrderResponse get_order(order_id, opts)
718
-
719
- Retrieve an order
720
-
721
- Retrieves a single order using the specified order id.
722
-
723
- ### Example
724
- ```ruby
725
- # load the gem
726
- require 'ultracart_api'
727
-
728
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
729
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
730
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
731
-
732
-
733
- order_id = 'order_id_example' # String | The order id to retrieve.
734
-
735
- opts = {
736
- _expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
737
- }
738
-
739
- begin
740
- #Retrieve an order
741
- result = api_instance.get_order(order_id, opts)
742
- p result
743
- rescue UltracartClient::ApiError => e
744
- puts "Exception when calling OrderApi->get_order: #{e}"
745
- end
746
- ```
747
-
748
- ### Parameters
749
-
750
- Name | Type | Description | Notes
751
- ------------- | ------------- | ------------- | -------------
752
- **order_id** | **String**| The order id to retrieve. |
753
- **_expand** | **String**| The object expansion to perform on the result. See documentation for examples | [optional]
754
-
755
- ### Return type
756
-
757
- [**OrderResponse**](OrderResponse.md)
758
-
759
- ### Authorization
760
-
761
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
762
-
763
- ### HTTP request headers
764
-
765
- - **Content-Type**: application/json
766
- - **Accept**: application/json
767
-
768
-
769
-
770
- # **get_order_by_token**
771
- > OrderResponse get_order_by_token(order_by_token_query, opts)
772
-
773
- Retrieve an order using a token
774
-
775
- Retrieves a single order using the specified order token.
776
-
777
- ### Example
778
- ```ruby
779
- # load the gem
780
- require 'ultracart_api'
781
-
782
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
783
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
784
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
785
-
786
-
787
- order_by_token_query = UltracartClient::OrderByTokenQuery.new # OrderByTokenQuery | Order by token query
788
-
789
- opts = {
790
- _expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
791
- }
792
-
793
- begin
794
- #Retrieve an order using a token
795
- result = api_instance.get_order_by_token(order_by_token_query, opts)
796
- p result
797
- rescue UltracartClient::ApiError => e
798
- puts "Exception when calling OrderApi->get_order_by_token: #{e}"
799
- end
800
- ```
801
-
802
- ### Parameters
803
-
804
- Name | Type | Description | Notes
805
- ------------- | ------------- | ------------- | -------------
806
- **order_by_token_query** | [**OrderByTokenQuery**](OrderByTokenQuery.md)| Order by token query |
807
- **_expand** | **String**| The object expansion to perform on the result. See documentation for examples | [optional]
808
-
809
- ### Return type
810
-
811
- [**OrderResponse**](OrderResponse.md)
812
-
813
- ### Authorization
814
-
815
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
816
-
817
- ### HTTP request headers
818
-
819
- - **Content-Type**: application/json
820
- - **Accept**: application/json
821
-
822
-
823
-
824
- # **get_order_edi_documents**
825
- > OrderEdiDocumentsResponse get_order_edi_documents(order_id)
826
-
827
- Retrieve EDI documents associated with this order.
828
-
829
- Retrieve EDI documents associated with this order.
830
-
831
- ### Example
832
- ```ruby
833
- # load the gem
834
- require 'ultracart_api'
835
-
836
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
837
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
838
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
839
-
840
-
841
- order_id = 'order_id_example' # String | The order id to retrieve EDI documents for.
842
-
843
-
844
- begin
845
- #Retrieve EDI documents associated with this order.
846
- result = api_instance.get_order_edi_documents(order_id)
847
- p result
848
- rescue UltracartClient::ApiError => e
849
- puts "Exception when calling OrderApi->get_order_edi_documents: #{e}"
850
- end
851
- ```
852
-
853
- ### Parameters
854
-
855
- Name | Type | Description | Notes
856
- ------------- | ------------- | ------------- | -------------
857
- **order_id** | **String**| The order id to retrieve EDI documents for. |
858
-
859
- ### Return type
860
-
861
- [**OrderEdiDocumentsResponse**](OrderEdiDocumentsResponse.md)
862
-
863
- ### Authorization
864
-
865
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
866
-
867
- ### HTTP request headers
868
-
869
- - **Content-Type**: application/json
870
- - **Accept**: application/json
871
-
872
-
873
-
874
- # **get_orders**
875
- > OrdersResponse get_orders(opts)
876
-
877
- Retrieve orders
878
-
879
- Retrieves a group of orders from the account. If no parameters are specified, the API call will fail with a bad request error. Always specify some parameters to limit the scope of the orders returned to ones you are truly interested in. You will need to make multiple API calls in order to retrieve the entire result set since this API performs result set pagination.
880
-
881
- ### Example
882
- ```ruby
883
- # load the gem
884
- require 'ultracart_api'
885
-
886
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
887
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
888
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
889
-
890
-
891
- opts = {
892
- order_id: 'order_id_example', # String | Order Id
893
- payment_method: 'payment_method_example', # String | Payment Method
894
- company: 'company_example', # String | Company
895
- first_name: 'first_name_example', # String | First Name
896
- last_name: 'last_name_example', # String | Last Name
897
- city: 'city_example', # String | City
898
- state_region: 'state_region_example', # String | State/Region
899
- postal_code: 'postal_code_example', # String | Postal Code
900
- country_code: 'country_code_example', # String | Country Code (ISO-3166 two letter)
901
- phone: 'phone_example', # String | Phone
902
- email: 'email_example', # String | Email
903
- cc_email: 'cc_email_example', # String | CC Email
904
- total: 8.14, # Float | Total
905
- screen_branding_theme_code: 'screen_branding_theme_code_example', # String | Screen Branding Theme Code
906
- storefront_host_name: 'storefront_host_name_example', # String | StoreFront Host Name
907
- creation_date_begin: 'creation_date_begin_example', # String | Creation Date Begin
908
- creation_date_end: 'creation_date_end_example', # String | Creation Date End
909
- payment_date_begin: 'payment_date_begin_example', # String | Payment Date Begin
910
- payment_date_end: 'payment_date_end_example', # String | Payment Date End
911
- shipment_date_begin: 'shipment_date_begin_example', # String | Shipment Date Begin
912
- shipment_date_end: 'shipment_date_end_example', # String | Shipment Date End
913
- rma: 'rma_example', # String | RMA
914
- purchase_order_number: 'purchase_order_number_example', # String | Purchase Order Number
915
- item_id: 'item_id_example', # String | Item Id
916
- current_stage: 'current_stage_example', # String | Current Stage
917
- channel_partner_code: 'channel_partner_code_example', # String | Channel Partner Code
918
- channel_partner_order_id: 'channel_partner_order_id_example', # String | Channel Partner Order ID
919
- _limit: 100, # Integer | The maximum number of records to return on this one API call. (Maximum 200)
920
- _offset: 0, # Integer | Pagination of the record set. Offset is a zero based index.
921
- _sort: '_sort_example', # String | The sort order of the orders. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
922
- _expand: '_expand_example' # String | The object expansion to perform on the result.
923
- }
924
-
925
- begin
926
- #Retrieve orders
927
- result = api_instance.get_orders(opts)
928
- p result
929
- rescue UltracartClient::ApiError => e
930
- puts "Exception when calling OrderApi->get_orders: #{e}"
931
- end
932
- ```
933
-
934
- ### Parameters
935
-
936
- Name | Type | Description | Notes
937
- ------------- | ------------- | ------------- | -------------
938
- **order_id** | **String**| Order Id | [optional]
939
- **payment_method** | **String**| Payment Method | [optional]
940
- **company** | **String**| Company | [optional]
941
- **first_name** | **String**| First Name | [optional]
942
- **last_name** | **String**| Last Name | [optional]
943
- **city** | **String**| City | [optional]
944
- **state_region** | **String**| State/Region | [optional]
945
- **postal_code** | **String**| Postal Code | [optional]
946
- **country_code** | **String**| Country Code (ISO-3166 two letter) | [optional]
947
- **phone** | **String**| Phone | [optional]
948
- **email** | **String**| Email | [optional]
949
- **cc_email** | **String**| CC Email | [optional]
950
- **total** | **Float**| Total | [optional]
951
- **screen_branding_theme_code** | **String**| Screen Branding Theme Code | [optional]
952
- **storefront_host_name** | **String**| StoreFront Host Name | [optional]
953
- **creation_date_begin** | **String**| Creation Date Begin | [optional]
954
- **creation_date_end** | **String**| Creation Date End | [optional]
955
- **payment_date_begin** | **String**| Payment Date Begin | [optional]
956
- **payment_date_end** | **String**| Payment Date End | [optional]
957
- **shipment_date_begin** | **String**| Shipment Date Begin | [optional]
958
- **shipment_date_end** | **String**| Shipment Date End | [optional]
959
- **rma** | **String**| RMA | [optional]
960
- **purchase_order_number** | **String**| Purchase Order Number | [optional]
961
- **item_id** | **String**| Item Id | [optional]
962
- **current_stage** | **String**| Current Stage | [optional]
963
- **channel_partner_code** | **String**| Channel Partner Code | [optional]
964
- **channel_partner_order_id** | **String**| Channel Partner Order ID | [optional]
965
- **_limit** | **Integer**| The maximum number of records to return on this one API call. (Maximum 200) | [optional] [default to 100]
966
- **_offset** | **Integer**| Pagination of the record set. Offset is a zero based index. | [optional] [default to 0]
967
- **_sort** | **String**| The sort order of the orders. See Sorting documentation for examples of using multiple values and sorting by ascending and descending. | [optional]
968
- **_expand** | **String**| The object expansion to perform on the result. | [optional]
969
-
970
- ### Return type
971
-
972
- [**OrdersResponse**](OrdersResponse.md)
973
-
974
- ### Authorization
975
-
976
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
977
-
978
- ### HTTP request headers
979
-
980
- - **Content-Type**: application/json
981
- - **Accept**: application/json
982
-
983
-
984
-
985
- # **get_orders_batch**
986
- > OrdersResponse get_orders_batch(order_batch, opts)
987
-
988
- Retrieve order batch
989
-
990
- Retrieves a group of orders from the account based on an array of order ids. If more than 500 order ids are specified, the API call will fail with a bad request error.
991
-
992
- ### Example
993
- ```ruby
994
- # load the gem
995
- require 'ultracart_api'
996
-
997
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
998
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
999
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
1000
-
1001
-
1002
- order_batch = UltracartClient::OrderQueryBatch.new # OrderQueryBatch | Order batch
1003
-
1004
- opts = {
1005
- _expand: '_expand_example' # String | The object expansion to perform on the result.
1006
- }
1007
-
1008
- begin
1009
- #Retrieve order batch
1010
- result = api_instance.get_orders_batch(order_batch, opts)
1011
- p result
1012
- rescue UltracartClient::ApiError => e
1013
- puts "Exception when calling OrderApi->get_orders_batch: #{e}"
1014
- end
1015
- ```
1016
-
1017
- ### Parameters
1018
-
1019
- Name | Type | Description | Notes
1020
- ------------- | ------------- | ------------- | -------------
1021
- **order_batch** | [**OrderQueryBatch**](OrderQueryBatch.md)| Order batch |
1022
- **_expand** | **String**| The object expansion to perform on the result. | [optional]
1023
-
1024
- ### Return type
1025
-
1026
- [**OrdersResponse**](OrdersResponse.md)
1027
-
1028
- ### Authorization
1029
-
1030
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1031
-
1032
- ### HTTP request headers
1033
-
1034
- - **Content-Type**: application/json
1035
- - **Accept**: application/json
1036
-
1037
-
1038
-
1039
- # **get_orders_by_query**
1040
- > OrdersResponse get_orders_by_query(order_query, opts)
1041
-
1042
- Retrieve orders by query
1043
-
1044
- Retrieves a group of orders from the account based on a query object. If no parameters are specified, the API call will fail with a bad request error. Always specify some parameters to limit the scope of the orders returned to ones you are truly interested in. You will need to make multiple API calls in order to retrieve the entire result set since this API performs result set pagination.
1045
-
1046
- ### Example
1047
- ```ruby
1048
- # load the gem
1049
- require 'ultracart_api'
1050
-
1051
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
1052
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
1053
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
1054
-
1055
-
1056
- order_query = UltracartClient::OrderQuery.new # OrderQuery | Order query
1057
-
1058
- opts = {
1059
- _limit: 100, # Integer | The maximum number of records to return on this one API call. (Maximum 200)
1060
- _offset: 0, # Integer | Pagination of the record set. Offset is a zero based index.
1061
- _sort: '_sort_example', # String | The sort order of the orders. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
1062
- _expand: '_expand_example' # String | The object expansion to perform on the result.
1063
- }
1064
-
1065
- begin
1066
- #Retrieve orders by query
1067
- result = api_instance.get_orders_by_query(order_query, opts)
1068
- p result
1069
- rescue UltracartClient::ApiError => e
1070
- puts "Exception when calling OrderApi->get_orders_by_query: #{e}"
1071
- end
1072
- ```
1073
-
1074
- ### Parameters
1075
-
1076
- Name | Type | Description | Notes
1077
- ------------- | ------------- | ------------- | -------------
1078
- **order_query** | [**OrderQuery**](OrderQuery.md)| Order query |
1079
- **_limit** | **Integer**| The maximum number of records to return on this one API call. (Maximum 200) | [optional] [default to 100]
1080
- **_offset** | **Integer**| Pagination of the record set. Offset is a zero based index. | [optional] [default to 0]
1081
- **_sort** | **String**| The sort order of the orders. See Sorting documentation for examples of using multiple values and sorting by ascending and descending. | [optional]
1082
- **_expand** | **String**| The object expansion to perform on the result. | [optional]
1083
-
1084
- ### Return type
1085
-
1086
- [**OrdersResponse**](OrdersResponse.md)
1087
-
1088
- ### Authorization
1089
-
1090
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1091
-
1092
- ### HTTP request headers
1093
-
1094
- - **Content-Type**: application/json
1095
- - **Accept**: application/json
1096
-
1097
-
1098
-
1099
- # **insert_order**
1100
- > OrderResponse insert_order(order, opts)
1101
-
1102
- Insert an order
1103
-
1104
- Inserts a new order on the UltraCart account. This is probably NOT the method you want. This is for channel orders. For regular orders the customer is entering, use the CheckoutApi. It has many, many more features, checks, and validations.
1105
-
1106
- ### Example
1107
- ```ruby
1108
- # load the gem
1109
- require 'ultracart_api'
1110
-
1111
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
1112
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
1113
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
1114
-
1115
-
1116
- order = UltracartClient::Order.new # Order | Order to insert
1117
-
1118
- opts = {
1119
- _expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
1120
- }
1121
-
1122
- begin
1123
- #Insert an order
1124
- result = api_instance.insert_order(order, opts)
1125
- p result
1126
- rescue UltracartClient::ApiError => e
1127
- puts "Exception when calling OrderApi->insert_order: #{e}"
1128
- end
1129
- ```
1130
-
1131
- ### Parameters
1132
-
1133
- Name | Type | Description | Notes
1134
- ------------- | ------------- | ------------- | -------------
1135
- **order** | [**Order**](Order.md)| Order to insert |
1136
- **_expand** | **String**| The object expansion to perform on the result. See documentation for examples | [optional]
1137
-
1138
- ### Return type
1139
-
1140
- [**OrderResponse**](OrderResponse.md)
1141
-
1142
- ### Authorization
1143
-
1144
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1145
-
1146
- ### HTTP request headers
1147
-
1148
- - **Content-Type**: application/json; charset=UTF-8
1149
- - **Accept**: application/json
1150
-
1151
-
1152
-
1153
- # **is_refundable_order**
1154
- > OrderRefundableResponse is_refundable_order(order_id)
1155
-
1156
- Determine if an order can be refunded
1157
-
1158
- Determine if an order can be refunded based upon payment method and age
1159
-
1160
- ### Example
1161
- ```ruby
1162
- # load the gem
1163
- require 'ultracart_api'
1164
-
1165
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
1166
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
1167
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
1168
-
1169
-
1170
- order_id = 'order_id_example' # String | The order id to check for refundable order.
1171
-
1172
-
1173
- begin
1174
- #Determine if an order can be refunded
1175
- result = api_instance.is_refundable_order(order_id)
1176
- p result
1177
- rescue UltracartClient::ApiError => e
1178
- puts "Exception when calling OrderApi->is_refundable_order: #{e}"
1179
- end
1180
- ```
1181
-
1182
- ### Parameters
1183
-
1184
- Name | Type | Description | Notes
1185
- ------------- | ------------- | ------------- | -------------
1186
- **order_id** | **String**| The order id to check for refundable order. |
1187
-
1188
- ### Return type
1189
-
1190
- [**OrderRefundableResponse**](OrderRefundableResponse.md)
1191
-
1192
- ### Authorization
1193
-
1194
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1195
-
1196
- ### HTTP request headers
1197
-
1198
- - **Content-Type**: application/json
1199
- - **Accept**: application/json
1200
-
1201
-
1202
-
1203
- # **process_payment**
1204
- > OrderProcessPaymentResponse process_payment(order_id, process_payment_request)
1205
-
1206
- Process payment
1207
-
1208
- Process payment on order
1209
-
1210
- ### Example
1211
- ```ruby
1212
- # load the gem
1213
- require 'ultracart_api'
1214
-
1215
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
1216
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
1217
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
1218
-
1219
-
1220
- order_id = 'order_id_example' # String | The order id to process payment on
1221
-
1222
- process_payment_request = UltracartClient::OrderProcessPaymentRequest.new # OrderProcessPaymentRequest | Process payment parameters
1223
-
1224
-
1225
- begin
1226
- #Process payment
1227
- result = api_instance.process_payment(order_id, process_payment_request)
1228
- p result
1229
- rescue UltracartClient::ApiError => e
1230
- puts "Exception when calling OrderApi->process_payment: #{e}"
1231
- end
1232
- ```
1233
-
1234
- ### Parameters
1235
-
1236
- Name | Type | Description | Notes
1237
- ------------- | ------------- | ------------- | -------------
1238
- **order_id** | **String**| The order id to process payment on |
1239
- **process_payment_request** | [**OrderProcessPaymentRequest**](OrderProcessPaymentRequest.md)| Process payment parameters |
1240
-
1241
- ### Return type
1242
-
1243
- [**OrderProcessPaymentResponse**](OrderProcessPaymentResponse.md)
1244
-
1245
- ### Authorization
1246
-
1247
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1248
-
1249
- ### HTTP request headers
1250
-
1251
- - **Content-Type**: application/json
1252
- - **Accept**: application/json
1253
-
1254
-
1255
-
1256
- # **refund_order**
1257
- > OrderResponse refund_order(order, order_id, opts)
1258
-
1259
- Refund an order
1260
-
1261
- Perform a refund operation on an order and then update the order if successful. All of the object properties ending in _refunded should be the TOTAL amount that should end up being refunded. UltraCart will calculate the actual amount to refund based upon the prior refunds.
1262
-
1263
- ### Example
1264
- ```ruby
1265
- # load the gem
1266
- require 'ultracart_api'
1267
-
1268
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
1269
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
1270
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
1271
-
1272
-
1273
- order = UltracartClient::Order.new # Order | Order to refund
1274
-
1275
- order_id = 'order_id_example' # String | The order id to refund.
1276
-
1277
- opts = {
1278
- reject_after_refund: false, # BOOLEAN | Reject order after refund
1279
- skip_customer_notification: false, # BOOLEAN | Skip customer email notification
1280
- auto_order_cancel: false, # BOOLEAN | Cancel associated auto orders
1281
- manual_refund: false, # BOOLEAN | Consider a manual refund done externally
1282
- reverse_affiliate_transactions: true, # BOOLEAN | Reverse affiliate transactions
1283
- issue_store_credit: false, # BOOLEAN | Issue a store credit instead of refunding the original payment method, loyalty must be configured on merchant account
1284
- auto_order_cancel_reason: 'auto_order_cancel_reason_example', # String | Reason for auto orders cancellation
1285
- _expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
1286
- }
1287
-
1288
- begin
1289
- #Refund an order
1290
- result = api_instance.refund_order(order, order_id, opts)
1291
- p result
1292
- rescue UltracartClient::ApiError => e
1293
- puts "Exception when calling OrderApi->refund_order: #{e}"
1294
- end
1295
- ```
1296
-
1297
- ### Parameters
1298
-
1299
- Name | Type | Description | Notes
1300
- ------------- | ------------- | ------------- | -------------
1301
- **order** | [**Order**](Order.md)| Order to refund |
1302
- **order_id** | **String**| The order id to refund. |
1303
- **reject_after_refund** | **BOOLEAN**| Reject order after refund | [optional] [default to false]
1304
- **skip_customer_notification** | **BOOLEAN**| Skip customer email notification | [optional] [default to false]
1305
- **auto_order_cancel** | **BOOLEAN**| Cancel associated auto orders | [optional] [default to false]
1306
- **manual_refund** | **BOOLEAN**| Consider a manual refund done externally | [optional] [default to false]
1307
- **reverse_affiliate_transactions** | **BOOLEAN**| Reverse affiliate transactions | [optional] [default to true]
1308
- **issue_store_credit** | **BOOLEAN**| Issue a store credit instead of refunding the original payment method, loyalty must be configured on merchant account | [optional] [default to false]
1309
- **auto_order_cancel_reason** | **String**| Reason for auto orders cancellation | [optional]
1310
- **_expand** | **String**| The object expansion to perform on the result. See documentation for examples | [optional]
1311
-
1312
- ### Return type
1313
-
1314
- [**OrderResponse**](OrderResponse.md)
1315
-
1316
- ### Authorization
1317
-
1318
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1319
-
1320
- ### HTTP request headers
1321
-
1322
- - **Content-Type**: application/json; charset=UTF-8
1323
- - **Accept**: application/json
1324
-
1325
-
1326
-
1327
- # **replace_order_item_merchant_item_id**
1328
- > OrderResponse replace_order_item_merchant_item_id(replace_order_item_id_request, order_id, opts)
1329
-
1330
- Replaces an order item id
1331
-
1332
- Replaces a single order item id with another merchant_item_id, leaving all other attributes and properties unchanged. A custom method requested by a merchant to allow for item id updates due to shipping errors. It is doubtful you will ever need this method. The expansion variable affects the returned order object.
1333
-
1334
- ### Example
1335
- ```ruby
1336
- # load the gem
1337
- require 'ultracart_api'
1338
-
1339
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
1340
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
1341
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
1342
-
1343
-
1344
- replace_order_item_id_request = UltracartClient::ReplaceOrderItemIdRequest.new # ReplaceOrderItemIdRequest | Replacement Request
1345
-
1346
- order_id = 'order_id_example' # String | The order id to update.
1347
-
1348
- opts = {
1349
- _expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
1350
- }
1351
-
1352
- begin
1353
- #Replaces an order item id
1354
- result = api_instance.replace_order_item_merchant_item_id(replace_order_item_id_request, order_id, opts)
1355
- p result
1356
- rescue UltracartClient::ApiError => e
1357
- puts "Exception when calling OrderApi->replace_order_item_merchant_item_id: #{e}"
1358
- end
1359
- ```
1360
-
1361
- ### Parameters
1362
-
1363
- Name | Type | Description | Notes
1364
- ------------- | ------------- | ------------- | -------------
1365
- **replace_order_item_id_request** | [**ReplaceOrderItemIdRequest**](ReplaceOrderItemIdRequest.md)| Replacement Request |
1366
- **order_id** | **String**| The order id to update. |
1367
- **_expand** | **String**| The object expansion to perform on the result. See documentation for examples | [optional]
1368
-
1369
- ### Return type
1370
-
1371
- [**OrderResponse**](OrderResponse.md)
1372
-
1373
- ### Authorization
1374
-
1375
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1376
-
1377
- ### HTTP request headers
1378
-
1379
- - **Content-Type**: application/json; charset=UTF-8
1380
- - **Accept**: application/json
1381
-
1382
-
1383
-
1384
- # **replacement**
1385
- > OrderReplacementResponse replacement(order_id, replacement)
1386
-
1387
- Replacement order
1388
-
1389
- Create a replacement order based upon a previous order
1390
-
1391
- ### Example
1392
- ```ruby
1393
- # load the gem
1394
- require 'ultracart_api'
1395
-
1396
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
1397
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
1398
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
1399
-
1400
-
1401
- order_id = 'order_id_example' # String | The order id to generate a replacement for.
1402
-
1403
- replacement = UltracartClient::OrderReplacement.new # OrderReplacement | Replacement order details
1404
-
1405
-
1406
- begin
1407
- #Replacement order
1408
- result = api_instance.replacement(order_id, replacement)
1409
- p result
1410
- rescue UltracartClient::ApiError => e
1411
- puts "Exception when calling OrderApi->replacement: #{e}"
1412
- end
1413
- ```
1414
-
1415
- ### Parameters
1416
-
1417
- Name | Type | Description | Notes
1418
- ------------- | ------------- | ------------- | -------------
1419
- **order_id** | **String**| The order id to generate a replacement for. |
1420
- **replacement** | [**OrderReplacement**](OrderReplacement.md)| Replacement order details |
1421
-
1422
- ### Return type
1423
-
1424
- [**OrderReplacementResponse**](OrderReplacementResponse.md)
1425
-
1426
- ### Authorization
1427
-
1428
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1429
-
1430
- ### HTTP request headers
1431
-
1432
- - **Content-Type**: application/json
1433
- - **Accept**: application/json
1434
-
1435
-
1436
-
1437
- # **resend_receipt**
1438
- > BaseResponse resend_receipt(order_id)
1439
-
1440
- Resend receipt
1441
-
1442
- Resend the receipt for an order on the UltraCart account.
1443
-
1444
- ### Example
1445
- ```ruby
1446
- # load the gem
1447
- require 'ultracart_api'
1448
-
1449
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
1450
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
1451
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
1452
-
1453
-
1454
- order_id = 'order_id_example' # String | The order id to resend the receipt for.
1455
-
1456
-
1457
- begin
1458
- #Resend receipt
1459
- result = api_instance.resend_receipt(order_id)
1460
- p result
1461
- rescue UltracartClient::ApiError => e
1462
- puts "Exception when calling OrderApi->resend_receipt: #{e}"
1463
- end
1464
- ```
1465
-
1466
- ### Parameters
1467
-
1468
- Name | Type | Description | Notes
1469
- ------------- | ------------- | ------------- | -------------
1470
- **order_id** | **String**| The order id to resend the receipt for. |
1471
-
1472
- ### Return type
1473
-
1474
- [**BaseResponse**](BaseResponse.md)
1475
-
1476
- ### Authorization
1477
-
1478
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1479
-
1480
- ### HTTP request headers
1481
-
1482
- - **Content-Type**: application/json
1483
- - **Accept**: application/json
1484
-
1485
-
1486
-
1487
- # **resend_shipment_confirmation**
1488
- > BaseResponse resend_shipment_confirmation(order_id)
1489
-
1490
- Resend shipment confirmation
1491
-
1492
- Resend shipment confirmation for an order on the UltraCart account.
1493
-
1494
- ### Example
1495
- ```ruby
1496
- # load the gem
1497
- require 'ultracart_api'
1498
-
1499
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
1500
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
1501
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
1502
-
1503
-
1504
- order_id = 'order_id_example' # String | The order id to resend the shipment notification for.
1505
-
1506
-
1507
- begin
1508
- #Resend shipment confirmation
1509
- result = api_instance.resend_shipment_confirmation(order_id)
1510
- p result
1511
- rescue UltracartClient::ApiError => e
1512
- puts "Exception when calling OrderApi->resend_shipment_confirmation: #{e}"
1513
- end
1514
- ```
1515
-
1516
- ### Parameters
1517
-
1518
- Name | Type | Description | Notes
1519
- ------------- | ------------- | ------------- | -------------
1520
- **order_id** | **String**| The order id to resend the shipment notification for. |
1521
-
1522
- ### Return type
1523
-
1524
- [**BaseResponse**](BaseResponse.md)
1525
-
1526
- ### Authorization
1527
-
1528
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1529
-
1530
- ### HTTP request headers
1531
-
1532
- - **Content-Type**: application/json
1533
- - **Accept**: application/json
1534
-
1535
-
1536
-
1537
- # **unblock_refund_on_order**
1538
- > unblock_refund_on_order(order_id)
1539
-
1540
- Remove a refund block on an order
1541
-
1542
- Removes a refund block on an order to prevent a user from performing a refund.
1543
-
1544
- ### Example
1545
- ```ruby
1546
- # load the gem
1547
- require 'ultracart_api'
1548
-
1549
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
1550
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
1551
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
1552
-
1553
-
1554
- order_id = 'order_id_example' # String | The order id to unblock a refund on.
1555
-
1556
-
1557
- begin
1558
- #Remove a refund block on an order
1559
- api_instance.unblock_refund_on_order(order_id)
1560
- rescue UltracartClient::ApiError => e
1561
- puts "Exception when calling OrderApi->unblock_refund_on_order: #{e}"
1562
- end
1563
- ```
1564
-
1565
- ### Parameters
1566
-
1567
- Name | Type | Description | Notes
1568
- ------------- | ------------- | ------------- | -------------
1569
- **order_id** | **String**| The order id to unblock a refund on. |
1570
-
1571
- ### Return type
1572
-
1573
- nil (empty response body)
1574
-
1575
- ### Authorization
1576
-
1577
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1578
-
1579
- ### HTTP request headers
1580
-
1581
- - **Content-Type**: application/json
1582
- - **Accept**: application/json
1583
-
1584
-
1585
-
1586
- # **update_accounts_receivable_retry_config**
1587
- > BaseResponse update_accounts_receivable_retry_config(retry_config)
1588
-
1589
- Update A/R Retry Configuration
1590
-
1591
- Update A/R Retry Configuration. This is primarily an internal API call. It is doubtful you would ever need to use it.
1592
-
1593
- ### Example
1594
- ```ruby
1595
- # load the gem
1596
- require 'ultracart_api'
1597
-
1598
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
1599
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
1600
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
1601
-
1602
-
1603
- retry_config = UltracartClient::AccountsReceivableRetryConfig.new # AccountsReceivableRetryConfig | AccountsReceivableRetryConfig object
1604
-
1605
-
1606
- begin
1607
- #Update A/R Retry Configuration
1608
- result = api_instance.update_accounts_receivable_retry_config(retry_config)
1609
- p result
1610
- rescue UltracartClient::ApiError => e
1611
- puts "Exception when calling OrderApi->update_accounts_receivable_retry_config: #{e}"
1612
- end
1613
- ```
1614
-
1615
- ### Parameters
1616
-
1617
- Name | Type | Description | Notes
1618
- ------------- | ------------- | ------------- | -------------
1619
- **retry_config** | [**AccountsReceivableRetryConfig**](AccountsReceivableRetryConfig.md)| AccountsReceivableRetryConfig object |
1620
-
1621
- ### Return type
1622
-
1623
- [**BaseResponse**](BaseResponse.md)
1624
-
1625
- ### Authorization
1626
-
1627
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1628
-
1629
- ### HTTP request headers
1630
-
1631
- - **Content-Type**: application/json
1632
- - **Accept**: application/json
1633
-
1634
-
1635
-
1636
- # **update_order**
1637
- > OrderResponse update_order(order, order_id, opts)
1638
-
1639
- Update an order
1640
-
1641
- Update a new order on the UltraCart account. This is probably NOT the method you want. It is rare to update a completed order. This will not trigger charges, emails, or any other automation.
1642
-
1643
- ### Example
1644
- ```ruby
1645
- # load the gem
1646
- require 'ultracart_api'
1647
-
1648
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
1649
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
1650
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
1651
-
1652
-
1653
- order = UltracartClient::Order.new # Order | Order to update
1654
-
1655
- order_id = 'order_id_example' # String | The order id to update.
1656
-
1657
- opts = {
1658
- _expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
1659
- }
1660
-
1661
- begin
1662
- #Update an order
1663
- result = api_instance.update_order(order, order_id, opts)
1664
- p result
1665
- rescue UltracartClient::ApiError => e
1666
- puts "Exception when calling OrderApi->update_order: #{e}"
1667
- end
1668
- ```
1669
-
1670
- ### Parameters
1671
-
1672
- Name | Type | Description | Notes
1673
- ------------- | ------------- | ------------- | -------------
1674
- **order** | [**Order**](Order.md)| Order to update |
1675
- **order_id** | **String**| The order id to update. |
1676
- **_expand** | **String**| The object expansion to perform on the result. See documentation for examples | [optional]
1677
-
1678
- ### Return type
1679
-
1680
- [**OrderResponse**](OrderResponse.md)
1681
-
1682
- ### Authorization
1683
-
1684
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1685
-
1686
- ### HTTP request headers
1687
-
1688
- - **Content-Type**: application/json; charset=UTF-8
1689
- - **Accept**: application/json
1690
-
1691
-
1692
-
1693
- # **validate_order**
1694
- > OrderValidationResponse validate_order(validation_request)
1695
-
1696
- Validate
1697
-
1698
- Validate the order for errors. Specific checks can be passed to fine tune what is validated. Read and write permissions are required because the validate method may fix obvious address issues automatically which require update permission.This rest call makes use of the built-in translation of rest objects to UltraCart internal objects which also contains a multitude of validation checks that cannot be trapped. Therefore any time this call is made, you should also trap api exceptions and examine their content because it may contain validation issues. So check the response object and trap any exceptions.
1699
-
1700
- ### Example
1701
- ```ruby
1702
- # load the gem
1703
- require 'ultracart_api'
1704
-
1705
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
1706
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
1707
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
1708
-
1709
-
1710
- validation_request = UltracartClient::OrderValidationRequest.new # OrderValidationRequest | Validation request
1711
-
1712
-
1713
- begin
1714
- #Validate
1715
- result = api_instance.validate_order(validation_request)
1716
- p result
1717
- rescue UltracartClient::ApiError => e
1718
- puts "Exception when calling OrderApi->validate_order: #{e}"
1719
- end
1720
- ```
1721
-
1722
- ### Parameters
1723
-
1724
- Name | Type | Description | Notes
1725
- ------------- | ------------- | ------------- | -------------
1726
- **validation_request** | [**OrderValidationRequest**](OrderValidationRequest.md)| Validation request |
1727
-
1728
- ### Return type
1729
-
1730
- [**OrderValidationResponse**](OrderValidationResponse.md)
1731
-
1732
- ### Authorization
1733
-
1734
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1735
-
1736
- ### HTTP request headers
1737
-
1738
- - **Content-Type**: application/json
1739
- - **Accept**: application/json
1740
-
1741
-
1742
-
1
+ # UltracartClient::OrderApi
2
+
3
+ All URIs are relative to *https://secure.ultracart.com/rest/v2*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**adjust_order_total**](OrderApi.md#adjust_order_total) | **POST** /order/orders/{order_id}/adjust_order_total/{desired_total} | Adjusts an order total |
8
+ | [**cancel_order**](OrderApi.md#cancel_order) | **POST** /order/orders/{order_id}/cancel | Cancel an order |
9
+ | [**delete_order**](OrderApi.md#delete_order) | **DELETE** /order/orders/{order_id} | Delete an order |
10
+ | [**duplicate_order**](OrderApi.md#duplicate_order) | **POST** /order/orders/{order_id}/duplicate | Duplicate an order |
11
+ | [**format**](OrderApi.md#format) | **POST** /order/orders/{order_id}/format | Format order |
12
+ | [**generate_order_token**](OrderApi.md#generate_order_token) | **GET** /order/orders/token/{order_id} | Generate an order token for a given order id |
13
+ | [**generate_packing_slip_all_dc**](OrderApi.md#generate_packing_slip_all_dc) | **GET** /order/orders/{order_id}/packing_slip | Generate a packing slip for this order across all distribution centers. |
14
+ | [**generate_packing_slip_specific_dc**](OrderApi.md#generate_packing_slip_specific_dc) | **GET** /order/orders/{order_id}/packing_slip/{distribution_center_code} | Generate a packing slip for this order for the given distribution center. |
15
+ | [**get_accounts_receivable_retry_config**](OrderApi.md#get_accounts_receivable_retry_config) | **GET** /order/accountsReceivableRetryConfig | Retrieve A/R Retry Configuration |
16
+ | [**get_accounts_receivable_retry_stats**](OrderApi.md#get_accounts_receivable_retry_stats) | **GET** /order/accountsReceivableRetryConfig/stats | Retrieve A/R Retry Statistics |
17
+ | [**get_order**](OrderApi.md#get_order) | **GET** /order/orders/{order_id} | Retrieve an order |
18
+ | [**get_order_by_token**](OrderApi.md#get_order_by_token) | **POST** /order/orders/token | Retrieve an order using a token |
19
+ | [**get_orders**](OrderApi.md#get_orders) | **GET** /order/orders | Retrieve orders |
20
+ | [**get_orders_batch**](OrderApi.md#get_orders_batch) | **POST** /order/orders/batch | Retrieve order batch |
21
+ | [**get_orders_by_query**](OrderApi.md#get_orders_by_query) | **POST** /order/orders/query | Retrieve orders by query |
22
+ | [**insert_order**](OrderApi.md#insert_order) | **POST** /order/orders | Insert an order |
23
+ | [**process_payment**](OrderApi.md#process_payment) | **POST** /order/orders/{order_id}/process_payment | Process payment |
24
+ | [**refund_order**](OrderApi.md#refund_order) | **PUT** /order/orders/{order_id}/refund | Refund an order |
25
+ | [**replacement**](OrderApi.md#replacement) | **POST** /order/orders/{order_id}/replacement | Replacement order |
26
+ | [**resend_receipt**](OrderApi.md#resend_receipt) | **POST** /order/orders/{order_id}/resend_receipt | Resend receipt |
27
+ | [**resend_shipment_confirmation**](OrderApi.md#resend_shipment_confirmation) | **POST** /order/orders/{order_id}/resend_shipment_confirmation | Resend shipment confirmation |
28
+ | [**update_accounts_receivable_retry_config**](OrderApi.md#update_accounts_receivable_retry_config) | **POST** /order/accountsReceivableRetryConfig | Update A/R Retry Configuration |
29
+ | [**update_order**](OrderApi.md#update_order) | **PUT** /order/orders/{order_id} | Update an order |
30
+
31
+
32
+ ## adjust_order_total
33
+
34
+ > <BaseResponse> adjust_order_total(order_id, desired_total)
35
+
36
+ Adjusts an order total
37
+
38
+ Adjusts an order total. Adjusts individual items appropriately and considers taxes. Desired total should be provided in the same currency as the order and must be less than the current total and greater than zero. This call will change the order total. It returns true if the desired total is achieved. If the goal seeking algorithm falls short (usually by pennies), this method returns back false. View the merchant notes for the order for further details.
39
+
40
+ ### Examples
41
+
42
+ ```ruby
43
+ require 'time'
44
+ require 'ultracart_api'
45
+ # setup authorization
46
+ UltracartClient.configure do |config|
47
+ # Configure OAuth2 access token for authorization: ultraCartOauth
48
+ config.access_token = 'YOUR ACCESS TOKEN'
49
+
50
+ # Configure API key authorization: ultraCartSimpleApiKey
51
+ config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
52
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
53
+ # config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
54
+ end
55
+
56
+ api_instance = UltracartClient::OrderApi.new
57
+ order_id = 'order_id_example' # String | The order id to cancel.
58
+ desired_total = 'desired_total_example' # String | The desired total with no formatting. example 123.45
59
+
60
+ begin
61
+ # Adjusts an order total
62
+ result = api_instance.adjust_order_total(order_id, desired_total)
63
+ p result
64
+ rescue UltracartClient::ApiError => e
65
+ puts "Error when calling OrderApi->adjust_order_total: #{e}"
66
+ end
67
+ ```
68
+
69
+ #### Using the adjust_order_total_with_http_info variant
70
+
71
+ This returns an Array which contains the response data, status code and headers.
72
+
73
+ > <Array(<BaseResponse>, Integer, Hash)> adjust_order_total_with_http_info(order_id, desired_total)
74
+
75
+ ```ruby
76
+ begin
77
+ # Adjusts an order total
78
+ data, status_code, headers = api_instance.adjust_order_total_with_http_info(order_id, desired_total)
79
+ p status_code # => 2xx
80
+ p headers # => { ... }
81
+ p data # => <BaseResponse>
82
+ rescue UltracartClient::ApiError => e
83
+ puts "Error when calling OrderApi->adjust_order_total_with_http_info: #{e}"
84
+ end
85
+ ```
86
+
87
+ ### Parameters
88
+
89
+ | Name | Type | Description | Notes |
90
+ | ---- | ---- | ----------- | ----- |
91
+ | **order_id** | **String** | The order id to cancel. | |
92
+ | **desired_total** | **String** | The desired total with no formatting. example 123.45 | |
93
+
94
+ ### Return type
95
+
96
+ [**BaseResponse**](BaseResponse.md)
97
+
98
+ ### Authorization
99
+
100
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
101
+
102
+ ### HTTP request headers
103
+
104
+ - **Content-Type**: Not defined
105
+ - **Accept**: application/json
106
+
107
+
108
+ ## cancel_order
109
+
110
+ > <BaseResponse> cancel_order(order_id)
111
+
112
+ Cancel an order
113
+
114
+ Cancel an order on the UltraCart account. If the success flag is false, then consult the error message for why it failed.
115
+
116
+ ### Examples
117
+
118
+ ```ruby
119
+ require 'time'
120
+ require 'ultracart_api'
121
+ # setup authorization
122
+ UltracartClient.configure do |config|
123
+ # Configure OAuth2 access token for authorization: ultraCartOauth
124
+ config.access_token = 'YOUR ACCESS TOKEN'
125
+
126
+ # Configure API key authorization: ultraCartSimpleApiKey
127
+ config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
128
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
129
+ # config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
130
+ end
131
+
132
+ api_instance = UltracartClient::OrderApi.new
133
+ order_id = 'order_id_example' # String | The order id to cancel.
134
+
135
+ begin
136
+ # Cancel an order
137
+ result = api_instance.cancel_order(order_id)
138
+ p result
139
+ rescue UltracartClient::ApiError => e
140
+ puts "Error when calling OrderApi->cancel_order: #{e}"
141
+ end
142
+ ```
143
+
144
+ #### Using the cancel_order_with_http_info variant
145
+
146
+ This returns an Array which contains the response data, status code and headers.
147
+
148
+ > <Array(<BaseResponse>, Integer, Hash)> cancel_order_with_http_info(order_id)
149
+
150
+ ```ruby
151
+ begin
152
+ # Cancel an order
153
+ data, status_code, headers = api_instance.cancel_order_with_http_info(order_id)
154
+ p status_code # => 2xx
155
+ p headers # => { ... }
156
+ p data # => <BaseResponse>
157
+ rescue UltracartClient::ApiError => e
158
+ puts "Error when calling OrderApi->cancel_order_with_http_info: #{e}"
159
+ end
160
+ ```
161
+
162
+ ### Parameters
163
+
164
+ | Name | Type | Description | Notes |
165
+ | ---- | ---- | ----------- | ----- |
166
+ | **order_id** | **String** | The order id to cancel. | |
167
+
168
+ ### Return type
169
+
170
+ [**BaseResponse**](BaseResponse.md)
171
+
172
+ ### Authorization
173
+
174
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
175
+
176
+ ### HTTP request headers
177
+
178
+ - **Content-Type**: Not defined
179
+ - **Accept**: application/json
180
+
181
+
182
+ ## delete_order
183
+
184
+ > delete_order(order_id)
185
+
186
+ Delete an order
187
+
188
+ Delete an order on the UltraCart account.
189
+
190
+ ### Examples
191
+
192
+ ```ruby
193
+ require 'time'
194
+ require 'ultracart_api'
195
+ # setup authorization
196
+ UltracartClient.configure do |config|
197
+ # Configure OAuth2 access token for authorization: ultraCartOauth
198
+ config.access_token = 'YOUR ACCESS TOKEN'
199
+
200
+ # Configure API key authorization: ultraCartSimpleApiKey
201
+ config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
202
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
203
+ # config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
204
+ end
205
+
206
+ api_instance = UltracartClient::OrderApi.new
207
+ order_id = 'order_id_example' # String | The order id to delete.
208
+
209
+ begin
210
+ # Delete an order
211
+ api_instance.delete_order(order_id)
212
+ rescue UltracartClient::ApiError => e
213
+ puts "Error when calling OrderApi->delete_order: #{e}"
214
+ end
215
+ ```
216
+
217
+ #### Using the delete_order_with_http_info variant
218
+
219
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
220
+
221
+ > <Array(nil, Integer, Hash)> delete_order_with_http_info(order_id)
222
+
223
+ ```ruby
224
+ begin
225
+ # Delete an order
226
+ data, status_code, headers = api_instance.delete_order_with_http_info(order_id)
227
+ p status_code # => 2xx
228
+ p headers # => { ... }
229
+ p data # => nil
230
+ rescue UltracartClient::ApiError => e
231
+ puts "Error when calling OrderApi->delete_order_with_http_info: #{e}"
232
+ end
233
+ ```
234
+
235
+ ### Parameters
236
+
237
+ | Name | Type | Description | Notes |
238
+ | ---- | ---- | ----------- | ----- |
239
+ | **order_id** | **String** | The order id to delete. | |
240
+
241
+ ### Return type
242
+
243
+ nil (empty response body)
244
+
245
+ ### Authorization
246
+
247
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
248
+
249
+ ### HTTP request headers
250
+
251
+ - **Content-Type**: Not defined
252
+ - **Accept**: application/json
253
+
254
+
255
+ ## duplicate_order
256
+
257
+ > <OrderResponse> duplicate_order(order_id, opts)
258
+
259
+ Duplicate an order
260
+
261
+ Perform a duplicate of the specified order_id and return a new order located in Accounts Receivable.
262
+
263
+ ### Examples
264
+
265
+ ```ruby
266
+ require 'time'
267
+ require 'ultracart_api'
268
+ # setup authorization
269
+ UltracartClient.configure do |config|
270
+ # Configure OAuth2 access token for authorization: ultraCartOauth
271
+ config.access_token = 'YOUR ACCESS TOKEN'
272
+
273
+ # Configure API key authorization: ultraCartSimpleApiKey
274
+ config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
275
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
276
+ # config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
277
+ end
278
+
279
+ api_instance = UltracartClient::OrderApi.new
280
+ order_id = 'order_id_example' # String | The order id to duplicate.
281
+ opts = {
282
+ _expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
283
+ }
284
+
285
+ begin
286
+ # Duplicate an order
287
+ result = api_instance.duplicate_order(order_id, opts)
288
+ p result
289
+ rescue UltracartClient::ApiError => e
290
+ puts "Error when calling OrderApi->duplicate_order: #{e}"
291
+ end
292
+ ```
293
+
294
+ #### Using the duplicate_order_with_http_info variant
295
+
296
+ This returns an Array which contains the response data, status code and headers.
297
+
298
+ > <Array(<OrderResponse>, Integer, Hash)> duplicate_order_with_http_info(order_id, opts)
299
+
300
+ ```ruby
301
+ begin
302
+ # Duplicate an order
303
+ data, status_code, headers = api_instance.duplicate_order_with_http_info(order_id, opts)
304
+ p status_code # => 2xx
305
+ p headers # => { ... }
306
+ p data # => <OrderResponse>
307
+ rescue UltracartClient::ApiError => e
308
+ puts "Error when calling OrderApi->duplicate_order_with_http_info: #{e}"
309
+ end
310
+ ```
311
+
312
+ ### Parameters
313
+
314
+ | Name | Type | Description | Notes |
315
+ | ---- | ---- | ----------- | ----- |
316
+ | **order_id** | **String** | The order id to duplicate. | |
317
+ | **_expand** | **String** | The object expansion to perform on the result. See documentation for examples | [optional] |
318
+
319
+ ### Return type
320
+
321
+ [**OrderResponse**](OrderResponse.md)
322
+
323
+ ### Authorization
324
+
325
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
326
+
327
+ ### HTTP request headers
328
+
329
+ - **Content-Type**: Not defined
330
+ - **Accept**: application/json
331
+
332
+
333
+ ## format
334
+
335
+ > <OrderFormatResponse> format(order_id, format_options)
336
+
337
+ Format order
338
+
339
+ Format the order for display at text or html
340
+
341
+ ### Examples
342
+
343
+ ```ruby
344
+ require 'time'
345
+ require 'ultracart_api'
346
+ # setup authorization
347
+ UltracartClient.configure do |config|
348
+ # Configure OAuth2 access token for authorization: ultraCartOauth
349
+ config.access_token = 'YOUR ACCESS TOKEN'
350
+
351
+ # Configure API key authorization: ultraCartSimpleApiKey
352
+ config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
353
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
354
+ # config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
355
+ end
356
+
357
+ api_instance = UltracartClient::OrderApi.new
358
+ order_id = 'order_id_example' # String | The order id to format
359
+ format_options = UltracartClient::OrderFormat.new # OrderFormat | Format options
360
+
361
+ begin
362
+ # Format order
363
+ result = api_instance.format(order_id, format_options)
364
+ p result
365
+ rescue UltracartClient::ApiError => e
366
+ puts "Error when calling OrderApi->format: #{e}"
367
+ end
368
+ ```
369
+
370
+ #### Using the format_with_http_info variant
371
+
372
+ This returns an Array which contains the response data, status code and headers.
373
+
374
+ > <Array(<OrderFormatResponse>, Integer, Hash)> format_with_http_info(order_id, format_options)
375
+
376
+ ```ruby
377
+ begin
378
+ # Format order
379
+ data, status_code, headers = api_instance.format_with_http_info(order_id, format_options)
380
+ p status_code # => 2xx
381
+ p headers # => { ... }
382
+ p data # => <OrderFormatResponse>
383
+ rescue UltracartClient::ApiError => e
384
+ puts "Error when calling OrderApi->format_with_http_info: #{e}"
385
+ end
386
+ ```
387
+
388
+ ### Parameters
389
+
390
+ | Name | Type | Description | Notes |
391
+ | ---- | ---- | ----------- | ----- |
392
+ | **order_id** | **String** | The order id to format | |
393
+ | **format_options** | [**OrderFormat**](OrderFormat.md) | Format options | |
394
+
395
+ ### Return type
396
+
397
+ [**OrderFormatResponse**](OrderFormatResponse.md)
398
+
399
+ ### Authorization
400
+
401
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
402
+
403
+ ### HTTP request headers
404
+
405
+ - **Content-Type**: application/json
406
+ - **Accept**: application/json
407
+
408
+
409
+ ## generate_order_token
410
+
411
+ > <OrderTokenResponse> generate_order_token(order_id)
412
+
413
+ Generate an order token for a given order id
414
+
415
+ Retrieves a single order token for a given order id. The token can be used with the getOrderByToken API.
416
+
417
+ ### Examples
418
+
419
+ ```ruby
420
+ require 'time'
421
+ require 'ultracart_api'
422
+ # setup authorization
423
+ UltracartClient.configure do |config|
424
+ # Configure OAuth2 access token for authorization: ultraCartOauth
425
+ config.access_token = 'YOUR ACCESS TOKEN'
426
+
427
+ # Configure API key authorization: ultraCartSimpleApiKey
428
+ config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
429
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
430
+ # config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
431
+ end
432
+
433
+ api_instance = UltracartClient::OrderApi.new
434
+ order_id = 'order_id_example' # String | The order id to generate a token for.
435
+
436
+ begin
437
+ # Generate an order token for a given order id
438
+ result = api_instance.generate_order_token(order_id)
439
+ p result
440
+ rescue UltracartClient::ApiError => e
441
+ puts "Error when calling OrderApi->generate_order_token: #{e}"
442
+ end
443
+ ```
444
+
445
+ #### Using the generate_order_token_with_http_info variant
446
+
447
+ This returns an Array which contains the response data, status code and headers.
448
+
449
+ > <Array(<OrderTokenResponse>, Integer, Hash)> generate_order_token_with_http_info(order_id)
450
+
451
+ ```ruby
452
+ begin
453
+ # Generate an order token for a given order id
454
+ data, status_code, headers = api_instance.generate_order_token_with_http_info(order_id)
455
+ p status_code # => 2xx
456
+ p headers # => { ... }
457
+ p data # => <OrderTokenResponse>
458
+ rescue UltracartClient::ApiError => e
459
+ puts "Error when calling OrderApi->generate_order_token_with_http_info: #{e}"
460
+ end
461
+ ```
462
+
463
+ ### Parameters
464
+
465
+ | Name | Type | Description | Notes |
466
+ | ---- | ---- | ----------- | ----- |
467
+ | **order_id** | **String** | The order id to generate a token for. | |
468
+
469
+ ### Return type
470
+
471
+ [**OrderTokenResponse**](OrderTokenResponse.md)
472
+
473
+ ### Authorization
474
+
475
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
476
+
477
+ ### HTTP request headers
478
+
479
+ - **Content-Type**: Not defined
480
+ - **Accept**: application/json
481
+
482
+
483
+ ## generate_packing_slip_all_dc
484
+
485
+ > <OrderPackingSlipResponse> generate_packing_slip_all_dc(order_id)
486
+
487
+ Generate a packing slip for this order across all distribution centers.
488
+
489
+ The packing slip PDF that is returned is base 64 encoded
490
+
491
+ ### Examples
492
+
493
+ ```ruby
494
+ require 'time'
495
+ require 'ultracart_api'
496
+ # setup authorization
497
+ UltracartClient.configure do |config|
498
+ # Configure OAuth2 access token for authorization: ultraCartOauth
499
+ config.access_token = 'YOUR ACCESS TOKEN'
500
+
501
+ # Configure API key authorization: ultraCartSimpleApiKey
502
+ config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
503
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
504
+ # config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
505
+ end
506
+
507
+ api_instance = UltracartClient::OrderApi.new
508
+ order_id = 'order_id_example' # String | Order ID
509
+
510
+ begin
511
+ # Generate a packing slip for this order across all distribution centers.
512
+ result = api_instance.generate_packing_slip_all_dc(order_id)
513
+ p result
514
+ rescue UltracartClient::ApiError => e
515
+ puts "Error when calling OrderApi->generate_packing_slip_all_dc: #{e}"
516
+ end
517
+ ```
518
+
519
+ #### Using the generate_packing_slip_all_dc_with_http_info variant
520
+
521
+ This returns an Array which contains the response data, status code and headers.
522
+
523
+ > <Array(<OrderPackingSlipResponse>, Integer, Hash)> generate_packing_slip_all_dc_with_http_info(order_id)
524
+
525
+ ```ruby
526
+ begin
527
+ # Generate a packing slip for this order across all distribution centers.
528
+ data, status_code, headers = api_instance.generate_packing_slip_all_dc_with_http_info(order_id)
529
+ p status_code # => 2xx
530
+ p headers # => { ... }
531
+ p data # => <OrderPackingSlipResponse>
532
+ rescue UltracartClient::ApiError => e
533
+ puts "Error when calling OrderApi->generate_packing_slip_all_dc_with_http_info: #{e}"
534
+ end
535
+ ```
536
+
537
+ ### Parameters
538
+
539
+ | Name | Type | Description | Notes |
540
+ | ---- | ---- | ----------- | ----- |
541
+ | **order_id** | **String** | Order ID | |
542
+
543
+ ### Return type
544
+
545
+ [**OrderPackingSlipResponse**](OrderPackingSlipResponse.md)
546
+
547
+ ### Authorization
548
+
549
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
550
+
551
+ ### HTTP request headers
552
+
553
+ - **Content-Type**: Not defined
554
+ - **Accept**: application/json
555
+
556
+
557
+ ## generate_packing_slip_specific_dc
558
+
559
+ > <OrderPackingSlipResponse> generate_packing_slip_specific_dc(distribution_center_code, order_id)
560
+
561
+ Generate a packing slip for this order for the given distribution center.
562
+
563
+ The packing slip PDF that is returned is base 64 encoded
564
+
565
+ ### Examples
566
+
567
+ ```ruby
568
+ require 'time'
569
+ require 'ultracart_api'
570
+ # setup authorization
571
+ UltracartClient.configure do |config|
572
+ # Configure OAuth2 access token for authorization: ultraCartOauth
573
+ config.access_token = 'YOUR ACCESS TOKEN'
574
+
575
+ # Configure API key authorization: ultraCartSimpleApiKey
576
+ config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
577
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
578
+ # config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
579
+ end
580
+
581
+ api_instance = UltracartClient::OrderApi.new
582
+ distribution_center_code = 'distribution_center_code_example' # String | Distribution center code
583
+ order_id = 'order_id_example' # String | Order ID
584
+
585
+ begin
586
+ # Generate a packing slip for this order for the given distribution center.
587
+ result = api_instance.generate_packing_slip_specific_dc(distribution_center_code, order_id)
588
+ p result
589
+ rescue UltracartClient::ApiError => e
590
+ puts "Error when calling OrderApi->generate_packing_slip_specific_dc: #{e}"
591
+ end
592
+ ```
593
+
594
+ #### Using the generate_packing_slip_specific_dc_with_http_info variant
595
+
596
+ This returns an Array which contains the response data, status code and headers.
597
+
598
+ > <Array(<OrderPackingSlipResponse>, Integer, Hash)> generate_packing_slip_specific_dc_with_http_info(distribution_center_code, order_id)
599
+
600
+ ```ruby
601
+ begin
602
+ # Generate a packing slip for this order for the given distribution center.
603
+ data, status_code, headers = api_instance.generate_packing_slip_specific_dc_with_http_info(distribution_center_code, order_id)
604
+ p status_code # => 2xx
605
+ p headers # => { ... }
606
+ p data # => <OrderPackingSlipResponse>
607
+ rescue UltracartClient::ApiError => e
608
+ puts "Error when calling OrderApi->generate_packing_slip_specific_dc_with_http_info: #{e}"
609
+ end
610
+ ```
611
+
612
+ ### Parameters
613
+
614
+ | Name | Type | Description | Notes |
615
+ | ---- | ---- | ----------- | ----- |
616
+ | **distribution_center_code** | **String** | Distribution center code | |
617
+ | **order_id** | **String** | Order ID | |
618
+
619
+ ### Return type
620
+
621
+ [**OrderPackingSlipResponse**](OrderPackingSlipResponse.md)
622
+
623
+ ### Authorization
624
+
625
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
626
+
627
+ ### HTTP request headers
628
+
629
+ - **Content-Type**: Not defined
630
+ - **Accept**: application/json
631
+
632
+
633
+ ## get_accounts_receivable_retry_config
634
+
635
+ > <AccountsReceivableRetryConfigResponse> get_accounts_receivable_retry_config
636
+
637
+ Retrieve A/R Retry Configuration
638
+
639
+ Retrieve A/R Retry Configuration. This is primarily an internal API call. It is doubtful you would ever need to use it.
640
+
641
+ ### Examples
642
+
643
+ ```ruby
644
+ require 'time'
645
+ require 'ultracart_api'
646
+ # setup authorization
647
+ UltracartClient.configure do |config|
648
+ # Configure OAuth2 access token for authorization: ultraCartOauth
649
+ config.access_token = 'YOUR ACCESS TOKEN'
650
+
651
+ # Configure API key authorization: ultraCartSimpleApiKey
652
+ config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
653
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
654
+ # config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
655
+ end
656
+
657
+ api_instance = UltracartClient::OrderApi.new
658
+
659
+ begin
660
+ # Retrieve A/R Retry Configuration
661
+ result = api_instance.get_accounts_receivable_retry_config
662
+ p result
663
+ rescue UltracartClient::ApiError => e
664
+ puts "Error when calling OrderApi->get_accounts_receivable_retry_config: #{e}"
665
+ end
666
+ ```
667
+
668
+ #### Using the get_accounts_receivable_retry_config_with_http_info variant
669
+
670
+ This returns an Array which contains the response data, status code and headers.
671
+
672
+ > <Array(<AccountsReceivableRetryConfigResponse>, Integer, Hash)> get_accounts_receivable_retry_config_with_http_info
673
+
674
+ ```ruby
675
+ begin
676
+ # Retrieve A/R Retry Configuration
677
+ data, status_code, headers = api_instance.get_accounts_receivable_retry_config_with_http_info
678
+ p status_code # => 2xx
679
+ p headers # => { ... }
680
+ p data # => <AccountsReceivableRetryConfigResponse>
681
+ rescue UltracartClient::ApiError => e
682
+ puts "Error when calling OrderApi->get_accounts_receivable_retry_config_with_http_info: #{e}"
683
+ end
684
+ ```
685
+
686
+ ### Parameters
687
+
688
+ This endpoint does not need any parameter.
689
+
690
+ ### Return type
691
+
692
+ [**AccountsReceivableRetryConfigResponse**](AccountsReceivableRetryConfigResponse.md)
693
+
694
+ ### Authorization
695
+
696
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
697
+
698
+ ### HTTP request headers
699
+
700
+ - **Content-Type**: Not defined
701
+ - **Accept**: application/json
702
+
703
+
704
+ ## get_accounts_receivable_retry_stats
705
+
706
+ > <AccountsReceivableRetryStatsResponse> get_accounts_receivable_retry_stats(opts)
707
+
708
+ Retrieve A/R Retry Statistics
709
+
710
+ Retrieve A/R Retry Statistics. This is primarily an internal API call. It is doubtful you would ever need to use it.
711
+
712
+ ### Examples
713
+
714
+ ```ruby
715
+ require 'time'
716
+ require 'ultracart_api'
717
+ # setup authorization
718
+ UltracartClient.configure do |config|
719
+ # Configure OAuth2 access token for authorization: ultraCartOauth
720
+ config.access_token = 'YOUR ACCESS TOKEN'
721
+
722
+ # Configure API key authorization: ultraCartSimpleApiKey
723
+ config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
724
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
725
+ # config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
726
+ end
727
+
728
+ api_instance = UltracartClient::OrderApi.new
729
+ opts = {
730
+ from: 'from_example', # String |
731
+ to: 'to_example' # String |
732
+ }
733
+
734
+ begin
735
+ # Retrieve A/R Retry Statistics
736
+ result = api_instance.get_accounts_receivable_retry_stats(opts)
737
+ p result
738
+ rescue UltracartClient::ApiError => e
739
+ puts "Error when calling OrderApi->get_accounts_receivable_retry_stats: #{e}"
740
+ end
741
+ ```
742
+
743
+ #### Using the get_accounts_receivable_retry_stats_with_http_info variant
744
+
745
+ This returns an Array which contains the response data, status code and headers.
746
+
747
+ > <Array(<AccountsReceivableRetryStatsResponse>, Integer, Hash)> get_accounts_receivable_retry_stats_with_http_info(opts)
748
+
749
+ ```ruby
750
+ begin
751
+ # Retrieve A/R Retry Statistics
752
+ data, status_code, headers = api_instance.get_accounts_receivable_retry_stats_with_http_info(opts)
753
+ p status_code # => 2xx
754
+ p headers # => { ... }
755
+ p data # => <AccountsReceivableRetryStatsResponse>
756
+ rescue UltracartClient::ApiError => e
757
+ puts "Error when calling OrderApi->get_accounts_receivable_retry_stats_with_http_info: #{e}"
758
+ end
759
+ ```
760
+
761
+ ### Parameters
762
+
763
+ | Name | Type | Description | Notes |
764
+ | ---- | ---- | ----------- | ----- |
765
+ | **from** | **String** | | [optional] |
766
+ | **to** | **String** | | [optional] |
767
+
768
+ ### Return type
769
+
770
+ [**AccountsReceivableRetryStatsResponse**](AccountsReceivableRetryStatsResponse.md)
771
+
772
+ ### Authorization
773
+
774
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
775
+
776
+ ### HTTP request headers
777
+
778
+ - **Content-Type**: Not defined
779
+ - **Accept**: application/json
780
+
781
+
782
+ ## get_order
783
+
784
+ > <OrderResponse> get_order(order_id, opts)
785
+
786
+ Retrieve an order
787
+
788
+ Retrieves a single order using the specified order id.
789
+
790
+ ### Examples
791
+
792
+ ```ruby
793
+ require 'time'
794
+ require 'ultracart_api'
795
+ # setup authorization
796
+ UltracartClient.configure do |config|
797
+ # Configure OAuth2 access token for authorization: ultraCartOauth
798
+ config.access_token = 'YOUR ACCESS TOKEN'
799
+
800
+ # Configure API key authorization: ultraCartSimpleApiKey
801
+ config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
802
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
803
+ # config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
804
+ end
805
+
806
+ api_instance = UltracartClient::OrderApi.new
807
+ order_id = 'order_id_example' # String | The order id to retrieve.
808
+ opts = {
809
+ _expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
810
+ }
811
+
812
+ begin
813
+ # Retrieve an order
814
+ result = api_instance.get_order(order_id, opts)
815
+ p result
816
+ rescue UltracartClient::ApiError => e
817
+ puts "Error when calling OrderApi->get_order: #{e}"
818
+ end
819
+ ```
820
+
821
+ #### Using the get_order_with_http_info variant
822
+
823
+ This returns an Array which contains the response data, status code and headers.
824
+
825
+ > <Array(<OrderResponse>, Integer, Hash)> get_order_with_http_info(order_id, opts)
826
+
827
+ ```ruby
828
+ begin
829
+ # Retrieve an order
830
+ data, status_code, headers = api_instance.get_order_with_http_info(order_id, opts)
831
+ p status_code # => 2xx
832
+ p headers # => { ... }
833
+ p data # => <OrderResponse>
834
+ rescue UltracartClient::ApiError => e
835
+ puts "Error when calling OrderApi->get_order_with_http_info: #{e}"
836
+ end
837
+ ```
838
+
839
+ ### Parameters
840
+
841
+ | Name | Type | Description | Notes |
842
+ | ---- | ---- | ----------- | ----- |
843
+ | **order_id** | **String** | The order id to retrieve. | |
844
+ | **_expand** | **String** | The object expansion to perform on the result. See documentation for examples | [optional] |
845
+
846
+ ### Return type
847
+
848
+ [**OrderResponse**](OrderResponse.md)
849
+
850
+ ### Authorization
851
+
852
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
853
+
854
+ ### HTTP request headers
855
+
856
+ - **Content-Type**: Not defined
857
+ - **Accept**: application/json
858
+
859
+
860
+ ## get_order_by_token
861
+
862
+ > <OrderResponse> get_order_by_token(order_by_token_query, opts)
863
+
864
+ Retrieve an order using a token
865
+
866
+ Retrieves a single order using the specified order token.
867
+
868
+ ### Examples
869
+
870
+ ```ruby
871
+ require 'time'
872
+ require 'ultracart_api'
873
+ # setup authorization
874
+ UltracartClient.configure do |config|
875
+ # Configure OAuth2 access token for authorization: ultraCartOauth
876
+ config.access_token = 'YOUR ACCESS TOKEN'
877
+
878
+ # Configure API key authorization: ultraCartSimpleApiKey
879
+ config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
880
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
881
+ # config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
882
+ end
883
+
884
+ api_instance = UltracartClient::OrderApi.new
885
+ order_by_token_query = UltracartClient::OrderByTokenQuery.new # OrderByTokenQuery | Order by token query
886
+ opts = {
887
+ _expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
888
+ }
889
+
890
+ begin
891
+ # Retrieve an order using a token
892
+ result = api_instance.get_order_by_token(order_by_token_query, opts)
893
+ p result
894
+ rescue UltracartClient::ApiError => e
895
+ puts "Error when calling OrderApi->get_order_by_token: #{e}"
896
+ end
897
+ ```
898
+
899
+ #### Using the get_order_by_token_with_http_info variant
900
+
901
+ This returns an Array which contains the response data, status code and headers.
902
+
903
+ > <Array(<OrderResponse>, Integer, Hash)> get_order_by_token_with_http_info(order_by_token_query, opts)
904
+
905
+ ```ruby
906
+ begin
907
+ # Retrieve an order using a token
908
+ data, status_code, headers = api_instance.get_order_by_token_with_http_info(order_by_token_query, opts)
909
+ p status_code # => 2xx
910
+ p headers # => { ... }
911
+ p data # => <OrderResponse>
912
+ rescue UltracartClient::ApiError => e
913
+ puts "Error when calling OrderApi->get_order_by_token_with_http_info: #{e}"
914
+ end
915
+ ```
916
+
917
+ ### Parameters
918
+
919
+ | Name | Type | Description | Notes |
920
+ | ---- | ---- | ----------- | ----- |
921
+ | **order_by_token_query** | [**OrderByTokenQuery**](OrderByTokenQuery.md) | Order by token query | |
922
+ | **_expand** | **String** | The object expansion to perform on the result. See documentation for examples | [optional] |
923
+
924
+ ### Return type
925
+
926
+ [**OrderResponse**](OrderResponse.md)
927
+
928
+ ### Authorization
929
+
930
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
931
+
932
+ ### HTTP request headers
933
+
934
+ - **Content-Type**: application/json
935
+ - **Accept**: application/json
936
+
937
+
938
+ ## get_orders
939
+
940
+ > <OrdersResponse> get_orders(opts)
941
+
942
+ Retrieve orders
943
+
944
+ Retrieves a group of orders from the account. If no parameters are specified, the API call will fail with a bad request error. Always specify some parameters to limit the scope of the orders returned to ones you are truly interested in. You will need to make multiple API calls in order to retrieve the entire result set since this API performs result set pagination.
945
+
946
+ ### Examples
947
+
948
+ ```ruby
949
+ require 'time'
950
+ require 'ultracart_api'
951
+ # setup authorization
952
+ UltracartClient.configure do |config|
953
+ # Configure OAuth2 access token for authorization: ultraCartOauth
954
+ config.access_token = 'YOUR ACCESS TOKEN'
955
+
956
+ # Configure API key authorization: ultraCartSimpleApiKey
957
+ config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
958
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
959
+ # config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
960
+ end
961
+
962
+ api_instance = UltracartClient::OrderApi.new
963
+ opts = {
964
+ order_id: 'order_id_example', # String | Order Id
965
+ payment_method: 'payment_method_example', # String | Payment Method
966
+ company: 'company_example', # String | Company
967
+ first_name: 'first_name_example', # String | First Name
968
+ last_name: 'last_name_example', # String | Last Name
969
+ city: 'city_example', # String | City
970
+ state_region: 'state_region_example', # String | State/Region
971
+ postal_code: 'postal_code_example', # String | Postal Code
972
+ country_code: 'country_code_example', # String | Country Code (ISO-3166 two letter)
973
+ phone: 'phone_example', # String | Phone
974
+ email: 'email_example', # String | Email
975
+ cc_email: 'cc_email_example', # String | CC Email
976
+ total: 8.14, # Float | Total
977
+ screen_branding_theme_code: 'screen_branding_theme_code_example', # String | Screen Branding Theme Code
978
+ storefront_host_name: 'storefront_host_name_example', # String | StoreFront Host Name
979
+ creation_date_begin: 'creation_date_begin_example', # String | Creation Date Begin
980
+ creation_date_end: 'creation_date_end_example', # String | Creation Date End
981
+ payment_date_begin: 'payment_date_begin_example', # String | Payment Date Begin
982
+ payment_date_end: 'payment_date_end_example', # String | Payment Date End
983
+ shipment_date_begin: 'shipment_date_begin_example', # String | Shipment Date Begin
984
+ shipment_date_end: 'shipment_date_end_example', # String | Shipment Date End
985
+ rma: 'rma_example', # String | RMA
986
+ purchase_order_number: 'purchase_order_number_example', # String | Purchase Order Number
987
+ item_id: 'item_id_example', # String | Item Id
988
+ current_stage: 'current_stage_example', # String | Current Stage
989
+ channel_partner_code: 'channel_partner_code_example', # String | Channel Partner Code
990
+ channel_partner_order_id: 'channel_partner_order_id_example', # String | Channel Partner Order ID
991
+ _limit: 56, # Integer | The maximum number of records to return on this one API call. (Maximum 200)
992
+ _offset: 56, # Integer | Pagination of the record set. Offset is a zero based index.
993
+ _sort: '_sort_example', # String | The sort order of the orders. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
994
+ _expand: '_expand_example' # String | The object expansion to perform on the result.
995
+ }
996
+
997
+ begin
998
+ # Retrieve orders
999
+ result = api_instance.get_orders(opts)
1000
+ p result
1001
+ rescue UltracartClient::ApiError => e
1002
+ puts "Error when calling OrderApi->get_orders: #{e}"
1003
+ end
1004
+ ```
1005
+
1006
+ #### Using the get_orders_with_http_info variant
1007
+
1008
+ This returns an Array which contains the response data, status code and headers.
1009
+
1010
+ > <Array(<OrdersResponse>, Integer, Hash)> get_orders_with_http_info(opts)
1011
+
1012
+ ```ruby
1013
+ begin
1014
+ # Retrieve orders
1015
+ data, status_code, headers = api_instance.get_orders_with_http_info(opts)
1016
+ p status_code # => 2xx
1017
+ p headers # => { ... }
1018
+ p data # => <OrdersResponse>
1019
+ rescue UltracartClient::ApiError => e
1020
+ puts "Error when calling OrderApi->get_orders_with_http_info: #{e}"
1021
+ end
1022
+ ```
1023
+
1024
+ ### Parameters
1025
+
1026
+ | Name | Type | Description | Notes |
1027
+ | ---- | ---- | ----------- | ----- |
1028
+ | **order_id** | **String** | Order Id | [optional] |
1029
+ | **payment_method** | **String** | Payment Method | [optional] |
1030
+ | **company** | **String** | Company | [optional] |
1031
+ | **first_name** | **String** | First Name | [optional] |
1032
+ | **last_name** | **String** | Last Name | [optional] |
1033
+ | **city** | **String** | City | [optional] |
1034
+ | **state_region** | **String** | State/Region | [optional] |
1035
+ | **postal_code** | **String** | Postal Code | [optional] |
1036
+ | **country_code** | **String** | Country Code (ISO-3166 two letter) | [optional] |
1037
+ | **phone** | **String** | Phone | [optional] |
1038
+ | **email** | **String** | Email | [optional] |
1039
+ | **cc_email** | **String** | CC Email | [optional] |
1040
+ | **total** | **Float** | Total | [optional] |
1041
+ | **screen_branding_theme_code** | **String** | Screen Branding Theme Code | [optional] |
1042
+ | **storefront_host_name** | **String** | StoreFront Host Name | [optional] |
1043
+ | **creation_date_begin** | **String** | Creation Date Begin | [optional] |
1044
+ | **creation_date_end** | **String** | Creation Date End | [optional] |
1045
+ | **payment_date_begin** | **String** | Payment Date Begin | [optional] |
1046
+ | **payment_date_end** | **String** | Payment Date End | [optional] |
1047
+ | **shipment_date_begin** | **String** | Shipment Date Begin | [optional] |
1048
+ | **shipment_date_end** | **String** | Shipment Date End | [optional] |
1049
+ | **rma** | **String** | RMA | [optional] |
1050
+ | **purchase_order_number** | **String** | Purchase Order Number | [optional] |
1051
+ | **item_id** | **String** | Item Id | [optional] |
1052
+ | **current_stage** | **String** | Current Stage | [optional] |
1053
+ | **channel_partner_code** | **String** | Channel Partner Code | [optional] |
1054
+ | **channel_partner_order_id** | **String** | Channel Partner Order ID | [optional] |
1055
+ | **_limit** | **Integer** | The maximum number of records to return on this one API call. (Maximum 200) | [optional][default to 100] |
1056
+ | **_offset** | **Integer** | Pagination of the record set. Offset is a zero based index. | [optional][default to 0] |
1057
+ | **_sort** | **String** | The sort order of the orders. See Sorting documentation for examples of using multiple values and sorting by ascending and descending. | [optional] |
1058
+ | **_expand** | **String** | The object expansion to perform on the result. | [optional] |
1059
+
1060
+ ### Return type
1061
+
1062
+ [**OrdersResponse**](OrdersResponse.md)
1063
+
1064
+ ### Authorization
1065
+
1066
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1067
+
1068
+ ### HTTP request headers
1069
+
1070
+ - **Content-Type**: Not defined
1071
+ - **Accept**: application/json
1072
+
1073
+
1074
+ ## get_orders_batch
1075
+
1076
+ > <OrdersResponse> get_orders_batch(order_batch, opts)
1077
+
1078
+ Retrieve order batch
1079
+
1080
+ Retrieves a group of orders from the account based on an array of order ids. If more than 500 order ids are specified, the API call will fail with a bad request error.
1081
+
1082
+ ### Examples
1083
+
1084
+ ```ruby
1085
+ require 'time'
1086
+ require 'ultracart_api'
1087
+ # setup authorization
1088
+ UltracartClient.configure do |config|
1089
+ # Configure OAuth2 access token for authorization: ultraCartOauth
1090
+ config.access_token = 'YOUR ACCESS TOKEN'
1091
+
1092
+ # Configure API key authorization: ultraCartSimpleApiKey
1093
+ config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
1094
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1095
+ # config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
1096
+ end
1097
+
1098
+ api_instance = UltracartClient::OrderApi.new
1099
+ order_batch = UltracartClient::OrderQueryBatch.new # OrderQueryBatch | Order batch
1100
+ opts = {
1101
+ _expand: '_expand_example' # String | The object expansion to perform on the result.
1102
+ }
1103
+
1104
+ begin
1105
+ # Retrieve order batch
1106
+ result = api_instance.get_orders_batch(order_batch, opts)
1107
+ p result
1108
+ rescue UltracartClient::ApiError => e
1109
+ puts "Error when calling OrderApi->get_orders_batch: #{e}"
1110
+ end
1111
+ ```
1112
+
1113
+ #### Using the get_orders_batch_with_http_info variant
1114
+
1115
+ This returns an Array which contains the response data, status code and headers.
1116
+
1117
+ > <Array(<OrdersResponse>, Integer, Hash)> get_orders_batch_with_http_info(order_batch, opts)
1118
+
1119
+ ```ruby
1120
+ begin
1121
+ # Retrieve order batch
1122
+ data, status_code, headers = api_instance.get_orders_batch_with_http_info(order_batch, opts)
1123
+ p status_code # => 2xx
1124
+ p headers # => { ... }
1125
+ p data # => <OrdersResponse>
1126
+ rescue UltracartClient::ApiError => e
1127
+ puts "Error when calling OrderApi->get_orders_batch_with_http_info: #{e}"
1128
+ end
1129
+ ```
1130
+
1131
+ ### Parameters
1132
+
1133
+ | Name | Type | Description | Notes |
1134
+ | ---- | ---- | ----------- | ----- |
1135
+ | **order_batch** | [**OrderQueryBatch**](OrderQueryBatch.md) | Order batch | |
1136
+ | **_expand** | **String** | The object expansion to perform on the result. | [optional] |
1137
+
1138
+ ### Return type
1139
+
1140
+ [**OrdersResponse**](OrdersResponse.md)
1141
+
1142
+ ### Authorization
1143
+
1144
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1145
+
1146
+ ### HTTP request headers
1147
+
1148
+ - **Content-Type**: application/json
1149
+ - **Accept**: application/json
1150
+
1151
+
1152
+ ## get_orders_by_query
1153
+
1154
+ > <OrdersResponse> get_orders_by_query(order_query, opts)
1155
+
1156
+ Retrieve orders by query
1157
+
1158
+ Retrieves a group of orders from the account based on a query object. If no parameters are specified, the API call will fail with a bad request error. Always specify some parameters to limit the scope of the orders returned to ones you are truly interested in. You will need to make multiple API calls in order to retrieve the entire result set since this API performs result set pagination.
1159
+
1160
+ ### Examples
1161
+
1162
+ ```ruby
1163
+ require 'time'
1164
+ require 'ultracart_api'
1165
+ # setup authorization
1166
+ UltracartClient.configure do |config|
1167
+ # Configure OAuth2 access token for authorization: ultraCartOauth
1168
+ config.access_token = 'YOUR ACCESS TOKEN'
1169
+
1170
+ # Configure API key authorization: ultraCartSimpleApiKey
1171
+ config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
1172
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1173
+ # config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
1174
+ end
1175
+
1176
+ api_instance = UltracartClient::OrderApi.new
1177
+ order_query = UltracartClient::OrderQuery.new # OrderQuery | Order query
1178
+ opts = {
1179
+ _limit: 56, # Integer | The maximum number of records to return on this one API call. (Maximum 200)
1180
+ _offset: 56, # Integer | Pagination of the record set. Offset is a zero based index.
1181
+ _sort: '_sort_example', # String | The sort order of the orders. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
1182
+ _expand: '_expand_example' # String | The object expansion to perform on the result.
1183
+ }
1184
+
1185
+ begin
1186
+ # Retrieve orders by query
1187
+ result = api_instance.get_orders_by_query(order_query, opts)
1188
+ p result
1189
+ rescue UltracartClient::ApiError => e
1190
+ puts "Error when calling OrderApi->get_orders_by_query: #{e}"
1191
+ end
1192
+ ```
1193
+
1194
+ #### Using the get_orders_by_query_with_http_info variant
1195
+
1196
+ This returns an Array which contains the response data, status code and headers.
1197
+
1198
+ > <Array(<OrdersResponse>, Integer, Hash)> get_orders_by_query_with_http_info(order_query, opts)
1199
+
1200
+ ```ruby
1201
+ begin
1202
+ # Retrieve orders by query
1203
+ data, status_code, headers = api_instance.get_orders_by_query_with_http_info(order_query, opts)
1204
+ p status_code # => 2xx
1205
+ p headers # => { ... }
1206
+ p data # => <OrdersResponse>
1207
+ rescue UltracartClient::ApiError => e
1208
+ puts "Error when calling OrderApi->get_orders_by_query_with_http_info: #{e}"
1209
+ end
1210
+ ```
1211
+
1212
+ ### Parameters
1213
+
1214
+ | Name | Type | Description | Notes |
1215
+ | ---- | ---- | ----------- | ----- |
1216
+ | **order_query** | [**OrderQuery**](OrderQuery.md) | Order query | |
1217
+ | **_limit** | **Integer** | The maximum number of records to return on this one API call. (Maximum 200) | [optional][default to 100] |
1218
+ | **_offset** | **Integer** | Pagination of the record set. Offset is a zero based index. | [optional][default to 0] |
1219
+ | **_sort** | **String** | The sort order of the orders. See Sorting documentation for examples of using multiple values and sorting by ascending and descending. | [optional] |
1220
+ | **_expand** | **String** | The object expansion to perform on the result. | [optional] |
1221
+
1222
+ ### Return type
1223
+
1224
+ [**OrdersResponse**](OrdersResponse.md)
1225
+
1226
+ ### Authorization
1227
+
1228
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1229
+
1230
+ ### HTTP request headers
1231
+
1232
+ - **Content-Type**: application/json
1233
+ - **Accept**: application/json
1234
+
1235
+
1236
+ ## insert_order
1237
+
1238
+ > <OrderResponse> insert_order(order, opts)
1239
+
1240
+ Insert an order
1241
+
1242
+ Inserts a new order on the UltraCart account. This is probably NOT the method you want. This is for channel orders. For regular orders the customer is entering, use the CheckoutApi. It has many, many more features, checks, and validations.
1243
+
1244
+ ### Examples
1245
+
1246
+ ```ruby
1247
+ require 'time'
1248
+ require 'ultracart_api'
1249
+ # setup authorization
1250
+ UltracartClient.configure do |config|
1251
+ # Configure OAuth2 access token for authorization: ultraCartOauth
1252
+ config.access_token = 'YOUR ACCESS TOKEN'
1253
+
1254
+ # Configure API key authorization: ultraCartSimpleApiKey
1255
+ config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
1256
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1257
+ # config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
1258
+ end
1259
+
1260
+ api_instance = UltracartClient::OrderApi.new
1261
+ order = UltracartClient::Order.new # Order | Order to insert
1262
+ opts = {
1263
+ _expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
1264
+ }
1265
+
1266
+ begin
1267
+ # Insert an order
1268
+ result = api_instance.insert_order(order, opts)
1269
+ p result
1270
+ rescue UltracartClient::ApiError => e
1271
+ puts "Error when calling OrderApi->insert_order: #{e}"
1272
+ end
1273
+ ```
1274
+
1275
+ #### Using the insert_order_with_http_info variant
1276
+
1277
+ This returns an Array which contains the response data, status code and headers.
1278
+
1279
+ > <Array(<OrderResponse>, Integer, Hash)> insert_order_with_http_info(order, opts)
1280
+
1281
+ ```ruby
1282
+ begin
1283
+ # Insert an order
1284
+ data, status_code, headers = api_instance.insert_order_with_http_info(order, opts)
1285
+ p status_code # => 2xx
1286
+ p headers # => { ... }
1287
+ p data # => <OrderResponse>
1288
+ rescue UltracartClient::ApiError => e
1289
+ puts "Error when calling OrderApi->insert_order_with_http_info: #{e}"
1290
+ end
1291
+ ```
1292
+
1293
+ ### Parameters
1294
+
1295
+ | Name | Type | Description | Notes |
1296
+ | ---- | ---- | ----------- | ----- |
1297
+ | **order** | [**Order**](Order.md) | Order to insert | |
1298
+ | **_expand** | **String** | The object expansion to perform on the result. See documentation for examples | [optional] |
1299
+
1300
+ ### Return type
1301
+
1302
+ [**OrderResponse**](OrderResponse.md)
1303
+
1304
+ ### Authorization
1305
+
1306
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1307
+
1308
+ ### HTTP request headers
1309
+
1310
+ - **Content-Type**: application/json; charset=UTF-8
1311
+ - **Accept**: application/json
1312
+
1313
+
1314
+ ## process_payment
1315
+
1316
+ > <OrderProcessPaymentResponse> process_payment(order_id, process_payment_request)
1317
+
1318
+ Process payment
1319
+
1320
+ Process payment on order
1321
+
1322
+ ### Examples
1323
+
1324
+ ```ruby
1325
+ require 'time'
1326
+ require 'ultracart_api'
1327
+ # setup authorization
1328
+ UltracartClient.configure do |config|
1329
+ # Configure OAuth2 access token for authorization: ultraCartOauth
1330
+ config.access_token = 'YOUR ACCESS TOKEN'
1331
+
1332
+ # Configure API key authorization: ultraCartSimpleApiKey
1333
+ config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
1334
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1335
+ # config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
1336
+ end
1337
+
1338
+ api_instance = UltracartClient::OrderApi.new
1339
+ order_id = 'order_id_example' # String | The order id to process payment on
1340
+ process_payment_request = UltracartClient::OrderProcessPaymentRequest.new # OrderProcessPaymentRequest | Process payment parameters
1341
+
1342
+ begin
1343
+ # Process payment
1344
+ result = api_instance.process_payment(order_id, process_payment_request)
1345
+ p result
1346
+ rescue UltracartClient::ApiError => e
1347
+ puts "Error when calling OrderApi->process_payment: #{e}"
1348
+ end
1349
+ ```
1350
+
1351
+ #### Using the process_payment_with_http_info variant
1352
+
1353
+ This returns an Array which contains the response data, status code and headers.
1354
+
1355
+ > <Array(<OrderProcessPaymentResponse>, Integer, Hash)> process_payment_with_http_info(order_id, process_payment_request)
1356
+
1357
+ ```ruby
1358
+ begin
1359
+ # Process payment
1360
+ data, status_code, headers = api_instance.process_payment_with_http_info(order_id, process_payment_request)
1361
+ p status_code # => 2xx
1362
+ p headers # => { ... }
1363
+ p data # => <OrderProcessPaymentResponse>
1364
+ rescue UltracartClient::ApiError => e
1365
+ puts "Error when calling OrderApi->process_payment_with_http_info: #{e}"
1366
+ end
1367
+ ```
1368
+
1369
+ ### Parameters
1370
+
1371
+ | Name | Type | Description | Notes |
1372
+ | ---- | ---- | ----------- | ----- |
1373
+ | **order_id** | **String** | The order id to process payment on | |
1374
+ | **process_payment_request** | [**OrderProcessPaymentRequest**](OrderProcessPaymentRequest.md) | Process payment parameters | |
1375
+
1376
+ ### Return type
1377
+
1378
+ [**OrderProcessPaymentResponse**](OrderProcessPaymentResponse.md)
1379
+
1380
+ ### Authorization
1381
+
1382
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1383
+
1384
+ ### HTTP request headers
1385
+
1386
+ - **Content-Type**: application/json
1387
+ - **Accept**: application/json
1388
+
1389
+
1390
+ ## refund_order
1391
+
1392
+ > <OrderResponse> refund_order(order_id, order, opts)
1393
+
1394
+ Refund an order
1395
+
1396
+ Perform a refund operation on an order and then update the order if successful
1397
+
1398
+ ### Examples
1399
+
1400
+ ```ruby
1401
+ require 'time'
1402
+ require 'ultracart_api'
1403
+ # setup authorization
1404
+ UltracartClient.configure do |config|
1405
+ # Configure OAuth2 access token for authorization: ultraCartOauth
1406
+ config.access_token = 'YOUR ACCESS TOKEN'
1407
+
1408
+ # Configure API key authorization: ultraCartSimpleApiKey
1409
+ config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
1410
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1411
+ # config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
1412
+ end
1413
+
1414
+ api_instance = UltracartClient::OrderApi.new
1415
+ order_id = 'order_id_example' # String | The order id to refund.
1416
+ order = UltracartClient::Order.new # Order | Order to refund
1417
+ opts = {
1418
+ reject_after_refund: true, # Boolean | Reject order after refund
1419
+ skip_customer_notification: true, # Boolean | Skip customer email notification
1420
+ auto_order_cancel: true, # Boolean | Cancel associated auto orders
1421
+ manual_refund: true, # Boolean | Consider a manual refund done externally
1422
+ reverse_affiliate_transactions: true, # Boolean | Reverse affiliate transactions
1423
+ _expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
1424
+ }
1425
+
1426
+ begin
1427
+ # Refund an order
1428
+ result = api_instance.refund_order(order_id, order, opts)
1429
+ p result
1430
+ rescue UltracartClient::ApiError => e
1431
+ puts "Error when calling OrderApi->refund_order: #{e}"
1432
+ end
1433
+ ```
1434
+
1435
+ #### Using the refund_order_with_http_info variant
1436
+
1437
+ This returns an Array which contains the response data, status code and headers.
1438
+
1439
+ > <Array(<OrderResponse>, Integer, Hash)> refund_order_with_http_info(order_id, order, opts)
1440
+
1441
+ ```ruby
1442
+ begin
1443
+ # Refund an order
1444
+ data, status_code, headers = api_instance.refund_order_with_http_info(order_id, order, opts)
1445
+ p status_code # => 2xx
1446
+ p headers # => { ... }
1447
+ p data # => <OrderResponse>
1448
+ rescue UltracartClient::ApiError => e
1449
+ puts "Error when calling OrderApi->refund_order_with_http_info: #{e}"
1450
+ end
1451
+ ```
1452
+
1453
+ ### Parameters
1454
+
1455
+ | Name | Type | Description | Notes |
1456
+ | ---- | ---- | ----------- | ----- |
1457
+ | **order_id** | **String** | The order id to refund. | |
1458
+ | **order** | [**Order**](Order.md) | Order to refund | |
1459
+ | **reject_after_refund** | **Boolean** | Reject order after refund | [optional][default to false] |
1460
+ | **skip_customer_notification** | **Boolean** | Skip customer email notification | [optional][default to false] |
1461
+ | **auto_order_cancel** | **Boolean** | Cancel associated auto orders | [optional][default to false] |
1462
+ | **manual_refund** | **Boolean** | Consider a manual refund done externally | [optional][default to false] |
1463
+ | **reverse_affiliate_transactions** | **Boolean** | Reverse affiliate transactions | [optional][default to true] |
1464
+ | **_expand** | **String** | The object expansion to perform on the result. See documentation for examples | [optional] |
1465
+
1466
+ ### Return type
1467
+
1468
+ [**OrderResponse**](OrderResponse.md)
1469
+
1470
+ ### Authorization
1471
+
1472
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1473
+
1474
+ ### HTTP request headers
1475
+
1476
+ - **Content-Type**: application/json; charset=UTF-8
1477
+ - **Accept**: application/json
1478
+
1479
+
1480
+ ## replacement
1481
+
1482
+ > <OrderReplacementResponse> replacement(order_id, replacement)
1483
+
1484
+ Replacement order
1485
+
1486
+ Create a replacement order based upon a previous order
1487
+
1488
+ ### Examples
1489
+
1490
+ ```ruby
1491
+ require 'time'
1492
+ require 'ultracart_api'
1493
+ # setup authorization
1494
+ UltracartClient.configure do |config|
1495
+ # Configure OAuth2 access token for authorization: ultraCartOauth
1496
+ config.access_token = 'YOUR ACCESS TOKEN'
1497
+
1498
+ # Configure API key authorization: ultraCartSimpleApiKey
1499
+ config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
1500
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1501
+ # config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
1502
+ end
1503
+
1504
+ api_instance = UltracartClient::OrderApi.new
1505
+ order_id = 'order_id_example' # String | The order id to generate a replacement for.
1506
+ replacement = UltracartClient::OrderReplacement.new # OrderReplacement | Replacement order details
1507
+
1508
+ begin
1509
+ # Replacement order
1510
+ result = api_instance.replacement(order_id, replacement)
1511
+ p result
1512
+ rescue UltracartClient::ApiError => e
1513
+ puts "Error when calling OrderApi->replacement: #{e}"
1514
+ end
1515
+ ```
1516
+
1517
+ #### Using the replacement_with_http_info variant
1518
+
1519
+ This returns an Array which contains the response data, status code and headers.
1520
+
1521
+ > <Array(<OrderReplacementResponse>, Integer, Hash)> replacement_with_http_info(order_id, replacement)
1522
+
1523
+ ```ruby
1524
+ begin
1525
+ # Replacement order
1526
+ data, status_code, headers = api_instance.replacement_with_http_info(order_id, replacement)
1527
+ p status_code # => 2xx
1528
+ p headers # => { ... }
1529
+ p data # => <OrderReplacementResponse>
1530
+ rescue UltracartClient::ApiError => e
1531
+ puts "Error when calling OrderApi->replacement_with_http_info: #{e}"
1532
+ end
1533
+ ```
1534
+
1535
+ ### Parameters
1536
+
1537
+ | Name | Type | Description | Notes |
1538
+ | ---- | ---- | ----------- | ----- |
1539
+ | **order_id** | **String** | The order id to generate a replacement for. | |
1540
+ | **replacement** | [**OrderReplacement**](OrderReplacement.md) | Replacement order details | |
1541
+
1542
+ ### Return type
1543
+
1544
+ [**OrderReplacementResponse**](OrderReplacementResponse.md)
1545
+
1546
+ ### Authorization
1547
+
1548
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1549
+
1550
+ ### HTTP request headers
1551
+
1552
+ - **Content-Type**: application/json
1553
+ - **Accept**: application/json
1554
+
1555
+
1556
+ ## resend_receipt
1557
+
1558
+ > <BaseResponse> resend_receipt(order_id)
1559
+
1560
+ Resend receipt
1561
+
1562
+ Resend the receipt for an order on the UltraCart account.
1563
+
1564
+ ### Examples
1565
+
1566
+ ```ruby
1567
+ require 'time'
1568
+ require 'ultracart_api'
1569
+ # setup authorization
1570
+ UltracartClient.configure do |config|
1571
+ # Configure OAuth2 access token for authorization: ultraCartOauth
1572
+ config.access_token = 'YOUR ACCESS TOKEN'
1573
+
1574
+ # Configure API key authorization: ultraCartSimpleApiKey
1575
+ config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
1576
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1577
+ # config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
1578
+ end
1579
+
1580
+ api_instance = UltracartClient::OrderApi.new
1581
+ order_id = 'order_id_example' # String | The order id to resend the receipt for.
1582
+
1583
+ begin
1584
+ # Resend receipt
1585
+ result = api_instance.resend_receipt(order_id)
1586
+ p result
1587
+ rescue UltracartClient::ApiError => e
1588
+ puts "Error when calling OrderApi->resend_receipt: #{e}"
1589
+ end
1590
+ ```
1591
+
1592
+ #### Using the resend_receipt_with_http_info variant
1593
+
1594
+ This returns an Array which contains the response data, status code and headers.
1595
+
1596
+ > <Array(<BaseResponse>, Integer, Hash)> resend_receipt_with_http_info(order_id)
1597
+
1598
+ ```ruby
1599
+ begin
1600
+ # Resend receipt
1601
+ data, status_code, headers = api_instance.resend_receipt_with_http_info(order_id)
1602
+ p status_code # => 2xx
1603
+ p headers # => { ... }
1604
+ p data # => <BaseResponse>
1605
+ rescue UltracartClient::ApiError => e
1606
+ puts "Error when calling OrderApi->resend_receipt_with_http_info: #{e}"
1607
+ end
1608
+ ```
1609
+
1610
+ ### Parameters
1611
+
1612
+ | Name | Type | Description | Notes |
1613
+ | ---- | ---- | ----------- | ----- |
1614
+ | **order_id** | **String** | The order id to resend the receipt for. | |
1615
+
1616
+ ### Return type
1617
+
1618
+ [**BaseResponse**](BaseResponse.md)
1619
+
1620
+ ### Authorization
1621
+
1622
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1623
+
1624
+ ### HTTP request headers
1625
+
1626
+ - **Content-Type**: Not defined
1627
+ - **Accept**: application/json
1628
+
1629
+
1630
+ ## resend_shipment_confirmation
1631
+
1632
+ > <BaseResponse> resend_shipment_confirmation(order_id)
1633
+
1634
+ Resend shipment confirmation
1635
+
1636
+ Resend shipment confirmation for an order on the UltraCart account.
1637
+
1638
+ ### Examples
1639
+
1640
+ ```ruby
1641
+ require 'time'
1642
+ require 'ultracart_api'
1643
+ # setup authorization
1644
+ UltracartClient.configure do |config|
1645
+ # Configure OAuth2 access token for authorization: ultraCartOauth
1646
+ config.access_token = 'YOUR ACCESS TOKEN'
1647
+
1648
+ # Configure API key authorization: ultraCartSimpleApiKey
1649
+ config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
1650
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1651
+ # config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
1652
+ end
1653
+
1654
+ api_instance = UltracartClient::OrderApi.new
1655
+ order_id = 'order_id_example' # String | The order id to resend the shipment notification for.
1656
+
1657
+ begin
1658
+ # Resend shipment confirmation
1659
+ result = api_instance.resend_shipment_confirmation(order_id)
1660
+ p result
1661
+ rescue UltracartClient::ApiError => e
1662
+ puts "Error when calling OrderApi->resend_shipment_confirmation: #{e}"
1663
+ end
1664
+ ```
1665
+
1666
+ #### Using the resend_shipment_confirmation_with_http_info variant
1667
+
1668
+ This returns an Array which contains the response data, status code and headers.
1669
+
1670
+ > <Array(<BaseResponse>, Integer, Hash)> resend_shipment_confirmation_with_http_info(order_id)
1671
+
1672
+ ```ruby
1673
+ begin
1674
+ # Resend shipment confirmation
1675
+ data, status_code, headers = api_instance.resend_shipment_confirmation_with_http_info(order_id)
1676
+ p status_code # => 2xx
1677
+ p headers # => { ... }
1678
+ p data # => <BaseResponse>
1679
+ rescue UltracartClient::ApiError => e
1680
+ puts "Error when calling OrderApi->resend_shipment_confirmation_with_http_info: #{e}"
1681
+ end
1682
+ ```
1683
+
1684
+ ### Parameters
1685
+
1686
+ | Name | Type | Description | Notes |
1687
+ | ---- | ---- | ----------- | ----- |
1688
+ | **order_id** | **String** | The order id to resend the shipment notification for. | |
1689
+
1690
+ ### Return type
1691
+
1692
+ [**BaseResponse**](BaseResponse.md)
1693
+
1694
+ ### Authorization
1695
+
1696
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1697
+
1698
+ ### HTTP request headers
1699
+
1700
+ - **Content-Type**: Not defined
1701
+ - **Accept**: application/json
1702
+
1703
+
1704
+ ## update_accounts_receivable_retry_config
1705
+
1706
+ > <BaseResponse> update_accounts_receivable_retry_config(retry_config)
1707
+
1708
+ Update A/R Retry Configuration
1709
+
1710
+ Update A/R Retry Configuration. This is primarily an internal API call. It is doubtful you would ever need to use it.
1711
+
1712
+ ### Examples
1713
+
1714
+ ```ruby
1715
+ require 'time'
1716
+ require 'ultracart_api'
1717
+ # setup authorization
1718
+ UltracartClient.configure do |config|
1719
+ # Configure OAuth2 access token for authorization: ultraCartOauth
1720
+ config.access_token = 'YOUR ACCESS TOKEN'
1721
+
1722
+ # Configure API key authorization: ultraCartSimpleApiKey
1723
+ config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
1724
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1725
+ # config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
1726
+ end
1727
+
1728
+ api_instance = UltracartClient::OrderApi.new
1729
+ retry_config = UltracartClient::AccountsReceivableRetryConfig.new # AccountsReceivableRetryConfig | AccountsReceivableRetryConfig object
1730
+
1731
+ begin
1732
+ # Update A/R Retry Configuration
1733
+ result = api_instance.update_accounts_receivable_retry_config(retry_config)
1734
+ p result
1735
+ rescue UltracartClient::ApiError => e
1736
+ puts "Error when calling OrderApi->update_accounts_receivable_retry_config: #{e}"
1737
+ end
1738
+ ```
1739
+
1740
+ #### Using the update_accounts_receivable_retry_config_with_http_info variant
1741
+
1742
+ This returns an Array which contains the response data, status code and headers.
1743
+
1744
+ > <Array(<BaseResponse>, Integer, Hash)> update_accounts_receivable_retry_config_with_http_info(retry_config)
1745
+
1746
+ ```ruby
1747
+ begin
1748
+ # Update A/R Retry Configuration
1749
+ data, status_code, headers = api_instance.update_accounts_receivable_retry_config_with_http_info(retry_config)
1750
+ p status_code # => 2xx
1751
+ p headers # => { ... }
1752
+ p data # => <BaseResponse>
1753
+ rescue UltracartClient::ApiError => e
1754
+ puts "Error when calling OrderApi->update_accounts_receivable_retry_config_with_http_info: #{e}"
1755
+ end
1756
+ ```
1757
+
1758
+ ### Parameters
1759
+
1760
+ | Name | Type | Description | Notes |
1761
+ | ---- | ---- | ----------- | ----- |
1762
+ | **retry_config** | [**AccountsReceivableRetryConfig**](AccountsReceivableRetryConfig.md) | AccountsReceivableRetryConfig object | |
1763
+
1764
+ ### Return type
1765
+
1766
+ [**BaseResponse**](BaseResponse.md)
1767
+
1768
+ ### Authorization
1769
+
1770
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1771
+
1772
+ ### HTTP request headers
1773
+
1774
+ - **Content-Type**: application/json
1775
+ - **Accept**: application/json
1776
+
1777
+
1778
+ ## update_order
1779
+
1780
+ > <OrderResponse> update_order(order_id, order, opts)
1781
+
1782
+ Update an order
1783
+
1784
+ Update a new order on the UltraCart account. This is probably NOT the method you want. It is rare to update a completed order. This will not trigger charges, emails, or any other automation.
1785
+
1786
+ ### Examples
1787
+
1788
+ ```ruby
1789
+ require 'time'
1790
+ require 'ultracart_api'
1791
+ # setup authorization
1792
+ UltracartClient.configure do |config|
1793
+ # Configure OAuth2 access token for authorization: ultraCartOauth
1794
+ config.access_token = 'YOUR ACCESS TOKEN'
1795
+
1796
+ # Configure API key authorization: ultraCartSimpleApiKey
1797
+ config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
1798
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1799
+ # config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
1800
+ end
1801
+
1802
+ api_instance = UltracartClient::OrderApi.new
1803
+ order_id = 'order_id_example' # String | The order id to update.
1804
+ order = UltracartClient::Order.new # Order | Order to update
1805
+ opts = {
1806
+ _expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
1807
+ }
1808
+
1809
+ begin
1810
+ # Update an order
1811
+ result = api_instance.update_order(order_id, order, opts)
1812
+ p result
1813
+ rescue UltracartClient::ApiError => e
1814
+ puts "Error when calling OrderApi->update_order: #{e}"
1815
+ end
1816
+ ```
1817
+
1818
+ #### Using the update_order_with_http_info variant
1819
+
1820
+ This returns an Array which contains the response data, status code and headers.
1821
+
1822
+ > <Array(<OrderResponse>, Integer, Hash)> update_order_with_http_info(order_id, order, opts)
1823
+
1824
+ ```ruby
1825
+ begin
1826
+ # Update an order
1827
+ data, status_code, headers = api_instance.update_order_with_http_info(order_id, order, opts)
1828
+ p status_code # => 2xx
1829
+ p headers # => { ... }
1830
+ p data # => <OrderResponse>
1831
+ rescue UltracartClient::ApiError => e
1832
+ puts "Error when calling OrderApi->update_order_with_http_info: #{e}"
1833
+ end
1834
+ ```
1835
+
1836
+ ### Parameters
1837
+
1838
+ | Name | Type | Description | Notes |
1839
+ | ---- | ---- | ----------- | ----- |
1840
+ | **order_id** | **String** | The order id to update. | |
1841
+ | **order** | [**Order**](Order.md) | Order to update | |
1842
+ | **_expand** | **String** | The object expansion to perform on the result. See documentation for examples | [optional] |
1843
+
1844
+ ### Return type
1845
+
1846
+ [**OrderResponse**](OrderResponse.md)
1847
+
1848
+ ### Authorization
1849
+
1850
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1851
+
1852
+ ### HTTP request headers
1853
+
1854
+ - **Content-Type**: application/json; charset=UTF-8
1855
+ - **Accept**: application/json
1856
+