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