ultracart_api 3.0.74
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +7 -0
- data/LICENSE +201 -0
- data/README.md +1055 -0
- data/Rakefile +8 -0
- data/docs/AccountsReceivableRetryConfig.md +21 -0
- data/docs/AccountsReceivableRetryConfigResponse.md +15 -0
- data/docs/AccountsReceivableRetryDayActivity.md +10 -0
- data/docs/AccountsReceivableRetryStatAccount.md +11 -0
- data/docs/AccountsReceivableRetryStatMetrics.md +18 -0
- data/docs/AccountsReceivableRetryStatRevenue.md +9 -0
- data/docs/AccountsReceivableRetryStatsResponse.md +13 -0
- data/docs/Activity.md +13 -0
- data/docs/AddLibraryItemRequest.md +18 -0
- data/docs/AffiliateApi.md +140 -0
- data/docs/AffiliateClick.md +18 -0
- data/docs/AffiliateClickQuery.md +13 -0
- data/docs/AffiliateClicksResponse.md +12 -0
- data/docs/AffiliateLedger.md +25 -0
- data/docs/AffiliateLedgerQuery.md +13 -0
- data/docs/AffiliateLedgersResponse.md +12 -0
- data/docs/AffiliateLink.md +21 -0
- data/docs/ApiUserApplicationProfile.md +12 -0
- data/docs/ApplyLibraryItemRequest.md +10 -0
- data/docs/ApplyLibraryItemResponse.md +18 -0
- data/docs/AutoOrder.md +27 -0
- data/docs/AutoOrderApi.md +558 -0
- data/docs/AutoOrderItem.md +31 -0
- data/docs/AutoOrderItemFutureSchedule.md +11 -0
- data/docs/AutoOrderItemOption.md +9 -0
- data/docs/AutoOrderItemSimpleSchedule.md +10 -0
- data/docs/AutoOrderQuery.md +26 -0
- data/docs/AutoOrderQueryBatch.md +8 -0
- data/docs/AutoOrderResponse.md +12 -0
- data/docs/AutoOrdersRequest.md +8 -0
- data/docs/AutoOrdersResponse.md +12 -0
- data/docs/AvalaraConfig.md +20 -0
- data/docs/BaseResponse.md +11 -0
- data/docs/Cart.md +32 -0
- data/docs/CartAffiliate.md +9 -0
- data/docs/CartAffirmCheckoutResponse.md +9 -0
- data/docs/CartBilling.md +22 -0
- data/docs/CartBuysafe.md +13 -0
- data/docs/CartCheckout.md +21 -0
- data/docs/CartCoupon.md +8 -0
- data/docs/CartCurrencyConversion.md +9 -0
- data/docs/CartCustomerProfile.md +29 -0
- data/docs/CartCustomerProfileAddress.md +21 -0
- data/docs/CartCustomerProfileCreditCard.md +13 -0
- data/docs/CartFinalizeOrderRequest.md +9 -0
- data/docs/CartFinalizeOrderRequestOptions.md +20 -0
- data/docs/CartFinalizeOrderResponse.md +12 -0
- data/docs/CartGift.md +13 -0
- data/docs/CartGiftCertificate.md +10 -0
- data/docs/CartItem.md +36 -0
- data/docs/CartItemAttribute.md +10 -0
- data/docs/CartItemMultimedia.md +16 -0
- data/docs/CartItemMultimediaThumbnail.md +12 -0
- data/docs/CartItemOption.md +19 -0
- data/docs/CartItemOptionValue.md +12 -0
- data/docs/CartItemPhysical.md +11 -0
- data/docs/CartItemVariationSelection.md +9 -0
- data/docs/CartKitComponentOption.md +21 -0
- data/docs/CartMarketing.md +9 -0
- data/docs/CartPayment.md +14 -0
- data/docs/CartPaymentAffirm.md +8 -0
- data/docs/CartPaymentAmazon.md +8 -0
- data/docs/CartPaymentCheck.md +8 -0
- data/docs/CartPaymentCreditCard.md +16 -0
- data/docs/CartPaymentPurchaseOrder.md +8 -0
- data/docs/CartProfileLoginRequest.md +10 -0
- data/docs/CartProfileLoginResponse.md +9 -0
- data/docs/CartProfileRegisterRequest.md +9 -0
- data/docs/CartProfileRegisterResponse.md +9 -0
- data/docs/CartProperty.md +11 -0
- data/docs/CartResponse.md +9 -0
- data/docs/CartSettings.md +13 -0
- data/docs/CartSettingsBilling.md +8 -0
- data/docs/CartSettingsGift.md +11 -0
- data/docs/CartSettingsGiftWrap.md +10 -0
- data/docs/CartSettingsPayment.md +20 -0
- data/docs/CartSettingsPaymentAmazon.md +10 -0
- data/docs/CartSettingsPaymentCreditCard.md +10 -0
- data/docs/CartSettingsPaymentPayPal.md +12 -0
- data/docs/CartSettingsProvince.md +9 -0
- data/docs/CartSettingsShipping.md +12 -0
- data/docs/CartSettingsShippingCalendar.md +12 -0
- data/docs/CartSettingsShippingEstimate.md +20 -0
- data/docs/CartSettingsTaxes.md +8 -0
- data/docs/CartSettingsTerms.md +9 -0
- data/docs/CartShipping.md +26 -0
- data/docs/CartSummary.md +23 -0
- data/docs/CartTaxes.md +10 -0
- data/docs/CartUpsellAfter.md +10 -0
- data/docs/CartValidationRequest.md +9 -0
- data/docs/CartValidationResponse.md +9 -0
- data/docs/ChargebackApi.md +336 -0
- data/docs/ChargebackDispute.md +30 -0
- data/docs/ChargebackDisputeResponse.md +12 -0
- data/docs/ChargebackDisputesResponse.md +12 -0
- data/docs/CheckoutAllowedCountriesResponse.md +8 -0
- data/docs/CheckoutApi.md +1240 -0
- data/docs/CheckoutHandoffRequest.md +15 -0
- data/docs/CheckoutHandoffResponse.md +10 -0
- data/docs/CheckoutSetupBrowserKeyRequest.md +8 -0
- data/docs/CheckoutSetupBrowserKeyResponse.md +8 -0
- data/docs/CheckoutStateProvinceResponse.md +8 -0
- data/docs/CityStateZip.md +12 -0
- data/docs/CountriesResponse.md +8 -0
- data/docs/Country.md +9 -0
- data/docs/Coupon.md +63 -0
- data/docs/CouponAmountOffItems.md +11 -0
- data/docs/CouponAmountOffShipping.md +10 -0
- data/docs/CouponAmountOffShippingWithItemsPurchase.md +11 -0
- data/docs/CouponAmountOffSubtotal.md +9 -0
- data/docs/CouponAmountOffSubtotalAndShipping.md +9 -0
- data/docs/CouponAmountOffSubtotalFreeShippingWithPurchase.md +11 -0
- data/docs/CouponAmountOffSubtotalWithBlockPurchase.md +11 -0
- data/docs/CouponAmountOffSubtotalWithItemsPurchase.md +11 -0
- data/docs/CouponApi.md +1174 -0
- data/docs/CouponAutoApplyCondition.md +10 -0
- data/docs/CouponAutoApplyConditions.md +13 -0
- data/docs/CouponAutomaticallyApplyCouponCodes.md +8 -0
- data/docs/CouponBuyOneGetOneLimit.md +9 -0
- data/docs/CouponCodesRequest.md +14 -0
- data/docs/CouponCodesResponse.md +13 -0
- data/docs/CouponDeletesRequest.md +9 -0
- data/docs/CouponDiscountItemWithItemPurchase.md +12 -0
- data/docs/CouponDiscountItems.md +11 -0
- data/docs/CouponEditorValues.md +17 -0
- data/docs/CouponExistsResponse.md +13 -0
- data/docs/CouponFreeItemAndShippingWithSubtotal.md +12 -0
- data/docs/CouponFreeItemWithItemPurchase.md +11 -0
- data/docs/CouponFreeItemWithSubtotal.md +11 -0
- data/docs/CouponFreeItemsWithItemPurchase.md +12 -0
- data/docs/CouponFreeItemsWithMixMatchPurchase.md +12 -0
- data/docs/CouponFreeShipping.md +8 -0
- data/docs/CouponFreeShippingSpecificItems.md +8 -0
- data/docs/CouponFreeShippingWithItemsPurchase.md +9 -0
- data/docs/CouponFreeShippingWithSubtotal.md +10 -0
- data/docs/CouponItemSearchResult.md +15 -0
- data/docs/CouponItemSearchResultsResponse.md +12 -0
- data/docs/CouponMultipleAmountsOffItems.md +9 -0
- data/docs/CouponNoDiscount.md +7 -0
- data/docs/CouponPercentOffItemWithItemsQuantityPurchase.md +12 -0
- data/docs/CouponPercentOffItems.md +11 -0
- data/docs/CouponPercentOffItemsAndFreeShipping.md +10 -0
- data/docs/CouponPercentOffItemsWithItemsPurchase.md +11 -0
- data/docs/CouponPercentOffRetailPriceItems.md +11 -0
- data/docs/CouponPercentOffShipping.md +9 -0
- data/docs/CouponPercentOffSubtotal.md +8 -0
- data/docs/CouponPercentOffSubtotalAndFreeShipping.md +9 -0
- data/docs/CouponPercentOffSubtotalLimit.md +10 -0
- data/docs/CouponPercentOffSubtotalWithItemsPurchase.md +9 -0
- data/docs/CouponPercentOffSubtotalWithSubtotal.md +10 -0
- data/docs/CouponQuery.md +16 -0
- data/docs/CouponResponse.md +12 -0
- data/docs/CouponRestriction.md +11 -0
- data/docs/CouponTierAmount.md +9 -0
- data/docs/CouponTierItemDiscount.md +9 -0
- data/docs/CouponTierPercent.md +9 -0
- data/docs/CouponTierQuantityAmount.md +9 -0
- data/docs/CouponTierQuantityPercent.md +9 -0
- data/docs/CouponTieredAmountOffItem.md +10 -0
- data/docs/CouponTieredAmountOffSubtotal.md +9 -0
- data/docs/CouponTieredPercentOffItems.md +10 -0
- data/docs/CouponTieredPercentOffShipping.md +9 -0
- data/docs/CouponTieredPercentOffSubtotal.md +9 -0
- data/docs/CouponType.md +9 -0
- data/docs/CouponsRequest.md +8 -0
- data/docs/CouponsResponse.md +12 -0
- data/docs/Currency.md +12 -0
- data/docs/Customer.md +65 -0
- data/docs/CustomerActivity.md +11 -0
- data/docs/CustomerAffiliate.md +9 -0
- data/docs/CustomerApi.md +670 -0
- data/docs/CustomerAttachment.md +12 -0
- data/docs/CustomerBilling.md +24 -0
- data/docs/CustomerCard.md +15 -0
- data/docs/CustomerEditorValues.md +15 -0
- data/docs/CustomerEmail.md +13 -0
- data/docs/CustomerEmailListChanges.md +9 -0
- data/docs/CustomerLoyalty.md +10 -0
- data/docs/CustomerLoyaltyLedger.md +22 -0
- data/docs/CustomerLoyaltyRedemption.md +20 -0
- data/docs/CustomerOrdersSummary.md +11 -0
- data/docs/CustomerPricingTier.md +9 -0
- data/docs/CustomerPrivacy.md +11 -0
- data/docs/CustomerQuery.md +36 -0
- data/docs/CustomerQuotesSummary.md +11 -0
- data/docs/CustomerResponse.md +12 -0
- data/docs/CustomerReviewer.md +17 -0
- data/docs/CustomerShipping.md +24 -0
- data/docs/CustomerSoftwareEntitlement.md +15 -0
- data/docs/CustomerTag.md +8 -0
- data/docs/CustomerTaxCodes.md +12 -0
- data/docs/CustomersResponse.md +12 -0
- data/docs/DataTablesServerSideResponse.md +11 -0
- data/docs/Distance.md +9 -0
- data/docs/DistributionCenter.md +41 -0
- data/docs/DistributionCentersResponse.md +12 -0
- data/docs/EmailBaseTemplateListResponse.md +8 -0
- data/docs/EmailCampaign.md +30 -0
- data/docs/EmailCampaignFolder.md +12 -0
- data/docs/EmailCampaignFolderResponse.md +12 -0
- data/docs/EmailCampaignFoldersResponse.md +12 -0
- data/docs/EmailCampaignResponse.md +12 -0
- data/docs/EmailCampaignsResponse.md +12 -0
- data/docs/EmailClick.md +9 -0
- data/docs/EmailClicksResponse.md +12 -0
- data/docs/EmailCommseq.md +11 -0
- data/docs/EmailCommseqEmail.md +31 -0
- data/docs/EmailCommseqEmailResponse.md +12 -0
- data/docs/EmailCommseqEmailSendTestRequest.md +17 -0
- data/docs/EmailCommseqEmailSendTestResponse.md +11 -0
- data/docs/EmailCommseqEmailsRequest.md +12 -0
- data/docs/EmailCommseqEmailsResponse.md +12 -0
- data/docs/EmailCommseqPostcard.md +18 -0
- data/docs/EmailCommseqPostcardResponse.md +12 -0
- data/docs/EmailCommseqPostcardSendTestRequest.md +19 -0
- data/docs/EmailCommseqPostcardSendTestResponse.md +14 -0
- data/docs/EmailCommseqPostcardsRequest.md +8 -0
- data/docs/EmailCommseqPostcardsResponse.md +12 -0
- data/docs/EmailCommseqResponse.md +12 -0
- data/docs/EmailCommseqStat.md +44 -0
- data/docs/EmailCommseqStatResponse.md +12 -0
- data/docs/EmailCommseqStep.md +17 -0
- data/docs/EmailCommseqsResponse.md +12 -0
- data/docs/EmailCustomer.md +15 -0
- data/docs/EmailCustomerEditorUrlResponse.md +12 -0
- data/docs/EmailCustomersResponse.md +12 -0
- data/docs/EmailDashboardActivity.md +14 -0
- data/docs/EmailDashboardActivityResponse.md +12 -0
- data/docs/EmailDashboardStatsResponse.md +12 -0
- data/docs/EmailDomain.md +18 -0
- data/docs/EmailEditorTokenResponse.md +12 -0
- data/docs/EmailFlow.md +34 -0
- data/docs/EmailFlowBackPopulateRequest.md +9 -0
- data/docs/EmailFlowBackPopulateResponse.md +11 -0
- data/docs/EmailFlowFolder.md +12 -0
- data/docs/EmailFlowFolderResponse.md +12 -0
- data/docs/EmailFlowFoldersResponse.md +12 -0
- data/docs/EmailFlowResponse.md +12 -0
- data/docs/EmailFlowsResponse.md +12 -0
- data/docs/EmailGlobalSettings.md +8 -0
- data/docs/EmailGlobalSettingsResponse.md +12 -0
- data/docs/EmailGlobalUnsubscribeRequest.md +8 -0
- data/docs/EmailGlobalUnsubscribeResponse.md +8 -0
- data/docs/EmailHistogramPropertyNamesResponse.md +8 -0
- data/docs/EmailHistogramPropertyValuesResponse.md +8 -0
- data/docs/EmailList.md +18 -0
- data/docs/EmailListArchiveResponse.md +12 -0
- data/docs/EmailListCustomer.md +11 -0
- data/docs/EmailListCustomersResponse.md +12 -0
- data/docs/EmailListResponse.md +12 -0
- data/docs/EmailListSegmentMembership.md +11 -0
- data/docs/EmailListSegmentUsedBy.md +10 -0
- data/docs/EmailListSubscribeResponse.md +9 -0
- data/docs/EmailListsResponse.md +12 -0
- data/docs/EmailOrder.md +11 -0
- data/docs/EmailOrdersResponse.md +12 -0
- data/docs/EmailPerformance.md +29 -0
- data/docs/EmailPerformanceCustomerHistogram.md +8 -0
- data/docs/EmailPerformanceCustomerHistogramPeriod.md +12 -0
- data/docs/EmailPerformanceDaily.md +14 -0
- data/docs/EmailPerformanceResponse.md +12 -0
- data/docs/EmailPlan.md +23 -0
- data/docs/EmailPlanAdditional.md +13 -0
- data/docs/EmailPlanResponse.md +12 -0
- data/docs/EmailPostcardStat.md +39 -0
- data/docs/EmailSegment.md +21 -0
- data/docs/EmailSegmentArchiveResponse.md +12 -0
- data/docs/EmailSegmentCustomer.md +11 -0
- data/docs/EmailSegmentCustomersResponse.md +12 -0
- data/docs/EmailSegmentDownloadPrepareResponse.md +15 -0
- data/docs/EmailSegmentResponse.md +12 -0
- data/docs/EmailSegmentsResponse.md +12 -0
- data/docs/EmailSendingDomainResponse.md +12 -0
- data/docs/EmailSendingDomainsResponse.md +12 -0
- data/docs/EmailSettings.md +19 -0
- data/docs/EmailSettingsResponse.md +12 -0
- data/docs/EmailStat.md +45 -0
- data/docs/EmailStatPostcardSummaryRequest.md +9 -0
- data/docs/EmailStatPostcardSummaryResponse.md +12 -0
- data/docs/EmailStatSummaryRequest.md +10 -0
- data/docs/EmailStatSummaryResponse.md +12 -0
- data/docs/EmailStepStat.md +27 -0
- data/docs/EmailStepStatRequest.md +9 -0
- data/docs/EmailStepStatResponse.md +12 -0
- data/docs/EmailStepWaitingRequest.md +8 -0
- data/docs/EmailStepWaitingResponse.md +8 -0
- data/docs/EmailTemplate.md +18 -0
- data/docs/EmailTemplatesResponse.md +12 -0
- data/docs/EmailThirdPartyList.md +9 -0
- data/docs/EmailThirdPartyListImportRequest.md +8 -0
- data/docs/EmailThirdPartyProvider.md +16 -0
- data/docs/EmailThirdPartyProvidersResponse.md +12 -0
- data/docs/Error.md +11 -0
- data/docs/ErrorResponse.md +11 -0
- data/docs/Experiment.md +25 -0
- data/docs/ExperimentResponse.md +12 -0
- data/docs/ExperimentVariation.md +26 -0
- data/docs/ExperimentsResponse.md +12 -0
- data/docs/FulfillmentApi.md +298 -0
- data/docs/FulfillmentInventory.md +9 -0
- data/docs/FulfillmentShipment.md +12 -0
- data/docs/GeoPoint.md +9 -0
- data/docs/GeocodeRequest.md +12 -0
- data/docs/GeocodeResponse.md +13 -0
- data/docs/Group.md +12 -0
- data/docs/GroupResponse.md +12 -0
- data/docs/GroupUserMembership.md +12 -0
- data/docs/GroupsResponse.md +12 -0
- data/docs/HTTPHeader.md +9 -0
- data/docs/Item.md +57 -0
- data/docs/ItemAccounting.md +9 -0
- data/docs/ItemAmember.md +9 -0
- data/docs/ItemApi.md +580 -0
- data/docs/ItemAutoOrder.md +23 -0
- data/docs/ItemAutoOrderStep.md +22 -0
- data/docs/ItemAutoOrderStepArbitraryUnitCostSchedule.md +9 -0
- data/docs/ItemAutoOrderStepGrandfatherPricing.md +9 -0
- data/docs/ItemCCBill.md +13 -0
- data/docs/ItemChannelPartnerMapping.md +25 -0
- data/docs/ItemChargeback.md +9 -0
- data/docs/ItemChargebackAddendum.md +11 -0
- data/docs/ItemChargebackAdjustmentRequest.md +10 -0
- data/docs/ItemCheckout.md +10 -0
- data/docs/ItemContent.md +19 -0
- data/docs/ItemContentAssignment.md +12 -0
- data/docs/ItemContentAttribute.md +11 -0
- data/docs/ItemContentMultimedia.md +22 -0
- data/docs/ItemContentMultimediaThumbnail.md +13 -0
- data/docs/ItemDigitalDelivery.md +13 -0
- data/docs/ItemDigitalItem.md +12 -0
- data/docs/ItemEbay.md +76 -0
- data/docs/ItemEbayCategorySpecific.md +9 -0
- data/docs/ItemEbayMarketListing.md +12 -0
- data/docs/ItemEbayMarketPlaceAnalysis.md +17 -0
- data/docs/ItemEmailNotifications.md +9 -0
- data/docs/ItemEnrollment123.md +8 -0
- data/docs/ItemGiftCertificate.md +9 -0
- data/docs/ItemGoogleProductSearch.md +55 -0
- data/docs/ItemIdentifiers.md +11 -0
- data/docs/ItemInstantPaymentNotification.md +10 -0
- data/docs/ItemInstantPaymentNotifications.md +8 -0
- data/docs/ItemInternal.md +8 -0
- data/docs/ItemKitComponent.md +12 -0
- data/docs/ItemKitDefinition.md +8 -0
- data/docs/ItemOption.md +21 -0
- data/docs/ItemOptionValue.md +22 -0
- data/docs/ItemOptionValueAdditionalItem.md +9 -0
- data/docs/ItemOptionValueDigitalItem.md +9 -0
- data/docs/ItemPaymentProcessing.md +12 -0
- data/docs/ItemPhysical.md +11 -0
- data/docs/ItemPricing.md +25 -0
- data/docs/ItemPricingTier.md +12 -0
- data/docs/ItemPricingTierDiscount.md +9 -0
- data/docs/ItemPricingTierLimit.md +10 -0
- data/docs/ItemProperty.md +10 -0
- data/docs/ItemRealtimePricing.md +10 -0
- data/docs/ItemRelated.md +10 -0
- data/docs/ItemRelatedItem.md +10 -0
- data/docs/ItemReporting.md +9 -0
- data/docs/ItemResponse.md +12 -0
- data/docs/ItemRestriction.md +15 -0
- data/docs/ItemRestrictionItem.md +10 -0
- data/docs/ItemRevguard.md +14 -0
- data/docs/ItemReviews.md +14 -0
- data/docs/ItemSalesforce.md +9 -0
- data/docs/ItemShipping.md +55 -0
- data/docs/ItemShippingCase.md +11 -0
- data/docs/ItemShippingDestinationMarkup.md +13 -0
- data/docs/ItemShippingDestinationRestriction.md +10 -0
- data/docs/ItemShippingDistributionCenter.md +20 -0
- data/docs/ItemShippingMethod.md +22 -0
- data/docs/ItemShippingPackageRequirement.md +9 -0
- data/docs/ItemTag.md +9 -0
- data/docs/ItemTags.md +8 -0
- data/docs/ItemTax.md +10 -0
- data/docs/ItemTaxExemption.md +12 -0
- data/docs/ItemThirdPartyEmailMarketing.md +12 -0
- data/docs/ItemVariantItem.md +13 -0
- data/docs/ItemVariation.md +12 -0
- data/docs/ItemVariationOption.md +11 -0
- data/docs/ItemWishlistMember.md +10 -0
- data/docs/ItemsRequest.md +8 -0
- data/docs/ItemsResponse.md +12 -0
- data/docs/KeyValue.md +10 -0
- data/docs/LibraryFilterValues.md +11 -0
- data/docs/LibraryFilterValuesResponse.md +12 -0
- data/docs/LibraryItem.md +47 -0
- data/docs/LibraryItemAccount.md +10 -0
- data/docs/LibraryItemAsset.md +9 -0
- data/docs/LibraryItemAttribute.md +10 -0
- data/docs/LibraryItemEmail.md +10 -0
- data/docs/LibraryItemPublishedMeta.md +15 -0
- data/docs/LibraryItemPurchasedMeta.md +10 -0
- data/docs/LibraryItemQuery.md +19 -0
- data/docs/LibraryItemResponse.md +12 -0
- data/docs/LibraryItemScreenshot.md +9 -0
- data/docs/LibraryItemsResponse.md +12 -0
- data/docs/LinkedAccount.md +10 -0
- data/docs/ListSegmentMembership.md +10 -0
- data/docs/LookupRequest.md +12 -0
- data/docs/LookupResponse.md +12 -0
- data/docs/Metric.md +15 -0
- data/docs/Notification.md +18 -0
- data/docs/OauthApi.md +148 -0
- data/docs/OauthRevokeSuccessResponse.md +9 -0
- data/docs/OauthTokenResponse.md +15 -0
- data/docs/Order.md +41 -0
- data/docs/OrderAffiliate.md +10 -0
- data/docs/OrderAffiliateLedger.md +16 -0
- data/docs/OrderApi.md +1293 -0
- data/docs/OrderAutoOrder.md +26 -0
- data/docs/OrderBilling.md +22 -0
- data/docs/OrderBuysafe.md +13 -0
- data/docs/OrderByTokenQuery.md +8 -0
- data/docs/OrderChannelPartner.md +17 -0
- data/docs/OrderCheckout.md +19 -0
- data/docs/OrderCoupon.md +11 -0
- data/docs/OrderDigitalItem.md +15 -0
- data/docs/OrderDigitalOrder.md +12 -0
- data/docs/OrderEdi.md +11 -0
- data/docs/OrderFormat.md +23 -0
- data/docs/OrderFormatResponse.md +9 -0
- data/docs/OrderFraudScore.md +27 -0
- data/docs/OrderGift.md +17 -0
- data/docs/OrderGiftCertificate.md +10 -0
- data/docs/OrderInternal.md +12 -0
- data/docs/OrderItem.md +61 -0
- data/docs/OrderItemEdi.md +9 -0
- data/docs/OrderItemEdiIdentification.md +9 -0
- data/docs/OrderItemEdiLot.md +10 -0
- data/docs/OrderItemOption.md +18 -0
- data/docs/OrderItemOptionFileAttachment.md +11 -0
- data/docs/OrderItemProperty.md +11 -0
- data/docs/OrderItemTag.md +8 -0
- data/docs/OrderLinkedShipment.md +12 -0
- data/docs/OrderMarketing.md +10 -0
- data/docs/OrderPayment.md +24 -0
- data/docs/OrderPaymentCheck.md +8 -0
- data/docs/OrderPaymentCreditCard.md +18 -0
- data/docs/OrderPaymentECheck.md +17 -0
- data/docs/OrderPaymentPurchaseOrder.md +8 -0
- data/docs/OrderPaymentTransaction.md +11 -0
- data/docs/OrderPaymentTransactionDetail.md +10 -0
- data/docs/OrderProcessPaymentRequest.md +8 -0
- data/docs/OrderProcessPaymentResponse.md +12 -0
- data/docs/OrderProperty.md +11 -0
- data/docs/OrderQuery.md +37 -0
- data/docs/OrderQueryBatch.md +8 -0
- data/docs/OrderQuote.md +10 -0
- data/docs/OrderReplacement.md +22 -0
- data/docs/OrderReplacementItem.md +10 -0
- data/docs/OrderReplacementResponse.md +13 -0
- data/docs/OrderResponse.md +12 -0
- data/docs/OrderSalesforce.md +8 -0
- data/docs/OrderShipping.md +36 -0
- data/docs/OrderSummary.md +24 -0
- data/docs/OrderTag.md +8 -0
- data/docs/OrderTaxes.md +24 -0
- data/docs/OrderTokenResponse.md +12 -0
- data/docs/OrderTrackingNumberDetail.md +17 -0
- data/docs/OrderTrackingNumberDetails.md +24 -0
- data/docs/OrdersResponse.md +12 -0
- data/docs/Permission.md +10 -0
- data/docs/PricingTier.md +38 -0
- data/docs/PricingTierNotification.md +10 -0
- data/docs/PricingTiersResponse.md +12 -0
- data/docs/Property.md +9 -0
- data/docs/PublishLibraryItemRequest.md +8 -0
- data/docs/RegisterAffiliateClickRequest.md +13 -0
- data/docs/RegisterAffiliateClickResponse.md +11 -0
- data/docs/ResponseMetadata.md +9 -0
- data/docs/ResultSet.md +13 -0
- data/docs/ScreenRecording.md +39 -0
- data/docs/ScreenRecordingFilter.md +34 -0
- data/docs/ScreenRecordingFilterGeoDistance.md +12 -0
- data/docs/ScreenRecordingFilterIpSearch.md +11 -0
- data/docs/ScreenRecordingFilterPageView.md +14 -0
- data/docs/ScreenRecordingFilterPageViewEvent.md +9 -0
- data/docs/ScreenRecordingFilterPageViewEventParam.md +12 -0
- data/docs/ScreenRecordingFilterPageViewParam.md +9 -0
- data/docs/ScreenRecordingFilterPageViewReferrerParam.md +9 -0
- data/docs/ScreenRecordingFilterRangeBigDecimal.md +12 -0
- data/docs/ScreenRecordingFilterRangeDate.md +9 -0
- data/docs/ScreenRecordingFilterRangeInteger.md +12 -0
- data/docs/ScreenRecordingFilterStringSearch.md +12 -0
- data/docs/ScreenRecordingFilterValues.md +17 -0
- data/docs/ScreenRecordingFilterValuesEvent.md +9 -0
- data/docs/ScreenRecordingFilterValuesEventParams.md +12 -0
- data/docs/ScreenRecordingMultifield.md +12 -0
- data/docs/ScreenRecordingPageView.md +22 -0
- data/docs/ScreenRecordingPageViewEvent.md +11 -0
- data/docs/ScreenRecordingPageViewEventParameter.md +9 -0
- data/docs/ScreenRecordingPageViewParameter.md +9 -0
- data/docs/ScreenRecordingQueryRequest.md +8 -0
- data/docs/ScreenRecordingQueryResponse.md +14 -0
- data/docs/ScreenRecordingResponse.md +12 -0
- data/docs/ScreenRecordingSegment.md +14 -0
- data/docs/ScreenRecordingSegmentResponse.md +12 -0
- data/docs/ScreenRecordingSegmentsResponse.md +12 -0
- data/docs/ScreenRecordingSettings.md +8 -0
- data/docs/ScreenRecordingSettingsResponse.md +12 -0
- data/docs/ScreenRecordingStoreFront.md +9 -0
- data/docs/ScreenRecordingTagsRequest.md +8 -0
- data/docs/ScreenRecordingTagsResponse.md +12 -0
- data/docs/ScreenRecordingUserAgent.md +12 -0
- data/docs/ScreenRecordingUserAgentDevice.md +8 -0
- data/docs/ScreenRecordingUserAgentOS.md +10 -0
- data/docs/ScreenRecordingUserProperty.md +9 -0
- data/docs/ScreenshotsResponse.md +12 -0
- data/docs/SelfConfig.md +8 -0
- data/docs/SimpleValue.md +9 -0
- data/docs/SovosConfig.md +14 -0
- data/docs/StateProvince.md +9 -0
- data/docs/StepWaiting.md +9 -0
- data/docs/StorefrontApi.md +9186 -0
- data/docs/TaxApi.md +1608 -0
- data/docs/TaxCity.md +16 -0
- data/docs/TaxCountry.md +16 -0
- data/docs/TaxCountryCode.md +12 -0
- data/docs/TaxCounty.md +17 -0
- data/docs/TaxJarConfig.md +13 -0
- data/docs/TaxPostalCode.md +14 -0
- data/docs/TaxProviderActivateResult.md +9 -0
- data/docs/TaxProviderAvalara.md +11 -0
- data/docs/TaxProviderAvalaraCompaniesResult.md +8 -0
- data/docs/TaxProviderAvalaraCompany.md +12 -0
- data/docs/TaxProviderSelf.md +12 -0
- data/docs/TaxProviderSelfCountriesResponse.md +8 -0
- data/docs/TaxProviderSelfRegionsResponse.md +8 -0
- data/docs/TaxProviderSovos.md +11 -0
- data/docs/TaxProviderTaxJar.md +11 -0
- data/docs/TaxProviderTestResult.md +9 -0
- data/docs/TaxProviderUltraCart.md +12 -0
- data/docs/TaxProviderUltraCartState.md +14 -0
- data/docs/TaxProvidersResponse.md +16 -0
- data/docs/TaxState.md +22 -0
- data/docs/TaxStateCode.md +12 -0
- data/docs/TempMultimedia.md +14 -0
- data/docs/TempMultimediaResponse.md +12 -0
- data/docs/ThumbnailParametersRequest.md +12 -0
- data/docs/ThumbnailParametersResponse.md +12 -0
- data/docs/TransactionEmail.md +27 -0
- data/docs/TransactionEmailListResponse.md +12 -0
- data/docs/TransactionEmailOption.md +15 -0
- data/docs/TransactionEmailResponse.md +12 -0
- data/docs/UltraCartConfig.md +8 -0
- data/docs/UploadCouponCodesRequest.md +12 -0
- data/docs/UploadCouponCodesResponse.md +14 -0
- data/docs/User.md +21 -0
- data/docs/UserApi.md +633 -0
- data/docs/UserGroupMembership.md +10 -0
- data/docs/UserLogin.md +11 -0
- data/docs/UserLoginsResponse.md +12 -0
- data/docs/UserResponse.md +12 -0
- data/docs/UsersResponse.md +12 -0
- data/docs/VerificationRecord.md +10 -0
- data/docs/Warning.md +9 -0
- data/docs/Webhook.md +25 -0
- data/docs/WebhookApi.md +503 -0
- data/docs/WebhookEventCategory.md +12 -0
- data/docs/WebhookEventSubscription.md +16 -0
- data/docs/WebhookLog.md +17 -0
- data/docs/WebhookLogResponse.md +12 -0
- data/docs/WebhookLogSummariesResponse.md +12 -0
- data/docs/WebhookLogSummary.md +10 -0
- data/docs/WebhookResponse.md +12 -0
- data/docs/WebhookSampleRequest.md +11 -0
- data/docs/WebhookSampleRequestResponse.md +12 -0
- data/docs/WebhooksResponse.md +12 -0
- data/docs/Weight.md +9 -0
- data/git_push.sh +55 -0
- data/lib/ultracart_api.rb +609 -0
- data/lib/ultracart_api/api/affiliate_api.rb +151 -0
- data/lib/ultracart_api/api/auto_order_api.rb +568 -0
- data/lib/ultracart_api/api/chargeback_api.rb +343 -0
- data/lib/ultracart_api/api/checkout_api.rb +1098 -0
- data/lib/ultracart_api/api/coupon_api.rb +1148 -0
- data/lib/ultracart_api/api/customer_api.rb +684 -0
- data/lib/ultracart_api/api/fulfillment_api.rb +307 -0
- data/lib/ultracart_api/api/item_api.rb +572 -0
- data/lib/ultracart_api/api/oauth_api.rb +158 -0
- data/lib/ultracart_api/api/order_api.rb +1293 -0
- data/lib/ultracart_api/api/storefront_api.rb +8493 -0
- data/lib/ultracart_api/api/tax_api.rb +1567 -0
- data/lib/ultracart_api/api/user_api.rb +621 -0
- data/lib/ultracart_api/api/webhook_api.rb +501 -0
- data/lib/ultracart_api/api_client.rb +400 -0
- data/lib/ultracart_api/api_error.rb +38 -0
- data/lib/ultracart_api/configuration.rb +229 -0
- data/lib/ultracart_api/models/accounts_receivable_retry_config.rb +319 -0
- data/lib/ultracart_api/models/accounts_receivable_retry_config_response.rb +252 -0
- data/lib/ultracart_api/models/accounts_receivable_retry_day_activity.rb +205 -0
- data/lib/ultracart_api/models/accounts_receivable_retry_stat_account.rb +215 -0
- data/lib/ultracart_api/models/accounts_receivable_retry_stat_metrics.rb +274 -0
- data/lib/ultracart_api/models/accounts_receivable_retry_stat_revenue.rb +193 -0
- data/lib/ultracart_api/models/accounts_receivable_retry_stats_response.rb +232 -0
- data/lib/ultracart_api/models/activity.rb +229 -0
- data/lib/ultracart_api/models/add_library_item_request.rb +289 -0
- data/lib/ultracart_api/models/affiliate_click.rb +284 -0
- data/lib/ultracart_api/models/affiliate_click_query.rb +235 -0
- data/lib/ultracart_api/models/affiliate_clicks_response.rb +224 -0
- data/lib/ultracart_api/models/affiliate_ledger.rb +386 -0
- data/lib/ultracart_api/models/affiliate_ledger_query.rb +235 -0
- data/lib/ultracart_api/models/affiliate_ledgers_response.rb +224 -0
- data/lib/ultracart_api/models/affiliate_link.rb +373 -0
- data/lib/ultracart_api/models/api_user_application_profile.rb +225 -0
- data/lib/ultracart_api/models/apply_library_item_request.rb +205 -0
- data/lib/ultracart_api/models/apply_library_item_response.rb +284 -0
- data/lib/ultracart_api/models/auto_order.rb +412 -0
- data/lib/ultracart_api/models/auto_order_item.rb +452 -0
- data/lib/ultracart_api/models/auto_order_item_future_schedule.rb +215 -0
- data/lib/ultracart_api/models/auto_order_item_option.rb +225 -0
- data/lib/ultracart_api/models/auto_order_item_simple_schedule.rb +239 -0
- data/lib/ultracart_api/models/auto_order_query.rb +425 -0
- data/lib/ultracart_api/models/auto_order_query_batch.rb +187 -0
- data/lib/ultracart_api/models/auto_order_response.rb +221 -0
- data/lib/ultracart_api/models/auto_orders_request.rb +187 -0
- data/lib/ultracart_api/models/auto_orders_response.rb +223 -0
- data/lib/ultracart_api/models/avalara_config.rb +305 -0
- data/lib/ultracart_api/models/base_response.rb +212 -0
- data/lib/ultracart_api/models/cart.rb +461 -0
- data/lib/ultracart_api/models/cart_affiliate.rb +210 -0
- data/lib/ultracart_api/models/cart_affirm_checkout_response.rb +197 -0
- data/lib/ultracart_api/models/cart_billing.rb +537 -0
- data/lib/ultracart_api/models/cart_buysafe.rb +234 -0
- data/lib/ultracart_api/models/cart_checkout.rb +465 -0
- data/lib/ultracart_api/models/cart_coupon.rb +185 -0
- data/lib/ultracart_api/models/cart_currency_conversion.rb +197 -0
- data/lib/ultracart_api/models/cart_customer_profile.rb +403 -0
- data/lib/ultracart_api/models/cart_customer_profile_address.rb +315 -0
- data/lib/ultracart_api/models/cart_customer_profile_credit_card.rb +269 -0
- data/lib/ultracart_api/models/cart_finalize_order_request.rb +193 -0
- data/lib/ultracart_api/models/cart_finalize_order_request_options.rb +320 -0
- data/lib/ultracart_api/models/cart_finalize_order_response.rb +225 -0
- data/lib/ultracart_api/models/cart_gift.rb +278 -0
- data/lib/ultracart_api/models/cart_gift_certificate.rb +203 -0
- data/lib/ultracart_api/models/cart_item.rb +469 -0
- data/lib/ultracart_api/models/cart_item_attribute.rb +205 -0
- data/lib/ultracart_api/models/cart_item_multimedia.rb +301 -0
- data/lib/ultracart_api/models/cart_item_multimedia_thumbnail.rb +225 -0
- data/lib/ultracart_api/models/cart_item_option.rb +343 -0
- data/lib/ultracart_api/models/cart_item_option_value.rb +223 -0
- data/lib/ultracart_api/models/cart_item_physical.rb +211 -0
- data/lib/ultracart_api/models/cart_item_variation_selection.rb +195 -0
- data/lib/ultracart_api/models/cart_kit_component_option.rb +363 -0
- data/lib/ultracart_api/models/cart_marketing.rb +195 -0
- data/lib/ultracart_api/models/cart_payment.rb +240 -0
- data/lib/ultracart_api/models/cart_payment_affirm.rb +185 -0
- data/lib/ultracart_api/models/cart_payment_amazon.rb +185 -0
- data/lib/ultracart_api/models/cart_payment_check.rb +185 -0
- data/lib/ultracart_api/models/cart_payment_credit_card.rb +265 -0
- data/lib/ultracart_api/models/cart_payment_purchase_order.rb +185 -0
- data/lib/ultracart_api/models/cart_profile_login_request.rb +204 -0
- data/lib/ultracart_api/models/cart_profile_login_response.rb +196 -0
- data/lib/ultracart_api/models/cart_profile_register_request.rb +194 -0
- data/lib/ultracart_api/models/cart_profile_register_response.rb +196 -0
- data/lib/ultracart_api/models/cart_property.rb +245 -0
- data/lib/ultracart_api/models/cart_response.rb +196 -0
- data/lib/ultracart_api/models/cart_settings.rb +229 -0
- data/lib/ultracart_api/models/cart_settings_billing.rb +187 -0
- data/lib/ultracart_api/models/cart_settings_gift.rb +216 -0
- data/lib/ultracart_api/models/cart_settings_gift_wrap.rb +204 -0
- data/lib/ultracart_api/models/cart_settings_payment.rb +302 -0
- data/lib/ultracart_api/models/cart_settings_payment_amazon.rb +205 -0
- data/lib/ultracart_api/models/cart_settings_payment_credit_card.rb +207 -0
- data/lib/ultracart_api/models/cart_settings_payment_pay_pal.rb +225 -0
- data/lib/ultracart_api/models/cart_settings_province.rb +193 -0
- data/lib/ultracart_api/models/cart_settings_shipping.rb +227 -0
- data/lib/ultracart_api/models/cart_settings_shipping_calendar.rb +229 -0
- data/lib/ultracart_api/models/cart_settings_shipping_estimate.rb +300 -0
- data/lib/ultracart_api/models/cart_settings_taxes.rb +186 -0
- data/lib/ultracart_api/models/cart_settings_terms.rb +195 -0
- data/lib/ultracart_api/models/cart_shipping.rb +590 -0
- data/lib/ultracart_api/models/cart_summary.rb +319 -0
- data/lib/ultracart_api/models/cart_taxes.rb +220 -0
- data/lib/ultracart_api/models/cart_upsell_after.rb +220 -0
- data/lib/ultracart_api/models/cart_validation_request.rb +196 -0
- data/lib/ultracart_api/models/cart_validation_response.rb +196 -0
- data/lib/ultracart_api/models/chargeback_dispute.rb +614 -0
- data/lib/ultracart_api/models/chargeback_dispute_response.rb +221 -0
- data/lib/ultracart_api/models/chargeback_disputes_response.rb +223 -0
- data/lib/ultracart_api/models/checkout_allowed_countries_response.rb +186 -0
- data/lib/ultracart_api/models/checkout_handoff_request.rb +288 -0
- data/lib/ultracart_api/models/checkout_handoff_response.rb +206 -0
- data/lib/ultracart_api/models/checkout_setup_browser_key_request.rb +187 -0
- data/lib/ultracart_api/models/checkout_setup_browser_key_response.rb +185 -0
- data/lib/ultracart_api/models/checkout_state_province_response.rb +186 -0
- data/lib/ultracart_api/models/city_state_zip.rb +220 -0
- data/lib/ultracart_api/models/countries_response.rb +186 -0
- data/lib/ultracart_api/models/country.rb +225 -0
- data/lib/ultracart_api/models/coupon.rb +792 -0
- data/lib/ultracart_api/models/coupon_amount_off_items.rb +232 -0
- data/lib/ultracart_api/models/coupon_amount_off_shipping.rb +222 -0
- data/lib/ultracart_api/models/coupon_amount_off_shipping_with_items_purchase.rb +234 -0
- data/lib/ultracart_api/models/coupon_amount_off_subtotal.rb +210 -0
- data/lib/ultracart_api/models/coupon_amount_off_subtotal_and_shipping.rb +210 -0
- data/lib/ultracart_api/models/coupon_amount_off_subtotal_free_shipping_with_purchase.rb +232 -0
- data/lib/ultracart_api/models/coupon_amount_off_subtotal_with_block_purchase.rb +230 -0
- data/lib/ultracart_api/models/coupon_amount_off_subtotal_with_items_purchase.rb +232 -0
- data/lib/ultracart_api/models/coupon_auto_apply_condition.rb +204 -0
- data/lib/ultracart_api/models/coupon_auto_apply_conditions.rb +234 -0
- data/lib/ultracart_api/models/coupon_automatically_apply_coupon_codes.rb +187 -0
- data/lib/ultracart_api/models/coupon_buy_one_get_one_limit.rb +197 -0
- data/lib/ultracart_api/models/coupon_codes_request.rb +242 -0
- data/lib/ultracart_api/models/coupon_codes_response.rb +234 -0
- data/lib/ultracart_api/models/coupon_deletes_request.rb +199 -0
- data/lib/ultracart_api/models/coupon_discount_item_with_item_purchase.rb +240 -0
- data/lib/ultracart_api/models/coupon_discount_items.rb +232 -0
- data/lib/ultracart_api/models/coupon_editor_values.rb +295 -0
- data/lib/ultracart_api/models/coupon_exists_response.rb +232 -0
- data/lib/ultracart_api/models/coupon_free_item_and_shipping_with_subtotal.rb +244 -0
- data/lib/ultracart_api/models/coupon_free_item_with_item_purchase.rb +219 -0
- data/lib/ultracart_api/models/coupon_free_item_with_subtotal.rb +232 -0
- data/lib/ultracart_api/models/coupon_free_items_with_item_purchase.rb +225 -0
- data/lib/ultracart_api/models/coupon_free_items_with_mix_match_purchase.rb +225 -0
- data/lib/ultracart_api/models/coupon_free_shipping.rb +187 -0
- data/lib/ultracart_api/models/coupon_free_shipping_specific_items.rb +187 -0
- data/lib/ultracart_api/models/coupon_free_shipping_with_items_purchase.rb +199 -0
- data/lib/ultracart_api/models/coupon_free_shipping_with_subtotal.rb +222 -0
- data/lib/ultracart_api/models/coupon_item_search_result.rb +255 -0
- data/lib/ultracart_api/models/coupon_item_search_results_response.rb +224 -0
- data/lib/ultracart_api/models/coupon_multiple_amounts_off_items.rb +197 -0
- data/lib/ultracart_api/models/coupon_no_discount.rb +175 -0
- data/lib/ultracart_api/models/coupon_percent_off_item_with_items_quantity_purchase.rb +229 -0
- data/lib/ultracart_api/models/coupon_percent_off_items.rb +219 -0
- data/lib/ultracart_api/models/coupon_percent_off_items_and_free_shipping.rb +209 -0
- data/lib/ultracart_api/models/coupon_percent_off_items_with_items_purchase.rb +219 -0
- data/lib/ultracart_api/models/coupon_percent_off_retail_price_items.rb +219 -0
- data/lib/ultracart_api/models/coupon_percent_off_shipping.rb +197 -0
- data/lib/ultracart_api/models/coupon_percent_off_subtotal.rb +185 -0
- data/lib/ultracart_api/models/coupon_percent_off_subtotal_and_free_shipping.rb +197 -0
- data/lib/ultracart_api/models/coupon_percent_off_subtotal_limit.rb +220 -0
- data/lib/ultracart_api/models/coupon_percent_off_subtotal_with_items_purchase.rb +197 -0
- data/lib/ultracart_api/models/coupon_percent_off_subtotal_with_subtotal.rb +220 -0
- data/lib/ultracart_api/models/coupon_query.rb +265 -0
- data/lib/ultracart_api/models/coupon_response.rb +221 -0
- data/lib/ultracart_api/models/coupon_restriction.rb +211 -0
- data/lib/ultracart_api/models/coupon_tier_amount.rb +195 -0
- data/lib/ultracart_api/models/coupon_tier_item_discount.rb +197 -0
- data/lib/ultracart_api/models/coupon_tier_percent.rb +195 -0
- data/lib/ultracart_api/models/coupon_tier_quantity_amount.rb +195 -0
- data/lib/ultracart_api/models/coupon_tier_quantity_percent.rb +195 -0
- data/lib/ultracart_api/models/coupon_tiered_amount_off_item.rb +207 -0
- data/lib/ultracart_api/models/coupon_tiered_amount_off_subtotal.rb +199 -0
- data/lib/ultracart_api/models/coupon_tiered_percent_off_items.rb +209 -0
- data/lib/ultracart_api/models/coupon_tiered_percent_off_shipping.rb +199 -0
- data/lib/ultracart_api/models/coupon_tiered_percent_off_subtotal.rb +199 -0
- data/lib/ultracart_api/models/coupon_type.rb +195 -0
- data/lib/ultracart_api/models/coupons_request.rb +187 -0
- data/lib/ultracart_api/models/coupons_response.rb +223 -0
- data/lib/ultracart_api/models/currency.rb +225 -0
- data/lib/ultracart_api/models/customer.rb +933 -0
- data/lib/ultracart_api/models/customer_activity.rb +219 -0
- data/lib/ultracart_api/models/customer_affiliate.rb +195 -0
- data/lib/ultracart_api/models/customer_attachment.rb +225 -0
- data/lib/ultracart_api/models/customer_billing.rb +540 -0
- data/lib/ultracart_api/models/customer_card.rb +255 -0
- data/lib/ultracart_api/models/customer_editor_values.rb +271 -0
- data/lib/ultracart_api/models/customer_email.rb +265 -0
- data/lib/ultracart_api/models/customer_email_list_changes.rb +199 -0
- data/lib/ultracart_api/models/customer_loyalty.rb +209 -0
- data/lib/ultracart_api/models/customer_loyalty_ledger.rb +325 -0
- data/lib/ultracart_api/models/customer_loyalty_redemption.rb +305 -0
- data/lib/ultracart_api/models/customer_orders_summary.rb +215 -0
- data/lib/ultracart_api/models/customer_pricing_tier.rb +210 -0
- data/lib/ultracart_api/models/customer_privacy.rb +215 -0
- data/lib/ultracart_api/models/customer_query.rb +754 -0
- data/lib/ultracart_api/models/customer_quotes_summary.rb +215 -0
- data/lib/ultracart_api/models/customer_response.rb +221 -0
- data/lib/ultracart_api/models/customer_reviewer.rb +275 -0
- data/lib/ultracart_api/models/customer_shipping.rb +540 -0
- data/lib/ultracart_api/models/customer_software_entitlement.rb +330 -0
- data/lib/ultracart_api/models/customer_tag.rb +200 -0
- data/lib/ultracart_api/models/customer_tax_codes.rb +225 -0
- data/lib/ultracart_api/models/customers_response.rb +223 -0
- data/lib/ultracart_api/models/data_tables_server_side_response.rb +213 -0
- data/lib/ultracart_api/models/distance.rb +229 -0
- data/lib/ultracart_api/models/distribution_center.rb +514 -0
- data/lib/ultracart_api/models/distribution_centers_response.rb +223 -0
- data/lib/ultracart_api/models/email_base_template_list_response.rb +186 -0
- data/lib/ultracart_api/models/email_campaign.rb +422 -0
- data/lib/ultracart_api/models/email_campaign_folder.rb +240 -0
- data/lib/ultracart_api/models/email_campaign_folder_response.rb +221 -0
- data/lib/ultracart_api/models/email_campaign_folders_response.rb +223 -0
- data/lib/ultracart_api/models/email_campaign_response.rb +221 -0
- data/lib/ultracart_api/models/email_campaigns_response.rb +223 -0
- data/lib/ultracart_api/models/email_click.rb +195 -0
- data/lib/ultracart_api/models/email_clicks_response.rb +223 -0
- data/lib/ultracart_api/models/email_commseq.rb +217 -0
- data/lib/ultracart_api/models/email_commseq_email.rb +415 -0
- data/lib/ultracart_api/models/email_commseq_email_response.rb +221 -0
- data/lib/ultracart_api/models/email_commseq_email_send_test_request.rb +269 -0
- data/lib/ultracart_api/models/email_commseq_email_send_test_response.rb +212 -0
- data/lib/ultracart_api/models/email_commseq_emails_request.rb +223 -0
- data/lib/ultracart_api/models/email_commseq_emails_response.rb +223 -0
- data/lib/ultracart_api/models/email_commseq_postcard.rb +285 -0
- data/lib/ultracart_api/models/email_commseq_postcard_response.rb +221 -0
- data/lib/ultracart_api/models/email_commseq_postcard_send_test_request.rb +285 -0
- data/lib/ultracart_api/models/email_commseq_postcard_send_test_response.rb +239 -0
- data/lib/ultracart_api/models/email_commseq_postcards_request.rb +186 -0
- data/lib/ultracart_api/models/email_commseq_postcards_response.rb +223 -0
- data/lib/ultracart_api/models/email_commseq_response.rb +221 -0
- data/lib/ultracart_api/models/email_commseq_stat.rb +545 -0
- data/lib/ultracart_api/models/email_commseq_stat_response.rb +221 -0
- data/lib/ultracart_api/models/email_commseq_step.rb +313 -0
- data/lib/ultracart_api/models/email_commseqs_response.rb +223 -0
- data/lib/ultracart_api/models/email_customer.rb +257 -0
- data/lib/ultracart_api/models/email_customer_editor_url_response.rb +221 -0
- data/lib/ultracart_api/models/email_customers_response.rb +227 -0
- data/lib/ultracart_api/models/email_dashboard_activity.rb +245 -0
- data/lib/ultracart_api/models/email_dashboard_activity_response.rb +223 -0
- data/lib/ultracart_api/models/email_dashboard_stats_response.rb +223 -0
- data/lib/ultracart_api/models/email_domain.rb +276 -0
- data/lib/ultracart_api/models/email_editor_token_response.rb +221 -0
- data/lib/ultracart_api/models/email_flow.rb +460 -0
- data/lib/ultracart_api/models/email_flow_back_populate_request.rb +195 -0
- data/lib/ultracart_api/models/email_flow_back_populate_response.rb +212 -0
- data/lib/ultracart_api/models/email_flow_folder.rb +240 -0
- data/lib/ultracart_api/models/email_flow_folder_response.rb +221 -0
- data/lib/ultracart_api/models/email_flow_folders_response.rb +223 -0
- data/lib/ultracart_api/models/email_flow_response.rb +221 -0
- data/lib/ultracart_api/models/email_flows_response.rb +223 -0
- data/lib/ultracart_api/models/email_global_settings.rb +184 -0
- data/lib/ultracart_api/models/email_global_settings_response.rb +221 -0
- data/lib/ultracart_api/models/email_global_unsubscribe_request.rb +184 -0
- data/lib/ultracart_api/models/email_global_unsubscribe_response.rb +184 -0
- data/lib/ultracart_api/models/email_histogram_property_names_response.rb +186 -0
- data/lib/ultracart_api/models/email_histogram_property_values_response.rb +186 -0
- data/lib/ultracart_api/models/email_list.rb +302 -0
- data/lib/ultracart_api/models/email_list_archive_response.rb +221 -0
- data/lib/ultracart_api/models/email_list_customer.rb +215 -0
- data/lib/ultracart_api/models/email_list_customers_response.rb +227 -0
- data/lib/ultracart_api/models/email_list_response.rb +221 -0
- data/lib/ultracart_api/models/email_list_segment_membership.rb +215 -0
- data/lib/ultracart_api/models/email_list_segment_used_by.rb +205 -0
- data/lib/ultracart_api/models/email_list_subscribe_response.rb +193 -0
- data/lib/ultracart_api/models/email_lists_response.rb +223 -0
- data/lib/ultracart_api/models/email_order.rb +214 -0
- data/lib/ultracart_api/models/email_orders_response.rb +223 -0
- data/lib/ultracart_api/models/email_performance.rb +396 -0
- data/lib/ultracart_api/models/email_performance_customer_histogram.rb +187 -0
- data/lib/ultracart_api/models/email_performance_customer_histogram_period.rb +225 -0
- data/lib/ultracart_api/models/email_performance_daily.rb +245 -0
- data/lib/ultracart_api/models/email_performance_response.rb +221 -0
- data/lib/ultracart_api/models/email_plan.rb +321 -0
- data/lib/ultracart_api/models/email_plan_additional.rb +229 -0
- data/lib/ultracart_api/models/email_plan_response.rb +221 -0
- data/lib/ultracart_api/models/email_postcard_stat.rb +496 -0
- data/lib/ultracart_api/models/email_segment.rb +332 -0
- data/lib/ultracart_api/models/email_segment_archive_response.rb +221 -0
- data/lib/ultracart_api/models/email_segment_customer.rb +215 -0
- data/lib/ultracart_api/models/email_segment_customers_response.rb +227 -0
- data/lib/ultracart_api/models/email_segment_download_prepare_response.rb +248 -0
- data/lib/ultracart_api/models/email_segment_response.rb +221 -0
- data/lib/ultracart_api/models/email_segments_response.rb +223 -0
- data/lib/ultracart_api/models/email_sending_domain_response.rb +221 -0
- data/lib/ultracart_api/models/email_sending_domains_response.rb +223 -0
- data/lib/ultracart_api/models/email_settings.rb +283 -0
- data/lib/ultracart_api/models/email_settings_response.rb +221 -0
- data/lib/ultracart_api/models/email_stat.rb +556 -0
- data/lib/ultracart_api/models/email_stat_postcard_summary_request.rb +195 -0
- data/lib/ultracart_api/models/email_stat_postcard_summary_response.rb +223 -0
- data/lib/ultracart_api/models/email_stat_summary_request.rb +206 -0
- data/lib/ultracart_api/models/email_stat_summary_response.rb +223 -0
- data/lib/ultracart_api/models/email_step_stat.rb +375 -0
- data/lib/ultracart_api/models/email_step_stat_request.rb +195 -0
- data/lib/ultracart_api/models/email_step_stat_response.rb +223 -0
- data/lib/ultracart_api/models/email_step_waiting_request.rb +186 -0
- data/lib/ultracart_api/models/email_step_waiting_response.rb +186 -0
- data/lib/ultracart_api/models/email_template.rb +330 -0
- data/lib/ultracart_api/models/email_templates_response.rb +223 -0
- data/lib/ultracart_api/models/email_third_party_list.rb +195 -0
- data/lib/ultracart_api/models/email_third_party_list_import_request.rb +187 -0
- data/lib/ultracart_api/models/email_third_party_provider.rb +267 -0
- data/lib/ultracart_api/models/email_third_party_providers_response.rb +223 -0
- data/lib/ultracart_api/models/error.rb +215 -0
- data/lib/ultracart_api/models/error_response.rb +212 -0
- data/lib/ultracart_api/models/experiment.rb +391 -0
- data/lib/ultracart_api/models/experiment_response.rb +221 -0
- data/lib/ultracart_api/models/experiment_variation.rb +365 -0
- data/lib/ultracart_api/models/experiments_response.rb +223 -0
- data/lib/ultracart_api/models/fulfillment_inventory.rb +193 -0
- data/lib/ultracart_api/models/fulfillment_shipment.rb +227 -0
- data/lib/ultracart_api/models/geo_point.rb +193 -0
- data/lib/ultracart_api/models/geocode_request.rb +225 -0
- data/lib/ultracart_api/models/geocode_response.rb +230 -0
- data/lib/ultracart_api/models/group.rb +231 -0
- data/lib/ultracart_api/models/group_response.rb +221 -0
- data/lib/ultracart_api/models/group_user_membership.rb +225 -0
- data/lib/ultracart_api/models/groups_response.rb +223 -0
- data/lib/ultracart_api/models/http_header.rb +195 -0
- data/lib/ultracart_api/models/item.rb +701 -0
- data/lib/ultracart_api/models/item_accounting.rb +225 -0
- data/lib/ultracart_api/models/item_amember.rb +210 -0
- data/lib/ultracart_api/models/item_auto_order.rb +358 -0
- data/lib/ultracart_api/models/item_auto_order_step.rb +378 -0
- data/lib/ultracart_api/models/item_auto_order_step_arbitrary_unit_cost_schedule.rb +195 -0
- data/lib/ultracart_api/models/item_auto_order_step_grandfather_pricing.rb +195 -0
- data/lib/ultracart_api/models/item_cc_bill.rb +235 -0
- data/lib/ultracart_api/models/item_channel_partner_mapping.rb +400 -0
- data/lib/ultracart_api/models/item_chargeback.rb +199 -0
- data/lib/ultracart_api/models/item_chargeback_addendum.rb +215 -0
- data/lib/ultracart_api/models/item_chargeback_adjustment_request.rb +205 -0
- data/lib/ultracart_api/models/item_checkout.rb +220 -0
- data/lib/ultracart_api/models/item_content.rb +316 -0
- data/lib/ultracart_api/models/item_content_assignment.rb +240 -0
- data/lib/ultracart_api/models/item_content_attribute.rb +245 -0
- data/lib/ultracart_api/models/item_content_multimedia.rb +406 -0
- data/lib/ultracart_api/models/item_content_multimedia_thumbnail.rb +235 -0
- data/lib/ultracart_api/models/item_digital_delivery.rb +282 -0
- data/lib/ultracart_api/models/item_digital_item.rb +270 -0
- data/lib/ultracart_api/models/item_ebay.rb +866 -0
- data/lib/ultracart_api/models/item_ebay_category_specific.rb +195 -0
- data/lib/ultracart_api/models/item_ebay_market_listing.rb +225 -0
- data/lib/ultracart_api/models/item_ebay_market_place_analysis.rb +276 -0
- data/lib/ultracart_api/models/item_email_notifications.rb +195 -0
- data/lib/ultracart_api/models/item_enrollment123.rb +185 -0
- data/lib/ultracart_api/models/item_gift_certificate.rb +195 -0
- data/lib/ultracart_api/models/item_google_product_search.rb +1254 -0
- data/lib/ultracart_api/models/item_identifiers.rb +275 -0
- data/lib/ultracart_api/models/item_instant_payment_notification.rb +235 -0
- data/lib/ultracart_api/models/item_instant_payment_notifications.rb +187 -0
- data/lib/ultracart_api/models/item_internal.rb +200 -0
- data/lib/ultracart_api/models/item_kit_component.rb +225 -0
- data/lib/ultracart_api/models/item_kit_definition.rb +187 -0
- data/lib/ultracart_api/models/item_option.rb +381 -0
- data/lib/ultracart_api/models/item_option_value.rb +374 -0
- data/lib/ultracart_api/models/item_option_value_additional_item.rb +195 -0
- data/lib/ultracart_api/models/item_option_value_digital_item.rb +195 -0
- data/lib/ultracart_api/models/item_payment_processing.rb +229 -0
- data/lib/ultracart_api/models/item_physical.rb +211 -0
- data/lib/ultracart_api/models/item_pricing.rb +387 -0
- data/lib/ultracart_api/models/item_pricing_tier.rb +226 -0
- data/lib/ultracart_api/models/item_pricing_tier_discount.rb +195 -0
- data/lib/ultracart_api/models/item_pricing_tier_limit.rb +205 -0
- data/lib/ultracart_api/models/item_property.rb +235 -0
- data/lib/ultracart_api/models/item_realtime_pricing.rb +205 -0
- data/lib/ultracart_api/models/item_related.rb +207 -0
- data/lib/ultracart_api/models/item_related_item.rb +239 -0
- data/lib/ultracart_api/models/item_reporting.rb +197 -0
- data/lib/ultracart_api/models/item_response.rb +221 -0
- data/lib/ultracart_api/models/item_restriction.rb +257 -0
- data/lib/ultracart_api/models/item_restriction_item.rb +239 -0
- data/lib/ultracart_api/models/item_revguard.rb +245 -0
- data/lib/ultracart_api/models/item_reviews.rb +245 -0
- data/lib/ultracart_api/models/item_salesforce.rb +195 -0
- data/lib/ultracart_api/models/item_shipping.rb +678 -0
- data/lib/ultracart_api/models/item_shipping_case.rb +230 -0
- data/lib/ultracart_api/models/item_shipping_destination_markup.rb +280 -0
- data/lib/ultracart_api/models/item_shipping_destination_restriction.rb +269 -0
- data/lib/ultracart_api/models/item_shipping_distribution_center.rb +335 -0
- data/lib/ultracart_api/models/item_shipping_method.rb +359 -0
- data/lib/ultracart_api/models/item_shipping_package_requirement.rb +195 -0
- data/lib/ultracart_api/models/item_tag.rb +244 -0
- data/lib/ultracart_api/models/item_tags.rb +187 -0
- data/lib/ultracart_api/models/item_tax.rb +207 -0
- data/lib/ultracart_api/models/item_tax_exemption.rb +300 -0
- data/lib/ultracart_api/models/item_third_party_email_marketing.rb +267 -0
- data/lib/ultracart_api/models/item_variant_item.rb +254 -0
- data/lib/ultracart_api/models/item_variation.rb +257 -0
- data/lib/ultracart_api/models/item_variation_option.rb +230 -0
- data/lib/ultracart_api/models/item_wishlist_member.rb +220 -0
- data/lib/ultracart_api/models/items_request.rb +187 -0
- data/lib/ultracart_api/models/items_response.rb +224 -0
- data/lib/ultracart_api/models/key_value.rb +205 -0
- data/lib/ultracart_api/models/library_filter_values.rb +219 -0
- data/lib/ultracart_api/models/library_filter_values_response.rb +221 -0
- data/lib/ultracart_api/models/library_item.rb +571 -0
- data/lib/ultracart_api/models/library_item_account.rb +202 -0
- data/lib/ultracart_api/models/library_item_asset.rb +193 -0
- data/lib/ultracart_api/models/library_item_attribute.rb +202 -0
- data/lib/ultracart_api/models/library_item_email.rb +202 -0
- data/lib/ultracart_api/models/library_item_published_meta.rb +255 -0
- data/lib/ultracart_api/models/library_item_purchased_meta.rb +205 -0
- data/lib/ultracart_api/models/library_item_query.rb +295 -0
- data/lib/ultracart_api/models/library_item_response.rb +221 -0
- data/lib/ultracart_api/models/library_item_screenshot.rb +193 -0
- data/lib/ultracart_api/models/library_items_response.rb +224 -0
- data/lib/ultracart_api/models/linked_account.rb +205 -0
- data/lib/ultracart_api/models/list_segment_membership.rb +202 -0
- data/lib/ultracart_api/models/lookup_request.rb +220 -0
- data/lib/ultracart_api/models/lookup_response.rb +223 -0
- data/lib/ultracart_api/models/metric.rb +247 -0
- data/lib/ultracart_api/models/notification.rb +287 -0
- data/lib/ultracart_api/models/oauth_revoke_success_response.rb +195 -0
- data/lib/ultracart_api/models/oauth_token_response.rb +286 -0
- data/lib/ultracart_api/models/order.rb +569 -0
- data/lib/ultracart_api/models/order_affiliate.rb +207 -0
- data/lib/ultracart_api/models/order_affiliate_ledger.rb +299 -0
- data/lib/ultracart_api/models/order_auto_order.rb +403 -0
- data/lib/ultracart_api/models/order_billing.rb +537 -0
- data/lib/ultracart_api/models/order_buysafe.rb +233 -0
- data/lib/ultracart_api/models/order_by_token_query.rb +185 -0
- data/lib/ultracart_api/models/order_channel_partner.rb +275 -0
- data/lib/ultracart_api/models/order_checkout.rb +415 -0
- data/lib/ultracart_api/models/order_coupon.rb +245 -0
- data/lib/ultracart_api/models/order_digital_item.rb +255 -0
- data/lib/ultracart_api/models/order_digital_order.rb +227 -0
- data/lib/ultracart_api/models/order_edi.rb +230 -0
- data/lib/ultracart_api/models/order_format.rb +369 -0
- data/lib/ultracart_api/models/order_format_response.rb +197 -0
- data/lib/ultracart_api/models/order_fraud_score.rb +409 -0
- data/lib/ultracart_api/models/order_gift.rb +316 -0
- data/lib/ultracart_api/models/order_gift_certificate.rb +204 -0
- data/lib/ultracart_api/models/order_internal.rb +240 -0
- data/lib/ultracart_api/models/order_item.rb +800 -0
- data/lib/ultracart_api/models/order_item_edi.rb +199 -0
- data/lib/ultracart_api/models/order_item_edi_identification.rb +195 -0
- data/lib/ultracart_api/models/order_item_edi_lot.rb +205 -0
- data/lib/ultracart_api/models/order_item_option.rb +343 -0
- data/lib/ultracart_api/models/order_item_option_file_attachment.rb +215 -0
- data/lib/ultracart_api/models/order_item_property.rb +245 -0
- data/lib/ultracart_api/models/order_item_tag.rb +200 -0
- data/lib/ultracart_api/models/order_linked_shipment.rb +229 -0
- data/lib/ultracart_api/models/order_marketing.rb +235 -0
- data/lib/ultracart_api/models/order_payment.rb +388 -0
- data/lib/ultracart_api/models/order_payment_check.rb +185 -0
- data/lib/ultracart_api/models/order_payment_credit_card.rb +319 -0
- data/lib/ultracart_api/models/order_payment_e_check.rb +441 -0
- data/lib/ultracart_api/models/order_payment_purchase_order.rb +185 -0
- data/lib/ultracart_api/models/order_payment_transaction.rb +217 -0
- data/lib/ultracart_api/models/order_payment_transaction_detail.rb +205 -0
- data/lib/ultracart_api/models/order_process_payment_request.rb +185 -0
- data/lib/ultracart_api/models/order_process_payment_response.rb +221 -0
- data/lib/ultracart_api/models/order_property.rb +245 -0
- data/lib/ultracart_api/models/order_query.rb +701 -0
- data/lib/ultracart_api/models/order_query_batch.rb +187 -0
- data/lib/ultracart_api/models/order_quote.rb +205 -0
- data/lib/ultracart_api/models/order_replacement.rb +432 -0
- data/lib/ultracart_api/models/order_replacement_item.rb +220 -0
- data/lib/ultracart_api/models/order_replacement_response.rb +229 -0
- data/lib/ultracart_api/models/order_response.rb +221 -0
- data/lib/ultracart_api/models/order_salesforce.rb +185 -0
- data/lib/ultracart_api/models/order_shipping.rb +710 -0
- data/lib/ultracart_api/models/order_summary.rb +328 -0
- data/lib/ultracart_api/models/order_tag.rb +200 -0
- data/lib/ultracart_api/models/order_taxes.rb +360 -0
- data/lib/ultracart_api/models/order_token_response.rb +222 -0
- data/lib/ultracart_api/models/order_tracking_number_detail.rb +265 -0
- data/lib/ultracart_api/models/order_tracking_number_details.rb +330 -0
- data/lib/ultracart_api/models/orders_response.rb +224 -0
- data/lib/ultracart_api/models/permission.rb +205 -0
- data/lib/ultracart_api/models/pricing_tier.rb +498 -0
- data/lib/ultracart_api/models/pricing_tier_notification.rb +235 -0
- data/lib/ultracart_api/models/pricing_tiers_response.rb +224 -0
- data/lib/ultracart_api/models/property.rb +193 -0
- data/lib/ultracart_api/models/publish_library_item_request.rb +185 -0
- data/lib/ultracart_api/models/register_affiliate_click_request.rb +235 -0
- data/lib/ultracart_api/models/register_affiliate_click_response.rb +219 -0
- data/lib/ultracart_api/models/response_metadata.rb +194 -0
- data/lib/ultracart_api/models/result_set.rb +235 -0
- data/lib/ultracart_api/models/screen_recording.rb +477 -0
- data/lib/ultracart_api/models/screen_recording_filter.rb +426 -0
- data/lib/ultracart_api/models/screen_recording_filter_geo_distance.rb +220 -0
- data/lib/ultracart_api/models/screen_recording_filter_ip_search.rb +211 -0
- data/lib/ultracart_api/models/screen_recording_filter_page_view.rb +244 -0
- data/lib/ultracart_api/models/screen_recording_filter_page_view_event.rb +195 -0
- data/lib/ultracart_api/models/screen_recording_filter_page_view_event_param.rb +220 -0
- data/lib/ultracart_api/models/screen_recording_filter_page_view_param.rb +193 -0
- data/lib/ultracart_api/models/screen_recording_filter_page_view_referrer_param.rb +193 -0
- data/lib/ultracart_api/models/screen_recording_filter_range_big_decimal.rb +220 -0
- data/lib/ultracart_api/models/screen_recording_filter_range_date.rb +195 -0
- data/lib/ultracart_api/models/screen_recording_filter_range_integer.rb +220 -0
- data/lib/ultracart_api/models/screen_recording_filter_string_search.rb +220 -0
- data/lib/ultracart_api/models/screen_recording_filter_values.rb +283 -0
- data/lib/ultracart_api/models/screen_recording_filter_values_event.rb +195 -0
- data/lib/ultracart_api/models/screen_recording_filter_values_event_params.rb +228 -0
- data/lib/ultracart_api/models/screen_recording_multifield.rb +220 -0
- data/lib/ultracart_api/models/screen_recording_page_view.rb +318 -0
- data/lib/ultracart_api/models/screen_recording_page_view_event.rb +214 -0
- data/lib/ultracart_api/models/screen_recording_page_view_event_parameter.rb +193 -0
- data/lib/ultracart_api/models/screen_recording_page_view_parameter.rb +193 -0
- data/lib/ultracart_api/models/screen_recording_query_request.rb +184 -0
- data/lib/ultracart_api/models/screen_recording_query_response.rb +241 -0
- data/lib/ultracart_api/models/screen_recording_response.rb +221 -0
- data/lib/ultracart_api/models/screen_recording_segment.rb +238 -0
- data/lib/ultracart_api/models/screen_recording_segment_response.rb +221 -0
- data/lib/ultracart_api/models/screen_recording_segments_response.rb +223 -0
- data/lib/ultracart_api/models/screen_recording_settings.rb +184 -0
- data/lib/ultracart_api/models/screen_recording_settings_response.rb +221 -0
- data/lib/ultracart_api/models/screen_recording_store_front.rb +193 -0
- data/lib/ultracart_api/models/screen_recording_tags_request.rb +186 -0
- data/lib/ultracart_api/models/screen_recording_tags_response.rb +223 -0
- data/lib/ultracart_api/models/screen_recording_user_agent.rb +220 -0
- data/lib/ultracart_api/models/screen_recording_user_agent_device.rb +184 -0
- data/lib/ultracart_api/models/screen_recording_user_agent_os.rb +202 -0
- data/lib/ultracart_api/models/screen_recording_user_property.rb +193 -0
- data/lib/ultracart_api/models/screenshots_response.rb +224 -0
- data/lib/ultracart_api/models/self_config.rb +185 -0
- data/lib/ultracart_api/models/simple_value.rb +195 -0
- data/lib/ultracart_api/models/sovos_config.rb +245 -0
- data/lib/ultracart_api/models/state_province.rb +210 -0
- data/lib/ultracart_api/models/step_waiting.rb +193 -0
- data/lib/ultracart_api/models/tax_city.rb +267 -0
- data/lib/ultracart_api/models/tax_country.rb +267 -0
- data/lib/ultracart_api/models/tax_country_code.rb +225 -0
- data/lib/ultracart_api/models/tax_county.rb +277 -0
- data/lib/ultracart_api/models/tax_jar_config.rb +235 -0
- data/lib/ultracart_api/models/tax_postal_code.rb +245 -0
- data/lib/ultracart_api/models/tax_provider_activate_result.rb +194 -0
- data/lib/ultracart_api/models/tax_provider_avalara.rb +214 -0
- data/lib/ultracart_api/models/tax_provider_avalara_companies_result.rb +187 -0
- data/lib/ultracart_api/models/tax_provider_avalara_company.rb +225 -0
- data/lib/ultracart_api/models/tax_provider_self.rb +226 -0
- data/lib/ultracart_api/models/tax_provider_self_countries_response.rb +187 -0
- data/lib/ultracart_api/models/tax_provider_self_regions_response.rb +187 -0
- data/lib/ultracart_api/models/tax_provider_sovos.rb +214 -0
- data/lib/ultracart_api/models/tax_provider_tax_jar.rb +214 -0
- data/lib/ultracart_api/models/tax_provider_test_result.rb +194 -0
- data/lib/ultracart_api/models/tax_provider_ultra_cart.rb +226 -0
- data/lib/ultracart_api/models/tax_provider_ultra_cart_state.rb +245 -0
- data/lib/ultracart_api/models/tax_providers_response.rb +257 -0
- data/lib/ultracart_api/models/tax_state.rb +327 -0
- data/lib/ultracart_api/models/tax_state_code.rb +225 -0
- data/lib/ultracart_api/models/temp_multimedia.rb +294 -0
- data/lib/ultracart_api/models/temp_multimedia_response.rb +221 -0
- data/lib/ultracart_api/models/thumbnail_parameters_request.rb +220 -0
- data/lib/ultracart_api/models/thumbnail_parameters_response.rb +222 -0
- data/lib/ultracart_api/models/transaction_email.rb +379 -0
- data/lib/ultracart_api/models/transaction_email_list_response.rb +223 -0
- data/lib/ultracart_api/models/transaction_email_option.rb +247 -0
- data/lib/ultracart_api/models/transaction_email_response.rb +221 -0
- data/lib/ultracart_api/models/ultra_cart_config.rb +185 -0
- data/lib/ultracart_api/models/upload_coupon_codes_request.rb +224 -0
- data/lib/ultracart_api/models/upload_coupon_codes_response.rb +248 -0
- data/lib/ultracart_api/models/user.rb +327 -0
- data/lib/ultracart_api/models/user_group_membership.rb +205 -0
- data/lib/ultracart_api/models/user_login.rb +215 -0
- data/lib/ultracart_api/models/user_logins_response.rb +224 -0
- data/lib/ultracart_api/models/user_response.rb +221 -0
- data/lib/ultracart_api/models/users_response.rb +223 -0
- data/lib/ultracart_api/models/verification_record.rb +202 -0
- data/lib/ultracart_api/models/warning.rb +195 -0
- data/lib/ultracart_api/models/webhook.rb +402 -0
- data/lib/ultracart_api/models/webhook_event_category.rb +229 -0
- data/lib/ultracart_api/models/webhook_event_subscription.rb +265 -0
- data/lib/ultracart_api/models/webhook_log.rb +279 -0
- data/lib/ultracart_api/models/webhook_log_response.rb +221 -0
- data/lib/ultracart_api/models/webhook_log_summaries_response.rb +224 -0
- data/lib/ultracart_api/models/webhook_log_summary.rb +205 -0
- data/lib/ultracart_api/models/webhook_response.rb +221 -0
- data/lib/ultracart_api/models/webhook_sample_request.rb +217 -0
- data/lib/ultracart_api/models/webhook_sample_request_response.rb +221 -0
- data/lib/ultracart_api/models/webhooks_response.rb +223 -0
- data/lib/ultracart_api/models/weight.rb +229 -0
- data/lib/ultracart_api/version.rb +15 -0
- data/spec/api_client_spec.rb +243 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/spec_helper.rb +111 -0
- data/ultracart_api.gemspec +45 -0
- metadata +1380 -0
@@ -0,0 +1,158 @@
|
|
1
|
+
=begin
|
2
|
+
#UltraCart Rest API V2
|
3
|
+
|
4
|
+
#UltraCart REST API Version 2
|
5
|
+
|
6
|
+
OpenAPI spec version: 2.0.0
|
7
|
+
Contact: support@ultracart.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.15-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'uri'
|
14
|
+
|
15
|
+
module UltracartClient
|
16
|
+
class OauthApi
|
17
|
+
attr_accessor :api_client
|
18
|
+
|
19
|
+
def initialize(api_client = ApiClient.default)
|
20
|
+
@api_client = api_client
|
21
|
+
end
|
22
|
+
# Exchange authorization code for access token.
|
23
|
+
# The final leg in the OAuth process which exchanges the specified access token for the access code needed to make API calls.
|
24
|
+
# @param client_id The OAuth application client_id.
|
25
|
+
# @param grant_type Type of grant
|
26
|
+
# @param [Hash] opts the optional parameters
|
27
|
+
# @option opts [String] :code Authorization code received back from the browser redirect
|
28
|
+
# @option opts [String] :redirect_uri The URI that you redirect the browser to to start the authorization process
|
29
|
+
# @option opts [String] :refresh_token The refresh token received during the original grant_type=authorization_code that can be used to return a new access token
|
30
|
+
# @return [OauthTokenResponse]
|
31
|
+
def oauth_access_token(client_id, grant_type, opts = {})
|
32
|
+
data, _status_code, _headers = oauth_access_token_with_http_info(client_id, grant_type, opts)
|
33
|
+
data
|
34
|
+
end
|
35
|
+
|
36
|
+
# Exchange authorization code for access token.
|
37
|
+
# The final leg in the OAuth process which exchanges the specified access token for the access code needed to make API calls.
|
38
|
+
# @param client_id The OAuth application client_id.
|
39
|
+
# @param grant_type Type of grant
|
40
|
+
# @param [Hash] opts the optional parameters
|
41
|
+
# @option opts [String] :code Authorization code received back from the browser redirect
|
42
|
+
# @option opts [String] :redirect_uri The URI that you redirect the browser to to start the authorization process
|
43
|
+
# @option opts [String] :refresh_token The refresh token received during the original grant_type=authorization_code that can be used to return a new access token
|
44
|
+
# @return [Array<(OauthTokenResponse, Fixnum, Hash)>] OauthTokenResponse data, response status code and response headers
|
45
|
+
def oauth_access_token_with_http_info(client_id, grant_type, opts = {})
|
46
|
+
if @api_client.config.debugging
|
47
|
+
@api_client.config.logger.debug 'Calling API: OauthApi.oauth_access_token ...'
|
48
|
+
end
|
49
|
+
# verify the required parameter 'client_id' is set
|
50
|
+
if @api_client.config.client_side_validation && client_id.nil?
|
51
|
+
fail ArgumentError, "Missing the required parameter 'client_id' when calling OauthApi.oauth_access_token"
|
52
|
+
end
|
53
|
+
# verify the required parameter 'grant_type' is set
|
54
|
+
if @api_client.config.client_side_validation && grant_type.nil?
|
55
|
+
fail ArgumentError, "Missing the required parameter 'grant_type' when calling OauthApi.oauth_access_token"
|
56
|
+
end
|
57
|
+
# resource path
|
58
|
+
local_var_path = '/oauth/token'
|
59
|
+
|
60
|
+
# query parameters
|
61
|
+
query_params = {}
|
62
|
+
|
63
|
+
# header parameters
|
64
|
+
header_params = {}
|
65
|
+
header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
|
66
|
+
# HTTP header 'Accept' (if needed)
|
67
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
68
|
+
# HTTP header 'Content-Type'
|
69
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
70
|
+
|
71
|
+
# form parameters
|
72
|
+
form_params = {}
|
73
|
+
form_params['client_id'] = client_id
|
74
|
+
form_params['grant_type'] = grant_type
|
75
|
+
form_params['code'] = opts[:'code'] if !opts[:'code'].nil?
|
76
|
+
form_params['redirect_uri'] = opts[:'redirect_uri'] if !opts[:'redirect_uri'].nil?
|
77
|
+
form_params['refresh_token'] = opts[:'refresh_token'] if !opts[:'refresh_token'].nil?
|
78
|
+
|
79
|
+
# http body (model)
|
80
|
+
post_body = nil
|
81
|
+
auth_names = ['ultraCartBrowserApiKey', 'ultraCartOauth', 'ultraCartSimpleApiKey']
|
82
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
83
|
+
:header_params => header_params,
|
84
|
+
:query_params => query_params,
|
85
|
+
:form_params => form_params,
|
86
|
+
:body => post_body,
|
87
|
+
:auth_names => auth_names,
|
88
|
+
:return_type => 'OauthTokenResponse')
|
89
|
+
if @api_client.config.debugging
|
90
|
+
@api_client.config.logger.debug "API called: OauthApi#oauth_access_token\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
91
|
+
end
|
92
|
+
return data, status_code, headers
|
93
|
+
end
|
94
|
+
# Revoke this OAuth application.
|
95
|
+
# Revokes the OAuth application associated with the specified client_id and token.
|
96
|
+
# @param client_id The OAuth application client_id.
|
97
|
+
# @param token The OAuth access token that is to be revoked..
|
98
|
+
# @param [Hash] opts the optional parameters
|
99
|
+
# @return [OauthRevokeSuccessResponse]
|
100
|
+
def oauth_revoke(client_id, token, opts = {})
|
101
|
+
data, _status_code, _headers = oauth_revoke_with_http_info(client_id, token, opts)
|
102
|
+
data
|
103
|
+
end
|
104
|
+
|
105
|
+
# Revoke this OAuth application.
|
106
|
+
# Revokes the OAuth application associated with the specified client_id and token.
|
107
|
+
# @param client_id The OAuth application client_id.
|
108
|
+
# @param token The OAuth access token that is to be revoked..
|
109
|
+
# @param [Hash] opts the optional parameters
|
110
|
+
# @return [Array<(OauthRevokeSuccessResponse, Fixnum, Hash)>] OauthRevokeSuccessResponse data, response status code and response headers
|
111
|
+
def oauth_revoke_with_http_info(client_id, token, opts = {})
|
112
|
+
if @api_client.config.debugging
|
113
|
+
@api_client.config.logger.debug 'Calling API: OauthApi.oauth_revoke ...'
|
114
|
+
end
|
115
|
+
# verify the required parameter 'client_id' is set
|
116
|
+
if @api_client.config.client_side_validation && client_id.nil?
|
117
|
+
fail ArgumentError, "Missing the required parameter 'client_id' when calling OauthApi.oauth_revoke"
|
118
|
+
end
|
119
|
+
# verify the required parameter 'token' is set
|
120
|
+
if @api_client.config.client_side_validation && token.nil?
|
121
|
+
fail ArgumentError, "Missing the required parameter 'token' when calling OauthApi.oauth_revoke"
|
122
|
+
end
|
123
|
+
# resource path
|
124
|
+
local_var_path = '/oauth/revoke'
|
125
|
+
|
126
|
+
# query parameters
|
127
|
+
query_params = {}
|
128
|
+
|
129
|
+
# header parameters
|
130
|
+
header_params = {}
|
131
|
+
header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
|
132
|
+
# HTTP header 'Accept' (if needed)
|
133
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
134
|
+
# HTTP header 'Content-Type'
|
135
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])
|
136
|
+
|
137
|
+
# form parameters
|
138
|
+
form_params = {}
|
139
|
+
form_params['client_id'] = client_id
|
140
|
+
form_params['token'] = token
|
141
|
+
|
142
|
+
# http body (model)
|
143
|
+
post_body = nil
|
144
|
+
auth_names = ['ultraCartBrowserApiKey', 'ultraCartOauth', 'ultraCartSimpleApiKey']
|
145
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
146
|
+
:header_params => header_params,
|
147
|
+
:query_params => query_params,
|
148
|
+
:form_params => form_params,
|
149
|
+
:body => post_body,
|
150
|
+
:auth_names => auth_names,
|
151
|
+
:return_type => 'OauthRevokeSuccessResponse')
|
152
|
+
if @api_client.config.debugging
|
153
|
+
@api_client.config.logger.debug "API called: OauthApi#oauth_revoke\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
154
|
+
end
|
155
|
+
return data, status_code, headers
|
156
|
+
end
|
157
|
+
end
|
158
|
+
end
|
@@ -0,0 +1,1293 @@
|
|
1
|
+
=begin
|
2
|
+
#UltraCart Rest API V2
|
3
|
+
|
4
|
+
#UltraCart REST API Version 2
|
5
|
+
|
6
|
+
OpenAPI spec version: 2.0.0
|
7
|
+
Contact: support@ultracart.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.15-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'uri'
|
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
|
+
# Adjusts an order total
|
23
|
+
# Adjusts an order total. Adjusts individual items appropriately and considers taxes. Desired total should be provided in the same currency as the order. Returns true if successful.
|
24
|
+
# @param order_id The order id to cancel.
|
25
|
+
# @param desired_total The desired total with no formatting. example 123.45
|
26
|
+
# @param [Hash] opts the optional parameters
|
27
|
+
# @return [BaseResponse]
|
28
|
+
def adjust_order_total(order_id, desired_total, opts = {})
|
29
|
+
data, _status_code, _headers = adjust_order_total_with_http_info(order_id, desired_total, opts)
|
30
|
+
data
|
31
|
+
end
|
32
|
+
|
33
|
+
# Adjusts an order total
|
34
|
+
# Adjusts an order total. Adjusts individual items appropriately and considers taxes. Desired total should be provided in the same currency as the order. Returns true if successful.
|
35
|
+
# @param order_id The order id to cancel.
|
36
|
+
# @param desired_total The desired total with no formatting. example 123.45
|
37
|
+
# @param [Hash] opts the optional parameters
|
38
|
+
# @return [Array<(BaseResponse, Fixnum, Hash)>] BaseResponse data, response status code and response headers
|
39
|
+
def adjust_order_total_with_http_info(order_id, desired_total, opts = {})
|
40
|
+
if @api_client.config.debugging
|
41
|
+
@api_client.config.logger.debug 'Calling API: OrderApi.adjust_order_total ...'
|
42
|
+
end
|
43
|
+
# verify the required parameter 'order_id' is set
|
44
|
+
if @api_client.config.client_side_validation && order_id.nil?
|
45
|
+
fail ArgumentError, "Missing the required parameter 'order_id' when calling OrderApi.adjust_order_total"
|
46
|
+
end
|
47
|
+
# verify the required parameter 'desired_total' is set
|
48
|
+
if @api_client.config.client_side_validation && desired_total.nil?
|
49
|
+
fail ArgumentError, "Missing the required parameter 'desired_total' when calling OrderApi.adjust_order_total"
|
50
|
+
end
|
51
|
+
# resource path
|
52
|
+
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)
|
53
|
+
|
54
|
+
# query parameters
|
55
|
+
query_params = {}
|
56
|
+
|
57
|
+
# header parameters
|
58
|
+
header_params = {}
|
59
|
+
header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
|
60
|
+
# HTTP header 'Accept' (if needed)
|
61
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
62
|
+
# HTTP header 'Content-Type'
|
63
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
64
|
+
|
65
|
+
# form parameters
|
66
|
+
form_params = {}
|
67
|
+
|
68
|
+
# http body (model)
|
69
|
+
post_body = nil
|
70
|
+
auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
71
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
72
|
+
:header_params => header_params,
|
73
|
+
:query_params => query_params,
|
74
|
+
:form_params => form_params,
|
75
|
+
:body => post_body,
|
76
|
+
:auth_names => auth_names,
|
77
|
+
:return_type => 'BaseResponse')
|
78
|
+
if @api_client.config.debugging
|
79
|
+
@api_client.config.logger.debug "API called: OrderApi#adjust_order_total\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
80
|
+
end
|
81
|
+
return data, status_code, headers
|
82
|
+
end
|
83
|
+
# Cancel an order
|
84
|
+
# Cancel an order on the UltraCart account. If the success flag is false, then consult the error message for why it failed.
|
85
|
+
# @param order_id The order id to cancel.
|
86
|
+
# @param [Hash] opts the optional parameters
|
87
|
+
# @return [BaseResponse]
|
88
|
+
def cancel_order(order_id, opts = {})
|
89
|
+
data, _status_code, _headers = cancel_order_with_http_info(order_id, opts)
|
90
|
+
data
|
91
|
+
end
|
92
|
+
|
93
|
+
# Cancel an order
|
94
|
+
# Cancel an order on the UltraCart account. If the success flag is false, then consult the error message for why it failed.
|
95
|
+
# @param order_id The order id to cancel.
|
96
|
+
# @param [Hash] opts the optional parameters
|
97
|
+
# @return [Array<(BaseResponse, Fixnum, Hash)>] BaseResponse data, response status code and response headers
|
98
|
+
def cancel_order_with_http_info(order_id, opts = {})
|
99
|
+
if @api_client.config.debugging
|
100
|
+
@api_client.config.logger.debug 'Calling API: OrderApi.cancel_order ...'
|
101
|
+
end
|
102
|
+
# verify the required parameter 'order_id' is set
|
103
|
+
if @api_client.config.client_side_validation && order_id.nil?
|
104
|
+
fail ArgumentError, "Missing the required parameter 'order_id' when calling OrderApi.cancel_order"
|
105
|
+
end
|
106
|
+
# resource path
|
107
|
+
local_var_path = '/order/orders/{order_id}/cancel'.sub('{' + 'order_id' + '}', order_id.to_s)
|
108
|
+
|
109
|
+
# query parameters
|
110
|
+
query_params = {}
|
111
|
+
|
112
|
+
# header parameters
|
113
|
+
header_params = {}
|
114
|
+
header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
|
115
|
+
# HTTP header 'Accept' (if needed)
|
116
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
117
|
+
# HTTP header 'Content-Type'
|
118
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
119
|
+
|
120
|
+
# form parameters
|
121
|
+
form_params = {}
|
122
|
+
|
123
|
+
# http body (model)
|
124
|
+
post_body = nil
|
125
|
+
auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
126
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
127
|
+
:header_params => header_params,
|
128
|
+
:query_params => query_params,
|
129
|
+
:form_params => form_params,
|
130
|
+
:body => post_body,
|
131
|
+
:auth_names => auth_names,
|
132
|
+
:return_type => 'BaseResponse')
|
133
|
+
if @api_client.config.debugging
|
134
|
+
@api_client.config.logger.debug "API called: OrderApi#cancel_order\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
135
|
+
end
|
136
|
+
return data, status_code, headers
|
137
|
+
end
|
138
|
+
# Delete an order
|
139
|
+
# Delete an order on the UltraCart account.
|
140
|
+
# @param order_id The order id to delete.
|
141
|
+
# @param [Hash] opts the optional parameters
|
142
|
+
# @return [nil]
|
143
|
+
def delete_order(order_id, opts = {})
|
144
|
+
delete_order_with_http_info(order_id, opts)
|
145
|
+
nil
|
146
|
+
end
|
147
|
+
|
148
|
+
# Delete an order
|
149
|
+
# Delete an order on the UltraCart account.
|
150
|
+
# @param order_id The order id to delete.
|
151
|
+
# @param [Hash] opts the optional parameters
|
152
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
153
|
+
def delete_order_with_http_info(order_id, opts = {})
|
154
|
+
if @api_client.config.debugging
|
155
|
+
@api_client.config.logger.debug 'Calling API: OrderApi.delete_order ...'
|
156
|
+
end
|
157
|
+
# verify the required parameter 'order_id' is set
|
158
|
+
if @api_client.config.client_side_validation && order_id.nil?
|
159
|
+
fail ArgumentError, "Missing the required parameter 'order_id' when calling OrderApi.delete_order"
|
160
|
+
end
|
161
|
+
# resource path
|
162
|
+
local_var_path = '/order/orders/{order_id}'.sub('{' + 'order_id' + '}', order_id.to_s)
|
163
|
+
|
164
|
+
# query parameters
|
165
|
+
query_params = {}
|
166
|
+
|
167
|
+
# header parameters
|
168
|
+
header_params = {}
|
169
|
+
header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
|
170
|
+
# HTTP header 'Accept' (if needed)
|
171
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
172
|
+
# HTTP header 'Content-Type'
|
173
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
174
|
+
|
175
|
+
# form parameters
|
176
|
+
form_params = {}
|
177
|
+
|
178
|
+
# http body (model)
|
179
|
+
post_body = nil
|
180
|
+
auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
181
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
182
|
+
:header_params => header_params,
|
183
|
+
:query_params => query_params,
|
184
|
+
:form_params => form_params,
|
185
|
+
:body => post_body,
|
186
|
+
:auth_names => auth_names)
|
187
|
+
if @api_client.config.debugging
|
188
|
+
@api_client.config.logger.debug "API called: OrderApi#delete_order\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
189
|
+
end
|
190
|
+
return data, status_code, headers
|
191
|
+
end
|
192
|
+
# Format order
|
193
|
+
# Format the order for display at text or html
|
194
|
+
# @param order_id The order id to format
|
195
|
+
# @param format_options Format options
|
196
|
+
# @param [Hash] opts the optional parameters
|
197
|
+
# @return [OrderFormatResponse]
|
198
|
+
def format(order_id, format_options, opts = {})
|
199
|
+
data, _status_code, _headers = format_with_http_info(order_id, format_options, opts)
|
200
|
+
data
|
201
|
+
end
|
202
|
+
|
203
|
+
# Format order
|
204
|
+
# Format the order for display at text or html
|
205
|
+
# @param order_id The order id to format
|
206
|
+
# @param format_options Format options
|
207
|
+
# @param [Hash] opts the optional parameters
|
208
|
+
# @return [Array<(OrderFormatResponse, Fixnum, Hash)>] OrderFormatResponse data, response status code and response headers
|
209
|
+
def format_with_http_info(order_id, format_options, opts = {})
|
210
|
+
if @api_client.config.debugging
|
211
|
+
@api_client.config.logger.debug 'Calling API: OrderApi.format ...'
|
212
|
+
end
|
213
|
+
# verify the required parameter 'order_id' is set
|
214
|
+
if @api_client.config.client_side_validation && order_id.nil?
|
215
|
+
fail ArgumentError, "Missing the required parameter 'order_id' when calling OrderApi.format"
|
216
|
+
end
|
217
|
+
# verify the required parameter 'format_options' is set
|
218
|
+
if @api_client.config.client_side_validation && format_options.nil?
|
219
|
+
fail ArgumentError, "Missing the required parameter 'format_options' when calling OrderApi.format"
|
220
|
+
end
|
221
|
+
# resource path
|
222
|
+
local_var_path = '/order/orders/{order_id}/format'.sub('{' + 'order_id' + '}', order_id.to_s)
|
223
|
+
|
224
|
+
# query parameters
|
225
|
+
query_params = {}
|
226
|
+
|
227
|
+
# header parameters
|
228
|
+
header_params = {}
|
229
|
+
header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
|
230
|
+
# HTTP header 'Accept' (if needed)
|
231
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
232
|
+
# HTTP header 'Content-Type'
|
233
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
234
|
+
|
235
|
+
# form parameters
|
236
|
+
form_params = {}
|
237
|
+
|
238
|
+
# http body (model)
|
239
|
+
post_body = @api_client.object_to_http_body(format_options)
|
240
|
+
auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
241
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
242
|
+
:header_params => header_params,
|
243
|
+
:query_params => query_params,
|
244
|
+
:form_params => form_params,
|
245
|
+
:body => post_body,
|
246
|
+
:auth_names => auth_names,
|
247
|
+
:return_type => 'OrderFormatResponse')
|
248
|
+
if @api_client.config.debugging
|
249
|
+
@api_client.config.logger.debug "API called: OrderApi#format\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
250
|
+
end
|
251
|
+
return data, status_code, headers
|
252
|
+
end
|
253
|
+
# Generate an order token for a given order id
|
254
|
+
# Retrieves a single order token for a given order id. The token can be used with the getOrderByToken API.
|
255
|
+
# @param order_id The order id to generate a token for.
|
256
|
+
# @param [Hash] opts the optional parameters
|
257
|
+
# @return [OrderTokenResponse]
|
258
|
+
def generate_order_token(order_id, opts = {})
|
259
|
+
data, _status_code, _headers = generate_order_token_with_http_info(order_id, opts)
|
260
|
+
data
|
261
|
+
end
|
262
|
+
|
263
|
+
# Generate an order token for a given order id
|
264
|
+
# Retrieves a single order token for a given order id. The token can be used with the getOrderByToken API.
|
265
|
+
# @param order_id The order id to generate a token for.
|
266
|
+
# @param [Hash] opts the optional parameters
|
267
|
+
# @return [Array<(OrderTokenResponse, Fixnum, Hash)>] OrderTokenResponse data, response status code and response headers
|
268
|
+
def generate_order_token_with_http_info(order_id, opts = {})
|
269
|
+
if @api_client.config.debugging
|
270
|
+
@api_client.config.logger.debug 'Calling API: OrderApi.generate_order_token ...'
|
271
|
+
end
|
272
|
+
# verify the required parameter 'order_id' is set
|
273
|
+
if @api_client.config.client_side_validation && order_id.nil?
|
274
|
+
fail ArgumentError, "Missing the required parameter 'order_id' when calling OrderApi.generate_order_token"
|
275
|
+
end
|
276
|
+
# resource path
|
277
|
+
local_var_path = '/order/orders/token/{order_id}'.sub('{' + 'order_id' + '}', order_id.to_s)
|
278
|
+
|
279
|
+
# query parameters
|
280
|
+
query_params = {}
|
281
|
+
|
282
|
+
# header parameters
|
283
|
+
header_params = {}
|
284
|
+
header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
|
285
|
+
# HTTP header 'Accept' (if needed)
|
286
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
287
|
+
# HTTP header 'Content-Type'
|
288
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
289
|
+
|
290
|
+
# form parameters
|
291
|
+
form_params = {}
|
292
|
+
|
293
|
+
# http body (model)
|
294
|
+
post_body = nil
|
295
|
+
auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
296
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
297
|
+
:header_params => header_params,
|
298
|
+
:query_params => query_params,
|
299
|
+
:form_params => form_params,
|
300
|
+
:body => post_body,
|
301
|
+
:auth_names => auth_names,
|
302
|
+
:return_type => 'OrderTokenResponse')
|
303
|
+
if @api_client.config.debugging
|
304
|
+
@api_client.config.logger.debug "API called: OrderApi#generate_order_token\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
305
|
+
end
|
306
|
+
return data, status_code, headers
|
307
|
+
end
|
308
|
+
# Retrieve A/R Retry Configuration
|
309
|
+
# Retrieve A/R Retry Configuration. This is primarily an internal API call. It is doubtful you would ever need to use it.
|
310
|
+
# @param [Hash] opts the optional parameters
|
311
|
+
# @return [AccountsReceivableRetryConfigResponse]
|
312
|
+
def get_accounts_receivable_retry_config(opts = {})
|
313
|
+
data, _status_code, _headers = get_accounts_receivable_retry_config_with_http_info(opts)
|
314
|
+
data
|
315
|
+
end
|
316
|
+
|
317
|
+
# Retrieve A/R Retry Configuration
|
318
|
+
# Retrieve A/R Retry Configuration. This is primarily an internal API call. It is doubtful you would ever need to use it.
|
319
|
+
# @param [Hash] opts the optional parameters
|
320
|
+
# @return [Array<(AccountsReceivableRetryConfigResponse, Fixnum, Hash)>] AccountsReceivableRetryConfigResponse data, response status code and response headers
|
321
|
+
def get_accounts_receivable_retry_config_with_http_info(opts = {})
|
322
|
+
if @api_client.config.debugging
|
323
|
+
@api_client.config.logger.debug 'Calling API: OrderApi.get_accounts_receivable_retry_config ...'
|
324
|
+
end
|
325
|
+
# resource path
|
326
|
+
local_var_path = '/order/accountsReceivableRetryConfig'
|
327
|
+
|
328
|
+
# query parameters
|
329
|
+
query_params = {}
|
330
|
+
|
331
|
+
# header parameters
|
332
|
+
header_params = {}
|
333
|
+
header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
|
334
|
+
# HTTP header 'Accept' (if needed)
|
335
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
336
|
+
# HTTP header 'Content-Type'
|
337
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
338
|
+
|
339
|
+
# form parameters
|
340
|
+
form_params = {}
|
341
|
+
|
342
|
+
# http body (model)
|
343
|
+
post_body = nil
|
344
|
+
auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
345
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
346
|
+
:header_params => header_params,
|
347
|
+
:query_params => query_params,
|
348
|
+
:form_params => form_params,
|
349
|
+
:body => post_body,
|
350
|
+
:auth_names => auth_names,
|
351
|
+
:return_type => 'AccountsReceivableRetryConfigResponse')
|
352
|
+
if @api_client.config.debugging
|
353
|
+
@api_client.config.logger.debug "API called: OrderApi#get_accounts_receivable_retry_config\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
354
|
+
end
|
355
|
+
return data, status_code, headers
|
356
|
+
end
|
357
|
+
# Retrieve A/R Retry Statistics
|
358
|
+
# Retrieve A/R Retry Statistics. This is primarily an internal API call. It is doubtful you would ever need to use it.
|
359
|
+
# @param [Hash] opts the optional parameters
|
360
|
+
# @option opts [String] :from
|
361
|
+
# @option opts [String] :to
|
362
|
+
# @return [AccountsReceivableRetryStatsResponse]
|
363
|
+
def get_accounts_receivable_retry_stats(opts = {})
|
364
|
+
data, _status_code, _headers = get_accounts_receivable_retry_stats_with_http_info(opts)
|
365
|
+
data
|
366
|
+
end
|
367
|
+
|
368
|
+
# Retrieve A/R Retry Statistics
|
369
|
+
# Retrieve A/R Retry Statistics. This is primarily an internal API call. It is doubtful you would ever need to use it.
|
370
|
+
# @param [Hash] opts the optional parameters
|
371
|
+
# @option opts [String] :from
|
372
|
+
# @option opts [String] :to
|
373
|
+
# @return [Array<(AccountsReceivableRetryStatsResponse, Fixnum, Hash)>] AccountsReceivableRetryStatsResponse data, response status code and response headers
|
374
|
+
def get_accounts_receivable_retry_stats_with_http_info(opts = {})
|
375
|
+
if @api_client.config.debugging
|
376
|
+
@api_client.config.logger.debug 'Calling API: OrderApi.get_accounts_receivable_retry_stats ...'
|
377
|
+
end
|
378
|
+
# resource path
|
379
|
+
local_var_path = '/order/accountsReceivableRetryConfig/stats'
|
380
|
+
|
381
|
+
# query parameters
|
382
|
+
query_params = {}
|
383
|
+
query_params[:'from'] = opts[:'from'] if !opts[:'from'].nil?
|
384
|
+
query_params[:'to'] = opts[:'to'] if !opts[:'to'].nil?
|
385
|
+
|
386
|
+
# header parameters
|
387
|
+
header_params = {}
|
388
|
+
header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
|
389
|
+
# HTTP header 'Accept' (if needed)
|
390
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
391
|
+
# HTTP header 'Content-Type'
|
392
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
393
|
+
|
394
|
+
# form parameters
|
395
|
+
form_params = {}
|
396
|
+
|
397
|
+
# http body (model)
|
398
|
+
post_body = nil
|
399
|
+
auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
400
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
401
|
+
:header_params => header_params,
|
402
|
+
:query_params => query_params,
|
403
|
+
:form_params => form_params,
|
404
|
+
:body => post_body,
|
405
|
+
:auth_names => auth_names,
|
406
|
+
:return_type => 'AccountsReceivableRetryStatsResponse')
|
407
|
+
if @api_client.config.debugging
|
408
|
+
@api_client.config.logger.debug "API called: OrderApi#get_accounts_receivable_retry_stats\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
409
|
+
end
|
410
|
+
return data, status_code, headers
|
411
|
+
end
|
412
|
+
# Retrieve an order
|
413
|
+
# Retrieves a single order using the specified order id.
|
414
|
+
# @param order_id The order id to retrieve.
|
415
|
+
# @param [Hash] opts the optional parameters
|
416
|
+
# @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
|
417
|
+
# @return [OrderResponse]
|
418
|
+
def get_order(order_id, opts = {})
|
419
|
+
data, _status_code, _headers = get_order_with_http_info(order_id, opts)
|
420
|
+
data
|
421
|
+
end
|
422
|
+
|
423
|
+
# Retrieve an order
|
424
|
+
# Retrieves a single order using the specified order id.
|
425
|
+
# @param order_id The order id to retrieve.
|
426
|
+
# @param [Hash] opts the optional parameters
|
427
|
+
# @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
|
428
|
+
# @return [Array<(OrderResponse, Fixnum, Hash)>] OrderResponse data, response status code and response headers
|
429
|
+
def get_order_with_http_info(order_id, opts = {})
|
430
|
+
if @api_client.config.debugging
|
431
|
+
@api_client.config.logger.debug 'Calling API: OrderApi.get_order ...'
|
432
|
+
end
|
433
|
+
# verify the required parameter 'order_id' is set
|
434
|
+
if @api_client.config.client_side_validation && order_id.nil?
|
435
|
+
fail ArgumentError, "Missing the required parameter 'order_id' when calling OrderApi.get_order"
|
436
|
+
end
|
437
|
+
# resource path
|
438
|
+
local_var_path = '/order/orders/{order_id}'.sub('{' + 'order_id' + '}', order_id.to_s)
|
439
|
+
|
440
|
+
# query parameters
|
441
|
+
query_params = {}
|
442
|
+
query_params[:'_expand'] = opts[:'_expand'] if !opts[:'_expand'].nil?
|
443
|
+
|
444
|
+
# header parameters
|
445
|
+
header_params = {}
|
446
|
+
header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
|
447
|
+
# HTTP header 'Accept' (if needed)
|
448
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
449
|
+
# HTTP header 'Content-Type'
|
450
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
451
|
+
|
452
|
+
# form parameters
|
453
|
+
form_params = {}
|
454
|
+
|
455
|
+
# http body (model)
|
456
|
+
post_body = nil
|
457
|
+
auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
458
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
459
|
+
:header_params => header_params,
|
460
|
+
:query_params => query_params,
|
461
|
+
:form_params => form_params,
|
462
|
+
:body => post_body,
|
463
|
+
:auth_names => auth_names,
|
464
|
+
:return_type => 'OrderResponse')
|
465
|
+
if @api_client.config.debugging
|
466
|
+
@api_client.config.logger.debug "API called: OrderApi#get_order\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
467
|
+
end
|
468
|
+
return data, status_code, headers
|
469
|
+
end
|
470
|
+
# Retrieve an order using a token
|
471
|
+
# Retrieves a single order using the specified order token.
|
472
|
+
# @param order_by_token_query Order by token query
|
473
|
+
# @param [Hash] opts the optional parameters
|
474
|
+
# @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
|
475
|
+
# @return [OrderResponse]
|
476
|
+
def get_order_by_token(order_by_token_query, opts = {})
|
477
|
+
data, _status_code, _headers = get_order_by_token_with_http_info(order_by_token_query, opts)
|
478
|
+
data
|
479
|
+
end
|
480
|
+
|
481
|
+
# Retrieve an order using a token
|
482
|
+
# Retrieves a single order using the specified order token.
|
483
|
+
# @param order_by_token_query Order by token query
|
484
|
+
# @param [Hash] opts the optional parameters
|
485
|
+
# @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
|
486
|
+
# @return [Array<(OrderResponse, Fixnum, Hash)>] OrderResponse data, response status code and response headers
|
487
|
+
def get_order_by_token_with_http_info(order_by_token_query, opts = {})
|
488
|
+
if @api_client.config.debugging
|
489
|
+
@api_client.config.logger.debug 'Calling API: OrderApi.get_order_by_token ...'
|
490
|
+
end
|
491
|
+
# verify the required parameter 'order_by_token_query' is set
|
492
|
+
if @api_client.config.client_side_validation && order_by_token_query.nil?
|
493
|
+
fail ArgumentError, "Missing the required parameter 'order_by_token_query' when calling OrderApi.get_order_by_token"
|
494
|
+
end
|
495
|
+
# resource path
|
496
|
+
local_var_path = '/order/orders/token'
|
497
|
+
|
498
|
+
# query parameters
|
499
|
+
query_params = {}
|
500
|
+
query_params[:'_expand'] = opts[:'_expand'] if !opts[:'_expand'].nil?
|
501
|
+
|
502
|
+
# header parameters
|
503
|
+
header_params = {}
|
504
|
+
header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
|
505
|
+
# HTTP header 'Accept' (if needed)
|
506
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
507
|
+
# HTTP header 'Content-Type'
|
508
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
509
|
+
|
510
|
+
# form parameters
|
511
|
+
form_params = {}
|
512
|
+
|
513
|
+
# http body (model)
|
514
|
+
post_body = @api_client.object_to_http_body(order_by_token_query)
|
515
|
+
auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
516
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
517
|
+
:header_params => header_params,
|
518
|
+
:query_params => query_params,
|
519
|
+
:form_params => form_params,
|
520
|
+
:body => post_body,
|
521
|
+
:auth_names => auth_names,
|
522
|
+
:return_type => 'OrderResponse')
|
523
|
+
if @api_client.config.debugging
|
524
|
+
@api_client.config.logger.debug "API called: OrderApi#get_order_by_token\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
525
|
+
end
|
526
|
+
return data, status_code, headers
|
527
|
+
end
|
528
|
+
# Retrieve orders
|
529
|
+
# 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.
|
530
|
+
# @param [Hash] opts the optional parameters
|
531
|
+
# @option opts [String] :order_id Order Id
|
532
|
+
# @option opts [String] :payment_method Payment Method
|
533
|
+
# @option opts [String] :company Company
|
534
|
+
# @option opts [String] :first_name First Name
|
535
|
+
# @option opts [String] :last_name Last Name
|
536
|
+
# @option opts [String] :city City
|
537
|
+
# @option opts [String] :state_region State/Region
|
538
|
+
# @option opts [String] :postal_code Postal Code
|
539
|
+
# @option opts [String] :country_code Country Code (ISO-3166 two letter)
|
540
|
+
# @option opts [String] :phone Phone
|
541
|
+
# @option opts [String] :email Email
|
542
|
+
# @option opts [String] :cc_email CC Email
|
543
|
+
# @option opts [Float] :total Total
|
544
|
+
# @option opts [String] :screen_branding_theme_code Screen Branding Theme Code
|
545
|
+
# @option opts [String] :storefront_host_name StoreFront Host Name
|
546
|
+
# @option opts [String] :creation_date_begin Creation Date Begin
|
547
|
+
# @option opts [String] :creation_date_end Creation Date End
|
548
|
+
# @option opts [String] :payment_date_begin Payment Date Begin
|
549
|
+
# @option opts [String] :payment_date_end Payment Date End
|
550
|
+
# @option opts [String] :shipment_date_begin Shipment Date Begin
|
551
|
+
# @option opts [String] :shipment_date_end Shipment Date End
|
552
|
+
# @option opts [String] :rma RMA
|
553
|
+
# @option opts [String] :purchase_order_number Purchase Order Number
|
554
|
+
# @option opts [String] :item_id Item Id
|
555
|
+
# @option opts [String] :current_stage Current Stage
|
556
|
+
# @option opts [String] :channel_partner_code Channel Partner Code
|
557
|
+
# @option opts [String] :channel_partner_order_id Channel Partner Order ID
|
558
|
+
# @option opts [Integer] :customer_profile_oid
|
559
|
+
# @option opts [String] :refund_date_begin
|
560
|
+
# @option opts [String] :refund_date_end
|
561
|
+
# @option opts [Integer] :_limit The maximum number of records to return on this one API call. (Maximum 200) (default to 100)
|
562
|
+
# @option opts [Integer] :_offset Pagination of the record set. Offset is a zero based index. (default to 0)
|
563
|
+
# @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.
|
564
|
+
# @option opts [String] :_expand The object expansion to perform on the result.
|
565
|
+
# @return [OrdersResponse]
|
566
|
+
def get_orders(opts = {})
|
567
|
+
data, _status_code, _headers = get_orders_with_http_info(opts)
|
568
|
+
data
|
569
|
+
end
|
570
|
+
|
571
|
+
# Retrieve orders
|
572
|
+
# 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.
|
573
|
+
# @param [Hash] opts the optional parameters
|
574
|
+
# @option opts [String] :order_id Order Id
|
575
|
+
# @option opts [String] :payment_method Payment Method
|
576
|
+
# @option opts [String] :company Company
|
577
|
+
# @option opts [String] :first_name First Name
|
578
|
+
# @option opts [String] :last_name Last Name
|
579
|
+
# @option opts [String] :city City
|
580
|
+
# @option opts [String] :state_region State/Region
|
581
|
+
# @option opts [String] :postal_code Postal Code
|
582
|
+
# @option opts [String] :country_code Country Code (ISO-3166 two letter)
|
583
|
+
# @option opts [String] :phone Phone
|
584
|
+
# @option opts [String] :email Email
|
585
|
+
# @option opts [String] :cc_email CC Email
|
586
|
+
# @option opts [Float] :total Total
|
587
|
+
# @option opts [String] :screen_branding_theme_code Screen Branding Theme Code
|
588
|
+
# @option opts [String] :storefront_host_name StoreFront Host Name
|
589
|
+
# @option opts [String] :creation_date_begin Creation Date Begin
|
590
|
+
# @option opts [String] :creation_date_end Creation Date End
|
591
|
+
# @option opts [String] :payment_date_begin Payment Date Begin
|
592
|
+
# @option opts [String] :payment_date_end Payment Date End
|
593
|
+
# @option opts [String] :shipment_date_begin Shipment Date Begin
|
594
|
+
# @option opts [String] :shipment_date_end Shipment Date End
|
595
|
+
# @option opts [String] :rma RMA
|
596
|
+
# @option opts [String] :purchase_order_number Purchase Order Number
|
597
|
+
# @option opts [String] :item_id Item Id
|
598
|
+
# @option opts [String] :current_stage Current Stage
|
599
|
+
# @option opts [String] :channel_partner_code Channel Partner Code
|
600
|
+
# @option opts [String] :channel_partner_order_id Channel Partner Order ID
|
601
|
+
# @option opts [Integer] :customer_profile_oid
|
602
|
+
# @option opts [String] :refund_date_begin
|
603
|
+
# @option opts [String] :refund_date_end
|
604
|
+
# @option opts [Integer] :_limit The maximum number of records to return on this one API call. (Maximum 200)
|
605
|
+
# @option opts [Integer] :_offset Pagination of the record set. Offset is a zero based index.
|
606
|
+
# @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.
|
607
|
+
# @option opts [String] :_expand The object expansion to perform on the result.
|
608
|
+
# @return [Array<(OrdersResponse, Fixnum, Hash)>] OrdersResponse data, response status code and response headers
|
609
|
+
def get_orders_with_http_info(opts = {})
|
610
|
+
if @api_client.config.debugging
|
611
|
+
@api_client.config.logger.debug 'Calling API: OrderApi.get_orders ...'
|
612
|
+
end
|
613
|
+
# resource path
|
614
|
+
local_var_path = '/order/orders'
|
615
|
+
|
616
|
+
# query parameters
|
617
|
+
query_params = {}
|
618
|
+
query_params[:'order_id'] = opts[:'order_id'] if !opts[:'order_id'].nil?
|
619
|
+
query_params[:'payment_method'] = opts[:'payment_method'] if !opts[:'payment_method'].nil?
|
620
|
+
query_params[:'company'] = opts[:'company'] if !opts[:'company'].nil?
|
621
|
+
query_params[:'first_name'] = opts[:'first_name'] if !opts[:'first_name'].nil?
|
622
|
+
query_params[:'last_name'] = opts[:'last_name'] if !opts[:'last_name'].nil?
|
623
|
+
query_params[:'city'] = opts[:'city'] if !opts[:'city'].nil?
|
624
|
+
query_params[:'state_region'] = opts[:'state_region'] if !opts[:'state_region'].nil?
|
625
|
+
query_params[:'postal_code'] = opts[:'postal_code'] if !opts[:'postal_code'].nil?
|
626
|
+
query_params[:'country_code'] = opts[:'country_code'] if !opts[:'country_code'].nil?
|
627
|
+
query_params[:'phone'] = opts[:'phone'] if !opts[:'phone'].nil?
|
628
|
+
query_params[:'email'] = opts[:'email'] if !opts[:'email'].nil?
|
629
|
+
query_params[:'cc_email'] = opts[:'cc_email'] if !opts[:'cc_email'].nil?
|
630
|
+
query_params[:'total'] = opts[:'total'] if !opts[:'total'].nil?
|
631
|
+
query_params[:'screen_branding_theme_code'] = opts[:'screen_branding_theme_code'] if !opts[:'screen_branding_theme_code'].nil?
|
632
|
+
query_params[:'storefront_host_name'] = opts[:'storefront_host_name'] if !opts[:'storefront_host_name'].nil?
|
633
|
+
query_params[:'creation_date_begin'] = opts[:'creation_date_begin'] if !opts[:'creation_date_begin'].nil?
|
634
|
+
query_params[:'creation_date_end'] = opts[:'creation_date_end'] if !opts[:'creation_date_end'].nil?
|
635
|
+
query_params[:'payment_date_begin'] = opts[:'payment_date_begin'] if !opts[:'payment_date_begin'].nil?
|
636
|
+
query_params[:'payment_date_end'] = opts[:'payment_date_end'] if !opts[:'payment_date_end'].nil?
|
637
|
+
query_params[:'shipment_date_begin'] = opts[:'shipment_date_begin'] if !opts[:'shipment_date_begin'].nil?
|
638
|
+
query_params[:'shipment_date_end'] = opts[:'shipment_date_end'] if !opts[:'shipment_date_end'].nil?
|
639
|
+
query_params[:'rma'] = opts[:'rma'] if !opts[:'rma'].nil?
|
640
|
+
query_params[:'purchase_order_number'] = opts[:'purchase_order_number'] if !opts[:'purchase_order_number'].nil?
|
641
|
+
query_params[:'item_id'] = opts[:'item_id'] if !opts[:'item_id'].nil?
|
642
|
+
query_params[:'current_stage'] = opts[:'current_stage'] if !opts[:'current_stage'].nil?
|
643
|
+
query_params[:'channel_partner_code'] = opts[:'channel_partner_code'] if !opts[:'channel_partner_code'].nil?
|
644
|
+
query_params[:'channel_partner_order_id'] = opts[:'channel_partner_order_id'] if !opts[:'channel_partner_order_id'].nil?
|
645
|
+
query_params[:'customer_profile_oid'] = opts[:'customer_profile_oid'] if !opts[:'customer_profile_oid'].nil?
|
646
|
+
query_params[:'Refund Date Begin'] = opts[:'refund_date_begin'] if !opts[:'refund_date_begin'].nil?
|
647
|
+
query_params[:'Refund Date End'] = opts[:'refund_date_end'] if !opts[:'refund_date_end'].nil?
|
648
|
+
query_params[:'_limit'] = opts[:'_limit'] if !opts[:'_limit'].nil?
|
649
|
+
query_params[:'_offset'] = opts[:'_offset'] if !opts[:'_offset'].nil?
|
650
|
+
query_params[:'_sort'] = opts[:'_sort'] if !opts[:'_sort'].nil?
|
651
|
+
query_params[:'_expand'] = opts[:'_expand'] if !opts[:'_expand'].nil?
|
652
|
+
|
653
|
+
# header parameters
|
654
|
+
header_params = {}
|
655
|
+
header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
|
656
|
+
# HTTP header 'Accept' (if needed)
|
657
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
658
|
+
# HTTP header 'Content-Type'
|
659
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
660
|
+
|
661
|
+
# form parameters
|
662
|
+
form_params = {}
|
663
|
+
|
664
|
+
# http body (model)
|
665
|
+
post_body = nil
|
666
|
+
auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
667
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
668
|
+
:header_params => header_params,
|
669
|
+
:query_params => query_params,
|
670
|
+
:form_params => form_params,
|
671
|
+
:body => post_body,
|
672
|
+
:auth_names => auth_names,
|
673
|
+
:return_type => 'OrdersResponse')
|
674
|
+
if @api_client.config.debugging
|
675
|
+
@api_client.config.logger.debug "API called: OrderApi#get_orders\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
676
|
+
end
|
677
|
+
return data, status_code, headers
|
678
|
+
end
|
679
|
+
# Retrieve order batch
|
680
|
+
# 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.
|
681
|
+
# @param order_batch Order batch
|
682
|
+
# @param [Hash] opts the optional parameters
|
683
|
+
# @option opts [String] :_expand The object expansion to perform on the result.
|
684
|
+
# @return [OrdersResponse]
|
685
|
+
def get_orders_batch(order_batch, opts = {})
|
686
|
+
data, _status_code, _headers = get_orders_batch_with_http_info(order_batch, opts)
|
687
|
+
data
|
688
|
+
end
|
689
|
+
|
690
|
+
# Retrieve order batch
|
691
|
+
# 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.
|
692
|
+
# @param order_batch Order batch
|
693
|
+
# @param [Hash] opts the optional parameters
|
694
|
+
# @option opts [String] :_expand The object expansion to perform on the result.
|
695
|
+
# @return [Array<(OrdersResponse, Fixnum, Hash)>] OrdersResponse data, response status code and response headers
|
696
|
+
def get_orders_batch_with_http_info(order_batch, opts = {})
|
697
|
+
if @api_client.config.debugging
|
698
|
+
@api_client.config.logger.debug 'Calling API: OrderApi.get_orders_batch ...'
|
699
|
+
end
|
700
|
+
# verify the required parameter 'order_batch' is set
|
701
|
+
if @api_client.config.client_side_validation && order_batch.nil?
|
702
|
+
fail ArgumentError, "Missing the required parameter 'order_batch' when calling OrderApi.get_orders_batch"
|
703
|
+
end
|
704
|
+
# resource path
|
705
|
+
local_var_path = '/order/orders/batch'
|
706
|
+
|
707
|
+
# query parameters
|
708
|
+
query_params = {}
|
709
|
+
query_params[:'_expand'] = opts[:'_expand'] if !opts[:'_expand'].nil?
|
710
|
+
|
711
|
+
# header parameters
|
712
|
+
header_params = {}
|
713
|
+
header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
|
714
|
+
# HTTP header 'Accept' (if needed)
|
715
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
716
|
+
# HTTP header 'Content-Type'
|
717
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
718
|
+
|
719
|
+
# form parameters
|
720
|
+
form_params = {}
|
721
|
+
|
722
|
+
# http body (model)
|
723
|
+
post_body = @api_client.object_to_http_body(order_batch)
|
724
|
+
auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
725
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
726
|
+
:header_params => header_params,
|
727
|
+
:query_params => query_params,
|
728
|
+
:form_params => form_params,
|
729
|
+
:body => post_body,
|
730
|
+
:auth_names => auth_names,
|
731
|
+
:return_type => 'OrdersResponse')
|
732
|
+
if @api_client.config.debugging
|
733
|
+
@api_client.config.logger.debug "API called: OrderApi#get_orders_batch\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
734
|
+
end
|
735
|
+
return data, status_code, headers
|
736
|
+
end
|
737
|
+
# Retrieve orders
|
738
|
+
# 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.
|
739
|
+
# @param order_query Order query
|
740
|
+
# @param [Hash] opts the optional parameters
|
741
|
+
# @option opts [Integer] :_limit The maximum number of records to return on this one API call. (Maximum 200) (default to 100)
|
742
|
+
# @option opts [Integer] :_offset Pagination of the record set. Offset is a zero based index. (default to 0)
|
743
|
+
# @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.
|
744
|
+
# @option opts [String] :_expand The object expansion to perform on the result.
|
745
|
+
# @return [OrdersResponse]
|
746
|
+
def get_orders_by_query(order_query, opts = {})
|
747
|
+
data, _status_code, _headers = get_orders_by_query_with_http_info(order_query, opts)
|
748
|
+
data
|
749
|
+
end
|
750
|
+
|
751
|
+
# Retrieve orders
|
752
|
+
# 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.
|
753
|
+
# @param order_query Order query
|
754
|
+
# @param [Hash] opts the optional parameters
|
755
|
+
# @option opts [Integer] :_limit The maximum number of records to return on this one API call. (Maximum 200)
|
756
|
+
# @option opts [Integer] :_offset Pagination of the record set. Offset is a zero based index.
|
757
|
+
# @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.
|
758
|
+
# @option opts [String] :_expand The object expansion to perform on the result.
|
759
|
+
# @return [Array<(OrdersResponse, Fixnum, Hash)>] OrdersResponse data, response status code and response headers
|
760
|
+
def get_orders_by_query_with_http_info(order_query, opts = {})
|
761
|
+
if @api_client.config.debugging
|
762
|
+
@api_client.config.logger.debug 'Calling API: OrderApi.get_orders_by_query ...'
|
763
|
+
end
|
764
|
+
# verify the required parameter 'order_query' is set
|
765
|
+
if @api_client.config.client_side_validation && order_query.nil?
|
766
|
+
fail ArgumentError, "Missing the required parameter 'order_query' when calling OrderApi.get_orders_by_query"
|
767
|
+
end
|
768
|
+
# resource path
|
769
|
+
local_var_path = '/order/orders/query'
|
770
|
+
|
771
|
+
# query parameters
|
772
|
+
query_params = {}
|
773
|
+
query_params[:'_limit'] = opts[:'_limit'] if !opts[:'_limit'].nil?
|
774
|
+
query_params[:'_offset'] = opts[:'_offset'] if !opts[:'_offset'].nil?
|
775
|
+
query_params[:'_sort'] = opts[:'_sort'] if !opts[:'_sort'].nil?
|
776
|
+
query_params[:'_expand'] = opts[:'_expand'] if !opts[:'_expand'].nil?
|
777
|
+
|
778
|
+
# header parameters
|
779
|
+
header_params = {}
|
780
|
+
header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
|
781
|
+
# HTTP header 'Accept' (if needed)
|
782
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
783
|
+
# HTTP header 'Content-Type'
|
784
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
785
|
+
|
786
|
+
# form parameters
|
787
|
+
form_params = {}
|
788
|
+
|
789
|
+
# http body (model)
|
790
|
+
post_body = @api_client.object_to_http_body(order_query)
|
791
|
+
auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
792
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
793
|
+
:header_params => header_params,
|
794
|
+
:query_params => query_params,
|
795
|
+
:form_params => form_params,
|
796
|
+
:body => post_body,
|
797
|
+
:auth_names => auth_names,
|
798
|
+
:return_type => 'OrdersResponse')
|
799
|
+
if @api_client.config.debugging
|
800
|
+
@api_client.config.logger.debug "API called: OrderApi#get_orders_by_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
801
|
+
end
|
802
|
+
return data, status_code, headers
|
803
|
+
end
|
804
|
+
# Insert an order
|
805
|
+
# 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.
|
806
|
+
# @param order Order to insert
|
807
|
+
# @param [Hash] opts the optional parameters
|
808
|
+
# @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
|
809
|
+
# @return [OrderResponse]
|
810
|
+
def insert_order(order, opts = {})
|
811
|
+
data, _status_code, _headers = insert_order_with_http_info(order, opts)
|
812
|
+
data
|
813
|
+
end
|
814
|
+
|
815
|
+
# Insert an order
|
816
|
+
# 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.
|
817
|
+
# @param order Order to insert
|
818
|
+
# @param [Hash] opts the optional parameters
|
819
|
+
# @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
|
820
|
+
# @return [Array<(OrderResponse, Fixnum, Hash)>] OrderResponse data, response status code and response headers
|
821
|
+
def insert_order_with_http_info(order, opts = {})
|
822
|
+
if @api_client.config.debugging
|
823
|
+
@api_client.config.logger.debug 'Calling API: OrderApi.insert_order ...'
|
824
|
+
end
|
825
|
+
# verify the required parameter 'order' is set
|
826
|
+
if @api_client.config.client_side_validation && order.nil?
|
827
|
+
fail ArgumentError, "Missing the required parameter 'order' when calling OrderApi.insert_order"
|
828
|
+
end
|
829
|
+
# resource path
|
830
|
+
local_var_path = '/order/orders'
|
831
|
+
|
832
|
+
# query parameters
|
833
|
+
query_params = {}
|
834
|
+
query_params[:'_expand'] = opts[:'_expand'] if !opts[:'_expand'].nil?
|
835
|
+
|
836
|
+
# header parameters
|
837
|
+
header_params = {}
|
838
|
+
header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
|
839
|
+
# HTTP header 'Accept' (if needed)
|
840
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
841
|
+
# HTTP header 'Content-Type'
|
842
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json; charset=UTF-8'])
|
843
|
+
|
844
|
+
# form parameters
|
845
|
+
form_params = {}
|
846
|
+
|
847
|
+
# http body (model)
|
848
|
+
post_body = @api_client.object_to_http_body(order)
|
849
|
+
auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
850
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
851
|
+
:header_params => header_params,
|
852
|
+
:query_params => query_params,
|
853
|
+
:form_params => form_params,
|
854
|
+
:body => post_body,
|
855
|
+
:auth_names => auth_names,
|
856
|
+
:return_type => 'OrderResponse')
|
857
|
+
if @api_client.config.debugging
|
858
|
+
@api_client.config.logger.debug "API called: OrderApi#insert_order\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
859
|
+
end
|
860
|
+
return data, status_code, headers
|
861
|
+
end
|
862
|
+
# Process payment
|
863
|
+
# Process payment on order
|
864
|
+
# @param order_id The order id to process payment on
|
865
|
+
# @param process_payment_request Process payment parameters
|
866
|
+
# @param [Hash] opts the optional parameters
|
867
|
+
# @return [OrderProcessPaymentResponse]
|
868
|
+
def process_payment(order_id, process_payment_request, opts = {})
|
869
|
+
data, _status_code, _headers = process_payment_with_http_info(order_id, process_payment_request, opts)
|
870
|
+
data
|
871
|
+
end
|
872
|
+
|
873
|
+
# Process payment
|
874
|
+
# Process payment on order
|
875
|
+
# @param order_id The order id to process payment on
|
876
|
+
# @param process_payment_request Process payment parameters
|
877
|
+
# @param [Hash] opts the optional parameters
|
878
|
+
# @return [Array<(OrderProcessPaymentResponse, Fixnum, Hash)>] OrderProcessPaymentResponse data, response status code and response headers
|
879
|
+
def process_payment_with_http_info(order_id, process_payment_request, opts = {})
|
880
|
+
if @api_client.config.debugging
|
881
|
+
@api_client.config.logger.debug 'Calling API: OrderApi.process_payment ...'
|
882
|
+
end
|
883
|
+
# verify the required parameter 'order_id' is set
|
884
|
+
if @api_client.config.client_side_validation && order_id.nil?
|
885
|
+
fail ArgumentError, "Missing the required parameter 'order_id' when calling OrderApi.process_payment"
|
886
|
+
end
|
887
|
+
# verify the required parameter 'process_payment_request' is set
|
888
|
+
if @api_client.config.client_side_validation && process_payment_request.nil?
|
889
|
+
fail ArgumentError, "Missing the required parameter 'process_payment_request' when calling OrderApi.process_payment"
|
890
|
+
end
|
891
|
+
# resource path
|
892
|
+
local_var_path = '/order/orders/{order_id}/process_payment'.sub('{' + 'order_id' + '}', order_id.to_s)
|
893
|
+
|
894
|
+
# query parameters
|
895
|
+
query_params = {}
|
896
|
+
|
897
|
+
# header parameters
|
898
|
+
header_params = {}
|
899
|
+
header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
|
900
|
+
# HTTP header 'Accept' (if needed)
|
901
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
902
|
+
# HTTP header 'Content-Type'
|
903
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
904
|
+
|
905
|
+
# form parameters
|
906
|
+
form_params = {}
|
907
|
+
|
908
|
+
# http body (model)
|
909
|
+
post_body = @api_client.object_to_http_body(process_payment_request)
|
910
|
+
auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
911
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
912
|
+
:header_params => header_params,
|
913
|
+
:query_params => query_params,
|
914
|
+
:form_params => form_params,
|
915
|
+
:body => post_body,
|
916
|
+
:auth_names => auth_names,
|
917
|
+
:return_type => 'OrderProcessPaymentResponse')
|
918
|
+
if @api_client.config.debugging
|
919
|
+
@api_client.config.logger.debug "API called: OrderApi#process_payment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
920
|
+
end
|
921
|
+
return data, status_code, headers
|
922
|
+
end
|
923
|
+
# Refund an order
|
924
|
+
# Perform a refund operation on an order and then update the order if successful
|
925
|
+
# @param order Order to refund
|
926
|
+
# @param order_id The order id to refund.
|
927
|
+
# @param [Hash] opts the optional parameters
|
928
|
+
# @option opts [BOOLEAN] :reject_after_refund Reject order after refund (default to false)
|
929
|
+
# @option opts [BOOLEAN] :skip_customer_notification Skip customer email notification (default to false)
|
930
|
+
# @option opts [BOOLEAN] :auto_order_cancel Cancel associated auto orders (default to false)
|
931
|
+
# @option opts [BOOLEAN] :manual_refund Consider a manual refund done externally (default to false)
|
932
|
+
# @option opts [BOOLEAN] :reverse_affiliate_transactions Reverse affiliate transactions (default to true)
|
933
|
+
# @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
|
934
|
+
# @return [OrderResponse]
|
935
|
+
def refund_order(order, order_id, opts = {})
|
936
|
+
data, _status_code, _headers = refund_order_with_http_info(order, order_id, opts)
|
937
|
+
data
|
938
|
+
end
|
939
|
+
|
940
|
+
# Refund an order
|
941
|
+
# Perform a refund operation on an order and then update the order if successful
|
942
|
+
# @param order Order to refund
|
943
|
+
# @param order_id The order id to refund.
|
944
|
+
# @param [Hash] opts the optional parameters
|
945
|
+
# @option opts [BOOLEAN] :reject_after_refund Reject order after refund
|
946
|
+
# @option opts [BOOLEAN] :skip_customer_notification Skip customer email notification
|
947
|
+
# @option opts [BOOLEAN] :auto_order_cancel Cancel associated auto orders
|
948
|
+
# @option opts [BOOLEAN] :manual_refund Consider a manual refund done externally
|
949
|
+
# @option opts [BOOLEAN] :reverse_affiliate_transactions Reverse affiliate transactions
|
950
|
+
# @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
|
951
|
+
# @return [Array<(OrderResponse, Fixnum, Hash)>] OrderResponse data, response status code and response headers
|
952
|
+
def refund_order_with_http_info(order, order_id, opts = {})
|
953
|
+
if @api_client.config.debugging
|
954
|
+
@api_client.config.logger.debug 'Calling API: OrderApi.refund_order ...'
|
955
|
+
end
|
956
|
+
# verify the required parameter 'order' is set
|
957
|
+
if @api_client.config.client_side_validation && order.nil?
|
958
|
+
fail ArgumentError, "Missing the required parameter 'order' when calling OrderApi.refund_order"
|
959
|
+
end
|
960
|
+
# verify the required parameter 'order_id' is set
|
961
|
+
if @api_client.config.client_side_validation && order_id.nil?
|
962
|
+
fail ArgumentError, "Missing the required parameter 'order_id' when calling OrderApi.refund_order"
|
963
|
+
end
|
964
|
+
# resource path
|
965
|
+
local_var_path = '/order/orders/{order_id}/refund'.sub('{' + 'order_id' + '}', order_id.to_s)
|
966
|
+
|
967
|
+
# query parameters
|
968
|
+
query_params = {}
|
969
|
+
query_params[:'reject_after_refund'] = opts[:'reject_after_refund'] if !opts[:'reject_after_refund'].nil?
|
970
|
+
query_params[:'skip_customer_notification'] = opts[:'skip_customer_notification'] if !opts[:'skip_customer_notification'].nil?
|
971
|
+
query_params[:'auto_order_cancel'] = opts[:'auto_order_cancel'] if !opts[:'auto_order_cancel'].nil?
|
972
|
+
query_params[:'manual_refund'] = opts[:'manual_refund'] if !opts[:'manual_refund'].nil?
|
973
|
+
query_params[:'reverse_affiliate_transactions'] = opts[:'reverse_affiliate_transactions'] if !opts[:'reverse_affiliate_transactions'].nil?
|
974
|
+
query_params[:'_expand'] = opts[:'_expand'] if !opts[:'_expand'].nil?
|
975
|
+
|
976
|
+
# header parameters
|
977
|
+
header_params = {}
|
978
|
+
header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
|
979
|
+
# HTTP header 'Accept' (if needed)
|
980
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
981
|
+
# HTTP header 'Content-Type'
|
982
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json; charset=UTF-8'])
|
983
|
+
|
984
|
+
# form parameters
|
985
|
+
form_params = {}
|
986
|
+
|
987
|
+
# http body (model)
|
988
|
+
post_body = @api_client.object_to_http_body(order)
|
989
|
+
auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
990
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
991
|
+
:header_params => header_params,
|
992
|
+
:query_params => query_params,
|
993
|
+
:form_params => form_params,
|
994
|
+
:body => post_body,
|
995
|
+
:auth_names => auth_names,
|
996
|
+
:return_type => 'OrderResponse')
|
997
|
+
if @api_client.config.debugging
|
998
|
+
@api_client.config.logger.debug "API called: OrderApi#refund_order\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
999
|
+
end
|
1000
|
+
return data, status_code, headers
|
1001
|
+
end
|
1002
|
+
# Replacement order
|
1003
|
+
# Create a replacement order based upon a previous order
|
1004
|
+
# @param order_id The order id to generate a replacement for.
|
1005
|
+
# @param replacement Replacement order details
|
1006
|
+
# @param [Hash] opts the optional parameters
|
1007
|
+
# @return [OrderReplacementResponse]
|
1008
|
+
def replacement(order_id, replacement, opts = {})
|
1009
|
+
data, _status_code, _headers = replacement_with_http_info(order_id, replacement, opts)
|
1010
|
+
data
|
1011
|
+
end
|
1012
|
+
|
1013
|
+
# Replacement order
|
1014
|
+
# Create a replacement order based upon a previous order
|
1015
|
+
# @param order_id The order id to generate a replacement for.
|
1016
|
+
# @param replacement Replacement order details
|
1017
|
+
# @param [Hash] opts the optional parameters
|
1018
|
+
# @return [Array<(OrderReplacementResponse, Fixnum, Hash)>] OrderReplacementResponse data, response status code and response headers
|
1019
|
+
def replacement_with_http_info(order_id, replacement, opts = {})
|
1020
|
+
if @api_client.config.debugging
|
1021
|
+
@api_client.config.logger.debug 'Calling API: OrderApi.replacement ...'
|
1022
|
+
end
|
1023
|
+
# verify the required parameter 'order_id' is set
|
1024
|
+
if @api_client.config.client_side_validation && order_id.nil?
|
1025
|
+
fail ArgumentError, "Missing the required parameter 'order_id' when calling OrderApi.replacement"
|
1026
|
+
end
|
1027
|
+
# verify the required parameter 'replacement' is set
|
1028
|
+
if @api_client.config.client_side_validation && replacement.nil?
|
1029
|
+
fail ArgumentError, "Missing the required parameter 'replacement' when calling OrderApi.replacement"
|
1030
|
+
end
|
1031
|
+
# resource path
|
1032
|
+
local_var_path = '/order/orders/{order_id}/replacement'.sub('{' + 'order_id' + '}', order_id.to_s)
|
1033
|
+
|
1034
|
+
# query parameters
|
1035
|
+
query_params = {}
|
1036
|
+
|
1037
|
+
# header parameters
|
1038
|
+
header_params = {}
|
1039
|
+
header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
|
1040
|
+
# HTTP header 'Accept' (if needed)
|
1041
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1042
|
+
# HTTP header 'Content-Type'
|
1043
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1044
|
+
|
1045
|
+
# form parameters
|
1046
|
+
form_params = {}
|
1047
|
+
|
1048
|
+
# http body (model)
|
1049
|
+
post_body = @api_client.object_to_http_body(replacement)
|
1050
|
+
auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
1051
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1052
|
+
:header_params => header_params,
|
1053
|
+
:query_params => query_params,
|
1054
|
+
:form_params => form_params,
|
1055
|
+
:body => post_body,
|
1056
|
+
:auth_names => auth_names,
|
1057
|
+
:return_type => 'OrderReplacementResponse')
|
1058
|
+
if @api_client.config.debugging
|
1059
|
+
@api_client.config.logger.debug "API called: OrderApi#replacement\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1060
|
+
end
|
1061
|
+
return data, status_code, headers
|
1062
|
+
end
|
1063
|
+
# Resend receipt
|
1064
|
+
# Resend the receipt for an order on the UltraCart account.
|
1065
|
+
# @param order_id The order id to resend the receipt for.
|
1066
|
+
# @param [Hash] opts the optional parameters
|
1067
|
+
# @return [BaseResponse]
|
1068
|
+
def resend_receipt(order_id, opts = {})
|
1069
|
+
data, _status_code, _headers = resend_receipt_with_http_info(order_id, opts)
|
1070
|
+
data
|
1071
|
+
end
|
1072
|
+
|
1073
|
+
# Resend receipt
|
1074
|
+
# Resend the receipt for an order on the UltraCart account.
|
1075
|
+
# @param order_id The order id to resend the receipt for.
|
1076
|
+
# @param [Hash] opts the optional parameters
|
1077
|
+
# @return [Array<(BaseResponse, Fixnum, Hash)>] BaseResponse data, response status code and response headers
|
1078
|
+
def resend_receipt_with_http_info(order_id, opts = {})
|
1079
|
+
if @api_client.config.debugging
|
1080
|
+
@api_client.config.logger.debug 'Calling API: OrderApi.resend_receipt ...'
|
1081
|
+
end
|
1082
|
+
# verify the required parameter 'order_id' is set
|
1083
|
+
if @api_client.config.client_side_validation && order_id.nil?
|
1084
|
+
fail ArgumentError, "Missing the required parameter 'order_id' when calling OrderApi.resend_receipt"
|
1085
|
+
end
|
1086
|
+
# resource path
|
1087
|
+
local_var_path = '/order/orders/{order_id}/resend_receipt'.sub('{' + 'order_id' + '}', order_id.to_s)
|
1088
|
+
|
1089
|
+
# query parameters
|
1090
|
+
query_params = {}
|
1091
|
+
|
1092
|
+
# header parameters
|
1093
|
+
header_params = {}
|
1094
|
+
header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
|
1095
|
+
# HTTP header 'Accept' (if needed)
|
1096
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1097
|
+
# HTTP header 'Content-Type'
|
1098
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1099
|
+
|
1100
|
+
# form parameters
|
1101
|
+
form_params = {}
|
1102
|
+
|
1103
|
+
# http body (model)
|
1104
|
+
post_body = nil
|
1105
|
+
auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
1106
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1107
|
+
:header_params => header_params,
|
1108
|
+
:query_params => query_params,
|
1109
|
+
:form_params => form_params,
|
1110
|
+
:body => post_body,
|
1111
|
+
:auth_names => auth_names,
|
1112
|
+
:return_type => 'BaseResponse')
|
1113
|
+
if @api_client.config.debugging
|
1114
|
+
@api_client.config.logger.debug "API called: OrderApi#resend_receipt\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1115
|
+
end
|
1116
|
+
return data, status_code, headers
|
1117
|
+
end
|
1118
|
+
# Resend shipment confirmation
|
1119
|
+
# Resend shipment confirmation for an order on the UltraCart account.
|
1120
|
+
# @param order_id The order id to resend the shipment notification for.
|
1121
|
+
# @param [Hash] opts the optional parameters
|
1122
|
+
# @return [BaseResponse]
|
1123
|
+
def resend_shipment_confirmation(order_id, opts = {})
|
1124
|
+
data, _status_code, _headers = resend_shipment_confirmation_with_http_info(order_id, opts)
|
1125
|
+
data
|
1126
|
+
end
|
1127
|
+
|
1128
|
+
# Resend shipment confirmation
|
1129
|
+
# Resend shipment confirmation for an order on the UltraCart account.
|
1130
|
+
# @param order_id The order id to resend the shipment notification for.
|
1131
|
+
# @param [Hash] opts the optional parameters
|
1132
|
+
# @return [Array<(BaseResponse, Fixnum, Hash)>] BaseResponse data, response status code and response headers
|
1133
|
+
def resend_shipment_confirmation_with_http_info(order_id, opts = {})
|
1134
|
+
if @api_client.config.debugging
|
1135
|
+
@api_client.config.logger.debug 'Calling API: OrderApi.resend_shipment_confirmation ...'
|
1136
|
+
end
|
1137
|
+
# verify the required parameter 'order_id' is set
|
1138
|
+
if @api_client.config.client_side_validation && order_id.nil?
|
1139
|
+
fail ArgumentError, "Missing the required parameter 'order_id' when calling OrderApi.resend_shipment_confirmation"
|
1140
|
+
end
|
1141
|
+
# resource path
|
1142
|
+
local_var_path = '/order/orders/{order_id}/resend_shipment_confirmation'.sub('{' + 'order_id' + '}', order_id.to_s)
|
1143
|
+
|
1144
|
+
# query parameters
|
1145
|
+
query_params = {}
|
1146
|
+
|
1147
|
+
# header parameters
|
1148
|
+
header_params = {}
|
1149
|
+
header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
|
1150
|
+
# HTTP header 'Accept' (if needed)
|
1151
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1152
|
+
# HTTP header 'Content-Type'
|
1153
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1154
|
+
|
1155
|
+
# form parameters
|
1156
|
+
form_params = {}
|
1157
|
+
|
1158
|
+
# http body (model)
|
1159
|
+
post_body = nil
|
1160
|
+
auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
1161
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1162
|
+
:header_params => header_params,
|
1163
|
+
:query_params => query_params,
|
1164
|
+
:form_params => form_params,
|
1165
|
+
:body => post_body,
|
1166
|
+
:auth_names => auth_names,
|
1167
|
+
:return_type => 'BaseResponse')
|
1168
|
+
if @api_client.config.debugging
|
1169
|
+
@api_client.config.logger.debug "API called: OrderApi#resend_shipment_confirmation\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1170
|
+
end
|
1171
|
+
return data, status_code, headers
|
1172
|
+
end
|
1173
|
+
# Update A/R Retry Configuration
|
1174
|
+
# Update A/R Retry Configuration. This is primarily an internal API call. It is doubtful you would ever need to use it.
|
1175
|
+
# @param retry_config AccountsReceivableRetryConfig object
|
1176
|
+
# @param [Hash] opts the optional parameters
|
1177
|
+
# @return [BaseResponse]
|
1178
|
+
def update_accounts_receivable_retry_config(retry_config, opts = {})
|
1179
|
+
data, _status_code, _headers = update_accounts_receivable_retry_config_with_http_info(retry_config, opts)
|
1180
|
+
data
|
1181
|
+
end
|
1182
|
+
|
1183
|
+
# Update A/R Retry Configuration
|
1184
|
+
# Update A/R Retry Configuration. This is primarily an internal API call. It is doubtful you would ever need to use it.
|
1185
|
+
# @param retry_config AccountsReceivableRetryConfig object
|
1186
|
+
# @param [Hash] opts the optional parameters
|
1187
|
+
# @return [Array<(BaseResponse, Fixnum, Hash)>] BaseResponse data, response status code and response headers
|
1188
|
+
def update_accounts_receivable_retry_config_with_http_info(retry_config, opts = {})
|
1189
|
+
if @api_client.config.debugging
|
1190
|
+
@api_client.config.logger.debug 'Calling API: OrderApi.update_accounts_receivable_retry_config ...'
|
1191
|
+
end
|
1192
|
+
# verify the required parameter 'retry_config' is set
|
1193
|
+
if @api_client.config.client_side_validation && retry_config.nil?
|
1194
|
+
fail ArgumentError, "Missing the required parameter 'retry_config' when calling OrderApi.update_accounts_receivable_retry_config"
|
1195
|
+
end
|
1196
|
+
# resource path
|
1197
|
+
local_var_path = '/order/accountsReceivableRetryConfig'
|
1198
|
+
|
1199
|
+
# query parameters
|
1200
|
+
query_params = {}
|
1201
|
+
|
1202
|
+
# header parameters
|
1203
|
+
header_params = {}
|
1204
|
+
header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
|
1205
|
+
# HTTP header 'Accept' (if needed)
|
1206
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1207
|
+
# HTTP header 'Content-Type'
|
1208
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1209
|
+
|
1210
|
+
# form parameters
|
1211
|
+
form_params = {}
|
1212
|
+
|
1213
|
+
# http body (model)
|
1214
|
+
post_body = @api_client.object_to_http_body(retry_config)
|
1215
|
+
auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
1216
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1217
|
+
:header_params => header_params,
|
1218
|
+
:query_params => query_params,
|
1219
|
+
:form_params => form_params,
|
1220
|
+
:body => post_body,
|
1221
|
+
:auth_names => auth_names,
|
1222
|
+
:return_type => 'BaseResponse')
|
1223
|
+
if @api_client.config.debugging
|
1224
|
+
@api_client.config.logger.debug "API called: OrderApi#update_accounts_receivable_retry_config\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1225
|
+
end
|
1226
|
+
return data, status_code, headers
|
1227
|
+
end
|
1228
|
+
# Update an order
|
1229
|
+
# 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.
|
1230
|
+
# @param order Order to update
|
1231
|
+
# @param order_id The order id to update.
|
1232
|
+
# @param [Hash] opts the optional parameters
|
1233
|
+
# @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
|
1234
|
+
# @return [OrderResponse]
|
1235
|
+
def update_order(order, order_id, opts = {})
|
1236
|
+
data, _status_code, _headers = update_order_with_http_info(order, order_id, opts)
|
1237
|
+
data
|
1238
|
+
end
|
1239
|
+
|
1240
|
+
# Update an order
|
1241
|
+
# 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.
|
1242
|
+
# @param order Order to update
|
1243
|
+
# @param order_id The order id to update.
|
1244
|
+
# @param [Hash] opts the optional parameters
|
1245
|
+
# @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
|
1246
|
+
# @return [Array<(OrderResponse, Fixnum, Hash)>] OrderResponse data, response status code and response headers
|
1247
|
+
def update_order_with_http_info(order, order_id, opts = {})
|
1248
|
+
if @api_client.config.debugging
|
1249
|
+
@api_client.config.logger.debug 'Calling API: OrderApi.update_order ...'
|
1250
|
+
end
|
1251
|
+
# verify the required parameter 'order' is set
|
1252
|
+
if @api_client.config.client_side_validation && order.nil?
|
1253
|
+
fail ArgumentError, "Missing the required parameter 'order' when calling OrderApi.update_order"
|
1254
|
+
end
|
1255
|
+
# verify the required parameter 'order_id' is set
|
1256
|
+
if @api_client.config.client_side_validation && order_id.nil?
|
1257
|
+
fail ArgumentError, "Missing the required parameter 'order_id' when calling OrderApi.update_order"
|
1258
|
+
end
|
1259
|
+
# resource path
|
1260
|
+
local_var_path = '/order/orders/{order_id}'.sub('{' + 'order_id' + '}', order_id.to_s)
|
1261
|
+
|
1262
|
+
# query parameters
|
1263
|
+
query_params = {}
|
1264
|
+
query_params[:'_expand'] = opts[:'_expand'] if !opts[:'_expand'].nil?
|
1265
|
+
|
1266
|
+
# header parameters
|
1267
|
+
header_params = {}
|
1268
|
+
header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
|
1269
|
+
# HTTP header 'Accept' (if needed)
|
1270
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1271
|
+
# HTTP header 'Content-Type'
|
1272
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json; charset=UTF-8'])
|
1273
|
+
|
1274
|
+
# form parameters
|
1275
|
+
form_params = {}
|
1276
|
+
|
1277
|
+
# http body (model)
|
1278
|
+
post_body = @api_client.object_to_http_body(order)
|
1279
|
+
auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
1280
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
1281
|
+
:header_params => header_params,
|
1282
|
+
:query_params => query_params,
|
1283
|
+
:form_params => form_params,
|
1284
|
+
:body => post_body,
|
1285
|
+
:auth_names => auth_names,
|
1286
|
+
:return_type => 'OrderResponse')
|
1287
|
+
if @api_client.config.debugging
|
1288
|
+
@api_client.config.logger.debug "API called: OrderApi#update_order\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1289
|
+
end
|
1290
|
+
return data, status_code, headers
|
1291
|
+
end
|
1292
|
+
end
|
1293
|
+
end
|