ultracart_api 3.10.19 → 4.0.34.rc

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1319) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +9 -7
  3. data/README.md +1170 -1133
  4. data/Rakefile +10 -8
  5. data/docs/AccountsReceivableRetryConfig.md +46 -22
  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 -13
  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 +167 -126
  17. data/docs/AffiliateClick.md +38 -18
  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 -29
  28. data/docs/AutoOrderApi.md +669 -502
  29. data/docs/AutoOrderItem.md +64 -31
  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 -22
  49. data/docs/CartBuysafe.md +28 -13
  50. data/docs/CartCheckout.md +44 -21
  51. data/docs/CartCoupon.md +18 -8
  52. data/docs/CartCurrencyConversion.md +20 -9
  53. data/docs/CartCustomerProfile.md +60 -29
  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 -36
  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 -9
  71. data/docs/CartPayment.md +30 -14
  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 -10
  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 -23
  99. data/docs/CartTaxes.md +22 -10
  100. data/docs/CartUpsellAfter.md +22 -10
  101. data/docs/CartValidationRequest.md +20 -9
  102. data/docs/CartValidationResponse.md +20 -9
  103. data/docs/ChannelPartnerApi.md +367 -263
  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 -87
  109. data/docs/ChannelPartnerOrderItem.md +30 -14
  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 +405 -301
  115. data/docs/ChargebackDispute.md +62 -30
  116. data/docs/ChargebackDisputeResponse.md +26 -12
  117. data/docs/ChargebackDisputesResponse.md +26 -12
  118. data/docs/CheckoutAllowedCountriesResponse.md +18 -8
  119. data/docs/CheckoutApi.md +1424 -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 -67
  129. data/docs/CouponAmountOffItems.md +24 -11
  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 +1443 -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 -9
  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 -12
  148. data/docs/CouponDiscountItems.md +24 -11
  149. data/docs/CouponEditorValues.md +36 -17
  150. data/docs/CouponExistsResponse.md +28 -13
  151. data/docs/CouponFreeItemAndShippingWithSubtotal.md +26 -12
  152. data/docs/CouponFreeItemWithItemPurchase.md +24 -11
  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 -12
  164. data/docs/CouponPercentOffItems.md +24 -11
  165. data/docs/CouponPercentOffItemsAndFreeShipping.md +22 -10
  166. data/docs/CouponPercentOffItemsWithItemsPurchase.md +24 -11
  167. data/docs/CouponPercentOffMsrpItems.md +24 -11
  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 -10
  184. data/docs/CouponTieredAmountOffSubtotal.md +20 -9
  185. data/docs/CouponTieredPercentOffItems.md +22 -10
  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 -66
  193. data/docs/CustomerActivity.md +32 -15
  194. data/docs/CustomerAffiliate.md +24 -11
  195. data/docs/CustomerApi.md +1401 -1023
  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 -17
  200. data/docs/CustomerEmail.md +28 -13
  201. data/docs/CustomerEmailListChanges.md +20 -9
  202. data/docs/CustomerLoyalty.md +30 -14
  203. data/docs/CustomerLoyaltyLedger.md +46 -22
  204. data/docs/CustomerLoyaltyRedemption.md +42 -20
  205. data/docs/CustomerMergeRequest.md +20 -9
  206. data/docs/CustomerOrdersSummary.md +24 -11
  207. data/docs/CustomerPricingTier.md +20 -9
  208. data/docs/CustomerPrivacy.md +24 -11
  209. data/docs/CustomerQuery.md +74 -36
  210. data/docs/CustomerQuotesSummary.md +24 -11
  211. data/docs/CustomerResponse.md +26 -12
  212. data/docs/CustomerReviewer.md +36 -17
  213. data/docs/CustomerShipping.md +50 -24
  214. data/docs/CustomerSoftwareEntitlement.md +32 -15
  215. data/docs/CustomerStoreCredit.md +28 -13
  216. data/docs/CustomerStoreCreditAddRequest.md +24 -11
  217. data/docs/CustomerStoreCreditLedgerEntry.md +30 -14
  218. data/docs/CustomerStoreCreditResponse.md +26 -12
  219. data/docs/CustomerTag.md +18 -8
  220. data/docs/CustomerTaxCodes.md +26 -12
  221. data/docs/CustomersResponse.md +26 -12
  222. data/docs/DataTablesServerSideResponse.md +24 -11
  223. data/docs/Distance.md +20 -9
  224. data/docs/DistributionCenter.md +86 -42
  225. data/docs/DistributionCentersResponse.md +26 -12
  226. data/docs/EmailBaseTemplateListResponse.md +18 -8
  227. data/docs/EmailCampaign.md +64 -31
  228. data/docs/EmailCampaignFolder.md +26 -12
  229. data/docs/EmailCampaignFolderResponse.md +26 -12
  230. data/docs/EmailCampaignFoldersResponse.md +26 -12
  231. data/docs/EmailCampaignResponse.md +26 -12
  232. data/docs/EmailCampaignsResponse.md +26 -12
  233. data/docs/EmailClick.md +20 -9
  234. data/docs/EmailClicksResponse.md +26 -12
  235. data/docs/EmailCommseq.md +24 -11
  236. data/docs/EmailCommseqEmail.md +68 -33
  237. data/docs/EmailCommseqEmailResponse.md +26 -12
  238. data/docs/EmailCommseqEmailSendTestRequest.md +36 -17
  239. data/docs/EmailCommseqEmailSendTestResponse.md +24 -11
  240. data/docs/EmailCommseqEmailsRequest.md +26 -12
  241. data/docs/EmailCommseqEmailsResponse.md +26 -12
  242. data/docs/EmailCommseqPostcard.md +42 -20
  243. data/docs/EmailCommseqPostcardResponse.md +26 -12
  244. data/docs/EmailCommseqPostcardSendTestRequest.md +42 -20
  245. data/docs/EmailCommseqPostcardSendTestResponse.md +30 -14
  246. data/docs/EmailCommseqPostcardsRequest.md +18 -8
  247. data/docs/EmailCommseqPostcardsResponse.md +26 -12
  248. data/docs/EmailCommseqResponse.md +26 -12
  249. data/docs/EmailCommseqStat.md +90 -44
  250. data/docs/EmailCommseqStatResponse.md +26 -12
  251. data/docs/EmailCommseqStep.md +36 -17
  252. data/docs/EmailCommseqStepLog.md +22 -10
  253. data/docs/EmailCommseqStepLogsResponse.md +26 -12
  254. data/docs/EmailCommseqWebhookSendTestRequest.md +30 -14
  255. data/docs/EmailCommseqWebhookSendTestResponse.md +30 -14
  256. data/docs/EmailCommseqsResponse.md +26 -12
  257. data/docs/EmailCustomer.md +32 -15
  258. data/docs/EmailCustomerEditorUrlResponse.md +26 -12
  259. data/docs/EmailCustomersResponse.md +26 -12
  260. data/docs/EmailDashboardActivity.md +30 -14
  261. data/docs/EmailDashboardActivityResponse.md +26 -12
  262. data/docs/EmailDashboardStatsResponse.md +26 -12
  263. data/docs/EmailDomain.md +42 -20
  264. data/docs/EmailEditorTokenResponse.md +26 -12
  265. data/docs/EmailFlow.md +72 -35
  266. data/docs/EmailFlowBackPopulateRequest.md +20 -9
  267. data/docs/EmailFlowBackPopulateResponse.md +24 -11
  268. data/docs/EmailFlowFolder.md +26 -12
  269. data/docs/EmailFlowFolderResponse.md +26 -12
  270. data/docs/EmailFlowFoldersResponse.md +26 -12
  271. data/docs/EmailFlowResponse.md +26 -12
  272. data/docs/EmailFlowsResponse.md +26 -12
  273. data/docs/EmailGlobalSettings.md +18 -8
  274. data/docs/EmailGlobalSettingsResponse.md +26 -12
  275. data/docs/EmailGlobalUnsubscribeRequest.md +18 -8
  276. data/docs/EmailGlobalUnsubscribeResponse.md +18 -8
  277. data/docs/EmailHistogramPropertyNamesResponse.md +18 -8
  278. data/docs/EmailHistogramPropertyValuesResponse.md +18 -8
  279. data/docs/EmailList.md +40 -19
  280. data/docs/EmailListArchiveResponse.md +26 -12
  281. data/docs/EmailListCustomer.md +24 -11
  282. data/docs/EmailListCustomersResponse.md +26 -12
  283. data/docs/EmailListResponse.md +26 -12
  284. data/docs/EmailListSegmentFolder.md +26 -12
  285. data/docs/EmailListSegmentFolderResponse.md +26 -12
  286. data/docs/EmailListSegmentFoldersResponse.md +26 -12
  287. data/docs/EmailListSegmentMembership.md +24 -11
  288. data/docs/EmailListSegmentUsedBy.md +22 -10
  289. data/docs/EmailListSubscribeResponse.md +20 -9
  290. data/docs/EmailListsResponse.md +26 -12
  291. data/docs/EmailOrder.md +24 -11
  292. data/docs/EmailOrdersResponse.md +26 -12
  293. data/docs/EmailPerformance.md +62 -30
  294. data/docs/EmailPerformanceCustomerHistogram.md +18 -8
  295. data/docs/EmailPerformanceCustomerHistogramPeriod.md +26 -12
  296. data/docs/EmailPerformanceDaily.md +30 -14
  297. data/docs/EmailPerformanceResponse.md +26 -12
  298. data/docs/EmailPlan.md +50 -24
  299. data/docs/EmailPlanAdditional.md +34 -16
  300. data/docs/EmailPlanResponse.md +26 -12
  301. data/docs/EmailPostcardStat.md +80 -39
  302. data/docs/EmailSegment.md +58 -28
  303. data/docs/EmailSegmentArchiveResponse.md +26 -12
  304. data/docs/EmailSegmentCustomer.md +24 -11
  305. data/docs/EmailSegmentCustomersResponse.md +26 -12
  306. data/docs/EmailSegmentDownloadPrepareResponse.md +32 -15
  307. data/docs/EmailSegmentResponse.md +26 -12
  308. data/docs/EmailSegmentsResponse.md +26 -12
  309. data/docs/EmailSendingDomainResponse.md +26 -12
  310. data/docs/EmailSendingDomainsResponse.md +26 -12
  311. data/docs/EmailSettings.md +40 -19
  312. data/docs/EmailSettingsResponse.md +26 -12
  313. data/docs/EmailStat.md +92 -45
  314. data/docs/EmailStatPostcardSummaryRequest.md +20 -9
  315. data/docs/EmailStatPostcardSummaryResponse.md +26 -12
  316. data/docs/EmailStatSummaryRequest.md +22 -10
  317. data/docs/EmailStatSummaryResponse.md +26 -12
  318. data/docs/EmailStepStat.md +56 -27
  319. data/docs/EmailStepStatRequest.md +20 -9
  320. data/docs/EmailStepStatResponse.md +26 -12
  321. data/docs/EmailStepWaitingRequest.md +18 -8
  322. data/docs/EmailStepWaitingResponse.md +18 -8
  323. data/docs/EmailTemplate.md +38 -18
  324. data/docs/EmailTemplatesResponse.md +26 -12
  325. data/docs/EmailThirdPartyList.md +20 -9
  326. data/docs/EmailThirdPartyListImportRequest.md +18 -8
  327. data/docs/EmailThirdPartyProvider.md +38 -18
  328. data/docs/EmailThirdPartyProvidersResponse.md +26 -12
  329. data/docs/EmailThirdPartyTag.md +20 -9
  330. data/docs/EmailVerifyTokenRequest.md +20 -9
  331. data/docs/EmailVerifyTokenResponse.md +26 -12
  332. data/docs/EmailVerifyTokenValidateRequest.md +18 -8
  333. data/docs/EmailVerifyTokenValidateResponse.md +24 -11
  334. data/docs/EmailWebhookEditorValuesResponse.md +30 -14
  335. data/docs/Error.md +26 -12
  336. data/docs/ErrorResponse.md +24 -11
  337. data/docs/Experiment.md +52 -25
  338. data/docs/ExperimentResponse.md +26 -12
  339. data/docs/ExperimentVariation.md +60 -29
  340. data/docs/ExperimentVariationStat.md +38 -18
  341. data/docs/ExperimentsResponse.md +26 -12
  342. data/docs/FulfillmentApi.md +441 -318
  343. data/docs/FulfillmentInventory.md +20 -9
  344. data/docs/FulfillmentShipment.md +26 -12
  345. data/docs/GeoPoint.md +20 -9
  346. data/docs/GeocodeRequest.md +26 -12
  347. data/docs/GeocodeResponse.md +28 -13
  348. data/docs/GiftCertificate.md +44 -21
  349. data/docs/GiftCertificateApi.md +598 -433
  350. data/docs/GiftCertificateCreateRequest.md +26 -12
  351. data/docs/GiftCertificateLedgerEntry.md +28 -13
  352. data/docs/GiftCertificateQuery.md +34 -16
  353. data/docs/GiftCertificateResponse.md +26 -12
  354. data/docs/GiftCertificatesResponse.md +26 -12
  355. data/docs/Group.md +26 -12
  356. data/docs/GroupResponse.md +26 -12
  357. data/docs/GroupUserMembership.md +26 -12
  358. data/docs/GroupsResponse.md +26 -12
  359. data/docs/HTTPHeader.md +20 -9
  360. data/docs/IntegrationLog.md +52 -25
  361. data/docs/IntegrationLogApi.md +385 -286
  362. data/docs/IntegrationLogFile.md +24 -11
  363. data/docs/IntegrationLogLog.md +20 -9
  364. data/docs/IntegrationLogQueryFilterValues.md +40 -19
  365. data/docs/IntegrationLogQueryRequest.md +42 -20
  366. data/docs/IntegrationLogQueryResponse.md +28 -13
  367. data/docs/IntegrationLogResponse.md +26 -12
  368. data/docs/IntegrationLogSummary.md +34 -16
  369. data/docs/IntegrationLogSummaryQueryRequest.md +20 -9
  370. data/docs/IntegrationLogSummaryQueryResponse.md +26 -12
  371. data/docs/Item.md +118 -58
  372. data/docs/ItemAccounting.md +20 -9
  373. data/docs/ItemAmember.md +20 -9
  374. data/docs/ItemApi.md +706 -517
  375. data/docs/ItemAutoOrder.md +50 -24
  376. data/docs/ItemAutoOrderStep.md +46 -22
  377. data/docs/ItemAutoOrderStepArbitraryUnitCostSchedule.md +20 -9
  378. data/docs/ItemAutoOrderStepGrandfatherPricing.md +20 -9
  379. data/docs/ItemCCBill.md +28 -13
  380. data/docs/ItemChannelPartnerMapping.md +54 -26
  381. data/docs/ItemChargeback.md +20 -9
  382. data/docs/ItemChargebackAddendum.md +24 -11
  383. data/docs/ItemChargebackAdjustmentRequest.md +22 -10
  384. data/docs/ItemCheckout.md +24 -11
  385. data/docs/ItemContent.md +42 -20
  386. data/docs/ItemContentAssignment.md +28 -13
  387. data/docs/ItemContentAttribute.md +24 -11
  388. data/docs/ItemContentMultimedia.md +46 -22
  389. data/docs/ItemContentMultimediaThumbnail.md +28 -13
  390. data/docs/ItemDigitalDelivery.md +28 -13
  391. data/docs/ItemDigitalItem.md +26 -12
  392. data/docs/ItemEbay.md +154 -76
  393. data/docs/ItemEbayCategorySpecific.md +20 -9
  394. data/docs/ItemEbayMarketListing.md +26 -12
  395. data/docs/ItemEbayMarketPlaceAnalysis.md +36 -17
  396. data/docs/ItemEmailNotifications.md +20 -9
  397. data/docs/ItemEnrollment123.md +18 -8
  398. data/docs/ItemFulfillmentAddon.md +24 -11
  399. data/docs/ItemGiftCertificate.md +20 -9
  400. data/docs/ItemGoogleProductSearch.md +112 -55
  401. data/docs/ItemIdentifiers.md +24 -11
  402. data/docs/ItemInstantPaymentNotification.md +22 -10
  403. data/docs/ItemInstantPaymentNotifications.md +18 -8
  404. data/docs/ItemInternal.md +18 -8
  405. data/docs/ItemKitComponent.md +26 -12
  406. data/docs/ItemKitDefinition.md +18 -8
  407. data/docs/ItemOption.md +44 -21
  408. data/docs/ItemOptionValue.md +46 -22
  409. data/docs/ItemOptionValueAdditionalItem.md +20 -9
  410. data/docs/ItemOptionValueDigitalItem.md +20 -9
  411. data/docs/ItemPaymentProcessing.md +26 -12
  412. data/docs/ItemPhysical.md +24 -11
  413. data/docs/ItemPricing.md +52 -25
  414. data/docs/ItemPricingTier.md +26 -12
  415. data/docs/ItemPricingTierDiscount.md +20 -9
  416. data/docs/ItemPricingTierLimit.md +22 -10
  417. data/docs/ItemProperty.md +22 -10
  418. data/docs/ItemRealtimePricing.md +22 -10
  419. data/docs/ItemRelated.md +22 -10
  420. data/docs/ItemRelatedItem.md +22 -10
  421. data/docs/ItemReporting.md +20 -9
  422. data/docs/ItemResponse.md +26 -12
  423. data/docs/ItemRestriction.md +32 -15
  424. data/docs/ItemRestrictionItem.md +22 -10
  425. data/docs/ItemRevguard.md +30 -14
  426. data/docs/ItemReviews.md +34 -16
  427. data/docs/ItemSalesforce.md +20 -9
  428. data/docs/ItemShipping.md +112 -55
  429. data/docs/ItemShippingCase.md +24 -11
  430. data/docs/ItemShippingDestinationMarkup.md +28 -13
  431. data/docs/ItemShippingDestinationRestriction.md +22 -10
  432. data/docs/ItemShippingDistributionCenter.md +44 -21
  433. data/docs/ItemShippingMethod.md +46 -22
  434. data/docs/ItemShippingPackageRequirement.md +20 -9
  435. data/docs/ItemTag.md +20 -9
  436. data/docs/ItemTags.md +18 -8
  437. data/docs/ItemTax.md +24 -11
  438. data/docs/ItemTaxExemption.md +26 -12
  439. data/docs/ItemThirdPartyEmailMarketing.md +26 -12
  440. data/docs/ItemVariantItem.md +28 -13
  441. data/docs/ItemVariation.md +26 -12
  442. data/docs/ItemVariationOption.md +24 -11
  443. data/docs/ItemWishlistMember.md +22 -10
  444. data/docs/ItemsRequest.md +18 -8
  445. data/docs/ItemsResponse.md +26 -12
  446. data/docs/KeyValue.md +22 -10
  447. data/docs/LibraryFilterValues.md +24 -11
  448. data/docs/LibraryFilterValuesResponse.md +26 -12
  449. data/docs/LibraryItem.md +96 -47
  450. data/docs/LibraryItemAccount.md +22 -10
  451. data/docs/LibraryItemAsset.md +20 -9
  452. data/docs/LibraryItemAttribute.md +20 -9
  453. data/docs/LibraryItemEmail.md +22 -10
  454. data/docs/LibraryItemPublishedMeta.md +32 -15
  455. data/docs/LibraryItemPurchasedMeta.md +22 -10
  456. data/docs/LibraryItemQuery.md +40 -19
  457. data/docs/LibraryItemResponse.md +26 -12
  458. data/docs/LibraryItemScreenshot.md +20 -9
  459. data/docs/LibraryItemsResponse.md +26 -12
  460. data/docs/LinkedAccount.md +22 -10
  461. data/docs/ListSegmentMembership.md +22 -10
  462. data/docs/LookupRequest.md +26 -12
  463. data/docs/LookupResponse.md +26 -12
  464. data/docs/Mailgun.md +18 -8
  465. data/docs/Metric.md +32 -15
  466. data/docs/Notification.md +38 -18
  467. data/docs/OauthApi.md +163 -124
  468. data/docs/OauthRevokeSuccessResponse.md +20 -9
  469. data/docs/OauthTokenResponse.md +32 -15
  470. data/docs/Order.md +84 -41
  471. data/docs/OrderAffiliate.md +22 -10
  472. data/docs/OrderAffiliateLedger.md +34 -16
  473. data/docs/OrderApi.md +1787 -1308
  474. data/docs/OrderAutoOrder.md +56 -27
  475. data/docs/OrderBilling.md +48 -23
  476. data/docs/OrderBuysafe.md +28 -13
  477. data/docs/OrderByTokenQuery.md +18 -8
  478. data/docs/OrderChannelPartner.md +38 -18
  479. data/docs/OrderCheckout.md +44 -21
  480. data/docs/OrderCoupon.md +26 -12
  481. data/docs/OrderDigitalItem.md +32 -15
  482. data/docs/OrderDigitalOrder.md +26 -12
  483. data/docs/OrderEdi.md +24 -11
  484. data/docs/OrderFormat.md +48 -23
  485. data/docs/OrderFormatResponse.md +20 -9
  486. data/docs/OrderFraudScore.md +56 -27
  487. data/docs/OrderGift.md +36 -17
  488. data/docs/OrderGiftCertificate.md +22 -10
  489. data/docs/OrderInternal.md +26 -12
  490. data/docs/OrderItem.md +128 -63
  491. data/docs/OrderItemEdi.md +20 -9
  492. data/docs/OrderItemEdiIdentification.md +20 -9
  493. data/docs/OrderItemEdiLot.md +22 -10
  494. data/docs/OrderItemOption.md +38 -18
  495. data/docs/OrderItemOptionFileAttachment.md +24 -11
  496. data/docs/OrderItemProperty.md +24 -11
  497. data/docs/OrderItemTag.md +18 -8
  498. data/docs/OrderLinkedShipment.md +26 -12
  499. data/docs/OrderMarketing.md +22 -10
  500. data/docs/OrderPackingSlipResponse.md +26 -12
  501. data/docs/OrderPayment.md +52 -25
  502. data/docs/OrderPaymentCheck.md +18 -8
  503. data/docs/OrderPaymentCreditCard.md +38 -18
  504. data/docs/OrderPaymentECheck.md +36 -17
  505. data/docs/OrderPaymentInsurance.md +24 -11
  506. data/docs/OrderPaymentPurchaseOrder.md +18 -8
  507. data/docs/OrderPaymentTransaction.md +24 -11
  508. data/docs/OrderPaymentTransactionDetail.md +22 -10
  509. data/docs/OrderProcessPaymentRequest.md +20 -9
  510. data/docs/OrderProcessPaymentResponse.md +26 -12
  511. data/docs/OrderProperty.md +24 -11
  512. data/docs/OrderQuery.md +94 -46
  513. data/docs/OrderQueryBatch.md +18 -8
  514. data/docs/OrderQuote.md +22 -10
  515. data/docs/OrderReplacement.md +46 -22
  516. data/docs/OrderReplacementItem.md +22 -10
  517. data/docs/OrderReplacementResponse.md +28 -13
  518. data/docs/OrderResponse.md +26 -12
  519. data/docs/OrderSalesforce.md +18 -8
  520. data/docs/OrderShipping.md +76 -37
  521. data/docs/OrderSummary.md +56 -27
  522. data/docs/OrderTag.md +18 -8
  523. data/docs/OrderTaxes.md +50 -24
  524. data/docs/OrderTokenResponse.md +26 -12
  525. data/docs/OrderTrackingNumberDetail.md +40 -19
  526. data/docs/OrderTrackingNumberDetails.md +52 -25
  527. data/docs/OrdersResponse.md +26 -12
  528. data/docs/Permission.md +22 -10
  529. data/docs/PricingTier.md +78 -38
  530. data/docs/PricingTierNotification.md +22 -10
  531. data/docs/PricingTiersResponse.md +26 -12
  532. data/docs/Property.md +20 -9
  533. data/docs/PublishLibraryItemRequest.md +18 -8
  534. data/docs/RegisterAffiliateClickRequest.md +28 -13
  535. data/docs/RegisterAffiliateClickResponse.md +24 -11
  536. data/docs/ResponseMetadata.md +20 -9
  537. data/docs/ResultSet.md +28 -13
  538. data/docs/ScreenRecording.md +116 -57
  539. data/docs/ScreenRecordingAdPlatform.md +30 -14
  540. data/docs/ScreenRecordingFilter.md +136 -67
  541. data/docs/ScreenRecordingFilterGeoDistance.md +26 -12
  542. data/docs/ScreenRecordingFilterIpSearch.md +24 -11
  543. data/docs/ScreenRecordingFilterPageView.md +50 -24
  544. data/docs/ScreenRecordingFilterPageViewEvent.md +20 -9
  545. data/docs/ScreenRecordingFilterPageViewEventParam.md +26 -12
  546. data/docs/ScreenRecordingFilterPageViewParam.md +20 -9
  547. data/docs/ScreenRecordingFilterPageViewReferrerParam.md +20 -9
  548. data/docs/ScreenRecordingFilterRangeBigDecimal.md +26 -12
  549. data/docs/ScreenRecordingFilterRangeDate.md +20 -9
  550. data/docs/ScreenRecordingFilterRangeInteger.md +26 -12
  551. data/docs/ScreenRecordingFilterStringSearch.md +26 -12
  552. data/docs/ScreenRecordingFilterValues.md +58 -28
  553. data/docs/ScreenRecordingFilterValuesEvent.md +20 -9
  554. data/docs/ScreenRecordingFilterValuesEventParams.md +26 -12
  555. data/docs/ScreenRecordingFilterValuesPageParam.md +20 -9
  556. data/docs/ScreenRecordingFilterValuesPageView.md +28 -13
  557. data/docs/ScreenRecordingHeatmap.md +64 -31
  558. data/docs/ScreenRecordingHeatmapIndexRequest.md +18 -8
  559. data/docs/ScreenRecordingHeatmapIndexResponse.md +26 -12
  560. data/docs/ScreenRecordingHeatmapRequest.md +22 -10
  561. data/docs/ScreenRecordingHeatmapReset.md +18 -8
  562. data/docs/ScreenRecordingHeatmapResponse.md +26 -12
  563. data/docs/ScreenRecordingHeatmapUrl.md +28 -13
  564. data/docs/ScreenRecordingMerchantNotesRequest.md +18 -8
  565. data/docs/ScreenRecordingMultifield.md +26 -12
  566. data/docs/ScreenRecordingPageView.md +54 -26
  567. data/docs/ScreenRecordingPageViewDataResponse.md +26 -12
  568. data/docs/ScreenRecordingPageViewEvent.md +28 -13
  569. data/docs/ScreenRecordingPageViewEventParameter.md +20 -9
  570. data/docs/ScreenRecordingPageViewParameter.md +20 -9
  571. data/docs/ScreenRecordingQueryRequest.md +18 -8
  572. data/docs/ScreenRecordingQueryResponse.md +38 -18
  573. data/docs/ScreenRecordingResponse.md +28 -13
  574. data/docs/ScreenRecordingSegment.md +36 -17
  575. data/docs/ScreenRecordingSegmentResponse.md +26 -12
  576. data/docs/ScreenRecordingSegmentsResponse.md +26 -12
  577. data/docs/ScreenRecordingSettings.md +32 -15
  578. data/docs/ScreenRecordingSettingsResponse.md +26 -12
  579. data/docs/ScreenRecordingStoreFront.md +20 -9
  580. data/docs/ScreenRecordingTagsRequest.md +18 -8
  581. data/docs/ScreenRecordingTagsResponse.md +26 -12
  582. data/docs/ScreenRecordingUserAgent.md +26 -12
  583. data/docs/ScreenRecordingUserAgentDevice.md +18 -8
  584. data/docs/ScreenRecordingUserAgentOS.md +22 -10
  585. data/docs/ScreenRecordingUserProperty.md +20 -9
  586. data/docs/ScreenshotsResponse.md +26 -12
  587. data/docs/SelfConfig.md +18 -8
  588. data/docs/SimpleValue.md +20 -9
  589. data/docs/SingleSignOnAuthorizeRequest.md +20 -9
  590. data/docs/SingleSignOnAuthorizeResponse.md +20 -9
  591. data/docs/SingleSignOnTokenRequest.md +20 -9
  592. data/docs/SingleSignOnTokenResponse.md +22 -10
  593. data/docs/SovosConfig.md +30 -14
  594. data/docs/SsoApi.md +288 -201
  595. data/docs/StateProvince.md +20 -9
  596. data/docs/StepWaiting.md +20 -9
  597. data/docs/StorefrontApi.md +11794 -8525
  598. data/docs/TaxApi.md +2017 -1421
  599. data/docs/TaxCity.md +34 -16
  600. data/docs/TaxCountry.md +34 -16
  601. data/docs/TaxCountryCode.md +26 -12
  602. data/docs/TaxCounty.md +36 -17
  603. data/docs/TaxJarConfig.md +30 -14
  604. data/docs/TaxPostalCode.md +30 -14
  605. data/docs/TaxProviderActivateResult.md +20 -9
  606. data/docs/TaxProviderAvalara.md +24 -11
  607. data/docs/TaxProviderAvalaraCompaniesResult.md +18 -8
  608. data/docs/TaxProviderAvalaraCompany.md +26 -12
  609. data/docs/TaxProviderSelf.md +26 -12
  610. data/docs/TaxProviderSelfCountriesResponse.md +18 -8
  611. data/docs/TaxProviderSelfRegionsResponse.md +18 -8
  612. data/docs/TaxProviderSovos.md +24 -11
  613. data/docs/TaxProviderTaxJar.md +24 -11
  614. data/docs/TaxProviderTestResult.md +20 -9
  615. data/docs/TaxProviderUltraCart.md +26 -12
  616. data/docs/TaxProviderUltraCartState.md +36 -17
  617. data/docs/TaxProvidersResponse.md +34 -16
  618. data/docs/TaxState.md +52 -25
  619. data/docs/TaxStateCode.md +26 -12
  620. data/docs/TempMultimedia.md +30 -14
  621. data/docs/TempMultimediaResponse.md +26 -12
  622. data/docs/ThumbnailParametersRequest.md +26 -12
  623. data/docs/ThumbnailParametersResponse.md +26 -12
  624. data/docs/TransactionEmail.md +56 -27
  625. data/docs/TransactionEmailListResponse.md +26 -12
  626. data/docs/TransactionEmailOption.md +32 -15
  627. data/docs/TransactionEmailResponse.md +26 -12
  628. data/docs/Twilio.md +24 -11
  629. data/docs/TwilioResponse.md +28 -13
  630. data/docs/TwiliosResponse.md +26 -12
  631. data/docs/UltraCartConfig.md +18 -8
  632. data/docs/UploadCouponCodesRequest.md +26 -12
  633. data/docs/UploadCouponCodesResponse.md +30 -14
  634. data/docs/User.md +44 -21
  635. data/docs/UserApi.md +790 -558
  636. data/docs/UserGroupMembership.md +22 -10
  637. data/docs/UserLogin.md +24 -11
  638. data/docs/UserLoginsResponse.md +26 -12
  639. data/docs/UserResponse.md +26 -12
  640. data/docs/UsersResponse.md +26 -12
  641. data/docs/VerificationRecord.md +22 -10
  642. data/docs/Warning.md +20 -9
  643. data/docs/Webhook.md +52 -25
  644. data/docs/WebhookApi.md +612 -447
  645. data/docs/WebhookEventCategory.md +26 -12
  646. data/docs/WebhookEventSubscription.md +34 -16
  647. data/docs/WebhookLog.md +38 -18
  648. data/docs/WebhookLogResponse.md +26 -12
  649. data/docs/WebhookLogSummariesResponse.md +26 -12
  650. data/docs/WebhookLogSummary.md +22 -10
  651. data/docs/WebhookResponse.md +26 -12
  652. data/docs/WebhookSampleRequest.md +24 -11
  653. data/docs/WebhookSampleRequestResponse.md +26 -12
  654. data/docs/WebhooksResponse.md +26 -12
  655. data/docs/Weight.md +20 -9
  656. data/git_push.sh +57 -55
  657. data/lib/ultracart_api/api/affiliate_api.rb +191 -164
  658. data/lib/ultracart_api/api/auto_order_api.rb +672 -581
  659. data/lib/ultracart_api/api/channel_partner_api.rb +370 -311
  660. data/lib/ultracart_api/api/chargeback_api.rb +410 -356
  661. data/lib/ultracart_api/api/checkout_api.rb +1341 -1111
  662. data/lib/ultracart_api/api/coupon_api.rb +1390 -1161
  663. data/lib/ultracart_api/api/customer_api.rb +1370 -1157
  664. data/lib/ultracart_api/api/fulfillment_api.rb +452 -381
  665. data/lib/ultracart_api/api/gift_certificate_api.rb +594 -502
  666. data/lib/ultracart_api/api/integration_log_api.rb +404 -350
  667. data/lib/ultracart_api/api/item_api.rb +686 -585
  668. data/lib/ultracart_api/api/oauth_api.rb +198 -171
  669. data/lib/ultracart_api/api/order_api.rb +1728 -1471
  670. data/lib/ultracart_api/api/sso_api.rb +289 -243
  671. data/lib/ultracart_api/api/storefront_api.rb +11407 -9617
  672. data/lib/ultracart_api/api/tax_api.rb +1916 -1580
  673. data/lib/ultracart_api/api/user_api.rb +755 -634
  674. data/lib/ultracart_api/api/webhook_api.rb +601 -514
  675. data/lib/ultracart_api/api_client.rb +399 -400
  676. data/lib/ultracart_api/api_error.rb +57 -38
  677. data/lib/ultracart_api/configuration.rb +302 -229
  678. data/lib/ultracart_api/models/accounts_receivable_retry_config.rb +364 -329
  679. data/lib/ultracart_api/models/accounts_receivable_retry_config_response.rb +287 -252
  680. data/lib/ultracart_api/models/accounts_receivable_retry_day_activity.rb +240 -205
  681. data/lib/ultracart_api/models/accounts_receivable_retry_stat_account.rb +250 -215
  682. data/lib/ultracart_api/models/accounts_receivable_retry_stat_metrics.rb +309 -274
  683. data/lib/ultracart_api/models/accounts_receivable_retry_stat_revenue.rb +228 -193
  684. data/lib/ultracart_api/models/accounts_receivable_retry_stats_response.rb +267 -232
  685. data/lib/ultracart_api/models/activity.rb +264 -229
  686. data/lib/ultracart_api/models/add_library_item_request.rb +324 -289
  687. data/lib/ultracart_api/models/adjust_internal_certificate_request.rb +270 -235
  688. data/lib/ultracart_api/models/adjust_internal_certificate_response.rb +267 -232
  689. data/lib/ultracart_api/models/affiliate_click.rb +319 -284
  690. data/lib/ultracart_api/models/affiliate_click_query.rb +270 -235
  691. data/lib/ultracart_api/models/affiliate_clicks_response.rb +259 -224
  692. data/lib/ultracart_api/models/affiliate_ledger.rb +431 -396
  693. data/lib/ultracart_api/models/affiliate_ledger_query.rb +270 -235
  694. data/lib/ultracart_api/models/affiliate_ledgers_response.rb +259 -224
  695. data/lib/ultracart_api/models/affiliate_link.rb +408 -373
  696. data/lib/ultracart_api/models/api_user_application_profile.rb +260 -225
  697. data/lib/ultracart_api/models/apply_library_item_request.rb +250 -215
  698. data/lib/ultracart_api/models/apply_library_item_response.rb +319 -284
  699. data/lib/ultracart_api/models/auto_order.rb +469 -434
  700. data/lib/ultracart_api/models/auto_order_item.rb +487 -452
  701. data/lib/ultracart_api/models/auto_order_item_future_schedule.rb +250 -215
  702. data/lib/ultracart_api/models/auto_order_item_option.rb +260 -225
  703. data/lib/ultracart_api/models/auto_order_item_simple_schedule.rb +274 -239
  704. data/lib/ultracart_api/models/auto_order_log.rb +230 -195
  705. data/lib/ultracart_api/models/auto_order_query.rb +480 -445
  706. data/lib/ultracart_api/models/auto_order_query_batch.rb +222 -187
  707. data/lib/ultracart_api/models/auto_order_response.rb +256 -221
  708. data/lib/ultracart_api/models/auto_orders_request.rb +222 -187
  709. data/lib/ultracart_api/models/auto_orders_response.rb +258 -223
  710. data/lib/ultracart_api/models/avalara_config.rb +340 -305
  711. data/lib/ultracart_api/models/base_response.rb +247 -212
  712. data/lib/ultracart_api/models/browser.rb +237 -202
  713. data/lib/ultracart_api/models/browser_device.rb +219 -184
  714. data/lib/ultracart_api/models/browser_os.rb +255 -220
  715. data/lib/ultracart_api/models/browser_user_agent.rb +246 -211
  716. data/lib/ultracart_api/models/cart.rb +506 -471
  717. data/lib/ultracart_api/models/cart_affiliate.rb +245 -210
  718. data/lib/ultracart_api/models/cart_affirm_checkout_response.rb +232 -197
  719. data/lib/ultracart_api/models/cart_billing.rb +572 -537
  720. data/lib/ultracart_api/models/cart_buysafe.rb +269 -234
  721. data/lib/ultracart_api/models/cart_checkout.rb +500 -465
  722. data/lib/ultracart_api/models/cart_coupon.rb +220 -185
  723. data/lib/ultracart_api/models/cart_currency_conversion.rb +232 -197
  724. data/lib/ultracart_api/models/cart_customer_profile.rb +438 -403
  725. data/lib/ultracart_api/models/cart_customer_profile_address.rb +350 -315
  726. data/lib/ultracart_api/models/cart_customer_profile_credit_card.rb +304 -269
  727. data/lib/ultracart_api/models/cart_finalize_order_request.rb +228 -193
  728. data/lib/ultracart_api/models/cart_finalize_order_request_options.rb +355 -320
  729. data/lib/ultracart_api/models/cart_finalize_order_response.rb +260 -225
  730. data/lib/ultracart_api/models/cart_gift.rb +313 -278
  731. data/lib/ultracart_api/models/cart_gift_certificate.rb +238 -203
  732. data/lib/ultracart_api/models/cart_item.rb +504 -469
  733. data/lib/ultracart_api/models/cart_item_attribute.rb +240 -205
  734. data/lib/ultracart_api/models/cart_item_multimedia.rb +336 -301
  735. data/lib/ultracart_api/models/cart_item_multimedia_thumbnail.rb +260 -225
  736. data/lib/ultracart_api/models/cart_item_option.rb +378 -343
  737. data/lib/ultracart_api/models/cart_item_option_value.rb +258 -223
  738. data/lib/ultracart_api/models/cart_item_physical.rb +246 -211
  739. data/lib/ultracart_api/models/cart_item_variation_selection.rb +230 -195
  740. data/lib/ultracart_api/models/cart_kit_component_option.rb +398 -363
  741. data/lib/ultracart_api/models/cart_marketing.rb +230 -195
  742. data/lib/ultracart_api/models/cart_payment.rb +275 -240
  743. data/lib/ultracart_api/models/cart_payment_affirm.rb +220 -185
  744. data/lib/ultracart_api/models/cart_payment_amazon.rb +220 -185
  745. data/lib/ultracart_api/models/cart_payment_check.rb +220 -185
  746. data/lib/ultracart_api/models/cart_payment_credit_card.rb +300 -265
  747. data/lib/ultracart_api/models/cart_payment_purchase_order.rb +220 -185
  748. data/lib/ultracart_api/models/cart_profile_login_request.rb +239 -204
  749. data/lib/ultracart_api/models/cart_profile_login_response.rb +231 -196
  750. data/lib/ultracart_api/models/cart_profile_register_request.rb +229 -194
  751. data/lib/ultracart_api/models/cart_profile_register_response.rb +231 -196
  752. data/lib/ultracart_api/models/cart_property.rb +280 -245
  753. data/lib/ultracart_api/models/cart_response.rb +231 -196
  754. data/lib/ultracart_api/models/cart_settings.rb +264 -229
  755. data/lib/ultracart_api/models/cart_settings_billing.rb +222 -187
  756. data/lib/ultracart_api/models/cart_settings_gift.rb +251 -216
  757. data/lib/ultracart_api/models/cart_settings_gift_wrap.rb +239 -204
  758. data/lib/ultracart_api/models/cart_settings_payment.rb +337 -302
  759. data/lib/ultracart_api/models/cart_settings_payment_amazon.rb +240 -205
  760. data/lib/ultracart_api/models/cart_settings_payment_credit_card.rb +242 -207
  761. data/lib/ultracart_api/models/cart_settings_payment_pay_pal.rb +260 -225
  762. data/lib/ultracart_api/models/cart_settings_province.rb +228 -193
  763. data/lib/ultracart_api/models/cart_settings_shipping.rb +262 -227
  764. data/lib/ultracart_api/models/cart_settings_shipping_calendar.rb +264 -229
  765. data/lib/ultracart_api/models/cart_settings_shipping_estimate.rb +345 -310
  766. data/lib/ultracart_api/models/cart_settings_taxes.rb +221 -186
  767. data/lib/ultracart_api/models/cart_settings_terms.rb +230 -195
  768. data/lib/ultracart_api/models/cart_shipping.rb +625 -590
  769. data/lib/ultracart_api/models/cart_summary.rb +354 -319
  770. data/lib/ultracart_api/models/cart_taxes.rb +255 -220
  771. data/lib/ultracart_api/models/cart_upsell_after.rb +255 -220
  772. data/lib/ultracart_api/models/cart_validation_request.rb +231 -196
  773. data/lib/ultracart_api/models/cart_validation_response.rb +231 -196
  774. data/lib/ultracart_api/models/channel_partner_cancel_response.rb +259 -224
  775. data/lib/ultracart_api/models/channel_partner_estimate_shipping_response.rb +259 -224
  776. data/lib/ultracart_api/models/channel_partner_estimate_tax_response.rb +256 -221
  777. data/lib/ultracart_api/models/channel_partner_import_response.rb +281 -246
  778. data/lib/ultracart_api/models/channel_partner_order.rb +1604 -1569
  779. data/lib/ultracart_api/models/channel_partner_order_item.rb +331 -296
  780. data/lib/ultracart_api/models/channel_partner_order_item_option.rb +230 -195
  781. data/lib/ultracart_api/models/channel_partner_order_transaction.rb +232 -197
  782. data/lib/ultracart_api/models/channel_partner_order_transaction_detail.rb +230 -195
  783. data/lib/ultracart_api/models/channel_partner_shipping_estimate.rb +230 -195
  784. data/lib/ultracart_api/models/chargeback_dispute.rb +649 -614
  785. data/lib/ultracart_api/models/chargeback_dispute_response.rb +256 -221
  786. data/lib/ultracart_api/models/chargeback_disputes_response.rb +258 -223
  787. data/lib/ultracart_api/models/checkout_allowed_countries_response.rb +221 -186
  788. data/lib/ultracart_api/models/checkout_handoff_request.rb +323 -288
  789. data/lib/ultracart_api/models/checkout_handoff_response.rb +241 -206
  790. data/lib/ultracart_api/models/checkout_setup_browser_key_request.rb +222 -187
  791. data/lib/ultracart_api/models/checkout_setup_browser_key_response.rb +220 -185
  792. data/lib/ultracart_api/models/checkout_state_province_response.rb +221 -186
  793. data/lib/ultracart_api/models/city_state_zip.rb +255 -220
  794. data/lib/ultracart_api/models/countries_response.rb +221 -186
  795. data/lib/ultracart_api/models/country.rb +260 -225
  796. data/lib/ultracart_api/models/coupon.rb +864 -829
  797. data/lib/ultracart_api/models/coupon_amount_off_items.rb +267 -232
  798. data/lib/ultracart_api/models/coupon_amount_off_shipping.rb +257 -222
  799. data/lib/ultracart_api/models/coupon_amount_off_shipping_with_items_purchase.rb +269 -234
  800. data/lib/ultracart_api/models/coupon_amount_off_subtotal.rb +245 -210
  801. data/lib/ultracart_api/models/coupon_amount_off_subtotal_and_shipping.rb +245 -210
  802. data/lib/ultracart_api/models/coupon_amount_off_subtotal_free_shipping_with_purchase.rb +267 -232
  803. data/lib/ultracart_api/models/coupon_amount_off_subtotal_with_block_purchase.rb +265 -230
  804. data/lib/ultracart_api/models/coupon_amount_off_subtotal_with_items_purchase.rb +267 -232
  805. data/lib/ultracart_api/models/coupon_amount_off_subtotal_with_purchase.rb +255 -220
  806. data/lib/ultracart_api/models/coupon_amount_shipping_with_subtotal.rb +267 -232
  807. data/lib/ultracart_api/models/coupon_auto_apply_condition.rb +239 -204
  808. data/lib/ultracart_api/models/coupon_auto_apply_conditions.rb +269 -234
  809. data/lib/ultracart_api/models/coupon_automatically_apply_coupon_codes.rb +222 -187
  810. data/lib/ultracart_api/models/coupon_buy_one_get_one_limit.rb +232 -197
  811. data/lib/ultracart_api/models/coupon_codes_request.rb +277 -242
  812. data/lib/ultracart_api/models/coupon_codes_response.rb +269 -234
  813. data/lib/ultracart_api/models/coupon_deletes_request.rb +234 -199
  814. data/lib/ultracart_api/models/coupon_discount_item_with_item_purchase.rb +275 -240
  815. data/lib/ultracart_api/models/coupon_discount_items.rb +267 -232
  816. data/lib/ultracart_api/models/coupon_editor_values.rb +330 -295
  817. data/lib/ultracart_api/models/coupon_exists_response.rb +267 -232
  818. data/lib/ultracart_api/models/coupon_free_item_and_shipping_with_subtotal.rb +279 -244
  819. data/lib/ultracart_api/models/coupon_free_item_with_item_purchase.rb +254 -219
  820. data/lib/ultracart_api/models/coupon_free_item_with_subtotal.rb +267 -232
  821. data/lib/ultracart_api/models/coupon_free_items_with_item_purchase.rb +260 -225
  822. data/lib/ultracart_api/models/coupon_free_items_with_mix_match_purchase.rb +260 -225
  823. data/lib/ultracart_api/models/coupon_free_shipping.rb +222 -187
  824. data/lib/ultracart_api/models/coupon_free_shipping_specific_items.rb +222 -187
  825. data/lib/ultracart_api/models/coupon_free_shipping_with_items_purchase.rb +234 -199
  826. data/lib/ultracart_api/models/coupon_free_shipping_with_subtotal.rb +257 -222
  827. data/lib/ultracart_api/models/coupon_item_search_result.rb +290 -255
  828. data/lib/ultracart_api/models/coupon_item_search_results_response.rb +259 -224
  829. data/lib/ultracart_api/models/coupon_multiple_amounts_off_items.rb +232 -197
  830. data/lib/ultracart_api/models/coupon_percent_off_item_with_items_quantity_purchase.rb +264 -229
  831. data/lib/ultracart_api/models/coupon_percent_off_items.rb +254 -219
  832. data/lib/ultracart_api/models/coupon_percent_off_items_and_free_shipping.rb +244 -209
  833. data/lib/ultracart_api/models/coupon_percent_off_items_with_items_purchase.rb +254 -219
  834. data/lib/ultracart_api/models/coupon_percent_off_msrp_items.rb +254 -219
  835. data/lib/ultracart_api/models/coupon_percent_off_retail_price_items.rb +254 -219
  836. data/lib/ultracart_api/models/coupon_percent_off_shipping.rb +232 -197
  837. data/lib/ultracart_api/models/coupon_percent_off_subtotal.rb +220 -185
  838. data/lib/ultracart_api/models/coupon_percent_off_subtotal_and_free_shipping.rb +232 -197
  839. data/lib/ultracart_api/models/coupon_percent_off_subtotal_limit.rb +255 -220
  840. data/lib/ultracart_api/models/coupon_percent_off_subtotal_with_items_purchase.rb +232 -197
  841. data/lib/ultracart_api/models/coupon_percent_off_subtotal_with_subtotal.rb +255 -220
  842. data/lib/ultracart_api/models/coupon_query.rb +310 -275
  843. data/lib/ultracart_api/models/coupon_response.rb +268 -233
  844. data/lib/ultracart_api/models/coupon_restriction.rb +246 -211
  845. data/lib/ultracart_api/models/coupon_tier_amount.rb +255 -220
  846. data/lib/ultracart_api/models/coupon_tier_item_discount.rb +232 -197
  847. data/lib/ultracart_api/models/coupon_tier_percent.rb +255 -220
  848. data/lib/ultracart_api/models/coupon_tier_quantity_amount.rb +255 -220
  849. data/lib/ultracart_api/models/coupon_tier_quantity_percent.rb +255 -220
  850. data/lib/ultracart_api/models/coupon_tiered_amount_off_items.rb +244 -209
  851. data/lib/ultracart_api/models/coupon_tiered_amount_off_subtotal.rb +234 -199
  852. data/lib/ultracart_api/models/coupon_tiered_percent_off_items.rb +244 -209
  853. data/lib/ultracart_api/models/coupon_tiered_percent_off_shipping.rb +259 -224
  854. data/lib/ultracart_api/models/coupon_tiered_percent_off_subtotal.rb +234 -199
  855. data/lib/ultracart_api/models/coupon_type.rb +230 -195
  856. data/lib/ultracart_api/models/coupons_request.rb +222 -187
  857. data/lib/ultracart_api/models/coupons_response.rb +258 -223
  858. data/lib/ultracart_api/models/currency.rb +260 -225
  859. data/lib/ultracart_api/models/customer.rb +978 -943
  860. data/lib/ultracart_api/models/customer_activity.rb +290 -255
  861. data/lib/ultracart_api/models/customer_affiliate.rb +250 -215
  862. data/lib/ultracart_api/models/customer_attachment.rb +260 -225
  863. data/lib/ultracart_api/models/customer_billing.rb +575 -540
  864. data/lib/ultracart_api/models/customer_card.rb +290 -255
  865. data/lib/ultracart_api/models/customer_editor_values.rb +328 -293
  866. data/lib/ultracart_api/models/customer_email.rb +300 -265
  867. data/lib/ultracart_api/models/customer_email_list_changes.rb +234 -199
  868. data/lib/ultracart_api/models/customer_loyalty.rb +283 -248
  869. data/lib/ultracart_api/models/customer_loyalty_ledger.rb +360 -325
  870. data/lib/ultracart_api/models/customer_loyalty_redemption.rb +340 -305
  871. data/lib/ultracart_api/models/customer_merge_request.rb +230 -195
  872. data/lib/ultracart_api/models/customer_orders_summary.rb +250 -215
  873. data/lib/ultracart_api/models/customer_pricing_tier.rb +245 -210
  874. data/lib/ultracart_api/models/customer_privacy.rb +250 -215
  875. data/lib/ultracart_api/models/customer_query.rb +789 -754
  876. data/lib/ultracart_api/models/customer_quotes_summary.rb +250 -215
  877. data/lib/ultracart_api/models/customer_response.rb +256 -221
  878. data/lib/ultracart_api/models/customer_reviewer.rb +310 -275
  879. data/lib/ultracart_api/models/customer_shipping.rb +575 -540
  880. data/lib/ultracart_api/models/customer_software_entitlement.rb +365 -330
  881. data/lib/ultracart_api/models/customer_store_credit.rb +274 -239
  882. data/lib/ultracart_api/models/customer_store_credit_add_request.rb +250 -215
  883. data/lib/ultracart_api/models/customer_store_credit_ledger_entry.rb +295 -260
  884. data/lib/ultracart_api/models/customer_store_credit_response.rb +256 -221
  885. data/lib/ultracart_api/models/customer_tag.rb +235 -200
  886. data/lib/ultracart_api/models/customer_tax_codes.rb +260 -225
  887. data/lib/ultracart_api/models/customers_response.rb +258 -223
  888. data/lib/ultracart_api/models/data_tables_server_side_response.rb +248 -213
  889. data/lib/ultracart_api/models/distance.rb +264 -229
  890. data/lib/ultracart_api/models/distribution_center.rb +559 -524
  891. data/lib/ultracart_api/models/distribution_centers_response.rb +258 -223
  892. data/lib/ultracart_api/models/email_base_template_list_response.rb +221 -186
  893. data/lib/ultracart_api/models/email_campaign.rb +467 -432
  894. data/lib/ultracart_api/models/email_campaign_folder.rb +275 -240
  895. data/lib/ultracart_api/models/email_campaign_folder_response.rb +256 -221
  896. data/lib/ultracart_api/models/email_campaign_folders_response.rb +258 -223
  897. data/lib/ultracart_api/models/email_campaign_response.rb +256 -221
  898. data/lib/ultracart_api/models/email_campaigns_response.rb +258 -223
  899. data/lib/ultracart_api/models/email_click.rb +230 -195
  900. data/lib/ultracart_api/models/email_clicks_response.rb +258 -223
  901. data/lib/ultracart_api/models/email_commseq.rb +252 -217
  902. data/lib/ultracart_api/models/email_commseq_email.rb +470 -435
  903. data/lib/ultracart_api/models/email_commseq_email_response.rb +256 -221
  904. data/lib/ultracart_api/models/email_commseq_email_send_test_request.rb +304 -269
  905. data/lib/ultracart_api/models/email_commseq_email_send_test_response.rb +247 -212
  906. data/lib/ultracart_api/models/email_commseq_emails_request.rb +258 -223
  907. data/lib/ultracart_api/models/email_commseq_emails_response.rb +258 -223
  908. data/lib/ultracart_api/models/email_commseq_postcard.rb +340 -305
  909. data/lib/ultracart_api/models/email_commseq_postcard_response.rb +256 -221
  910. data/lib/ultracart_api/models/email_commseq_postcard_send_test_request.rb +329 -294
  911. data/lib/ultracart_api/models/email_commseq_postcard_send_test_response.rb +274 -239
  912. data/lib/ultracart_api/models/email_commseq_postcards_request.rb +221 -186
  913. data/lib/ultracart_api/models/email_commseq_postcards_response.rb +258 -223
  914. data/lib/ultracart_api/models/email_commseq_response.rb +256 -221
  915. data/lib/ultracart_api/models/email_commseq_stat.rb +580 -545
  916. data/lib/ultracart_api/models/email_commseq_stat_response.rb +256 -221
  917. data/lib/ultracart_api/models/email_commseq_step.rb +348 -313
  918. data/lib/ultracart_api/models/email_commseq_step_log.rb +240 -205
  919. data/lib/ultracart_api/models/email_commseq_step_logs_response.rb +258 -223
  920. data/lib/ultracart_api/models/email_commseq_webhook_send_test_request.rb +275 -240
  921. data/lib/ultracart_api/models/email_commseq_webhook_send_test_response.rb +277 -242
  922. data/lib/ultracart_api/models/email_commseqs_response.rb +258 -223
  923. data/lib/ultracart_api/models/email_customer.rb +292 -257
  924. data/lib/ultracart_api/models/email_customer_editor_url_response.rb +256 -221
  925. data/lib/ultracart_api/models/email_customers_response.rb +262 -227
  926. data/lib/ultracart_api/models/email_dashboard_activity.rb +280 -245
  927. data/lib/ultracart_api/models/email_dashboard_activity_response.rb +258 -223
  928. data/lib/ultracart_api/models/email_dashboard_stats_response.rb +258 -223
  929. data/lib/ultracart_api/models/email_domain.rb +329 -294
  930. data/lib/ultracart_api/models/email_editor_token_response.rb +256 -221
  931. data/lib/ultracart_api/models/email_flow.rb +505 -470
  932. data/lib/ultracart_api/models/email_flow_back_populate_request.rb +230 -195
  933. data/lib/ultracart_api/models/email_flow_back_populate_response.rb +247 -212
  934. data/lib/ultracart_api/models/email_flow_folder.rb +275 -240
  935. data/lib/ultracart_api/models/email_flow_folder_response.rb +256 -221
  936. data/lib/ultracart_api/models/email_flow_folders_response.rb +258 -223
  937. data/lib/ultracart_api/models/email_flow_response.rb +256 -221
  938. data/lib/ultracart_api/models/email_flows_response.rb +258 -223
  939. data/lib/ultracart_api/models/email_global_settings.rb +219 -184
  940. data/lib/ultracart_api/models/email_global_settings_response.rb +256 -221
  941. data/lib/ultracart_api/models/email_global_unsubscribe_request.rb +219 -184
  942. data/lib/ultracart_api/models/email_global_unsubscribe_response.rb +219 -184
  943. data/lib/ultracart_api/models/email_histogram_property_names_response.rb +221 -186
  944. data/lib/ultracart_api/models/email_histogram_property_values_response.rb +221 -186
  945. data/lib/ultracart_api/models/email_list.rb +347 -312
  946. data/lib/ultracart_api/models/email_list_archive_response.rb +256 -221
  947. data/lib/ultracart_api/models/email_list_customer.rb +250 -215
  948. data/lib/ultracart_api/models/email_list_customers_response.rb +262 -227
  949. data/lib/ultracart_api/models/email_list_response.rb +256 -221
  950. data/lib/ultracart_api/models/email_list_segment_folder.rb +275 -240
  951. data/lib/ultracart_api/models/email_list_segment_folder_response.rb +256 -221
  952. data/lib/ultracart_api/models/email_list_segment_folders_response.rb +258 -223
  953. data/lib/ultracart_api/models/email_list_segment_membership.rb +250 -215
  954. data/lib/ultracart_api/models/email_list_segment_used_by.rb +240 -205
  955. data/lib/ultracart_api/models/email_list_subscribe_response.rb +228 -193
  956. data/lib/ultracart_api/models/email_lists_response.rb +258 -223
  957. data/lib/ultracart_api/models/email_order.rb +249 -214
  958. data/lib/ultracart_api/models/email_orders_response.rb +258 -223
  959. data/lib/ultracart_api/models/email_performance.rb +475 -440
  960. data/lib/ultracart_api/models/email_performance_customer_histogram.rb +222 -187
  961. data/lib/ultracart_api/models/email_performance_customer_histogram_period.rb +260 -225
  962. data/lib/ultracart_api/models/email_performance_daily.rb +280 -245
  963. data/lib/ultracart_api/models/email_performance_response.rb +256 -221
  964. data/lib/ultracart_api/models/email_plan.rb +365 -330
  965. data/lib/ultracart_api/models/email_plan_additional.rb +291 -256
  966. data/lib/ultracart_api/models/email_plan_response.rb +256 -221
  967. data/lib/ultracart_api/models/email_postcard_stat.rb +531 -496
  968. data/lib/ultracart_api/models/email_segment.rb +445 -410
  969. data/lib/ultracart_api/models/email_segment_archive_response.rb +256 -221
  970. data/lib/ultracart_api/models/email_segment_customer.rb +250 -215
  971. data/lib/ultracart_api/models/email_segment_customers_response.rb +262 -227
  972. data/lib/ultracart_api/models/email_segment_download_prepare_response.rb +283 -248
  973. data/lib/ultracart_api/models/email_segment_response.rb +256 -221
  974. data/lib/ultracart_api/models/email_segments_response.rb +258 -223
  975. data/lib/ultracart_api/models/email_sending_domain_response.rb +256 -221
  976. data/lib/ultracart_api/models/email_sending_domains_response.rb +258 -223
  977. data/lib/ultracart_api/models/email_settings.rb +318 -283
  978. data/lib/ultracart_api/models/email_settings_response.rb +256 -221
  979. data/lib/ultracart_api/models/email_stat.rb +591 -556
  980. data/lib/ultracart_api/models/email_stat_postcard_summary_request.rb +230 -195
  981. data/lib/ultracart_api/models/email_stat_postcard_summary_response.rb +258 -223
  982. data/lib/ultracart_api/models/email_stat_summary_request.rb +241 -206
  983. data/lib/ultracart_api/models/email_stat_summary_response.rb +258 -223
  984. data/lib/ultracart_api/models/email_step_stat.rb +410 -375
  985. data/lib/ultracart_api/models/email_step_stat_request.rb +230 -195
  986. data/lib/ultracart_api/models/email_step_stat_response.rb +258 -223
  987. data/lib/ultracart_api/models/email_step_waiting_request.rb +221 -186
  988. data/lib/ultracart_api/models/email_step_waiting_response.rb +221 -186
  989. data/lib/ultracart_api/models/email_template.rb +365 -330
  990. data/lib/ultracart_api/models/email_templates_response.rb +258 -223
  991. data/lib/ultracart_api/models/email_third_party_list.rb +230 -195
  992. data/lib/ultracart_api/models/email_third_party_list_import_request.rb +222 -187
  993. data/lib/ultracart_api/models/email_third_party_provider.rb +324 -289
  994. data/lib/ultracart_api/models/email_third_party_providers_response.rb +258 -223
  995. data/lib/ultracart_api/models/email_third_party_tag.rb +230 -195
  996. data/lib/ultracart_api/models/email_verify_token_request.rb +230 -195
  997. data/lib/ultracart_api/models/email_verify_token_response.rb +257 -222
  998. data/lib/ultracart_api/models/email_verify_token_validate_request.rb +220 -185
  999. data/lib/ultracart_api/models/email_verify_token_validate_response.rb +247 -212
  1000. data/lib/ultracart_api/models/email_webhook_editor_values_response.rb +278 -243
  1001. data/lib/ultracart_api/models/error.rb +260 -225
  1002. data/lib/ultracart_api/models/error_response.rb +247 -212
  1003. data/lib/ultracart_api/models/experiment.rb +426 -391
  1004. data/lib/ultracart_api/models/experiment_response.rb +256 -221
  1005. data/lib/ultracart_api/models/experiment_variation.rb +432 -397
  1006. data/lib/ultracart_api/models/experiment_variation_stat.rb +320 -285
  1007. data/lib/ultracart_api/models/experiments_response.rb +258 -223
  1008. data/lib/ultracart_api/models/fulfillment_inventory.rb +228 -193
  1009. data/lib/ultracart_api/models/fulfillment_shipment.rb +262 -227
  1010. data/lib/ultracart_api/models/geo_point.rb +228 -193
  1011. data/lib/ultracart_api/models/geocode_request.rb +260 -225
  1012. data/lib/ultracart_api/models/geocode_response.rb +265 -230
  1013. data/lib/ultracart_api/models/gift_certificate.rb +367 -332
  1014. data/lib/ultracart_api/models/gift_certificate_create_request.rb +260 -225
  1015. data/lib/ultracart_api/models/gift_certificate_ledger_entry.rb +285 -250
  1016. data/lib/ultracart_api/models/gift_certificate_query.rb +300 -265
  1017. data/lib/ultracart_api/models/gift_certificate_response.rb +256 -221
  1018. data/lib/ultracart_api/models/gift_certificates_response.rb +258 -223
  1019. data/lib/ultracart_api/models/group.rb +266 -231
  1020. data/lib/ultracart_api/models/group_response.rb +256 -221
  1021. data/lib/ultracart_api/models/group_user_membership.rb +260 -225
  1022. data/lib/ultracart_api/models/groups_response.rb +258 -223
  1023. data/lib/ultracart_api/models/http_header.rb +230 -195
  1024. data/lib/ultracart_api/models/integration_log.rb +379 -344
  1025. data/lib/ultracart_api/models/integration_log_file.rb +246 -211
  1026. data/lib/ultracart_api/models/integration_log_log.rb +228 -193
  1027. data/lib/ultracart_api/models/integration_log_query_filter_values.rb +340 -305
  1028. data/lib/ultracart_api/models/integration_log_query_request.rb +333 -298
  1029. data/lib/ultracart_api/models/integration_log_query_response.rb +267 -232
  1030. data/lib/ultracart_api/models/integration_log_response.rb +256 -221
  1031. data/lib/ultracart_api/models/integration_log_summary.rb +291 -256
  1032. data/lib/ultracart_api/models/integration_log_summary_query_request.rb +230 -195
  1033. data/lib/ultracart_api/models/integration_log_summary_query_response.rb +258 -223
  1034. data/lib/ultracart_api/models/item.rb +748 -713
  1035. data/lib/ultracart_api/models/item_accounting.rb +260 -225
  1036. data/lib/ultracart_api/models/item_amember.rb +245 -210
  1037. data/lib/ultracart_api/models/item_auto_order.rb +403 -368
  1038. data/lib/ultracart_api/models/item_auto_order_step.rb +413 -378
  1039. data/lib/ultracart_api/models/item_auto_order_step_arbitrary_unit_cost_schedule.rb +230 -195
  1040. data/lib/ultracart_api/models/item_auto_order_step_grandfather_pricing.rb +230 -195
  1041. data/lib/ultracart_api/models/item_cc_bill.rb +270 -235
  1042. data/lib/ultracart_api/models/item_channel_partner_mapping.rb +445 -410
  1043. data/lib/ultracart_api/models/item_chargeback.rb +234 -199
  1044. data/lib/ultracart_api/models/item_chargeback_addendum.rb +250 -215
  1045. data/lib/ultracart_api/models/item_chargeback_adjustment_request.rb +240 -205
  1046. data/lib/ultracart_api/models/item_checkout.rb +265 -230
  1047. data/lib/ultracart_api/models/item_content.rb +361 -326
  1048. data/lib/ultracart_api/models/item_content_assignment.rb +285 -250
  1049. data/lib/ultracart_api/models/item_content_attribute.rb +280 -245
  1050. data/lib/ultracart_api/models/item_content_multimedia.rb +441 -406
  1051. data/lib/ultracart_api/models/item_content_multimedia_thumbnail.rb +270 -235
  1052. data/lib/ultracart_api/models/item_digital_delivery.rb +317 -282
  1053. data/lib/ultracart_api/models/item_digital_item.rb +305 -270
  1054. data/lib/ultracart_api/models/item_ebay.rb +901 -866
  1055. data/lib/ultracart_api/models/item_ebay_category_specific.rb +230 -195
  1056. data/lib/ultracart_api/models/item_ebay_market_listing.rb +260 -225
  1057. data/lib/ultracart_api/models/item_ebay_market_place_analysis.rb +311 -276
  1058. data/lib/ultracart_api/models/item_email_notifications.rb +230 -195
  1059. data/lib/ultracart_api/models/item_enrollment123.rb +220 -185
  1060. data/lib/ultracart_api/models/item_fulfillment_addon.rb +250 -215
  1061. data/lib/ultracart_api/models/item_gift_certificate.rb +230 -195
  1062. data/lib/ultracart_api/models/item_google_product_search.rb +1289 -1254
  1063. data/lib/ultracart_api/models/item_identifiers.rb +310 -275
  1064. data/lib/ultracart_api/models/item_instant_payment_notification.rb +270 -235
  1065. data/lib/ultracart_api/models/item_instant_payment_notifications.rb +222 -187
  1066. data/lib/ultracart_api/models/item_internal.rb +235 -200
  1067. data/lib/ultracart_api/models/item_kit_component.rb +260 -225
  1068. data/lib/ultracart_api/models/item_kit_definition.rb +222 -187
  1069. data/lib/ultracart_api/models/item_option.rb +416 -381
  1070. data/lib/ultracart_api/models/item_option_value.rb +409 -374
  1071. data/lib/ultracart_api/models/item_option_value_additional_item.rb +230 -195
  1072. data/lib/ultracart_api/models/item_option_value_digital_item.rb +230 -195
  1073. data/lib/ultracart_api/models/item_payment_processing.rb +264 -229
  1074. data/lib/ultracart_api/models/item_physical.rb +246 -211
  1075. data/lib/ultracart_api/models/item_pricing.rb +422 -387
  1076. data/lib/ultracart_api/models/item_pricing_tier.rb +261 -226
  1077. data/lib/ultracart_api/models/item_pricing_tier_discount.rb +230 -195
  1078. data/lib/ultracart_api/models/item_pricing_tier_limit.rb +240 -205
  1079. data/lib/ultracart_api/models/item_property.rb +270 -235
  1080. data/lib/ultracart_api/models/item_realtime_pricing.rb +240 -205
  1081. data/lib/ultracart_api/models/item_related.rb +242 -207
  1082. data/lib/ultracart_api/models/item_related_item.rb +274 -239
  1083. data/lib/ultracart_api/models/item_reporting.rb +232 -197
  1084. data/lib/ultracart_api/models/item_response.rb +256 -221
  1085. data/lib/ultracart_api/models/item_restriction.rb +292 -257
  1086. data/lib/ultracart_api/models/item_restriction_item.rb +274 -239
  1087. data/lib/ultracart_api/models/item_revguard.rb +280 -245
  1088. data/lib/ultracart_api/models/item_reviews.rb +300 -265
  1089. data/lib/ultracart_api/models/item_salesforce.rb +230 -195
  1090. data/lib/ultracart_api/models/item_shipping.rb +713 -678
  1091. data/lib/ultracart_api/models/item_shipping_case.rb +265 -230
  1092. data/lib/ultracart_api/models/item_shipping_destination_markup.rb +315 -280
  1093. data/lib/ultracart_api/models/item_shipping_destination_restriction.rb +304 -269
  1094. data/lib/ultracart_api/models/item_shipping_distribution_center.rb +380 -345
  1095. data/lib/ultracart_api/models/item_shipping_method.rb +394 -359
  1096. data/lib/ultracart_api/models/item_shipping_package_requirement.rb +230 -195
  1097. data/lib/ultracart_api/models/item_tag.rb +279 -244
  1098. data/lib/ultracart_api/models/item_tags.rb +222 -187
  1099. data/lib/ultracart_api/models/item_tax.rb +286 -251
  1100. data/lib/ultracart_api/models/item_tax_exemption.rb +335 -300
  1101. data/lib/ultracart_api/models/item_third_party_email_marketing.rb +302 -267
  1102. data/lib/ultracart_api/models/item_variant_item.rb +289 -254
  1103. data/lib/ultracart_api/models/item_variation.rb +292 -257
  1104. data/lib/ultracart_api/models/item_variation_option.rb +265 -230
  1105. data/lib/ultracart_api/models/item_wishlist_member.rb +255 -220
  1106. data/lib/ultracart_api/models/items_request.rb +222 -187
  1107. data/lib/ultracart_api/models/items_response.rb +259 -224
  1108. data/lib/ultracart_api/models/key_value.rb +240 -205
  1109. data/lib/ultracart_api/models/library_filter_values.rb +254 -219
  1110. data/lib/ultracart_api/models/library_filter_values_response.rb +256 -221
  1111. data/lib/ultracart_api/models/library_item.rb +606 -571
  1112. data/lib/ultracart_api/models/library_item_account.rb +237 -202
  1113. data/lib/ultracart_api/models/library_item_asset.rb +228 -193
  1114. data/lib/ultracart_api/models/library_item_attribute.rb +228 -193
  1115. data/lib/ultracart_api/models/library_item_email.rb +237 -202
  1116. data/lib/ultracart_api/models/library_item_published_meta.rb +290 -255
  1117. data/lib/ultracart_api/models/library_item_purchased_meta.rb +240 -205
  1118. data/lib/ultracart_api/models/library_item_query.rb +330 -295
  1119. data/lib/ultracart_api/models/library_item_response.rb +256 -221
  1120. data/lib/ultracart_api/models/library_item_screenshot.rb +228 -193
  1121. data/lib/ultracart_api/models/library_items_response.rb +259 -224
  1122. data/lib/ultracart_api/models/linked_account.rb +240 -205
  1123. data/lib/ultracart_api/models/list_segment_membership.rb +237 -202
  1124. data/lib/ultracart_api/models/lookup_request.rb +255 -220
  1125. data/lib/ultracart_api/models/lookup_response.rb +258 -223
  1126. data/lib/ultracart_api/models/mailgun.rb +219 -184
  1127. data/lib/ultracart_api/models/metric.rb +282 -247
  1128. data/lib/ultracart_api/models/notification.rb +322 -287
  1129. data/lib/ultracart_api/models/oauth_revoke_success_response.rb +230 -195
  1130. data/lib/ultracart_api/models/oauth_token_response.rb +321 -286
  1131. data/lib/ultracart_api/models/order.rb +604 -569
  1132. data/lib/ultracart_api/models/order_affiliate.rb +242 -207
  1133. data/lib/ultracart_api/models/order_affiliate_ledger.rb +334 -299
  1134. data/lib/ultracart_api/models/order_auto_order.rb +448 -413
  1135. data/lib/ultracart_api/models/order_billing.rb +597 -562
  1136. data/lib/ultracart_api/models/order_buysafe.rb +268 -233
  1137. data/lib/ultracart_api/models/order_by_token_query.rb +220 -185
  1138. data/lib/ultracart_api/models/order_channel_partner.rb +335 -300
  1139. data/lib/ultracart_api/models/order_checkout.rb +469 -434
  1140. data/lib/ultracart_api/models/order_coupon.rb +290 -255
  1141. data/lib/ultracart_api/models/order_digital_item.rb +290 -255
  1142. data/lib/ultracart_api/models/order_digital_order.rb +262 -227
  1143. data/lib/ultracart_api/models/order_edi.rb +265 -230
  1144. data/lib/ultracart_api/models/order_format.rb +404 -369
  1145. data/lib/ultracart_api/models/order_format_response.rb +232 -197
  1146. data/lib/ultracart_api/models/order_fraud_score.rb +444 -409
  1147. data/lib/ultracart_api/models/order_gift.rb +351 -316
  1148. data/lib/ultracart_api/models/order_gift_certificate.rb +239 -204
  1149. data/lib/ultracart_api/models/order_internal.rb +275 -240
  1150. data/lib/ultracart_api/models/order_item.rb +889 -854
  1151. data/lib/ultracart_api/models/order_item_edi.rb +234 -199
  1152. data/lib/ultracart_api/models/order_item_edi_identification.rb +230 -195
  1153. data/lib/ultracart_api/models/order_item_edi_lot.rb +240 -205
  1154. data/lib/ultracart_api/models/order_item_option.rb +378 -343
  1155. data/lib/ultracart_api/models/order_item_option_file_attachment.rb +250 -215
  1156. data/lib/ultracart_api/models/order_item_property.rb +280 -245
  1157. data/lib/ultracart_api/models/order_item_tag.rb +235 -200
  1158. data/lib/ultracart_api/models/order_linked_shipment.rb +264 -229
  1159. data/lib/ultracart_api/models/order_marketing.rb +270 -235
  1160. data/lib/ultracart_api/models/order_packing_slip_response.rb +257 -222
  1161. data/lib/ultracart_api/models/order_payment.rb +432 -397
  1162. data/lib/ultracart_api/models/order_payment_check.rb +220 -185
  1163. data/lib/ultracart_api/models/order_payment_credit_card.rb +354 -319
  1164. data/lib/ultracart_api/models/order_payment_e_check.rb +476 -441
  1165. data/lib/ultracart_api/models/order_payment_insurance.rb +250 -215
  1166. data/lib/ultracart_api/models/order_payment_purchase_order.rb +220 -185
  1167. data/lib/ultracart_api/models/order_payment_transaction.rb +252 -217
  1168. data/lib/ultracart_api/models/order_payment_transaction_detail.rb +240 -205
  1169. data/lib/ultracart_api/models/order_process_payment_request.rb +230 -195
  1170. data/lib/ultracart_api/models/order_process_payment_response.rb +256 -221
  1171. data/lib/ultracart_api/models/order_property.rb +280 -245
  1172. data/lib/ultracart_api/models/order_query.rb +826 -791
  1173. data/lib/ultracart_api/models/order_query_batch.rb +222 -187
  1174. data/lib/ultracart_api/models/order_quote.rb +240 -205
  1175. data/lib/ultracart_api/models/order_replacement.rb +467 -432
  1176. data/lib/ultracart_api/models/order_replacement_item.rb +255 -220
  1177. data/lib/ultracart_api/models/order_replacement_response.rb +264 -229
  1178. data/lib/ultracart_api/models/order_response.rb +256 -221
  1179. data/lib/ultracart_api/models/order_salesforce.rb +220 -185
  1180. data/lib/ultracart_api/models/order_shipping.rb +770 -735
  1181. data/lib/ultracart_api/models/order_summary.rb +390 -355
  1182. data/lib/ultracart_api/models/order_tag.rb +235 -200
  1183. data/lib/ultracart_api/models/order_taxes.rb +395 -360
  1184. data/lib/ultracart_api/models/order_token_response.rb +257 -222
  1185. data/lib/ultracart_api/models/order_tracking_number_detail.rb +320 -285
  1186. data/lib/ultracart_api/models/order_tracking_number_details.rb +374 -339
  1187. data/lib/ultracart_api/models/orders_response.rb +259 -224
  1188. data/lib/ultracart_api/models/permission.rb +240 -205
  1189. data/lib/ultracart_api/models/pricing_tier.rb +533 -498
  1190. data/lib/ultracart_api/models/pricing_tier_notification.rb +270 -235
  1191. data/lib/ultracart_api/models/pricing_tiers_response.rb +259 -224
  1192. data/lib/ultracart_api/models/property.rb +228 -193
  1193. data/lib/ultracart_api/models/publish_library_item_request.rb +220 -185
  1194. data/lib/ultracart_api/models/register_affiliate_click_request.rb +270 -235
  1195. data/lib/ultracart_api/models/register_affiliate_click_response.rb +254 -219
  1196. data/lib/ultracart_api/models/response_metadata.rb +229 -194
  1197. data/lib/ultracart_api/models/result_set.rb +270 -235
  1198. data/lib/ultracart_api/models/screen_recording.rb +688 -653
  1199. data/lib/ultracart_api/models/screen_recording_ad_platform.rb +280 -245
  1200. data/lib/ultracart_api/models/screen_recording_filter.rb +758 -723
  1201. data/lib/ultracart_api/models/screen_recording_filter_geo_distance.rb +255 -220
  1202. data/lib/ultracart_api/models/screen_recording_filter_ip_search.rb +246 -211
  1203. data/lib/ultracart_api/models/screen_recording_filter_page_view.rb +369 -334
  1204. data/lib/ultracart_api/models/screen_recording_filter_page_view_event.rb +230 -195
  1205. data/lib/ultracart_api/models/screen_recording_filter_page_view_event_param.rb +255 -220
  1206. data/lib/ultracart_api/models/screen_recording_filter_page_view_param.rb +228 -193
  1207. data/lib/ultracart_api/models/screen_recording_filter_page_view_referrer_param.rb +228 -193
  1208. data/lib/ultracart_api/models/screen_recording_filter_range_big_decimal.rb +255 -220
  1209. data/lib/ultracart_api/models/screen_recording_filter_range_date.rb +230 -195
  1210. data/lib/ultracart_api/models/screen_recording_filter_range_integer.rb +255 -220
  1211. data/lib/ultracart_api/models/screen_recording_filter_string_search.rb +255 -220
  1212. data/lib/ultracart_api/models/screen_recording_filter_values.rb +435 -400
  1213. data/lib/ultracart_api/models/screen_recording_filter_values_event.rb +230 -195
  1214. data/lib/ultracart_api/models/screen_recording_filter_values_event_params.rb +263 -228
  1215. data/lib/ultracart_api/models/screen_recording_filter_values_page_param.rb +230 -195
  1216. data/lib/ultracart_api/models/screen_recording_filter_values_page_view.rb +272 -237
  1217. data/lib/ultracart_api/models/screen_recording_heatmap.rb +426 -391
  1218. data/lib/ultracart_api/models/screen_recording_heatmap_index_request.rb +219 -184
  1219. data/lib/ultracart_api/models/screen_recording_heatmap_index_response.rb +258 -223
  1220. data/lib/ultracart_api/models/screen_recording_heatmap_request.rb +239 -204
  1221. data/lib/ultracart_api/models/screen_recording_heatmap_reset.rb +219 -184
  1222. data/lib/ultracart_api/models/screen_recording_heatmap_response.rb +256 -221
  1223. data/lib/ultracart_api/models/screen_recording_heatmap_url.rb +266 -231
  1224. data/lib/ultracart_api/models/screen_recording_merchant_notes_request.rb +219 -184
  1225. data/lib/ultracart_api/models/screen_recording_multifield.rb +255 -220
  1226. data/lib/ultracart_api/models/screen_recording_page_view.rb +391 -356
  1227. data/lib/ultracart_api/models/screen_recording_page_view_data_response.rb +256 -221
  1228. data/lib/ultracart_api/models/screen_recording_page_view_event.rb +267 -232
  1229. data/lib/ultracart_api/models/screen_recording_page_view_event_parameter.rb +228 -193
  1230. data/lib/ultracart_api/models/screen_recording_page_view_parameter.rb +228 -193
  1231. data/lib/ultracart_api/models/screen_recording_query_request.rb +219 -184
  1232. data/lib/ultracart_api/models/screen_recording_query_response.rb +314 -279
  1233. data/lib/ultracart_api/models/screen_recording_response.rb +265 -230
  1234. data/lib/ultracart_api/models/screen_recording_segment.rb +302 -267
  1235. data/lib/ultracart_api/models/screen_recording_segment_response.rb +256 -221
  1236. data/lib/ultracart_api/models/screen_recording_segments_response.rb +258 -223
  1237. data/lib/ultracart_api/models/screen_recording_settings.rb +284 -249
  1238. data/lib/ultracart_api/models/screen_recording_settings_response.rb +256 -221
  1239. data/lib/ultracart_api/models/screen_recording_store_front.rb +228 -193
  1240. data/lib/ultracart_api/models/screen_recording_tags_request.rb +221 -186
  1241. data/lib/ultracart_api/models/screen_recording_tags_response.rb +258 -223
  1242. data/lib/ultracart_api/models/screen_recording_user_agent.rb +255 -220
  1243. data/lib/ultracart_api/models/screen_recording_user_agent_device.rb +219 -184
  1244. data/lib/ultracart_api/models/screen_recording_user_agent_os.rb +237 -202
  1245. data/lib/ultracart_api/models/screen_recording_user_property.rb +228 -193
  1246. data/lib/ultracart_api/models/screenshots_response.rb +259 -224
  1247. data/lib/ultracart_api/models/self_config.rb +220 -185
  1248. data/lib/ultracart_api/models/simple_value.rb +230 -195
  1249. data/lib/ultracart_api/models/single_sign_on_authorize_request.rb +230 -195
  1250. data/lib/ultracart_api/models/single_sign_on_authorize_response.rb +230 -195
  1251. data/lib/ultracart_api/models/single_sign_on_token_request.rb +230 -195
  1252. data/lib/ultracart_api/models/single_sign_on_token_response.rb +240 -205
  1253. data/lib/ultracart_api/models/sovos_config.rb +280 -245
  1254. data/lib/ultracart_api/models/state_province.rb +245 -210
  1255. data/lib/ultracart_api/models/step_waiting.rb +228 -193
  1256. data/lib/ultracart_api/models/tax_city.rb +302 -267
  1257. data/lib/ultracart_api/models/tax_country.rb +302 -267
  1258. data/lib/ultracart_api/models/tax_country_code.rb +260 -225
  1259. data/lib/ultracart_api/models/tax_county.rb +312 -277
  1260. data/lib/ultracart_api/models/tax_jar_config.rb +280 -245
  1261. data/lib/ultracart_api/models/tax_postal_code.rb +280 -245
  1262. data/lib/ultracart_api/models/tax_provider_activate_result.rb +229 -194
  1263. data/lib/ultracart_api/models/tax_provider_avalara.rb +249 -214
  1264. data/lib/ultracart_api/models/tax_provider_avalara_companies_result.rb +222 -187
  1265. data/lib/ultracart_api/models/tax_provider_avalara_company.rb +260 -225
  1266. data/lib/ultracart_api/models/tax_provider_self.rb +261 -226
  1267. data/lib/ultracart_api/models/tax_provider_self_countries_response.rb +222 -187
  1268. data/lib/ultracart_api/models/tax_provider_self_regions_response.rb +222 -187
  1269. data/lib/ultracart_api/models/tax_provider_sovos.rb +249 -214
  1270. data/lib/ultracart_api/models/tax_provider_tax_jar.rb +249 -214
  1271. data/lib/ultracart_api/models/tax_provider_test_result.rb +229 -194
  1272. data/lib/ultracart_api/models/tax_provider_ultra_cart.rb +261 -226
  1273. data/lib/ultracart_api/models/tax_provider_ultra_cart_state.rb +310 -275
  1274. data/lib/ultracart_api/models/tax_providers_response.rb +292 -257
  1275. data/lib/ultracart_api/models/tax_state.rb +392 -357
  1276. data/lib/ultracart_api/models/tax_state_code.rb +260 -225
  1277. data/lib/ultracart_api/models/temp_multimedia.rb +329 -294
  1278. data/lib/ultracart_api/models/temp_multimedia_response.rb +256 -221
  1279. data/lib/ultracart_api/models/thumbnail_parameters_request.rb +255 -220
  1280. data/lib/ultracart_api/models/thumbnail_parameters_response.rb +257 -222
  1281. data/lib/ultracart_api/models/transaction_email.rb +414 -379
  1282. data/lib/ultracart_api/models/transaction_email_list_response.rb +258 -223
  1283. data/lib/ultracart_api/models/transaction_email_option.rb +282 -247
  1284. data/lib/ultracart_api/models/transaction_email_response.rb +256 -221
  1285. data/lib/ultracart_api/models/twilio.rb +248 -213
  1286. data/lib/ultracart_api/models/twilio_response.rb +265 -230
  1287. data/lib/ultracart_api/models/twilios_response.rb +258 -223
  1288. data/lib/ultracart_api/models/ultra_cart_config.rb +220 -185
  1289. data/lib/ultracart_api/models/upload_coupon_codes_request.rb +259 -224
  1290. data/lib/ultracart_api/models/upload_coupon_codes_response.rb +283 -248
  1291. data/lib/ultracart_api/models/user.rb +377 -342
  1292. data/lib/ultracart_api/models/user_group_membership.rb +240 -205
  1293. data/lib/ultracart_api/models/user_login.rb +250 -215
  1294. data/lib/ultracart_api/models/user_logins_response.rb +259 -224
  1295. data/lib/ultracart_api/models/user_response.rb +256 -221
  1296. data/lib/ultracart_api/models/users_response.rb +258 -223
  1297. data/lib/ultracart_api/models/verification_record.rb +237 -202
  1298. data/lib/ultracart_api/models/warning.rb +230 -195
  1299. data/lib/ultracart_api/models/webhook.rb +437 -402
  1300. data/lib/ultracart_api/models/webhook_event_category.rb +264 -229
  1301. data/lib/ultracart_api/models/webhook_event_subscription.rb +300 -265
  1302. data/lib/ultracart_api/models/webhook_log.rb +324 -289
  1303. data/lib/ultracart_api/models/webhook_log_response.rb +256 -221
  1304. data/lib/ultracart_api/models/webhook_log_summaries_response.rb +259 -224
  1305. data/lib/ultracart_api/models/webhook_log_summary.rb +240 -205
  1306. data/lib/ultracart_api/models/webhook_response.rb +256 -221
  1307. data/lib/ultracart_api/models/webhook_sample_request.rb +252 -217
  1308. data/lib/ultracart_api/models/webhook_sample_request_response.rb +256 -221
  1309. data/lib/ultracart_api/models/webhooks_response.rb +258 -223
  1310. data/lib/ultracart_api/models/weight.rb +264 -229
  1311. data/lib/ultracart_api/version.rb +15 -15
  1312. data/lib/ultracart_api.rb +690 -691
  1313. data/spec/api_client_spec.rb +226 -243
  1314. data/spec/configuration_spec.rb +42 -42
  1315. data/spec/spec_helper.rb +111 -111
  1316. data/ultracart_api.gemspec +38 -46
  1317. metadata +4 -166
  1318. data/docs/CouponNoDiscount.md +0 -7
  1319. data/lib/ultracart_api/models/coupon_no_discount.rb +0 -175
data/docs/OrderApi.md CHANGED
@@ -1,1308 +1,1787 @@
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
- > BaseResponse adjust_order_total(order_id, desired_total)
34
-
35
- Adjusts an order total
36
-
37
- 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.
38
-
39
- ### Example
40
- ```ruby
41
- # load the gem
42
- require 'ultracart_api'
43
-
44
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
45
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
46
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
47
-
48
-
49
- order_id = 'order_id_example' # String | The order id to cancel.
50
-
51
- desired_total = 'desired_total_example' # String | The desired total with no formatting. example 123.45
52
-
53
-
54
- begin
55
- #Adjusts an order total
56
- result = api_instance.adjust_order_total(order_id, desired_total)
57
- p result
58
- rescue UltracartClient::ApiError => e
59
- puts "Exception when calling OrderApi->adjust_order_total: #{e}"
60
- end
61
- ```
62
-
63
- ### Parameters
64
-
65
- Name | Type | Description | Notes
66
- ------------- | ------------- | ------------- | -------------
67
- **order_id** | **String**| The order id to cancel. |
68
- **desired_total** | **String**| The desired total with no formatting. example 123.45 |
69
-
70
- ### Return type
71
-
72
- [**BaseResponse**](BaseResponse.md)
73
-
74
- ### Authorization
75
-
76
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
77
-
78
- ### HTTP request headers
79
-
80
- - **Content-Type**: application/json
81
- - **Accept**: application/json
82
-
83
-
84
-
85
- # **cancel_order**
86
- > BaseResponse cancel_order(order_id)
87
-
88
- Cancel an order
89
-
90
- Cancel an order on the UltraCart account. If the success flag is false, then consult the error message for why it failed.
91
-
92
- ### Example
93
- ```ruby
94
- # load the gem
95
- require 'ultracart_api'
96
-
97
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
98
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
99
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
100
-
101
-
102
- order_id = 'order_id_example' # String | The order id to cancel.
103
-
104
-
105
- begin
106
- #Cancel an order
107
- result = api_instance.cancel_order(order_id)
108
- p result
109
- rescue UltracartClient::ApiError => e
110
- puts "Exception when calling OrderApi->cancel_order: #{e}"
111
- end
112
- ```
113
-
114
- ### Parameters
115
-
116
- Name | Type | Description | Notes
117
- ------------- | ------------- | ------------- | -------------
118
- **order_id** | **String**| The order id to cancel. |
119
-
120
- ### Return type
121
-
122
- [**BaseResponse**](BaseResponse.md)
123
-
124
- ### Authorization
125
-
126
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
127
-
128
- ### HTTP request headers
129
-
130
- - **Content-Type**: application/json
131
- - **Accept**: application/json
132
-
133
-
134
-
135
- # **delete_order**
136
- > delete_order(order_id)
137
-
138
- Delete an order
139
-
140
- Delete an order on the UltraCart account.
141
-
142
- ### Example
143
- ```ruby
144
- # load the gem
145
- require 'ultracart_api'
146
-
147
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
148
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
149
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
150
-
151
-
152
- order_id = 'order_id_example' # String | The order id to delete.
153
-
154
-
155
- begin
156
- #Delete an order
157
- api_instance.delete_order(order_id)
158
- rescue UltracartClient::ApiError => e
159
- puts "Exception when calling OrderApi->delete_order: #{e}"
160
- end
161
- ```
162
-
163
- ### Parameters
164
-
165
- Name | Type | Description | Notes
166
- ------------- | ------------- | ------------- | -------------
167
- **order_id** | **String**| The order id to delete. |
168
-
169
- ### Return type
170
-
171
- nil (empty response body)
172
-
173
- ### Authorization
174
-
175
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
176
-
177
- ### HTTP request headers
178
-
179
- - **Content-Type**: application/json
180
- - **Accept**: application/json
181
-
182
-
183
-
184
- # **duplicate_order**
185
- > OrderResponse duplicate_order(order_id, opts)
186
-
187
- Duplicate an order
188
-
189
- Perform a duplicate of the specified order_id and return a new order located in Accounts Receivable.
190
-
191
- ### Example
192
- ```ruby
193
- # load the gem
194
- require 'ultracart_api'
195
-
196
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
197
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
198
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
199
-
200
-
201
- order_id = 'order_id_example' # String | The order id to duplicate.
202
-
203
- opts = {
204
- _expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
205
- }
206
-
207
- begin
208
- #Duplicate an order
209
- result = api_instance.duplicate_order(order_id, opts)
210
- p result
211
- rescue UltracartClient::ApiError => e
212
- puts "Exception when calling OrderApi->duplicate_order: #{e}"
213
- end
214
- ```
215
-
216
- ### Parameters
217
-
218
- Name | Type | Description | Notes
219
- ------------- | ------------- | ------------- | -------------
220
- **order_id** | **String**| The order id to duplicate. |
221
- **_expand** | **String**| The object expansion to perform on the result. See documentation for examples | [optional]
222
-
223
- ### Return type
224
-
225
- [**OrderResponse**](OrderResponse.md)
226
-
227
- ### Authorization
228
-
229
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
230
-
231
- ### HTTP request headers
232
-
233
- - **Content-Type**: application/json
234
- - **Accept**: application/json
235
-
236
-
237
-
238
- # **format**
239
- > OrderFormatResponse format(order_id, format_options)
240
-
241
- Format order
242
-
243
- Format the order for display at text or html
244
-
245
- ### Example
246
- ```ruby
247
- # load the gem
248
- require 'ultracart_api'
249
-
250
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
251
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
252
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
253
-
254
-
255
- order_id = 'order_id_example' # String | The order id to format
256
-
257
- format_options = UltracartClient::OrderFormat.new # OrderFormat | Format options
258
-
259
-
260
- begin
261
- #Format order
262
- result = api_instance.format(order_id, format_options)
263
- p result
264
- rescue UltracartClient::ApiError => e
265
- puts "Exception when calling OrderApi->format: #{e}"
266
- end
267
- ```
268
-
269
- ### Parameters
270
-
271
- Name | Type | Description | Notes
272
- ------------- | ------------- | ------------- | -------------
273
- **order_id** | **String**| The order id to format |
274
- **format_options** | [**OrderFormat**](OrderFormat.md)| Format options |
275
-
276
- ### Return type
277
-
278
- [**OrderFormatResponse**](OrderFormatResponse.md)
279
-
280
- ### Authorization
281
-
282
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
283
-
284
- ### HTTP request headers
285
-
286
- - **Content-Type**: application/json
287
- - **Accept**: application/json
288
-
289
-
290
-
291
- # **generate_order_token**
292
- > OrderTokenResponse generate_order_token(order_id)
293
-
294
- Generate an order token for a given order id
295
-
296
- Retrieves a single order token for a given order id. The token can be used with the getOrderByToken API.
297
-
298
- ### Example
299
- ```ruby
300
- # load the gem
301
- require 'ultracart_api'
302
-
303
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
304
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
305
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
306
-
307
-
308
- order_id = 'order_id_example' # String | The order id to generate a token for.
309
-
310
-
311
- begin
312
- #Generate an order token for a given order id
313
- result = api_instance.generate_order_token(order_id)
314
- p result
315
- rescue UltracartClient::ApiError => e
316
- puts "Exception when calling OrderApi->generate_order_token: #{e}"
317
- end
318
- ```
319
-
320
- ### Parameters
321
-
322
- Name | Type | Description | Notes
323
- ------------- | ------------- | ------------- | -------------
324
- **order_id** | **String**| The order id to generate a token for. |
325
-
326
- ### Return type
327
-
328
- [**OrderTokenResponse**](OrderTokenResponse.md)
329
-
330
- ### Authorization
331
-
332
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
333
-
334
- ### HTTP request headers
335
-
336
- - **Content-Type**: application/json
337
- - **Accept**: application/json
338
-
339
-
340
-
341
- # **generate_packing_slip_all_dc**
342
- > OrderPackingSlipResponse generate_packing_slip_all_dc(order_id)
343
-
344
- Generate a packing slip for this order across all distribution centers.
345
-
346
- The packing slip PDF that is returned is base 64 encoded
347
-
348
- ### Example
349
- ```ruby
350
- # load the gem
351
- require 'ultracart_api'
352
-
353
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
354
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
355
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
356
-
357
-
358
- order_id = 'order_id_example' # String | Order ID
359
-
360
-
361
- begin
362
- #Generate a packing slip for this order across all distribution centers.
363
- result = api_instance.generate_packing_slip_all_dc(order_id)
364
- p result
365
- rescue UltracartClient::ApiError => e
366
- puts "Exception when calling OrderApi->generate_packing_slip_all_dc: #{e}"
367
- end
368
- ```
369
-
370
- ### Parameters
371
-
372
- Name | Type | Description | Notes
373
- ------------- | ------------- | ------------- | -------------
374
- **order_id** | **String**| Order ID |
375
-
376
- ### Return type
377
-
378
- [**OrderPackingSlipResponse**](OrderPackingSlipResponse.md)
379
-
380
- ### Authorization
381
-
382
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
383
-
384
- ### HTTP request headers
385
-
386
- - **Content-Type**: application/json
387
- - **Accept**: application/json
388
-
389
-
390
-
391
- # **generate_packing_slip_specific_dc**
392
- > OrderPackingSlipResponse generate_packing_slip_specific_dc(distribution_center_code, order_id)
393
-
394
- Generate a packing slip for this order for the given distribution center.
395
-
396
- The packing slip PDF that is returned is base 64 encoded
397
-
398
- ### Example
399
- ```ruby
400
- # load the gem
401
- require 'ultracart_api'
402
-
403
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
404
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
405
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
406
-
407
-
408
- distribution_center_code = 'distribution_center_code_example' # String | Distribution center code
409
-
410
- order_id = 'order_id_example' # String | Order ID
411
-
412
-
413
- begin
414
- #Generate a packing slip for this order for the given distribution center.
415
- result = api_instance.generate_packing_slip_specific_dc(distribution_center_code, order_id)
416
- p result
417
- rescue UltracartClient::ApiError => e
418
- puts "Exception when calling OrderApi->generate_packing_slip_specific_dc: #{e}"
419
- end
420
- ```
421
-
422
- ### Parameters
423
-
424
- Name | Type | Description | Notes
425
- ------------- | ------------- | ------------- | -------------
426
- **distribution_center_code** | **String**| Distribution center code |
427
- **order_id** | **String**| Order ID |
428
-
429
- ### Return type
430
-
431
- [**OrderPackingSlipResponse**](OrderPackingSlipResponse.md)
432
-
433
- ### Authorization
434
-
435
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
436
-
437
- ### HTTP request headers
438
-
439
- - **Content-Type**: application/json
440
- - **Accept**: application/json
441
-
442
-
443
-
444
- # **get_accounts_receivable_retry_config**
445
- > AccountsReceivableRetryConfigResponse get_accounts_receivable_retry_config
446
-
447
- Retrieve A/R Retry Configuration
448
-
449
- Retrieve A/R Retry Configuration. This is primarily an internal API call. It is doubtful you would ever need to use it.
450
-
451
- ### Example
452
- ```ruby
453
- # load the gem
454
- require 'ultracart_api'
455
-
456
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
457
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
458
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
459
-
460
-
461
-
462
- begin
463
- #Retrieve A/R Retry Configuration
464
- result = api_instance.get_accounts_receivable_retry_config
465
- p result
466
- rescue UltracartClient::ApiError => e
467
- puts "Exception when calling OrderApi->get_accounts_receivable_retry_config: #{e}"
468
- end
469
- ```
470
-
471
- ### Parameters
472
- This endpoint does not need any parameter.
473
-
474
- ### Return type
475
-
476
- [**AccountsReceivableRetryConfigResponse**](AccountsReceivableRetryConfigResponse.md)
477
-
478
- ### Authorization
479
-
480
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
481
-
482
- ### HTTP request headers
483
-
484
- - **Content-Type**: application/json
485
- - **Accept**: application/json
486
-
487
-
488
-
489
- # **get_accounts_receivable_retry_stats**
490
- > AccountsReceivableRetryStatsResponse get_accounts_receivable_retry_stats(opts)
491
-
492
- Retrieve A/R Retry Statistics
493
-
494
- Retrieve A/R Retry Statistics. This is primarily an internal API call. It is doubtful you would ever need to use it.
495
-
496
- ### Example
497
- ```ruby
498
- # load the gem
499
- require 'ultracart_api'
500
-
501
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
502
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
503
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
504
-
505
-
506
- opts = {
507
- from: 'from_example', # String |
508
- to: 'to_example' # String |
509
- }
510
-
511
- begin
512
- #Retrieve A/R Retry Statistics
513
- result = api_instance.get_accounts_receivable_retry_stats(opts)
514
- p result
515
- rescue UltracartClient::ApiError => e
516
- puts "Exception when calling OrderApi->get_accounts_receivable_retry_stats: #{e}"
517
- end
518
- ```
519
-
520
- ### Parameters
521
-
522
- Name | Type | Description | Notes
523
- ------------- | ------------- | ------------- | -------------
524
- **from** | **String**| | [optional]
525
- **to** | **String**| | [optional]
526
-
527
- ### Return type
528
-
529
- [**AccountsReceivableRetryStatsResponse**](AccountsReceivableRetryStatsResponse.md)
530
-
531
- ### Authorization
532
-
533
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
534
-
535
- ### HTTP request headers
536
-
537
- - **Content-Type**: application/json
538
- - **Accept**: application/json
539
-
540
-
541
-
542
- # **get_order**
543
- > OrderResponse get_order(order_id, opts)
544
-
545
- Retrieve an order
546
-
547
- Retrieves a single order using the specified order id.
548
-
549
- ### Example
550
- ```ruby
551
- # load the gem
552
- require 'ultracart_api'
553
-
554
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
555
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
556
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
557
-
558
-
559
- order_id = 'order_id_example' # String | The order id to retrieve.
560
-
561
- opts = {
562
- _expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
563
- }
564
-
565
- begin
566
- #Retrieve an order
567
- result = api_instance.get_order(order_id, opts)
568
- p result
569
- rescue UltracartClient::ApiError => e
570
- puts "Exception when calling OrderApi->get_order: #{e}"
571
- end
572
- ```
573
-
574
- ### Parameters
575
-
576
- Name | Type | Description | Notes
577
- ------------- | ------------- | ------------- | -------------
578
- **order_id** | **String**| The order id to retrieve. |
579
- **_expand** | **String**| The object expansion to perform on the result. See documentation for examples | [optional]
580
-
581
- ### Return type
582
-
583
- [**OrderResponse**](OrderResponse.md)
584
-
585
- ### Authorization
586
-
587
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
588
-
589
- ### HTTP request headers
590
-
591
- - **Content-Type**: application/json
592
- - **Accept**: application/json
593
-
594
-
595
-
596
- # **get_order_by_token**
597
- > OrderResponse get_order_by_token(order_by_token_query, opts)
598
-
599
- Retrieve an order using a token
600
-
601
- Retrieves a single order using the specified order token.
602
-
603
- ### Example
604
- ```ruby
605
- # load the gem
606
- require 'ultracart_api'
607
-
608
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
609
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
610
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
611
-
612
-
613
- order_by_token_query = UltracartClient::OrderByTokenQuery.new # OrderByTokenQuery | Order by token query
614
-
615
- opts = {
616
- _expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
617
- }
618
-
619
- begin
620
- #Retrieve an order using a token
621
- result = api_instance.get_order_by_token(order_by_token_query, opts)
622
- p result
623
- rescue UltracartClient::ApiError => e
624
- puts "Exception when calling OrderApi->get_order_by_token: #{e}"
625
- end
626
- ```
627
-
628
- ### Parameters
629
-
630
- Name | Type | Description | Notes
631
- ------------- | ------------- | ------------- | -------------
632
- **order_by_token_query** | [**OrderByTokenQuery**](OrderByTokenQuery.md)| Order by token query |
633
- **_expand** | **String**| The object expansion to perform on the result. See documentation for examples | [optional]
634
-
635
- ### Return type
636
-
637
- [**OrderResponse**](OrderResponse.md)
638
-
639
- ### Authorization
640
-
641
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
642
-
643
- ### HTTP request headers
644
-
645
- - **Content-Type**: application/json
646
- - **Accept**: application/json
647
-
648
-
649
-
650
- # **get_orders**
651
- > OrdersResponse get_orders(opts)
652
-
653
- Retrieve orders
654
-
655
- 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.
656
-
657
- ### Example
658
- ```ruby
659
- # load the gem
660
- require 'ultracart_api'
661
-
662
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
663
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
664
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
665
-
666
-
667
- opts = {
668
- order_id: 'order_id_example', # String | Order Id
669
- payment_method: 'payment_method_example', # String | Payment Method
670
- company: 'company_example', # String | Company
671
- first_name: 'first_name_example', # String | First Name
672
- last_name: 'last_name_example', # String | Last Name
673
- city: 'city_example', # String | City
674
- state_region: 'state_region_example', # String | State/Region
675
- postal_code: 'postal_code_example', # String | Postal Code
676
- country_code: 'country_code_example', # String | Country Code (ISO-3166 two letter)
677
- phone: 'phone_example', # String | Phone
678
- email: 'email_example', # String | Email
679
- cc_email: 'cc_email_example', # String | CC Email
680
- total: 8.14, # Float | Total
681
- screen_branding_theme_code: 'screen_branding_theme_code_example', # String | Screen Branding Theme Code
682
- storefront_host_name: 'storefront_host_name_example', # String | StoreFront Host Name
683
- creation_date_begin: 'creation_date_begin_example', # String | Creation Date Begin
684
- creation_date_end: 'creation_date_end_example', # String | Creation Date End
685
- payment_date_begin: 'payment_date_begin_example', # String | Payment Date Begin
686
- payment_date_end: 'payment_date_end_example', # String | Payment Date End
687
- shipment_date_begin: 'shipment_date_begin_example', # String | Shipment Date Begin
688
- shipment_date_end: 'shipment_date_end_example', # String | Shipment Date End
689
- rma: 'rma_example', # String | RMA
690
- purchase_order_number: 'purchase_order_number_example', # String | Purchase Order Number
691
- item_id: 'item_id_example', # String | Item Id
692
- current_stage: 'current_stage_example', # String | Current Stage
693
- channel_partner_code: 'channel_partner_code_example', # String | Channel Partner Code
694
- channel_partner_order_id: 'channel_partner_order_id_example', # String | Channel Partner Order ID
695
- _limit: 100, # Integer | The maximum number of records to return on this one API call. (Maximum 200)
696
- _offset: 0, # Integer | Pagination of the record set. Offset is a zero based index.
697
- _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.
698
- _expand: '_expand_example' # String | The object expansion to perform on the result.
699
- }
700
-
701
- begin
702
- #Retrieve orders
703
- result = api_instance.get_orders(opts)
704
- p result
705
- rescue UltracartClient::ApiError => e
706
- puts "Exception when calling OrderApi->get_orders: #{e}"
707
- end
708
- ```
709
-
710
- ### Parameters
711
-
712
- Name | Type | Description | Notes
713
- ------------- | ------------- | ------------- | -------------
714
- **order_id** | **String**| Order Id | [optional]
715
- **payment_method** | **String**| Payment Method | [optional]
716
- **company** | **String**| Company | [optional]
717
- **first_name** | **String**| First Name | [optional]
718
- **last_name** | **String**| Last Name | [optional]
719
- **city** | **String**| City | [optional]
720
- **state_region** | **String**| State/Region | [optional]
721
- **postal_code** | **String**| Postal Code | [optional]
722
- **country_code** | **String**| Country Code (ISO-3166 two letter) | [optional]
723
- **phone** | **String**| Phone | [optional]
724
- **email** | **String**| Email | [optional]
725
- **cc_email** | **String**| CC Email | [optional]
726
- **total** | **Float**| Total | [optional]
727
- **screen_branding_theme_code** | **String**| Screen Branding Theme Code | [optional]
728
- **storefront_host_name** | **String**| StoreFront Host Name | [optional]
729
- **creation_date_begin** | **String**| Creation Date Begin | [optional]
730
- **creation_date_end** | **String**| Creation Date End | [optional]
731
- **payment_date_begin** | **String**| Payment Date Begin | [optional]
732
- **payment_date_end** | **String**| Payment Date End | [optional]
733
- **shipment_date_begin** | **String**| Shipment Date Begin | [optional]
734
- **shipment_date_end** | **String**| Shipment Date End | [optional]
735
- **rma** | **String**| RMA | [optional]
736
- **purchase_order_number** | **String**| Purchase Order Number | [optional]
737
- **item_id** | **String**| Item Id | [optional]
738
- **current_stage** | **String**| Current Stage | [optional]
739
- **channel_partner_code** | **String**| Channel Partner Code | [optional]
740
- **channel_partner_order_id** | **String**| Channel Partner Order ID | [optional]
741
- **_limit** | **Integer**| The maximum number of records to return on this one API call. (Maximum 200) | [optional] [default to 100]
742
- **_offset** | **Integer**| Pagination of the record set. Offset is a zero based index. | [optional] [default to 0]
743
- **_sort** | **String**| The sort order of the orders. See Sorting documentation for examples of using multiple values and sorting by ascending and descending. | [optional]
744
- **_expand** | **String**| The object expansion to perform on the result. | [optional]
745
-
746
- ### Return type
747
-
748
- [**OrdersResponse**](OrdersResponse.md)
749
-
750
- ### Authorization
751
-
752
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
753
-
754
- ### HTTP request headers
755
-
756
- - **Content-Type**: application/json
757
- - **Accept**: application/json
758
-
759
-
760
-
761
- # **get_orders_batch**
762
- > OrdersResponse get_orders_batch(order_batch, opts)
763
-
764
- Retrieve order batch
765
-
766
- 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.
767
-
768
- ### Example
769
- ```ruby
770
- # load the gem
771
- require 'ultracart_api'
772
-
773
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
774
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
775
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
776
-
777
-
778
- order_batch = UltracartClient::OrderQueryBatch.new # OrderQueryBatch | Order batch
779
-
780
- opts = {
781
- _expand: '_expand_example' # String | The object expansion to perform on the result.
782
- }
783
-
784
- begin
785
- #Retrieve order batch
786
- result = api_instance.get_orders_batch(order_batch, opts)
787
- p result
788
- rescue UltracartClient::ApiError => e
789
- puts "Exception when calling OrderApi->get_orders_batch: #{e}"
790
- end
791
- ```
792
-
793
- ### Parameters
794
-
795
- Name | Type | Description | Notes
796
- ------------- | ------------- | ------------- | -------------
797
- **order_batch** | [**OrderQueryBatch**](OrderQueryBatch.md)| Order batch |
798
- **_expand** | **String**| The object expansion to perform on the result. | [optional]
799
-
800
- ### Return type
801
-
802
- [**OrdersResponse**](OrdersResponse.md)
803
-
804
- ### Authorization
805
-
806
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
807
-
808
- ### HTTP request headers
809
-
810
- - **Content-Type**: application/json
811
- - **Accept**: application/json
812
-
813
-
814
-
815
- # **get_orders_by_query**
816
- > OrdersResponse get_orders_by_query(order_query, opts)
817
-
818
- Retrieve orders by query
819
-
820
- 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.
821
-
822
- ### Example
823
- ```ruby
824
- # load the gem
825
- require 'ultracart_api'
826
-
827
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
828
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
829
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
830
-
831
-
832
- order_query = UltracartClient::OrderQuery.new # OrderQuery | Order query
833
-
834
- opts = {
835
- _limit: 100, # Integer | The maximum number of records to return on this one API call. (Maximum 200)
836
- _offset: 0, # Integer | Pagination of the record set. Offset is a zero based index.
837
- _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.
838
- _expand: '_expand_example' # String | The object expansion to perform on the result.
839
- }
840
-
841
- begin
842
- #Retrieve orders by query
843
- result = api_instance.get_orders_by_query(order_query, opts)
844
- p result
845
- rescue UltracartClient::ApiError => e
846
- puts "Exception when calling OrderApi->get_orders_by_query: #{e}"
847
- end
848
- ```
849
-
850
- ### Parameters
851
-
852
- Name | Type | Description | Notes
853
- ------------- | ------------- | ------------- | -------------
854
- **order_query** | [**OrderQuery**](OrderQuery.md)| Order query |
855
- **_limit** | **Integer**| The maximum number of records to return on this one API call. (Maximum 200) | [optional] [default to 100]
856
- **_offset** | **Integer**| Pagination of the record set. Offset is a zero based index. | [optional] [default to 0]
857
- **_sort** | **String**| The sort order of the orders. See Sorting documentation for examples of using multiple values and sorting by ascending and descending. | [optional]
858
- **_expand** | **String**| The object expansion to perform on the result. | [optional]
859
-
860
- ### Return type
861
-
862
- [**OrdersResponse**](OrdersResponse.md)
863
-
864
- ### Authorization
865
-
866
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
867
-
868
- ### HTTP request headers
869
-
870
- - **Content-Type**: application/json
871
- - **Accept**: application/json
872
-
873
-
874
-
875
- # **insert_order**
876
- > OrderResponse insert_order(order, opts)
877
-
878
- Insert an order
879
-
880
- 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.
881
-
882
- ### Example
883
- ```ruby
884
- # load the gem
885
- require 'ultracart_api'
886
-
887
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
888
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
889
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
890
-
891
-
892
- order = UltracartClient::Order.new # Order | Order to insert
893
-
894
- opts = {
895
- _expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
896
- }
897
-
898
- begin
899
- #Insert an order
900
- result = api_instance.insert_order(order, opts)
901
- p result
902
- rescue UltracartClient::ApiError => e
903
- puts "Exception when calling OrderApi->insert_order: #{e}"
904
- end
905
- ```
906
-
907
- ### Parameters
908
-
909
- Name | Type | Description | Notes
910
- ------------- | ------------- | ------------- | -------------
911
- **order** | [**Order**](Order.md)| Order to insert |
912
- **_expand** | **String**| The object expansion to perform on the result. See documentation for examples | [optional]
913
-
914
- ### Return type
915
-
916
- [**OrderResponse**](OrderResponse.md)
917
-
918
- ### Authorization
919
-
920
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
921
-
922
- ### HTTP request headers
923
-
924
- - **Content-Type**: application/json; charset=UTF-8
925
- - **Accept**: application/json
926
-
927
-
928
-
929
- # **process_payment**
930
- > OrderProcessPaymentResponse process_payment(order_id, process_payment_request)
931
-
932
- Process payment
933
-
934
- Process payment on order
935
-
936
- ### Example
937
- ```ruby
938
- # load the gem
939
- require 'ultracart_api'
940
-
941
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
942
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
943
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
944
-
945
-
946
- order_id = 'order_id_example' # String | The order id to process payment on
947
-
948
- process_payment_request = UltracartClient::OrderProcessPaymentRequest.new # OrderProcessPaymentRequest | Process payment parameters
949
-
950
-
951
- begin
952
- #Process payment
953
- result = api_instance.process_payment(order_id, process_payment_request)
954
- p result
955
- rescue UltracartClient::ApiError => e
956
- puts "Exception when calling OrderApi->process_payment: #{e}"
957
- end
958
- ```
959
-
960
- ### Parameters
961
-
962
- Name | Type | Description | Notes
963
- ------------- | ------------- | ------------- | -------------
964
- **order_id** | **String**| The order id to process payment on |
965
- **process_payment_request** | [**OrderProcessPaymentRequest**](OrderProcessPaymentRequest.md)| Process payment parameters |
966
-
967
- ### Return type
968
-
969
- [**OrderProcessPaymentResponse**](OrderProcessPaymentResponse.md)
970
-
971
- ### Authorization
972
-
973
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
974
-
975
- ### HTTP request headers
976
-
977
- - **Content-Type**: application/json
978
- - **Accept**: application/json
979
-
980
-
981
-
982
- # **refund_order**
983
- > OrderResponse refund_order(order, order_id, opts)
984
-
985
- Refund an order
986
-
987
- Perform a refund operation on an order and then update the order if successful
988
-
989
- ### Example
990
- ```ruby
991
- # load the gem
992
- require 'ultracart_api'
993
-
994
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
995
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
996
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
997
-
998
-
999
- order = UltracartClient::Order.new # Order | Order to refund
1000
-
1001
- order_id = 'order_id_example' # String | The order id to refund.
1002
-
1003
- opts = {
1004
- reject_after_refund: false, # BOOLEAN | Reject order after refund
1005
- skip_customer_notification: false, # BOOLEAN | Skip customer email notification
1006
- auto_order_cancel: false, # BOOLEAN | Cancel associated auto orders
1007
- manual_refund: false, # BOOLEAN | Consider a manual refund done externally
1008
- reverse_affiliate_transactions: true, # BOOLEAN | Reverse affiliate transactions
1009
- _expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
1010
- }
1011
-
1012
- begin
1013
- #Refund an order
1014
- result = api_instance.refund_order(order, order_id, opts)
1015
- p result
1016
- rescue UltracartClient::ApiError => e
1017
- puts "Exception when calling OrderApi->refund_order: #{e}"
1018
- end
1019
- ```
1020
-
1021
- ### Parameters
1022
-
1023
- Name | Type | Description | Notes
1024
- ------------- | ------------- | ------------- | -------------
1025
- **order** | [**Order**](Order.md)| Order to refund |
1026
- **order_id** | **String**| The order id to refund. |
1027
- **reject_after_refund** | **BOOLEAN**| Reject order after refund | [optional] [default to false]
1028
- **skip_customer_notification** | **BOOLEAN**| Skip customer email notification | [optional] [default to false]
1029
- **auto_order_cancel** | **BOOLEAN**| Cancel associated auto orders | [optional] [default to false]
1030
- **manual_refund** | **BOOLEAN**| Consider a manual refund done externally | [optional] [default to false]
1031
- **reverse_affiliate_transactions** | **BOOLEAN**| Reverse affiliate transactions | [optional] [default to true]
1032
- **_expand** | **String**| The object expansion to perform on the result. See documentation for examples | [optional]
1033
-
1034
- ### Return type
1035
-
1036
- [**OrderResponse**](OrderResponse.md)
1037
-
1038
- ### Authorization
1039
-
1040
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1041
-
1042
- ### HTTP request headers
1043
-
1044
- - **Content-Type**: application/json; charset=UTF-8
1045
- - **Accept**: application/json
1046
-
1047
-
1048
-
1049
- # **replacement**
1050
- > OrderReplacementResponse replacement(order_id, replacement)
1051
-
1052
- Replacement order
1053
-
1054
- Create a replacement order based upon a previous order
1055
-
1056
- ### Example
1057
- ```ruby
1058
- # load the gem
1059
- require 'ultracart_api'
1060
-
1061
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
1062
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
1063
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
1064
-
1065
-
1066
- order_id = 'order_id_example' # String | The order id to generate a replacement for.
1067
-
1068
- replacement = UltracartClient::OrderReplacement.new # OrderReplacement | Replacement order details
1069
-
1070
-
1071
- begin
1072
- #Replacement order
1073
- result = api_instance.replacement(order_id, replacement)
1074
- p result
1075
- rescue UltracartClient::ApiError => e
1076
- puts "Exception when calling OrderApi->replacement: #{e}"
1077
- end
1078
- ```
1079
-
1080
- ### Parameters
1081
-
1082
- Name | Type | Description | Notes
1083
- ------------- | ------------- | ------------- | -------------
1084
- **order_id** | **String**| The order id to generate a replacement for. |
1085
- **replacement** | [**OrderReplacement**](OrderReplacement.md)| Replacement order details |
1086
-
1087
- ### Return type
1088
-
1089
- [**OrderReplacementResponse**](OrderReplacementResponse.md)
1090
-
1091
- ### Authorization
1092
-
1093
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1094
-
1095
- ### HTTP request headers
1096
-
1097
- - **Content-Type**: application/json
1098
- - **Accept**: application/json
1099
-
1100
-
1101
-
1102
- # **resend_receipt**
1103
- > BaseResponse resend_receipt(order_id)
1104
-
1105
- Resend receipt
1106
-
1107
- Resend the receipt for an order on the UltraCart account.
1108
-
1109
- ### Example
1110
- ```ruby
1111
- # load the gem
1112
- require 'ultracart_api'
1113
-
1114
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
1115
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
1116
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
1117
-
1118
-
1119
- order_id = 'order_id_example' # String | The order id to resend the receipt for.
1120
-
1121
-
1122
- begin
1123
- #Resend receipt
1124
- result = api_instance.resend_receipt(order_id)
1125
- p result
1126
- rescue UltracartClient::ApiError => e
1127
- puts "Exception when calling OrderApi->resend_receipt: #{e}"
1128
- end
1129
- ```
1130
-
1131
- ### Parameters
1132
-
1133
- Name | Type | Description | Notes
1134
- ------------- | ------------- | ------------- | -------------
1135
- **order_id** | **String**| The order id to resend the receipt for. |
1136
-
1137
- ### Return type
1138
-
1139
- [**BaseResponse**](BaseResponse.md)
1140
-
1141
- ### Authorization
1142
-
1143
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1144
-
1145
- ### HTTP request headers
1146
-
1147
- - **Content-Type**: application/json
1148
- - **Accept**: application/json
1149
-
1150
-
1151
-
1152
- # **resend_shipment_confirmation**
1153
- > BaseResponse resend_shipment_confirmation(order_id)
1154
-
1155
- Resend shipment confirmation
1156
-
1157
- Resend shipment confirmation for an order on the UltraCart account.
1158
-
1159
- ### Example
1160
- ```ruby
1161
- # load the gem
1162
- require 'ultracart_api'
1163
-
1164
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
1165
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
1166
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
1167
-
1168
-
1169
- order_id = 'order_id_example' # String | The order id to resend the shipment notification for.
1170
-
1171
-
1172
- begin
1173
- #Resend shipment confirmation
1174
- result = api_instance.resend_shipment_confirmation(order_id)
1175
- p result
1176
- rescue UltracartClient::ApiError => e
1177
- puts "Exception when calling OrderApi->resend_shipment_confirmation: #{e}"
1178
- end
1179
- ```
1180
-
1181
- ### Parameters
1182
-
1183
- Name | Type | Description | Notes
1184
- ------------- | ------------- | ------------- | -------------
1185
- **order_id** | **String**| The order id to resend the shipment notification for. |
1186
-
1187
- ### Return type
1188
-
1189
- [**BaseResponse**](BaseResponse.md)
1190
-
1191
- ### Authorization
1192
-
1193
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1194
-
1195
- ### HTTP request headers
1196
-
1197
- - **Content-Type**: application/json
1198
- - **Accept**: application/json
1199
-
1200
-
1201
-
1202
- # **update_accounts_receivable_retry_config**
1203
- > BaseResponse update_accounts_receivable_retry_config(retry_config)
1204
-
1205
- Update A/R Retry Configuration
1206
-
1207
- Update A/R Retry Configuration. This is primarily an internal API call. It is doubtful you would ever need to use it.
1208
-
1209
- ### Example
1210
- ```ruby
1211
- # load the gem
1212
- require 'ultracart_api'
1213
-
1214
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
1215
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
1216
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
1217
-
1218
-
1219
- retry_config = UltracartClient::AccountsReceivableRetryConfig.new # AccountsReceivableRetryConfig | AccountsReceivableRetryConfig object
1220
-
1221
-
1222
- begin
1223
- #Update A/R Retry Configuration
1224
- result = api_instance.update_accounts_receivable_retry_config(retry_config)
1225
- p result
1226
- rescue UltracartClient::ApiError => e
1227
- puts "Exception when calling OrderApi->update_accounts_receivable_retry_config: #{e}"
1228
- end
1229
- ```
1230
-
1231
- ### Parameters
1232
-
1233
- Name | Type | Description | Notes
1234
- ------------- | ------------- | ------------- | -------------
1235
- **retry_config** | [**AccountsReceivableRetryConfig**](AccountsReceivableRetryConfig.md)| AccountsReceivableRetryConfig object |
1236
-
1237
- ### Return type
1238
-
1239
- [**BaseResponse**](BaseResponse.md)
1240
-
1241
- ### Authorization
1242
-
1243
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1244
-
1245
- ### HTTP request headers
1246
-
1247
- - **Content-Type**: application/json
1248
- - **Accept**: application/json
1249
-
1250
-
1251
-
1252
- # **update_order**
1253
- > OrderResponse update_order(order, order_id, opts)
1254
-
1255
- Update an order
1256
-
1257
- 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.
1258
-
1259
- ### Example
1260
- ```ruby
1261
- # load the gem
1262
- require 'ultracart_api'
1263
-
1264
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
1265
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
1266
- api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
1267
-
1268
-
1269
- order = UltracartClient::Order.new # Order | Order to update
1270
-
1271
- order_id = 'order_id_example' # String | The order id to update.
1272
-
1273
- opts = {
1274
- _expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
1275
- }
1276
-
1277
- begin
1278
- #Update an order
1279
- result = api_instance.update_order(order, order_id, opts)
1280
- p result
1281
- rescue UltracartClient::ApiError => e
1282
- puts "Exception when calling OrderApi->update_order: #{e}"
1283
- end
1284
- ```
1285
-
1286
- ### Parameters
1287
-
1288
- Name | Type | Description | Notes
1289
- ------------- | ------------- | ------------- | -------------
1290
- **order** | [**Order**](Order.md)| Order to update |
1291
- **order_id** | **String**| The order id to update. |
1292
- **_expand** | **String**| The object expansion to perform on the result. See documentation for examples | [optional]
1293
-
1294
- ### Return type
1295
-
1296
- [**OrderResponse**](OrderResponse.md)
1297
-
1298
- ### Authorization
1299
-
1300
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1301
-
1302
- ### HTTP request headers
1303
-
1304
- - **Content-Type**: application/json; charset=UTF-8
1305
- - **Accept**: application/json
1306
-
1307
-
1308
-
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
+ require 'json'
46
+ require 'yaml'
47
+ require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/master/ruby/constants.rb
48
+
49
+ # This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
50
+ # As such, this might not be the best way to use this object.
51
+ # Please see https://github.com/UltraCart/sdk_samples for working examples.
52
+
53
+ api = UltracartClient::OrderApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
54
+ order_id = 'order_id_example' # String | The order id to cancel.
55
+ desired_total = 'desired_total_example' # String | The desired total with no formatting. example 123.45
56
+
57
+ begin
58
+ # Adjusts an order total
59
+ result = api_instance.adjust_order_total(order_id, desired_total)
60
+ p result
61
+ rescue UltracartClient::ApiError => e
62
+ puts "Error when calling OrderApi->adjust_order_total: #{e}"
63
+ end
64
+ ```
65
+
66
+ #### Using the adjust_order_total_with_http_info variant
67
+
68
+ This returns an Array which contains the response data, status code and headers.
69
+
70
+ > <Array(<BaseResponse>, Integer, Hash)> adjust_order_total_with_http_info(order_id, desired_total)
71
+
72
+ ```ruby
73
+ begin
74
+ # Adjusts an order total
75
+ data, status_code, headers = api_instance.adjust_order_total_with_http_info(order_id, desired_total)
76
+ p status_code # => 2xx
77
+ p headers # => { ... }
78
+ p data # => <BaseResponse>
79
+ rescue UltracartClient::ApiError => e
80
+ puts "Error when calling OrderApi->adjust_order_total_with_http_info: #{e}"
81
+ end
82
+ ```
83
+
84
+ ### Parameters
85
+
86
+ | Name | Type | Description | Notes |
87
+ | ---- | ---- | ----------- | ----- |
88
+ | **order_id** | **String** | The order id to cancel. | |
89
+ | **desired_total** | **String** | The desired total with no formatting. example 123.45 | |
90
+
91
+ ### Return type
92
+
93
+ [**BaseResponse**](BaseResponse.md)
94
+
95
+ ### Authorization
96
+
97
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
98
+
99
+ ### HTTP request headers
100
+
101
+ - **Content-Type**: Not defined
102
+ - **Accept**: application/json
103
+
104
+
105
+ ## cancel_order
106
+
107
+ > <BaseResponse> cancel_order(order_id)
108
+
109
+ Cancel an order
110
+
111
+ Cancel an order on the UltraCart account. If the success flag is false, then consult the error message for why it failed.
112
+
113
+ ### Examples
114
+
115
+ ```ruby
116
+ require 'time'
117
+ require 'ultracart_api'
118
+ require 'json'
119
+ require 'yaml'
120
+ require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/master/ruby/constants.rb
121
+
122
+ # This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
123
+ # As such, this might not be the best way to use this object.
124
+ # Please see https://github.com/UltraCart/sdk_samples for working examples.
125
+
126
+ api = UltracartClient::OrderApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
127
+ order_id = 'order_id_example' # String | The order id to cancel.
128
+
129
+ begin
130
+ # Cancel an order
131
+ result = api_instance.cancel_order(order_id)
132
+ p result
133
+ rescue UltracartClient::ApiError => e
134
+ puts "Error when calling OrderApi->cancel_order: #{e}"
135
+ end
136
+ ```
137
+
138
+ #### Using the cancel_order_with_http_info variant
139
+
140
+ This returns an Array which contains the response data, status code and headers.
141
+
142
+ > <Array(<BaseResponse>, Integer, Hash)> cancel_order_with_http_info(order_id)
143
+
144
+ ```ruby
145
+ begin
146
+ # Cancel an order
147
+ data, status_code, headers = api_instance.cancel_order_with_http_info(order_id)
148
+ p status_code # => 2xx
149
+ p headers # => { ... }
150
+ p data # => <BaseResponse>
151
+ rescue UltracartClient::ApiError => e
152
+ puts "Error when calling OrderApi->cancel_order_with_http_info: #{e}"
153
+ end
154
+ ```
155
+
156
+ ### Parameters
157
+
158
+ | Name | Type | Description | Notes |
159
+ | ---- | ---- | ----------- | ----- |
160
+ | **order_id** | **String** | The order id to cancel. | |
161
+
162
+ ### Return type
163
+
164
+ [**BaseResponse**](BaseResponse.md)
165
+
166
+ ### Authorization
167
+
168
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
169
+
170
+ ### HTTP request headers
171
+
172
+ - **Content-Type**: Not defined
173
+ - **Accept**: application/json
174
+
175
+
176
+ ## delete_order
177
+
178
+ > delete_order(order_id)
179
+
180
+ Delete an order
181
+
182
+ Delete an order on the UltraCart account.
183
+
184
+ ### Examples
185
+
186
+ ```ruby
187
+ require 'time'
188
+ require 'ultracart_api'
189
+ require 'json'
190
+ require 'yaml'
191
+ require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/master/ruby/constants.rb
192
+
193
+ # This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
194
+ # As such, this might not be the best way to use this object.
195
+ # Please see https://github.com/UltraCart/sdk_samples for working examples.
196
+
197
+ api = UltracartClient::OrderApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
198
+ order_id = 'order_id_example' # String | The order id to delete.
199
+
200
+ begin
201
+ # Delete an order
202
+ api_instance.delete_order(order_id)
203
+ rescue UltracartClient::ApiError => e
204
+ puts "Error when calling OrderApi->delete_order: #{e}"
205
+ end
206
+ ```
207
+
208
+ #### Using the delete_order_with_http_info variant
209
+
210
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
211
+
212
+ > <Array(nil, Integer, Hash)> delete_order_with_http_info(order_id)
213
+
214
+ ```ruby
215
+ begin
216
+ # Delete an order
217
+ data, status_code, headers = api_instance.delete_order_with_http_info(order_id)
218
+ p status_code # => 2xx
219
+ p headers # => { ... }
220
+ p data # => nil
221
+ rescue UltracartClient::ApiError => e
222
+ puts "Error when calling OrderApi->delete_order_with_http_info: #{e}"
223
+ end
224
+ ```
225
+
226
+ ### Parameters
227
+
228
+ | Name | Type | Description | Notes |
229
+ | ---- | ---- | ----------- | ----- |
230
+ | **order_id** | **String** | The order id to delete. | |
231
+
232
+ ### Return type
233
+
234
+ nil (empty response body)
235
+
236
+ ### Authorization
237
+
238
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
239
+
240
+ ### HTTP request headers
241
+
242
+ - **Content-Type**: Not defined
243
+ - **Accept**: application/json
244
+
245
+
246
+ ## duplicate_order
247
+
248
+ > <OrderResponse> duplicate_order(order_id, opts)
249
+
250
+ Duplicate an order
251
+
252
+ Perform a duplicate of the specified order_id and return a new order located in Accounts Receivable.
253
+
254
+ ### Examples
255
+
256
+ ```ruby
257
+ require 'time'
258
+ require 'ultracart_api'
259
+ require 'json'
260
+ require 'yaml'
261
+ require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/master/ruby/constants.rb
262
+
263
+ # This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
264
+ # As such, this might not be the best way to use this object.
265
+ # Please see https://github.com/UltraCart/sdk_samples for working examples.
266
+
267
+ api = UltracartClient::OrderApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
268
+ order_id = 'order_id_example' # String | The order id to duplicate.
269
+ opts = {
270
+ _expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
271
+ }
272
+
273
+ begin
274
+ # Duplicate an order
275
+ result = api_instance.duplicate_order(order_id, opts)
276
+ p result
277
+ rescue UltracartClient::ApiError => e
278
+ puts "Error when calling OrderApi->duplicate_order: #{e}"
279
+ end
280
+ ```
281
+
282
+ #### Using the duplicate_order_with_http_info variant
283
+
284
+ This returns an Array which contains the response data, status code and headers.
285
+
286
+ > <Array(<OrderResponse>, Integer, Hash)> duplicate_order_with_http_info(order_id, opts)
287
+
288
+ ```ruby
289
+ begin
290
+ # Duplicate an order
291
+ data, status_code, headers = api_instance.duplicate_order_with_http_info(order_id, opts)
292
+ p status_code # => 2xx
293
+ p headers # => { ... }
294
+ p data # => <OrderResponse>
295
+ rescue UltracartClient::ApiError => e
296
+ puts "Error when calling OrderApi->duplicate_order_with_http_info: #{e}"
297
+ end
298
+ ```
299
+
300
+ ### Parameters
301
+
302
+ | Name | Type | Description | Notes |
303
+ | ---- | ---- | ----------- | ----- |
304
+ | **order_id** | **String** | The order id to duplicate. | |
305
+ | **_expand** | **String** | The object expansion to perform on the result. See documentation for examples | [optional] |
306
+
307
+ ### Return type
308
+
309
+ [**OrderResponse**](OrderResponse.md)
310
+
311
+ ### Authorization
312
+
313
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
314
+
315
+ ### HTTP request headers
316
+
317
+ - **Content-Type**: Not defined
318
+ - **Accept**: application/json
319
+
320
+
321
+ ## format
322
+
323
+ > <OrderFormatResponse> format(order_id, format_options)
324
+
325
+ Format order
326
+
327
+ Format the order for display at text or html
328
+
329
+ ### Examples
330
+
331
+ ```ruby
332
+ require 'time'
333
+ require 'ultracart_api'
334
+ require 'json'
335
+ require 'yaml'
336
+ require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/master/ruby/constants.rb
337
+
338
+ # This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
339
+ # As such, this might not be the best way to use this object.
340
+ # Please see https://github.com/UltraCart/sdk_samples for working examples.
341
+
342
+ api = UltracartClient::OrderApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
343
+ order_id = 'order_id_example' # String | The order id to format
344
+ format_options = UltracartClient::OrderFormat.new # OrderFormat | Format options
345
+
346
+ begin
347
+ # Format order
348
+ result = api_instance.format(order_id, format_options)
349
+ p result
350
+ rescue UltracartClient::ApiError => e
351
+ puts "Error when calling OrderApi->format: #{e}"
352
+ end
353
+ ```
354
+
355
+ #### Using the format_with_http_info variant
356
+
357
+ This returns an Array which contains the response data, status code and headers.
358
+
359
+ > <Array(<OrderFormatResponse>, Integer, Hash)> format_with_http_info(order_id, format_options)
360
+
361
+ ```ruby
362
+ begin
363
+ # Format order
364
+ data, status_code, headers = api_instance.format_with_http_info(order_id, format_options)
365
+ p status_code # => 2xx
366
+ p headers # => { ... }
367
+ p data # => <OrderFormatResponse>
368
+ rescue UltracartClient::ApiError => e
369
+ puts "Error when calling OrderApi->format_with_http_info: #{e}"
370
+ end
371
+ ```
372
+
373
+ ### Parameters
374
+
375
+ | Name | Type | Description | Notes |
376
+ | ---- | ---- | ----------- | ----- |
377
+ | **order_id** | **String** | The order id to format | |
378
+ | **format_options** | [**OrderFormat**](OrderFormat.md) | Format options | |
379
+
380
+ ### Return type
381
+
382
+ [**OrderFormatResponse**](OrderFormatResponse.md)
383
+
384
+ ### Authorization
385
+
386
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
387
+
388
+ ### HTTP request headers
389
+
390
+ - **Content-Type**: application/json
391
+ - **Accept**: application/json
392
+
393
+
394
+ ## generate_order_token
395
+
396
+ > <OrderTokenResponse> generate_order_token(order_id)
397
+
398
+ Generate an order token for a given order id
399
+
400
+ Retrieves a single order token for a given order id. The token can be used with the getOrderByToken API.
401
+
402
+ ### Examples
403
+
404
+ ```ruby
405
+ require 'time'
406
+ require 'ultracart_api'
407
+ require 'json'
408
+ require 'yaml'
409
+ require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/master/ruby/constants.rb
410
+
411
+ # This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
412
+ # As such, this might not be the best way to use this object.
413
+ # Please see https://github.com/UltraCart/sdk_samples for working examples.
414
+
415
+ api = UltracartClient::OrderApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
416
+ order_id = 'order_id_example' # String | The order id to generate a token for.
417
+
418
+ begin
419
+ # Generate an order token for a given order id
420
+ result = api_instance.generate_order_token(order_id)
421
+ p result
422
+ rescue UltracartClient::ApiError => e
423
+ puts "Error when calling OrderApi->generate_order_token: #{e}"
424
+ end
425
+ ```
426
+
427
+ #### Using the generate_order_token_with_http_info variant
428
+
429
+ This returns an Array which contains the response data, status code and headers.
430
+
431
+ > <Array(<OrderTokenResponse>, Integer, Hash)> generate_order_token_with_http_info(order_id)
432
+
433
+ ```ruby
434
+ begin
435
+ # Generate an order token for a given order id
436
+ data, status_code, headers = api_instance.generate_order_token_with_http_info(order_id)
437
+ p status_code # => 2xx
438
+ p headers # => { ... }
439
+ p data # => <OrderTokenResponse>
440
+ rescue UltracartClient::ApiError => e
441
+ puts "Error when calling OrderApi->generate_order_token_with_http_info: #{e}"
442
+ end
443
+ ```
444
+
445
+ ### Parameters
446
+
447
+ | Name | Type | Description | Notes |
448
+ | ---- | ---- | ----------- | ----- |
449
+ | **order_id** | **String** | The order id to generate a token for. | |
450
+
451
+ ### Return type
452
+
453
+ [**OrderTokenResponse**](OrderTokenResponse.md)
454
+
455
+ ### Authorization
456
+
457
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
458
+
459
+ ### HTTP request headers
460
+
461
+ - **Content-Type**: Not defined
462
+ - **Accept**: application/json
463
+
464
+
465
+ ## generate_packing_slip_all_dc
466
+
467
+ > <OrderPackingSlipResponse> generate_packing_slip_all_dc(order_id)
468
+
469
+ Generate a packing slip for this order across all distribution centers.
470
+
471
+ The packing slip PDF that is returned is base 64 encoded
472
+
473
+ ### Examples
474
+
475
+ ```ruby
476
+ require 'time'
477
+ require 'ultracart_api'
478
+ require 'json'
479
+ require 'yaml'
480
+ require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/master/ruby/constants.rb
481
+
482
+ # This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
483
+ # As such, this might not be the best way to use this object.
484
+ # Please see https://github.com/UltraCart/sdk_samples for working examples.
485
+
486
+ api = UltracartClient::OrderApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
487
+ order_id = 'order_id_example' # String | Order ID
488
+
489
+ begin
490
+ # Generate a packing slip for this order across all distribution centers.
491
+ result = api_instance.generate_packing_slip_all_dc(order_id)
492
+ p result
493
+ rescue UltracartClient::ApiError => e
494
+ puts "Error when calling OrderApi->generate_packing_slip_all_dc: #{e}"
495
+ end
496
+ ```
497
+
498
+ #### Using the generate_packing_slip_all_dc_with_http_info variant
499
+
500
+ This returns an Array which contains the response data, status code and headers.
501
+
502
+ > <Array(<OrderPackingSlipResponse>, Integer, Hash)> generate_packing_slip_all_dc_with_http_info(order_id)
503
+
504
+ ```ruby
505
+ begin
506
+ # Generate a packing slip for this order across all distribution centers.
507
+ data, status_code, headers = api_instance.generate_packing_slip_all_dc_with_http_info(order_id)
508
+ p status_code # => 2xx
509
+ p headers # => { ... }
510
+ p data # => <OrderPackingSlipResponse>
511
+ rescue UltracartClient::ApiError => e
512
+ puts "Error when calling OrderApi->generate_packing_slip_all_dc_with_http_info: #{e}"
513
+ end
514
+ ```
515
+
516
+ ### Parameters
517
+
518
+ | Name | Type | Description | Notes |
519
+ | ---- | ---- | ----------- | ----- |
520
+ | **order_id** | **String** | Order ID | |
521
+
522
+ ### Return type
523
+
524
+ [**OrderPackingSlipResponse**](OrderPackingSlipResponse.md)
525
+
526
+ ### Authorization
527
+
528
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
529
+
530
+ ### HTTP request headers
531
+
532
+ - **Content-Type**: Not defined
533
+ - **Accept**: application/json
534
+
535
+
536
+ ## generate_packing_slip_specific_dc
537
+
538
+ > <OrderPackingSlipResponse> generate_packing_slip_specific_dc(distribution_center_code, order_id)
539
+
540
+ Generate a packing slip for this order for the given distribution center.
541
+
542
+ The packing slip PDF that is returned is base 64 encoded
543
+
544
+ ### Examples
545
+
546
+ ```ruby
547
+ require 'time'
548
+ require 'ultracart_api'
549
+ require 'json'
550
+ require 'yaml'
551
+ require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/master/ruby/constants.rb
552
+
553
+ # This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
554
+ # As such, this might not be the best way to use this object.
555
+ # Please see https://github.com/UltraCart/sdk_samples for working examples.
556
+
557
+ api = UltracartClient::OrderApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
558
+ distribution_center_code = 'distribution_center_code_example' # String | Distribution center code
559
+ order_id = 'order_id_example' # String | Order ID
560
+
561
+ begin
562
+ # Generate a packing slip for this order for the given distribution center.
563
+ result = api_instance.generate_packing_slip_specific_dc(distribution_center_code, order_id)
564
+ p result
565
+ rescue UltracartClient::ApiError => e
566
+ puts "Error when calling OrderApi->generate_packing_slip_specific_dc: #{e}"
567
+ end
568
+ ```
569
+
570
+ #### Using the generate_packing_slip_specific_dc_with_http_info variant
571
+
572
+ This returns an Array which contains the response data, status code and headers.
573
+
574
+ > <Array(<OrderPackingSlipResponse>, Integer, Hash)> generate_packing_slip_specific_dc_with_http_info(distribution_center_code, order_id)
575
+
576
+ ```ruby
577
+ begin
578
+ # Generate a packing slip for this order for the given distribution center.
579
+ data, status_code, headers = api_instance.generate_packing_slip_specific_dc_with_http_info(distribution_center_code, order_id)
580
+ p status_code # => 2xx
581
+ p headers # => { ... }
582
+ p data # => <OrderPackingSlipResponse>
583
+ rescue UltracartClient::ApiError => e
584
+ puts "Error when calling OrderApi->generate_packing_slip_specific_dc_with_http_info: #{e}"
585
+ end
586
+ ```
587
+
588
+ ### Parameters
589
+
590
+ | Name | Type | Description | Notes |
591
+ | ---- | ---- | ----------- | ----- |
592
+ | **distribution_center_code** | **String** | Distribution center code | |
593
+ | **order_id** | **String** | Order ID | |
594
+
595
+ ### Return type
596
+
597
+ [**OrderPackingSlipResponse**](OrderPackingSlipResponse.md)
598
+
599
+ ### Authorization
600
+
601
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
602
+
603
+ ### HTTP request headers
604
+
605
+ - **Content-Type**: Not defined
606
+ - **Accept**: application/json
607
+
608
+
609
+ ## get_accounts_receivable_retry_config
610
+
611
+ > <AccountsReceivableRetryConfigResponse> get_accounts_receivable_retry_config
612
+
613
+ Retrieve A/R Retry Configuration
614
+
615
+ Retrieve A/R Retry Configuration. This is primarily an internal API call. It is doubtful you would ever need to use it.
616
+
617
+ ### Examples
618
+
619
+ ```ruby
620
+ require 'time'
621
+ require 'ultracart_api'
622
+ require 'json'
623
+ require 'yaml'
624
+ require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/master/ruby/constants.rb
625
+
626
+ # This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
627
+ # As such, this might not be the best way to use this object.
628
+ # Please see https://github.com/UltraCart/sdk_samples for working examples.
629
+
630
+ api = UltracartClient::OrderApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
631
+
632
+ begin
633
+ # Retrieve A/R Retry Configuration
634
+ result = api_instance.get_accounts_receivable_retry_config
635
+ p result
636
+ rescue UltracartClient::ApiError => e
637
+ puts "Error when calling OrderApi->get_accounts_receivable_retry_config: #{e}"
638
+ end
639
+ ```
640
+
641
+ #### Using the get_accounts_receivable_retry_config_with_http_info variant
642
+
643
+ This returns an Array which contains the response data, status code and headers.
644
+
645
+ > <Array(<AccountsReceivableRetryConfigResponse>, Integer, Hash)> get_accounts_receivable_retry_config_with_http_info
646
+
647
+ ```ruby
648
+ begin
649
+ # Retrieve A/R Retry Configuration
650
+ data, status_code, headers = api_instance.get_accounts_receivable_retry_config_with_http_info
651
+ p status_code # => 2xx
652
+ p headers # => { ... }
653
+ p data # => <AccountsReceivableRetryConfigResponse>
654
+ rescue UltracartClient::ApiError => e
655
+ puts "Error when calling OrderApi->get_accounts_receivable_retry_config_with_http_info: #{e}"
656
+ end
657
+ ```
658
+
659
+ ### Parameters
660
+
661
+ This endpoint does not need any parameter.
662
+
663
+ ### Return type
664
+
665
+ [**AccountsReceivableRetryConfigResponse**](AccountsReceivableRetryConfigResponse.md)
666
+
667
+ ### Authorization
668
+
669
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
670
+
671
+ ### HTTP request headers
672
+
673
+ - **Content-Type**: Not defined
674
+ - **Accept**: application/json
675
+
676
+
677
+ ## get_accounts_receivable_retry_stats
678
+
679
+ > <AccountsReceivableRetryStatsResponse> get_accounts_receivable_retry_stats(opts)
680
+
681
+ Retrieve A/R Retry Statistics
682
+
683
+ Retrieve A/R Retry Statistics. This is primarily an internal API call. It is doubtful you would ever need to use it.
684
+
685
+ ### Examples
686
+
687
+ ```ruby
688
+ require 'time'
689
+ require 'ultracart_api'
690
+ require 'json'
691
+ require 'yaml'
692
+ require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/master/ruby/constants.rb
693
+
694
+ # This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
695
+ # As such, this might not be the best way to use this object.
696
+ # Please see https://github.com/UltraCart/sdk_samples for working examples.
697
+
698
+ api = UltracartClient::OrderApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
699
+ opts = {
700
+ from: 'from_example', # String |
701
+ to: 'to_example' # String |
702
+ }
703
+
704
+ begin
705
+ # Retrieve A/R Retry Statistics
706
+ result = api_instance.get_accounts_receivable_retry_stats(opts)
707
+ p result
708
+ rescue UltracartClient::ApiError => e
709
+ puts "Error when calling OrderApi->get_accounts_receivable_retry_stats: #{e}"
710
+ end
711
+ ```
712
+
713
+ #### Using the get_accounts_receivable_retry_stats_with_http_info variant
714
+
715
+ This returns an Array which contains the response data, status code and headers.
716
+
717
+ > <Array(<AccountsReceivableRetryStatsResponse>, Integer, Hash)> get_accounts_receivable_retry_stats_with_http_info(opts)
718
+
719
+ ```ruby
720
+ begin
721
+ # Retrieve A/R Retry Statistics
722
+ data, status_code, headers = api_instance.get_accounts_receivable_retry_stats_with_http_info(opts)
723
+ p status_code # => 2xx
724
+ p headers # => { ... }
725
+ p data # => <AccountsReceivableRetryStatsResponse>
726
+ rescue UltracartClient::ApiError => e
727
+ puts "Error when calling OrderApi->get_accounts_receivable_retry_stats_with_http_info: #{e}"
728
+ end
729
+ ```
730
+
731
+ ### Parameters
732
+
733
+ | Name | Type | Description | Notes |
734
+ | ---- | ---- | ----------- | ----- |
735
+ | **from** | **String** | | [optional] |
736
+ | **to** | **String** | | [optional] |
737
+
738
+ ### Return type
739
+
740
+ [**AccountsReceivableRetryStatsResponse**](AccountsReceivableRetryStatsResponse.md)
741
+
742
+ ### Authorization
743
+
744
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
745
+
746
+ ### HTTP request headers
747
+
748
+ - **Content-Type**: Not defined
749
+ - **Accept**: application/json
750
+
751
+
752
+ ## get_order
753
+
754
+ > <OrderResponse> get_order(order_id, opts)
755
+
756
+ Retrieve an order
757
+
758
+ Retrieves a single order using the specified order id.
759
+
760
+ ### Examples
761
+
762
+ ```ruby
763
+ require 'time'
764
+ require 'ultracart_api'
765
+ require 'json'
766
+ require 'yaml'
767
+ require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/master/ruby/constants.rb
768
+
769
+ # This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
770
+ # As such, this might not be the best way to use this object.
771
+ # Please see https://github.com/UltraCart/sdk_samples for working examples.
772
+
773
+ api = UltracartClient::OrderApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
774
+ order_id = 'order_id_example' # String | The order id to retrieve.
775
+ opts = {
776
+ _expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
777
+ }
778
+
779
+ begin
780
+ # Retrieve an order
781
+ result = api_instance.get_order(order_id, opts)
782
+ p result
783
+ rescue UltracartClient::ApiError => e
784
+ puts "Error when calling OrderApi->get_order: #{e}"
785
+ end
786
+ ```
787
+
788
+ #### Using the get_order_with_http_info variant
789
+
790
+ This returns an Array which contains the response data, status code and headers.
791
+
792
+ > <Array(<OrderResponse>, Integer, Hash)> get_order_with_http_info(order_id, opts)
793
+
794
+ ```ruby
795
+ begin
796
+ # Retrieve an order
797
+ data, status_code, headers = api_instance.get_order_with_http_info(order_id, opts)
798
+ p status_code # => 2xx
799
+ p headers # => { ... }
800
+ p data # => <OrderResponse>
801
+ rescue UltracartClient::ApiError => e
802
+ puts "Error when calling OrderApi->get_order_with_http_info: #{e}"
803
+ end
804
+ ```
805
+
806
+ ### Parameters
807
+
808
+ | Name | Type | Description | Notes |
809
+ | ---- | ---- | ----------- | ----- |
810
+ | **order_id** | **String** | The order id to retrieve. | |
811
+ | **_expand** | **String** | The object expansion to perform on the result. See documentation for examples | [optional] |
812
+
813
+ ### Return type
814
+
815
+ [**OrderResponse**](OrderResponse.md)
816
+
817
+ ### Authorization
818
+
819
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
820
+
821
+ ### HTTP request headers
822
+
823
+ - **Content-Type**: Not defined
824
+ - **Accept**: application/json
825
+
826
+
827
+ ## get_order_by_token
828
+
829
+ > <OrderResponse> get_order_by_token(order_by_token_query, opts)
830
+
831
+ Retrieve an order using a token
832
+
833
+ Retrieves a single order using the specified order token.
834
+
835
+ ### Examples
836
+
837
+ ```ruby
838
+ require 'time'
839
+ require 'ultracart_api'
840
+ require 'json'
841
+ require 'yaml'
842
+ require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/master/ruby/constants.rb
843
+
844
+ # This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
845
+ # As such, this might not be the best way to use this object.
846
+ # Please see https://github.com/UltraCart/sdk_samples for working examples.
847
+
848
+ api = UltracartClient::OrderApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
849
+ order_by_token_query = UltracartClient::OrderByTokenQuery.new # OrderByTokenQuery | Order by token query
850
+ opts = {
851
+ _expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
852
+ }
853
+
854
+ begin
855
+ # Retrieve an order using a token
856
+ result = api_instance.get_order_by_token(order_by_token_query, opts)
857
+ p result
858
+ rescue UltracartClient::ApiError => e
859
+ puts "Error when calling OrderApi->get_order_by_token: #{e}"
860
+ end
861
+ ```
862
+
863
+ #### Using the get_order_by_token_with_http_info variant
864
+
865
+ This returns an Array which contains the response data, status code and headers.
866
+
867
+ > <Array(<OrderResponse>, Integer, Hash)> get_order_by_token_with_http_info(order_by_token_query, opts)
868
+
869
+ ```ruby
870
+ begin
871
+ # Retrieve an order using a token
872
+ data, status_code, headers = api_instance.get_order_by_token_with_http_info(order_by_token_query, opts)
873
+ p status_code # => 2xx
874
+ p headers # => { ... }
875
+ p data # => <OrderResponse>
876
+ rescue UltracartClient::ApiError => e
877
+ puts "Error when calling OrderApi->get_order_by_token_with_http_info: #{e}"
878
+ end
879
+ ```
880
+
881
+ ### Parameters
882
+
883
+ | Name | Type | Description | Notes |
884
+ | ---- | ---- | ----------- | ----- |
885
+ | **order_by_token_query** | [**OrderByTokenQuery**](OrderByTokenQuery.md) | Order by token query | |
886
+ | **_expand** | **String** | The object expansion to perform on the result. See documentation for examples | [optional] |
887
+
888
+ ### Return type
889
+
890
+ [**OrderResponse**](OrderResponse.md)
891
+
892
+ ### Authorization
893
+
894
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
895
+
896
+ ### HTTP request headers
897
+
898
+ - **Content-Type**: application/json
899
+ - **Accept**: application/json
900
+
901
+
902
+ ## get_orders
903
+
904
+ > <OrdersResponse> get_orders(opts)
905
+
906
+ Retrieve orders
907
+
908
+ 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.
909
+
910
+ ### Examples
911
+
912
+ ```ruby
913
+ require 'time'
914
+ require 'ultracart_api'
915
+ require 'json'
916
+ require 'yaml'
917
+ require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/master/ruby/constants.rb
918
+
919
+ # This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
920
+ # As such, this might not be the best way to use this object.
921
+ # Please see https://github.com/UltraCart/sdk_samples for working examples.
922
+
923
+ api = UltracartClient::OrderApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
924
+ opts = {
925
+ order_id: 'order_id_example', # String | Order Id
926
+ payment_method: 'payment_method_example', # String | Payment Method
927
+ company: 'company_example', # String | Company
928
+ first_name: 'first_name_example', # String | First Name
929
+ last_name: 'last_name_example', # String | Last Name
930
+ city: 'city_example', # String | City
931
+ state_region: 'state_region_example', # String | State/Region
932
+ postal_code: 'postal_code_example', # String | Postal Code
933
+ country_code: 'country_code_example', # String | Country Code (ISO-3166 two letter)
934
+ phone: 'phone_example', # String | Phone
935
+ email: 'email_example', # String | Email
936
+ cc_email: 'cc_email_example', # String | CC Email
937
+ total: 8.14, # Float | Total
938
+ screen_branding_theme_code: 'screen_branding_theme_code_example', # String | Screen Branding Theme Code
939
+ storefront_host_name: 'storefront_host_name_example', # String | StoreFront Host Name
940
+ creation_date_begin: 'creation_date_begin_example', # String | Creation Date Begin
941
+ creation_date_end: 'creation_date_end_example', # String | Creation Date End
942
+ payment_date_begin: 'payment_date_begin_example', # String | Payment Date Begin
943
+ payment_date_end: 'payment_date_end_example', # String | Payment Date End
944
+ shipment_date_begin: 'shipment_date_begin_example', # String | Shipment Date Begin
945
+ shipment_date_end: 'shipment_date_end_example', # String | Shipment Date End
946
+ rma: 'rma_example', # String | RMA
947
+ purchase_order_number: 'purchase_order_number_example', # String | Purchase Order Number
948
+ item_id: 'item_id_example', # String | Item Id
949
+ current_stage: 'current_stage_example', # String | Current Stage
950
+ channel_partner_code: 'channel_partner_code_example', # String | Channel Partner Code
951
+ channel_partner_order_id: 'channel_partner_order_id_example', # String | Channel Partner Order ID
952
+ _limit: 56, # Integer | The maximum number of records to return on this one API call. (Maximum 200)
953
+ _offset: 56, # Integer | Pagination of the record set. Offset is a zero based index.
954
+ _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.
955
+ _expand: '_expand_example' # String | The object expansion to perform on the result.
956
+ }
957
+
958
+ begin
959
+ # Retrieve orders
960
+ result = api_instance.get_orders(opts)
961
+ p result
962
+ rescue UltracartClient::ApiError => e
963
+ puts "Error when calling OrderApi->get_orders: #{e}"
964
+ end
965
+ ```
966
+
967
+ #### Using the get_orders_with_http_info variant
968
+
969
+ This returns an Array which contains the response data, status code and headers.
970
+
971
+ > <Array(<OrdersResponse>, Integer, Hash)> get_orders_with_http_info(opts)
972
+
973
+ ```ruby
974
+ begin
975
+ # Retrieve orders
976
+ data, status_code, headers = api_instance.get_orders_with_http_info(opts)
977
+ p status_code # => 2xx
978
+ p headers # => { ... }
979
+ p data # => <OrdersResponse>
980
+ rescue UltracartClient::ApiError => e
981
+ puts "Error when calling OrderApi->get_orders_with_http_info: #{e}"
982
+ end
983
+ ```
984
+
985
+ ### Parameters
986
+
987
+ | Name | Type | Description | Notes |
988
+ | ---- | ---- | ----------- | ----- |
989
+ | **order_id** | **String** | Order Id | [optional] |
990
+ | **payment_method** | **String** | Payment Method | [optional] |
991
+ | **company** | **String** | Company | [optional] |
992
+ | **first_name** | **String** | First Name | [optional] |
993
+ | **last_name** | **String** | Last Name | [optional] |
994
+ | **city** | **String** | City | [optional] |
995
+ | **state_region** | **String** | State/Region | [optional] |
996
+ | **postal_code** | **String** | Postal Code | [optional] |
997
+ | **country_code** | **String** | Country Code (ISO-3166 two letter) | [optional] |
998
+ | **phone** | **String** | Phone | [optional] |
999
+ | **email** | **String** | Email | [optional] |
1000
+ | **cc_email** | **String** | CC Email | [optional] |
1001
+ | **total** | **Float** | Total | [optional] |
1002
+ | **screen_branding_theme_code** | **String** | Screen Branding Theme Code | [optional] |
1003
+ | **storefront_host_name** | **String** | StoreFront Host Name | [optional] |
1004
+ | **creation_date_begin** | **String** | Creation Date Begin | [optional] |
1005
+ | **creation_date_end** | **String** | Creation Date End | [optional] |
1006
+ | **payment_date_begin** | **String** | Payment Date Begin | [optional] |
1007
+ | **payment_date_end** | **String** | Payment Date End | [optional] |
1008
+ | **shipment_date_begin** | **String** | Shipment Date Begin | [optional] |
1009
+ | **shipment_date_end** | **String** | Shipment Date End | [optional] |
1010
+ | **rma** | **String** | RMA | [optional] |
1011
+ | **purchase_order_number** | **String** | Purchase Order Number | [optional] |
1012
+ | **item_id** | **String** | Item Id | [optional] |
1013
+ | **current_stage** | **String** | Current Stage | [optional] |
1014
+ | **channel_partner_code** | **String** | Channel Partner Code | [optional] |
1015
+ | **channel_partner_order_id** | **String** | Channel Partner Order ID | [optional] |
1016
+ | **_limit** | **Integer** | The maximum number of records to return on this one API call. (Maximum 200) | [optional][default to 100] |
1017
+ | **_offset** | **Integer** | Pagination of the record set. Offset is a zero based index. | [optional][default to 0] |
1018
+ | **_sort** | **String** | The sort order of the orders. See Sorting documentation for examples of using multiple values and sorting by ascending and descending. | [optional] |
1019
+ | **_expand** | **String** | The object expansion to perform on the result. | [optional] |
1020
+
1021
+ ### Return type
1022
+
1023
+ [**OrdersResponse**](OrdersResponse.md)
1024
+
1025
+ ### Authorization
1026
+
1027
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1028
+
1029
+ ### HTTP request headers
1030
+
1031
+ - **Content-Type**: Not defined
1032
+ - **Accept**: application/json
1033
+
1034
+
1035
+ ## get_orders_batch
1036
+
1037
+ > <OrdersResponse> get_orders_batch(order_batch, opts)
1038
+
1039
+ Retrieve order batch
1040
+
1041
+ 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.
1042
+
1043
+ ### Examples
1044
+
1045
+ ```ruby
1046
+ require 'time'
1047
+ require 'ultracart_api'
1048
+ require 'json'
1049
+ require 'yaml'
1050
+ require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/master/ruby/constants.rb
1051
+
1052
+ # This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
1053
+ # As such, this might not be the best way to use this object.
1054
+ # Please see https://github.com/UltraCart/sdk_samples for working examples.
1055
+
1056
+ api = UltracartClient::OrderApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
1057
+ order_batch = UltracartClient::OrderQueryBatch.new # OrderQueryBatch | Order batch
1058
+ opts = {
1059
+ _expand: '_expand_example' # String | The object expansion to perform on the result.
1060
+ }
1061
+
1062
+ begin
1063
+ # Retrieve order batch
1064
+ result = api_instance.get_orders_batch(order_batch, opts)
1065
+ p result
1066
+ rescue UltracartClient::ApiError => e
1067
+ puts "Error when calling OrderApi->get_orders_batch: #{e}"
1068
+ end
1069
+ ```
1070
+
1071
+ #### Using the get_orders_batch_with_http_info variant
1072
+
1073
+ This returns an Array which contains the response data, status code and headers.
1074
+
1075
+ > <Array(<OrdersResponse>, Integer, Hash)> get_orders_batch_with_http_info(order_batch, opts)
1076
+
1077
+ ```ruby
1078
+ begin
1079
+ # Retrieve order batch
1080
+ data, status_code, headers = api_instance.get_orders_batch_with_http_info(order_batch, opts)
1081
+ p status_code # => 2xx
1082
+ p headers # => { ... }
1083
+ p data # => <OrdersResponse>
1084
+ rescue UltracartClient::ApiError => e
1085
+ puts "Error when calling OrderApi->get_orders_batch_with_http_info: #{e}"
1086
+ end
1087
+ ```
1088
+
1089
+ ### Parameters
1090
+
1091
+ | Name | Type | Description | Notes |
1092
+ | ---- | ---- | ----------- | ----- |
1093
+ | **order_batch** | [**OrderQueryBatch**](OrderQueryBatch.md) | Order batch | |
1094
+ | **_expand** | **String** | The object expansion to perform on the result. | [optional] |
1095
+
1096
+ ### Return type
1097
+
1098
+ [**OrdersResponse**](OrdersResponse.md)
1099
+
1100
+ ### Authorization
1101
+
1102
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1103
+
1104
+ ### HTTP request headers
1105
+
1106
+ - **Content-Type**: application/json
1107
+ - **Accept**: application/json
1108
+
1109
+
1110
+ ## get_orders_by_query
1111
+
1112
+ > <OrdersResponse> get_orders_by_query(order_query, opts)
1113
+
1114
+ Retrieve orders by query
1115
+
1116
+ 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.
1117
+
1118
+ ### Examples
1119
+
1120
+ ```ruby
1121
+ require 'time'
1122
+ require 'ultracart_api'
1123
+ require 'json'
1124
+ require 'yaml'
1125
+ require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/master/ruby/constants.rb
1126
+
1127
+ # This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
1128
+ # As such, this might not be the best way to use this object.
1129
+ # Please see https://github.com/UltraCart/sdk_samples for working examples.
1130
+
1131
+ api = UltracartClient::OrderApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
1132
+ order_query = UltracartClient::OrderQuery.new # OrderQuery | Order query
1133
+ opts = {
1134
+ _limit: 56, # Integer | The maximum number of records to return on this one API call. (Maximum 200)
1135
+ _offset: 56, # Integer | Pagination of the record set. Offset is a zero based index.
1136
+ _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.
1137
+ _expand: '_expand_example' # String | The object expansion to perform on the result.
1138
+ }
1139
+
1140
+ begin
1141
+ # Retrieve orders by query
1142
+ result = api_instance.get_orders_by_query(order_query, opts)
1143
+ p result
1144
+ rescue UltracartClient::ApiError => e
1145
+ puts "Error when calling OrderApi->get_orders_by_query: #{e}"
1146
+ end
1147
+ ```
1148
+
1149
+ #### Using the get_orders_by_query_with_http_info variant
1150
+
1151
+ This returns an Array which contains the response data, status code and headers.
1152
+
1153
+ > <Array(<OrdersResponse>, Integer, Hash)> get_orders_by_query_with_http_info(order_query, opts)
1154
+
1155
+ ```ruby
1156
+ begin
1157
+ # Retrieve orders by query
1158
+ data, status_code, headers = api_instance.get_orders_by_query_with_http_info(order_query, opts)
1159
+ p status_code # => 2xx
1160
+ p headers # => { ... }
1161
+ p data # => <OrdersResponse>
1162
+ rescue UltracartClient::ApiError => e
1163
+ puts "Error when calling OrderApi->get_orders_by_query_with_http_info: #{e}"
1164
+ end
1165
+ ```
1166
+
1167
+ ### Parameters
1168
+
1169
+ | Name | Type | Description | Notes |
1170
+ | ---- | ---- | ----------- | ----- |
1171
+ | **order_query** | [**OrderQuery**](OrderQuery.md) | Order query | |
1172
+ | **_limit** | **Integer** | The maximum number of records to return on this one API call. (Maximum 200) | [optional][default to 100] |
1173
+ | **_offset** | **Integer** | Pagination of the record set. Offset is a zero based index. | [optional][default to 0] |
1174
+ | **_sort** | **String** | The sort order of the orders. See Sorting documentation for examples of using multiple values and sorting by ascending and descending. | [optional] |
1175
+ | **_expand** | **String** | The object expansion to perform on the result. | [optional] |
1176
+
1177
+ ### Return type
1178
+
1179
+ [**OrdersResponse**](OrdersResponse.md)
1180
+
1181
+ ### Authorization
1182
+
1183
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1184
+
1185
+ ### HTTP request headers
1186
+
1187
+ - **Content-Type**: application/json
1188
+ - **Accept**: application/json
1189
+
1190
+
1191
+ ## insert_order
1192
+
1193
+ > <OrderResponse> insert_order(order, opts)
1194
+
1195
+ Insert an order
1196
+
1197
+ 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.
1198
+
1199
+ ### Examples
1200
+
1201
+ ```ruby
1202
+ require 'time'
1203
+ require 'ultracart_api'
1204
+ require 'json'
1205
+ require 'yaml'
1206
+ require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/master/ruby/constants.rb
1207
+
1208
+ # This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
1209
+ # As such, this might not be the best way to use this object.
1210
+ # Please see https://github.com/UltraCart/sdk_samples for working examples.
1211
+
1212
+ api = UltracartClient::OrderApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
1213
+ order = UltracartClient::Order.new # Order | Order to insert
1214
+ opts = {
1215
+ _expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
1216
+ }
1217
+
1218
+ begin
1219
+ # Insert an order
1220
+ result = api_instance.insert_order(order, opts)
1221
+ p result
1222
+ rescue UltracartClient::ApiError => e
1223
+ puts "Error when calling OrderApi->insert_order: #{e}"
1224
+ end
1225
+ ```
1226
+
1227
+ #### Using the insert_order_with_http_info variant
1228
+
1229
+ This returns an Array which contains the response data, status code and headers.
1230
+
1231
+ > <Array(<OrderResponse>, Integer, Hash)> insert_order_with_http_info(order, opts)
1232
+
1233
+ ```ruby
1234
+ begin
1235
+ # Insert an order
1236
+ data, status_code, headers = api_instance.insert_order_with_http_info(order, opts)
1237
+ p status_code # => 2xx
1238
+ p headers # => { ... }
1239
+ p data # => <OrderResponse>
1240
+ rescue UltracartClient::ApiError => e
1241
+ puts "Error when calling OrderApi->insert_order_with_http_info: #{e}"
1242
+ end
1243
+ ```
1244
+
1245
+ ### Parameters
1246
+
1247
+ | Name | Type | Description | Notes |
1248
+ | ---- | ---- | ----------- | ----- |
1249
+ | **order** | [**Order**](Order.md) | Order to insert | |
1250
+ | **_expand** | **String** | The object expansion to perform on the result. See documentation for examples | [optional] |
1251
+
1252
+ ### Return type
1253
+
1254
+ [**OrderResponse**](OrderResponse.md)
1255
+
1256
+ ### Authorization
1257
+
1258
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1259
+
1260
+ ### HTTP request headers
1261
+
1262
+ - **Content-Type**: application/json; charset=UTF-8
1263
+ - **Accept**: application/json
1264
+
1265
+
1266
+ ## process_payment
1267
+
1268
+ > <OrderProcessPaymentResponse> process_payment(order_id, process_payment_request)
1269
+
1270
+ Process payment
1271
+
1272
+ Process payment on order
1273
+
1274
+ ### Examples
1275
+
1276
+ ```ruby
1277
+ require 'time'
1278
+ require 'ultracart_api'
1279
+ require 'json'
1280
+ require 'yaml'
1281
+ require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/master/ruby/constants.rb
1282
+
1283
+ # This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
1284
+ # As such, this might not be the best way to use this object.
1285
+ # Please see https://github.com/UltraCart/sdk_samples for working examples.
1286
+
1287
+ api = UltracartClient::OrderApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
1288
+ order_id = 'order_id_example' # String | The order id to process payment on
1289
+ process_payment_request = UltracartClient::OrderProcessPaymentRequest.new # OrderProcessPaymentRequest | Process payment parameters
1290
+
1291
+ begin
1292
+ # Process payment
1293
+ result = api_instance.process_payment(order_id, process_payment_request)
1294
+ p result
1295
+ rescue UltracartClient::ApiError => e
1296
+ puts "Error when calling OrderApi->process_payment: #{e}"
1297
+ end
1298
+ ```
1299
+
1300
+ #### Using the process_payment_with_http_info variant
1301
+
1302
+ This returns an Array which contains the response data, status code and headers.
1303
+
1304
+ > <Array(<OrderProcessPaymentResponse>, Integer, Hash)> process_payment_with_http_info(order_id, process_payment_request)
1305
+
1306
+ ```ruby
1307
+ begin
1308
+ # Process payment
1309
+ data, status_code, headers = api_instance.process_payment_with_http_info(order_id, process_payment_request)
1310
+ p status_code # => 2xx
1311
+ p headers # => { ... }
1312
+ p data # => <OrderProcessPaymentResponse>
1313
+ rescue UltracartClient::ApiError => e
1314
+ puts "Error when calling OrderApi->process_payment_with_http_info: #{e}"
1315
+ end
1316
+ ```
1317
+
1318
+ ### Parameters
1319
+
1320
+ | Name | Type | Description | Notes |
1321
+ | ---- | ---- | ----------- | ----- |
1322
+ | **order_id** | **String** | The order id to process payment on | |
1323
+ | **process_payment_request** | [**OrderProcessPaymentRequest**](OrderProcessPaymentRequest.md) | Process payment parameters | |
1324
+
1325
+ ### Return type
1326
+
1327
+ [**OrderProcessPaymentResponse**](OrderProcessPaymentResponse.md)
1328
+
1329
+ ### Authorization
1330
+
1331
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1332
+
1333
+ ### HTTP request headers
1334
+
1335
+ - **Content-Type**: application/json
1336
+ - **Accept**: application/json
1337
+
1338
+
1339
+ ## refund_order
1340
+
1341
+ > <OrderResponse> refund_order(order_id, order, opts)
1342
+
1343
+ Refund an order
1344
+
1345
+ Perform a refund operation on an order and then update the order if successful
1346
+
1347
+ ### Examples
1348
+
1349
+ ```ruby
1350
+ require 'time'
1351
+ require 'ultracart_api'
1352
+ require 'json'
1353
+ require 'yaml'
1354
+ require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/master/ruby/constants.rb
1355
+
1356
+ # This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
1357
+ # As such, this might not be the best way to use this object.
1358
+ # Please see https://github.com/UltraCart/sdk_samples for working examples.
1359
+
1360
+ api = UltracartClient::OrderApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
1361
+ order_id = 'order_id_example' # String | The order id to refund.
1362
+ order = UltracartClient::Order.new # Order | Order to refund
1363
+ opts = {
1364
+ reject_after_refund: true, # Boolean | Reject order after refund
1365
+ skip_customer_notification: true, # Boolean | Skip customer email notification
1366
+ auto_order_cancel: true, # Boolean | Cancel associated auto orders
1367
+ manual_refund: true, # Boolean | Consider a manual refund done externally
1368
+ reverse_affiliate_transactions: true, # Boolean | Reverse affiliate transactions
1369
+ _expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
1370
+ }
1371
+
1372
+ begin
1373
+ # Refund an order
1374
+ result = api_instance.refund_order(order_id, order, opts)
1375
+ p result
1376
+ rescue UltracartClient::ApiError => e
1377
+ puts "Error when calling OrderApi->refund_order: #{e}"
1378
+ end
1379
+ ```
1380
+
1381
+ #### Using the refund_order_with_http_info variant
1382
+
1383
+ This returns an Array which contains the response data, status code and headers.
1384
+
1385
+ > <Array(<OrderResponse>, Integer, Hash)> refund_order_with_http_info(order_id, order, opts)
1386
+
1387
+ ```ruby
1388
+ begin
1389
+ # Refund an order
1390
+ data, status_code, headers = api_instance.refund_order_with_http_info(order_id, order, opts)
1391
+ p status_code # => 2xx
1392
+ p headers # => { ... }
1393
+ p data # => <OrderResponse>
1394
+ rescue UltracartClient::ApiError => e
1395
+ puts "Error when calling OrderApi->refund_order_with_http_info: #{e}"
1396
+ end
1397
+ ```
1398
+
1399
+ ### Parameters
1400
+
1401
+ | Name | Type | Description | Notes |
1402
+ | ---- | ---- | ----------- | ----- |
1403
+ | **order_id** | **String** | The order id to refund. | |
1404
+ | **order** | [**Order**](Order.md) | Order to refund | |
1405
+ | **reject_after_refund** | **Boolean** | Reject order after refund | [optional][default to false] |
1406
+ | **skip_customer_notification** | **Boolean** | Skip customer email notification | [optional][default to false] |
1407
+ | **auto_order_cancel** | **Boolean** | Cancel associated auto orders | [optional][default to false] |
1408
+ | **manual_refund** | **Boolean** | Consider a manual refund done externally | [optional][default to false] |
1409
+ | **reverse_affiliate_transactions** | **Boolean** | Reverse affiliate transactions | [optional][default to true] |
1410
+ | **_expand** | **String** | The object expansion to perform on the result. See documentation for examples | [optional] |
1411
+
1412
+ ### Return type
1413
+
1414
+ [**OrderResponse**](OrderResponse.md)
1415
+
1416
+ ### Authorization
1417
+
1418
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1419
+
1420
+ ### HTTP request headers
1421
+
1422
+ - **Content-Type**: application/json; charset=UTF-8
1423
+ - **Accept**: application/json
1424
+
1425
+
1426
+ ## replacement
1427
+
1428
+ > <OrderReplacementResponse> replacement(order_id, replacement)
1429
+
1430
+ Replacement order
1431
+
1432
+ Create a replacement order based upon a previous order
1433
+
1434
+ ### Examples
1435
+
1436
+ ```ruby
1437
+ require 'time'
1438
+ require 'ultracart_api'
1439
+ require 'json'
1440
+ require 'yaml'
1441
+ require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/master/ruby/constants.rb
1442
+
1443
+ # This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
1444
+ # As such, this might not be the best way to use this object.
1445
+ # Please see https://github.com/UltraCart/sdk_samples for working examples.
1446
+
1447
+ api = UltracartClient::OrderApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
1448
+ order_id = 'order_id_example' # String | The order id to generate a replacement for.
1449
+ replacement = UltracartClient::OrderReplacement.new # OrderReplacement | Replacement order details
1450
+
1451
+ begin
1452
+ # Replacement order
1453
+ result = api_instance.replacement(order_id, replacement)
1454
+ p result
1455
+ rescue UltracartClient::ApiError => e
1456
+ puts "Error when calling OrderApi->replacement: #{e}"
1457
+ end
1458
+ ```
1459
+
1460
+ #### Using the replacement_with_http_info variant
1461
+
1462
+ This returns an Array which contains the response data, status code and headers.
1463
+
1464
+ > <Array(<OrderReplacementResponse>, Integer, Hash)> replacement_with_http_info(order_id, replacement)
1465
+
1466
+ ```ruby
1467
+ begin
1468
+ # Replacement order
1469
+ data, status_code, headers = api_instance.replacement_with_http_info(order_id, replacement)
1470
+ p status_code # => 2xx
1471
+ p headers # => { ... }
1472
+ p data # => <OrderReplacementResponse>
1473
+ rescue UltracartClient::ApiError => e
1474
+ puts "Error when calling OrderApi->replacement_with_http_info: #{e}"
1475
+ end
1476
+ ```
1477
+
1478
+ ### Parameters
1479
+
1480
+ | Name | Type | Description | Notes |
1481
+ | ---- | ---- | ----------- | ----- |
1482
+ | **order_id** | **String** | The order id to generate a replacement for. | |
1483
+ | **replacement** | [**OrderReplacement**](OrderReplacement.md) | Replacement order details | |
1484
+
1485
+ ### Return type
1486
+
1487
+ [**OrderReplacementResponse**](OrderReplacementResponse.md)
1488
+
1489
+ ### Authorization
1490
+
1491
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1492
+
1493
+ ### HTTP request headers
1494
+
1495
+ - **Content-Type**: application/json
1496
+ - **Accept**: application/json
1497
+
1498
+
1499
+ ## resend_receipt
1500
+
1501
+ > <BaseResponse> resend_receipt(order_id)
1502
+
1503
+ Resend receipt
1504
+
1505
+ Resend the receipt for an order on the UltraCart account.
1506
+
1507
+ ### Examples
1508
+
1509
+ ```ruby
1510
+ require 'time'
1511
+ require 'ultracart_api'
1512
+ require 'json'
1513
+ require 'yaml'
1514
+ require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/master/ruby/constants.rb
1515
+
1516
+ # This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
1517
+ # As such, this might not be the best way to use this object.
1518
+ # Please see https://github.com/UltraCart/sdk_samples for working examples.
1519
+
1520
+ api = UltracartClient::OrderApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
1521
+ order_id = 'order_id_example' # String | The order id to resend the receipt for.
1522
+
1523
+ begin
1524
+ # Resend receipt
1525
+ result = api_instance.resend_receipt(order_id)
1526
+ p result
1527
+ rescue UltracartClient::ApiError => e
1528
+ puts "Error when calling OrderApi->resend_receipt: #{e}"
1529
+ end
1530
+ ```
1531
+
1532
+ #### Using the resend_receipt_with_http_info variant
1533
+
1534
+ This returns an Array which contains the response data, status code and headers.
1535
+
1536
+ > <Array(<BaseResponse>, Integer, Hash)> resend_receipt_with_http_info(order_id)
1537
+
1538
+ ```ruby
1539
+ begin
1540
+ # Resend receipt
1541
+ data, status_code, headers = api_instance.resend_receipt_with_http_info(order_id)
1542
+ p status_code # => 2xx
1543
+ p headers # => { ... }
1544
+ p data # => <BaseResponse>
1545
+ rescue UltracartClient::ApiError => e
1546
+ puts "Error when calling OrderApi->resend_receipt_with_http_info: #{e}"
1547
+ end
1548
+ ```
1549
+
1550
+ ### Parameters
1551
+
1552
+ | Name | Type | Description | Notes |
1553
+ | ---- | ---- | ----------- | ----- |
1554
+ | **order_id** | **String** | The order id to resend the receipt for. | |
1555
+
1556
+ ### Return type
1557
+
1558
+ [**BaseResponse**](BaseResponse.md)
1559
+
1560
+ ### Authorization
1561
+
1562
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1563
+
1564
+ ### HTTP request headers
1565
+
1566
+ - **Content-Type**: Not defined
1567
+ - **Accept**: application/json
1568
+
1569
+
1570
+ ## resend_shipment_confirmation
1571
+
1572
+ > <BaseResponse> resend_shipment_confirmation(order_id)
1573
+
1574
+ Resend shipment confirmation
1575
+
1576
+ Resend shipment confirmation for an order on the UltraCart account.
1577
+
1578
+ ### Examples
1579
+
1580
+ ```ruby
1581
+ require 'time'
1582
+ require 'ultracart_api'
1583
+ require 'json'
1584
+ require 'yaml'
1585
+ require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/master/ruby/constants.rb
1586
+
1587
+ # This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
1588
+ # As such, this might not be the best way to use this object.
1589
+ # Please see https://github.com/UltraCart/sdk_samples for working examples.
1590
+
1591
+ api = UltracartClient::OrderApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
1592
+ order_id = 'order_id_example' # String | The order id to resend the shipment notification for.
1593
+
1594
+ begin
1595
+ # Resend shipment confirmation
1596
+ result = api_instance.resend_shipment_confirmation(order_id)
1597
+ p result
1598
+ rescue UltracartClient::ApiError => e
1599
+ puts "Error when calling OrderApi->resend_shipment_confirmation: #{e}"
1600
+ end
1601
+ ```
1602
+
1603
+ #### Using the resend_shipment_confirmation_with_http_info variant
1604
+
1605
+ This returns an Array which contains the response data, status code and headers.
1606
+
1607
+ > <Array(<BaseResponse>, Integer, Hash)> resend_shipment_confirmation_with_http_info(order_id)
1608
+
1609
+ ```ruby
1610
+ begin
1611
+ # Resend shipment confirmation
1612
+ data, status_code, headers = api_instance.resend_shipment_confirmation_with_http_info(order_id)
1613
+ p status_code # => 2xx
1614
+ p headers # => { ... }
1615
+ p data # => <BaseResponse>
1616
+ rescue UltracartClient::ApiError => e
1617
+ puts "Error when calling OrderApi->resend_shipment_confirmation_with_http_info: #{e}"
1618
+ end
1619
+ ```
1620
+
1621
+ ### Parameters
1622
+
1623
+ | Name | Type | Description | Notes |
1624
+ | ---- | ---- | ----------- | ----- |
1625
+ | **order_id** | **String** | The order id to resend the shipment notification for. | |
1626
+
1627
+ ### Return type
1628
+
1629
+ [**BaseResponse**](BaseResponse.md)
1630
+
1631
+ ### Authorization
1632
+
1633
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1634
+
1635
+ ### HTTP request headers
1636
+
1637
+ - **Content-Type**: Not defined
1638
+ - **Accept**: application/json
1639
+
1640
+
1641
+ ## update_accounts_receivable_retry_config
1642
+
1643
+ > <BaseResponse> update_accounts_receivable_retry_config(retry_config)
1644
+
1645
+ Update A/R Retry Configuration
1646
+
1647
+ Update A/R Retry Configuration. This is primarily an internal API call. It is doubtful you would ever need to use it.
1648
+
1649
+ ### Examples
1650
+
1651
+ ```ruby
1652
+ require 'time'
1653
+ require 'ultracart_api'
1654
+ require 'json'
1655
+ require 'yaml'
1656
+ require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/master/ruby/constants.rb
1657
+
1658
+ # This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
1659
+ # As such, this might not be the best way to use this object.
1660
+ # Please see https://github.com/UltraCart/sdk_samples for working examples.
1661
+
1662
+ api = UltracartClient::OrderApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
1663
+ retry_config = UltracartClient::AccountsReceivableRetryConfig.new # AccountsReceivableRetryConfig | AccountsReceivableRetryConfig object
1664
+
1665
+ begin
1666
+ # Update A/R Retry Configuration
1667
+ result = api_instance.update_accounts_receivable_retry_config(retry_config)
1668
+ p result
1669
+ rescue UltracartClient::ApiError => e
1670
+ puts "Error when calling OrderApi->update_accounts_receivable_retry_config: #{e}"
1671
+ end
1672
+ ```
1673
+
1674
+ #### Using the update_accounts_receivable_retry_config_with_http_info variant
1675
+
1676
+ This returns an Array which contains the response data, status code and headers.
1677
+
1678
+ > <Array(<BaseResponse>, Integer, Hash)> update_accounts_receivable_retry_config_with_http_info(retry_config)
1679
+
1680
+ ```ruby
1681
+ begin
1682
+ # Update A/R Retry Configuration
1683
+ data, status_code, headers = api_instance.update_accounts_receivable_retry_config_with_http_info(retry_config)
1684
+ p status_code # => 2xx
1685
+ p headers # => { ... }
1686
+ p data # => <BaseResponse>
1687
+ rescue UltracartClient::ApiError => e
1688
+ puts "Error when calling OrderApi->update_accounts_receivable_retry_config_with_http_info: #{e}"
1689
+ end
1690
+ ```
1691
+
1692
+ ### Parameters
1693
+
1694
+ | Name | Type | Description | Notes |
1695
+ | ---- | ---- | ----------- | ----- |
1696
+ | **retry_config** | [**AccountsReceivableRetryConfig**](AccountsReceivableRetryConfig.md) | AccountsReceivableRetryConfig object | |
1697
+
1698
+ ### Return type
1699
+
1700
+ [**BaseResponse**](BaseResponse.md)
1701
+
1702
+ ### Authorization
1703
+
1704
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1705
+
1706
+ ### HTTP request headers
1707
+
1708
+ - **Content-Type**: application/json
1709
+ - **Accept**: application/json
1710
+
1711
+
1712
+ ## update_order
1713
+
1714
+ > <OrderResponse> update_order(order_id, order, opts)
1715
+
1716
+ Update an order
1717
+
1718
+ 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.
1719
+
1720
+ ### Examples
1721
+
1722
+ ```ruby
1723
+ require 'time'
1724
+ require 'ultracart_api'
1725
+ require 'json'
1726
+ require 'yaml'
1727
+ require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/master/ruby/constants.rb
1728
+
1729
+ # This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
1730
+ # As such, this might not be the best way to use this object.
1731
+ # Please see https://github.com/UltraCart/sdk_samples for working examples.
1732
+
1733
+ api = UltracartClient::OrderApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
1734
+ order_id = 'order_id_example' # String | The order id to update.
1735
+ order = UltracartClient::Order.new # Order | Order to update
1736
+ opts = {
1737
+ _expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
1738
+ }
1739
+
1740
+ begin
1741
+ # Update an order
1742
+ result = api_instance.update_order(order_id, order, opts)
1743
+ p result
1744
+ rescue UltracartClient::ApiError => e
1745
+ puts "Error when calling OrderApi->update_order: #{e}"
1746
+ end
1747
+ ```
1748
+
1749
+ #### Using the update_order_with_http_info variant
1750
+
1751
+ This returns an Array which contains the response data, status code and headers.
1752
+
1753
+ > <Array(<OrderResponse>, Integer, Hash)> update_order_with_http_info(order_id, order, opts)
1754
+
1755
+ ```ruby
1756
+ begin
1757
+ # Update an order
1758
+ data, status_code, headers = api_instance.update_order_with_http_info(order_id, order, opts)
1759
+ p status_code # => 2xx
1760
+ p headers # => { ... }
1761
+ p data # => <OrderResponse>
1762
+ rescue UltracartClient::ApiError => e
1763
+ puts "Error when calling OrderApi->update_order_with_http_info: #{e}"
1764
+ end
1765
+ ```
1766
+
1767
+ ### Parameters
1768
+
1769
+ | Name | Type | Description | Notes |
1770
+ | ---- | ---- | ----------- | ----- |
1771
+ | **order_id** | **String** | The order id to update. | |
1772
+ | **order** | [**Order**](Order.md) | Order to update | |
1773
+ | **_expand** | **String** | The object expansion to perform on the result. See documentation for examples | [optional] |
1774
+
1775
+ ### Return type
1776
+
1777
+ [**OrderResponse**](OrderResponse.md)
1778
+
1779
+ ### Authorization
1780
+
1781
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
1782
+
1783
+ ### HTTP request headers
1784
+
1785
+ - **Content-Type**: application/json; charset=UTF-8
1786
+ - **Accept**: application/json
1787
+