ultracart_api 3.10.14 → 4.0.32.rc
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +9 -7
- data/README.md +1206 -1217
- data/Rakefile +10 -8
- data/docs/AccountsReceivableRetryConfig.md +46 -22
- data/docs/AccountsReceivableRetryConfigResponse.md +32 -15
- data/docs/AccountsReceivableRetryDayActivity.md +22 -10
- data/docs/AccountsReceivableRetryStatAccount.md +24 -11
- data/docs/AccountsReceivableRetryStatMetrics.md +38 -18
- data/docs/AccountsReceivableRetryStatRevenue.md +20 -9
- data/docs/AccountsReceivableRetryStatsResponse.md +28 -13
- data/docs/Activity.md +28 -13
- data/docs/AddLibraryItemRequest.md +38 -18
- data/docs/AdjustInternalCertificateRequest.md +28 -13
- data/docs/AdjustInternalCertificateResponse.md +28 -13
- data/docs/AffiliateApi.md +173 -126
- data/docs/AffiliateClick.md +38 -18
- data/docs/AffiliateClickQuery.md +28 -13
- data/docs/AffiliateClicksResponse.md +26 -12
- data/docs/AffiliateLedger.md +54 -26
- data/docs/AffiliateLedgerQuery.md +28 -13
- data/docs/AffiliateLedgersResponse.md +26 -12
- data/docs/AffiliateLink.md +44 -21
- data/docs/ApiUserApplicationProfile.md +26 -12
- data/docs/ApplyLibraryItemRequest.md +24 -11
- data/docs/ApplyLibraryItemResponse.md +38 -18
- data/docs/AutoOrder.md +60 -29
- data/docs/AutoOrderApi.md +693 -502
- data/docs/AutoOrderItem.md +64 -31
- data/docs/AutoOrderItemFutureSchedule.md +24 -11
- data/docs/AutoOrderItemOption.md +20 -9
- data/docs/AutoOrderItemSimpleSchedule.md +22 -10
- data/docs/AutoOrderLog.md +20 -9
- data/docs/AutoOrderQuery.md +58 -28
- data/docs/AutoOrderQueryBatch.md +18 -8
- data/docs/AutoOrderResponse.md +26 -12
- data/docs/AutoOrdersRequest.md +18 -8
- data/docs/AutoOrdersResponse.md +26 -12
- data/docs/AvalaraConfig.md +42 -20
- data/docs/BaseResponse.md +24 -11
- data/docs/Browser.md +22 -10
- data/docs/BrowserDevice.md +18 -8
- data/docs/BrowserOS.md +26 -12
- data/docs/BrowserUserAgent.md +24 -11
- data/docs/Cart.md +68 -33
- data/docs/CartAffiliate.md +20 -9
- data/docs/CartAffirmCheckoutResponse.md +20 -9
- data/docs/CartBilling.md +46 -22
- data/docs/CartBuysafe.md +28 -13
- data/docs/CartCheckout.md +44 -21
- data/docs/CartCoupon.md +18 -8
- data/docs/CartCurrencyConversion.md +20 -9
- data/docs/CartCustomerProfile.md +60 -29
- data/docs/CartCustomerProfileAddress.md +44 -21
- data/docs/CartCustomerProfileCreditCard.md +28 -13
- data/docs/CartFinalizeOrderRequest.md +20 -9
- data/docs/CartFinalizeOrderRequestOptions.md +42 -20
- data/docs/CartFinalizeOrderResponse.md +26 -12
- data/docs/CartGift.md +28 -13
- data/docs/CartGiftCertificate.md +22 -10
- data/docs/CartItem.md +74 -36
- data/docs/CartItemAttribute.md +22 -10
- data/docs/CartItemMultimedia.md +34 -16
- data/docs/CartItemMultimediaThumbnail.md +26 -12
- data/docs/CartItemOption.md +40 -19
- data/docs/CartItemOptionValue.md +26 -12
- data/docs/CartItemPhysical.md +24 -11
- data/docs/CartItemVariationSelection.md +20 -9
- data/docs/CartKitComponentOption.md +44 -21
- data/docs/CartMarketing.md +20 -9
- data/docs/CartPayment.md +30 -14
- data/docs/CartPaymentAffirm.md +18 -8
- data/docs/CartPaymentAmazon.md +18 -8
- data/docs/CartPaymentCheck.md +18 -8
- data/docs/CartPaymentCreditCard.md +34 -16
- data/docs/CartPaymentPurchaseOrder.md +18 -8
- data/docs/CartProfileLoginRequest.md +22 -10
- data/docs/CartProfileLoginResponse.md +20 -9
- data/docs/CartProfileRegisterRequest.md +20 -9
- data/docs/CartProfileRegisterResponse.md +20 -9
- data/docs/CartProperty.md +24 -11
- data/docs/CartResponse.md +20 -9
- data/docs/CartSettings.md +28 -13
- data/docs/CartSettingsBilling.md +18 -8
- data/docs/CartSettingsGift.md +24 -11
- data/docs/CartSettingsGiftWrap.md +22 -10
- data/docs/CartSettingsPayment.md +42 -20
- data/docs/CartSettingsPaymentAmazon.md +22 -10
- data/docs/CartSettingsPaymentCreditCard.md +22 -10
- data/docs/CartSettingsPaymentPayPal.md +26 -12
- data/docs/CartSettingsProvince.md +20 -9
- data/docs/CartSettingsShipping.md +26 -12
- data/docs/CartSettingsShippingCalendar.md +26 -12
- data/docs/CartSettingsShippingEstimate.md +44 -21
- data/docs/CartSettingsTaxes.md +18 -8
- data/docs/CartSettingsTerms.md +20 -9
- data/docs/CartShipping.md +54 -26
- data/docs/CartSummary.md +48 -23
- data/docs/CartTaxes.md +22 -10
- data/docs/CartUpsellAfter.md +22 -10
- data/docs/CartValidationRequest.md +20 -9
- data/docs/CartValidationResponse.md +20 -9
- data/docs/ChannelPartnerApi.md +382 -212
- data/docs/ChannelPartnerCancelResponse.md +26 -12
- data/docs/ChannelPartnerEstimateShippingResponse.md +26 -12
- data/docs/ChannelPartnerEstimateTaxResponse.md +26 -0
- data/docs/ChannelPartnerImportResponse.md +30 -14
- data/docs/ChannelPartnerOrder.md +176 -87
- data/docs/ChannelPartnerOrderItem.md +30 -14
- data/docs/ChannelPartnerOrderItemOption.md +20 -9
- data/docs/ChannelPartnerOrderTransaction.md +20 -9
- data/docs/ChannelPartnerOrderTransactionDetail.md +20 -9
- data/docs/ChannelPartnerShippingEstimate.md +20 -9
- data/docs/ChargebackApi.md +420 -301
- data/docs/ChargebackDispute.md +62 -30
- data/docs/ChargebackDisputeResponse.md +26 -12
- data/docs/ChargebackDisputesResponse.md +26 -12
- data/docs/CheckoutAllowedCountriesResponse.md +18 -8
- data/docs/CheckoutApi.md +1566 -1023
- data/docs/CheckoutHandoffRequest.md +32 -15
- data/docs/CheckoutHandoffResponse.md +22 -10
- data/docs/CheckoutSetupBrowserKeyRequest.md +18 -8
- data/docs/CheckoutSetupBrowserKeyResponse.md +18 -8
- data/docs/CheckoutStateProvinceResponse.md +18 -8
- data/docs/CityStateZip.md +26 -12
- data/docs/CountriesResponse.md +18 -8
- data/docs/Country.md +20 -9
- data/docs/Coupon.md +136 -67
- data/docs/CouponAmountOffItems.md +24 -11
- data/docs/CouponAmountOffShipping.md +22 -10
- data/docs/CouponAmountOffShippingWithItemsPurchase.md +24 -11
- data/docs/CouponAmountOffSubtotal.md +20 -9
- data/docs/CouponAmountOffSubtotalAndShipping.md +20 -9
- data/docs/CouponAmountOffSubtotalFreeShippingWithPurchase.md +24 -11
- data/docs/CouponAmountOffSubtotalWithBlockPurchase.md +24 -11
- data/docs/CouponAmountOffSubtotalWithItemsPurchase.md +24 -11
- data/docs/CouponAmountOffSubtotalWithPurchase.md +22 -10
- data/docs/CouponAmountShippingWithSubtotal.md +24 -11
- data/docs/CouponApi.md +1500 -1043
- data/docs/CouponAutoApplyCondition.md +22 -10
- data/docs/CouponAutoApplyConditions.md +28 -13
- data/docs/CouponAutomaticallyApplyCouponCodes.md +18 -8
- data/docs/CouponBuyOneGetOneLimit.md +20 -9
- data/docs/CouponCodesRequest.md +30 -14
- data/docs/CouponCodesResponse.md +28 -13
- data/docs/CouponDeletesRequest.md +20 -9
- data/docs/CouponDiscountItemWithItemPurchase.md +26 -12
- data/docs/CouponDiscountItems.md +24 -11
- data/docs/CouponEditorValues.md +36 -17
- data/docs/CouponExistsResponse.md +28 -13
- data/docs/CouponFreeItemAndShippingWithSubtotal.md +26 -12
- data/docs/CouponFreeItemWithItemPurchase.md +24 -11
- data/docs/CouponFreeItemWithSubtotal.md +24 -11
- data/docs/CouponFreeItemsWithItemPurchase.md +26 -12
- data/docs/CouponFreeItemsWithMixMatchPurchase.md +26 -12
- data/docs/CouponFreeShipping.md +18 -8
- data/docs/CouponFreeShippingSpecificItems.md +18 -8
- data/docs/CouponFreeShippingWithItemsPurchase.md +20 -9
- data/docs/CouponFreeShippingWithSubtotal.md +22 -10
- data/docs/CouponItemSearchResult.md +32 -15
- data/docs/CouponItemSearchResultsResponse.md +26 -12
- data/docs/CouponMultipleAmountsOffItems.md +20 -9
- data/docs/CouponPercentOffItemWithItemsQuantityPurchase.md +26 -12
- data/docs/CouponPercentOffItems.md +24 -11
- data/docs/CouponPercentOffItemsAndFreeShipping.md +22 -10
- data/docs/CouponPercentOffItemsWithItemsPurchase.md +24 -11
- data/docs/CouponPercentOffMsrpItems.md +24 -11
- data/docs/CouponPercentOffRetailPriceItems.md +24 -11
- data/docs/CouponPercentOffShipping.md +20 -9
- data/docs/CouponPercentOffSubtotal.md +18 -8
- data/docs/CouponPercentOffSubtotalAndFreeShipping.md +20 -9
- data/docs/CouponPercentOffSubtotalLimit.md +22 -10
- data/docs/CouponPercentOffSubtotalWithItemsPurchase.md +20 -9
- data/docs/CouponPercentOffSubtotalWithSubtotal.md +22 -10
- data/docs/CouponQuery.md +36 -17
- data/docs/CouponResponse.md +28 -13
- data/docs/CouponRestriction.md +24 -11
- data/docs/CouponTierAmount.md +22 -10
- data/docs/CouponTierItemDiscount.md +20 -9
- data/docs/CouponTierPercent.md +22 -10
- data/docs/CouponTierQuantityAmount.md +22 -10
- data/docs/CouponTierQuantityPercent.md +22 -10
- data/docs/CouponTieredAmountOffItems.md +22 -10
- data/docs/CouponTieredAmountOffSubtotal.md +20 -9
- data/docs/CouponTieredPercentOffItems.md +22 -10
- data/docs/CouponTieredPercentOffShipping.md +22 -10
- data/docs/CouponTieredPercentOffSubtotal.md +20 -9
- data/docs/CouponType.md +20 -9
- data/docs/CouponsRequest.md +18 -8
- data/docs/CouponsResponse.md +26 -12
- data/docs/Currency.md +26 -12
- data/docs/Customer.md +134 -66
- data/docs/CustomerActivity.md +24 -11
- data/docs/CustomerAffiliate.md +24 -11
- data/docs/CustomerApi.md +1380 -966
- data/docs/CustomerAttachment.md +26 -12
- data/docs/CustomerBilling.md +50 -24
- data/docs/CustomerCard.md +32 -15
- data/docs/CustomerEditorValues.md +36 -17
- data/docs/CustomerEmail.md +28 -13
- data/docs/CustomerEmailListChanges.md +20 -9
- data/docs/CustomerLoyalty.md +30 -14
- data/docs/CustomerLoyaltyLedger.md +46 -22
- data/docs/CustomerLoyaltyRedemption.md +42 -20
- data/docs/CustomerOrdersSummary.md +24 -11
- data/docs/CustomerPricingTier.md +20 -9
- data/docs/CustomerPrivacy.md +24 -11
- data/docs/CustomerQuery.md +74 -36
- data/docs/CustomerQuotesSummary.md +24 -11
- data/docs/CustomerResponse.md +26 -12
- data/docs/CustomerReviewer.md +36 -17
- data/docs/CustomerShipping.md +50 -24
- data/docs/CustomerSoftwareEntitlement.md +32 -15
- data/docs/CustomerStoreCredit.md +28 -13
- data/docs/CustomerStoreCreditAddRequest.md +24 -11
- data/docs/CustomerStoreCreditLedgerEntry.md +30 -14
- data/docs/CustomerStoreCreditResponse.md +26 -12
- data/docs/CustomerTag.md +18 -8
- data/docs/CustomerTaxCodes.md +26 -12
- data/docs/CustomersResponse.md +26 -12
- data/docs/DataTablesServerSideResponse.md +24 -11
- data/docs/Distance.md +20 -9
- data/docs/DistributionCenter.md +86 -42
- data/docs/DistributionCentersResponse.md +26 -12
- data/docs/EmailBaseTemplateListResponse.md +18 -8
- data/docs/EmailCampaign.md +64 -31
- data/docs/EmailCampaignFolder.md +26 -12
- data/docs/EmailCampaignFolderResponse.md +26 -12
- data/docs/EmailCampaignFoldersResponse.md +26 -12
- data/docs/EmailCampaignResponse.md +26 -12
- data/docs/EmailCampaignsResponse.md +26 -12
- data/docs/EmailClick.md +20 -9
- data/docs/EmailClicksResponse.md +26 -12
- data/docs/EmailCommseq.md +24 -11
- data/docs/EmailCommseqEmail.md +68 -33
- data/docs/EmailCommseqEmailResponse.md +26 -12
- data/docs/EmailCommseqEmailSendTestRequest.md +36 -17
- data/docs/EmailCommseqEmailSendTestResponse.md +24 -11
- data/docs/EmailCommseqEmailsRequest.md +26 -12
- data/docs/EmailCommseqEmailsResponse.md +26 -12
- data/docs/EmailCommseqPostcard.md +42 -20
- data/docs/EmailCommseqPostcardResponse.md +26 -12
- data/docs/EmailCommseqPostcardSendTestRequest.md +42 -20
- data/docs/EmailCommseqPostcardSendTestResponse.md +30 -14
- data/docs/EmailCommseqPostcardsRequest.md +18 -8
- data/docs/EmailCommseqPostcardsResponse.md +26 -12
- data/docs/EmailCommseqResponse.md +26 -12
- data/docs/EmailCommseqStat.md +90 -44
- data/docs/EmailCommseqStatResponse.md +26 -12
- data/docs/EmailCommseqStep.md +36 -17
- data/docs/EmailCommseqStepLog.md +22 -10
- data/docs/EmailCommseqStepLogsResponse.md +26 -12
- data/docs/EmailCommseqWebhookSendTestRequest.md +30 -14
- data/docs/EmailCommseqWebhookSendTestResponse.md +30 -14
- data/docs/EmailCommseqsResponse.md +26 -12
- data/docs/EmailCustomer.md +32 -15
- data/docs/EmailCustomerEditorUrlResponse.md +26 -12
- data/docs/EmailCustomersResponse.md +26 -12
- data/docs/EmailDashboardActivity.md +30 -14
- data/docs/EmailDashboardActivityResponse.md +26 -12
- data/docs/EmailDashboardStatsResponse.md +26 -12
- data/docs/EmailDomain.md +42 -20
- data/docs/EmailEditorTokenResponse.md +26 -12
- data/docs/EmailFlow.md +72 -35
- data/docs/EmailFlowBackPopulateRequest.md +20 -9
- data/docs/EmailFlowBackPopulateResponse.md +24 -11
- data/docs/EmailFlowFolder.md +26 -12
- data/docs/EmailFlowFolderResponse.md +26 -12
- data/docs/EmailFlowFoldersResponse.md +26 -12
- data/docs/EmailFlowResponse.md +26 -12
- data/docs/EmailFlowsResponse.md +26 -12
- data/docs/EmailGlobalSettings.md +18 -8
- data/docs/EmailGlobalSettingsResponse.md +26 -12
- data/docs/EmailGlobalUnsubscribeRequest.md +18 -8
- data/docs/EmailGlobalUnsubscribeResponse.md +18 -8
- data/docs/EmailHistogramPropertyNamesResponse.md +18 -8
- data/docs/EmailHistogramPropertyValuesResponse.md +18 -8
- data/docs/EmailList.md +40 -19
- data/docs/EmailListArchiveResponse.md +26 -12
- data/docs/EmailListCustomer.md +24 -11
- data/docs/EmailListCustomersResponse.md +26 -12
- data/docs/EmailListResponse.md +26 -12
- data/docs/EmailListSegmentFolder.md +26 -12
- data/docs/EmailListSegmentFolderResponse.md +26 -12
- data/docs/EmailListSegmentFoldersResponse.md +26 -12
- data/docs/EmailListSegmentMembership.md +24 -11
- data/docs/EmailListSegmentUsedBy.md +22 -10
- data/docs/EmailListSubscribeResponse.md +20 -9
- data/docs/EmailListsResponse.md +26 -12
- data/docs/EmailOrder.md +24 -11
- data/docs/EmailOrdersResponse.md +26 -12
- data/docs/EmailPerformance.md +62 -30
- data/docs/EmailPerformanceCustomerHistogram.md +18 -8
- data/docs/EmailPerformanceCustomerHistogramPeriod.md +26 -12
- data/docs/EmailPerformanceDaily.md +30 -14
- data/docs/EmailPerformanceResponse.md +26 -12
- data/docs/EmailPlan.md +50 -24
- data/docs/EmailPlanAdditional.md +34 -16
- data/docs/EmailPlanResponse.md +26 -12
- data/docs/EmailPostcardStat.md +80 -39
- data/docs/EmailSegment.md +58 -28
- data/docs/EmailSegmentArchiveResponse.md +26 -12
- data/docs/EmailSegmentCustomer.md +24 -11
- data/docs/EmailSegmentCustomersResponse.md +26 -12
- data/docs/EmailSegmentDownloadPrepareResponse.md +32 -15
- data/docs/EmailSegmentResponse.md +26 -12
- data/docs/EmailSegmentsResponse.md +26 -12
- data/docs/EmailSendingDomainResponse.md +26 -12
- data/docs/EmailSendingDomainsResponse.md +26 -12
- data/docs/EmailSettings.md +40 -19
- data/docs/EmailSettingsResponse.md +26 -12
- data/docs/EmailStat.md +92 -45
- data/docs/EmailStatPostcardSummaryRequest.md +20 -9
- data/docs/EmailStatPostcardSummaryResponse.md +26 -12
- data/docs/EmailStatSummaryRequest.md +22 -10
- data/docs/EmailStatSummaryResponse.md +26 -12
- data/docs/EmailStepStat.md +56 -27
- data/docs/EmailStepStatRequest.md +20 -9
- data/docs/EmailStepStatResponse.md +26 -12
- data/docs/EmailStepWaitingRequest.md +18 -8
- data/docs/EmailStepWaitingResponse.md +18 -8
- data/docs/EmailTemplate.md +38 -18
- data/docs/EmailTemplatesResponse.md +26 -12
- data/docs/EmailThirdPartyList.md +20 -9
- data/docs/EmailThirdPartyListImportRequest.md +18 -8
- data/docs/EmailThirdPartyProvider.md +38 -18
- data/docs/EmailThirdPartyProvidersResponse.md +26 -12
- data/docs/EmailThirdPartyTag.md +20 -9
- data/docs/EmailVerifyTokenRequest.md +20 -9
- data/docs/EmailVerifyTokenResponse.md +26 -12
- data/docs/EmailVerifyTokenValidateRequest.md +18 -8
- data/docs/EmailVerifyTokenValidateResponse.md +24 -11
- data/docs/EmailWebhookEditorValuesResponse.md +30 -14
- data/docs/Error.md +26 -12
- data/docs/ErrorResponse.md +24 -11
- data/docs/Experiment.md +52 -25
- data/docs/ExperimentResponse.md +26 -12
- data/docs/ExperimentVariation.md +60 -29
- data/docs/ExperimentVariationStat.md +38 -18
- data/docs/ExperimentsResponse.md +26 -12
- data/docs/FulfillmentApi.md +459 -318
- data/docs/FulfillmentInventory.md +20 -9
- data/docs/FulfillmentShipment.md +26 -12
- data/docs/GeoPoint.md +20 -9
- data/docs/GeocodeRequest.md +26 -12
- data/docs/GeocodeResponse.md +28 -13
- data/docs/GiftCertificate.md +44 -21
- data/docs/GiftCertificateApi.md +622 -433
- data/docs/GiftCertificateCreateRequest.md +26 -12
- data/docs/GiftCertificateLedgerEntry.md +28 -13
- data/docs/GiftCertificateQuery.md +34 -16
- data/docs/GiftCertificateResponse.md +26 -12
- data/docs/GiftCertificatesResponse.md +26 -12
- data/docs/Group.md +26 -12
- data/docs/GroupResponse.md +26 -12
- data/docs/GroupUserMembership.md +26 -12
- data/docs/GroupsResponse.md +26 -12
- data/docs/HTTPHeader.md +20 -9
- data/docs/IntegrationLog.md +52 -25
- data/docs/IntegrationLogApi.md +400 -286
- data/docs/IntegrationLogFile.md +24 -11
- data/docs/IntegrationLogLog.md +20 -9
- data/docs/IntegrationLogQueryFilterValues.md +40 -19
- data/docs/IntegrationLogQueryRequest.md +42 -20
- data/docs/IntegrationLogQueryResponse.md +28 -13
- data/docs/IntegrationLogResponse.md +26 -12
- data/docs/IntegrationLogSummary.md +34 -16
- data/docs/IntegrationLogSummaryQueryRequest.md +20 -9
- data/docs/IntegrationLogSummaryQueryResponse.md +26 -12
- data/docs/Item.md +118 -58
- data/docs/ItemAccounting.md +20 -9
- data/docs/ItemAmember.md +20 -9
- data/docs/ItemApi.md +733 -517
- data/docs/ItemAutoOrder.md +50 -24
- data/docs/ItemAutoOrderStep.md +46 -22
- data/docs/ItemAutoOrderStepArbitraryUnitCostSchedule.md +20 -9
- data/docs/ItemAutoOrderStepGrandfatherPricing.md +20 -9
- data/docs/ItemCCBill.md +28 -13
- data/docs/ItemChannelPartnerMapping.md +54 -26
- data/docs/ItemChargeback.md +20 -9
- data/docs/ItemChargebackAddendum.md +24 -11
- data/docs/ItemChargebackAdjustmentRequest.md +22 -10
- data/docs/ItemCheckout.md +24 -11
- data/docs/ItemContent.md +42 -20
- data/docs/ItemContentAssignment.md +28 -13
- data/docs/ItemContentAttribute.md +24 -11
- data/docs/ItemContentMultimedia.md +46 -22
- data/docs/ItemContentMultimediaThumbnail.md +28 -13
- data/docs/ItemDigitalDelivery.md +28 -13
- data/docs/ItemDigitalItem.md +26 -12
- data/docs/ItemEbay.md +154 -76
- data/docs/ItemEbayCategorySpecific.md +20 -9
- data/docs/ItemEbayMarketListing.md +26 -12
- data/docs/ItemEbayMarketPlaceAnalysis.md +36 -17
- data/docs/ItemEmailNotifications.md +20 -9
- data/docs/ItemEnrollment123.md +18 -8
- data/docs/ItemFulfillmentAddon.md +24 -11
- data/docs/ItemGiftCertificate.md +20 -9
- data/docs/ItemGoogleProductSearch.md +112 -55
- data/docs/ItemIdentifiers.md +24 -11
- data/docs/ItemInstantPaymentNotification.md +22 -10
- data/docs/ItemInstantPaymentNotifications.md +18 -8
- data/docs/ItemInternal.md +18 -8
- data/docs/ItemKitComponent.md +26 -12
- data/docs/ItemKitDefinition.md +18 -8
- data/docs/ItemOption.md +44 -21
- data/docs/ItemOptionValue.md +46 -22
- data/docs/ItemOptionValueAdditionalItem.md +20 -9
- data/docs/ItemOptionValueDigitalItem.md +20 -9
- data/docs/ItemPaymentProcessing.md +26 -12
- data/docs/ItemPhysical.md +24 -11
- data/docs/ItemPricing.md +52 -25
- data/docs/ItemPricingTier.md +26 -12
- data/docs/ItemPricingTierDiscount.md +20 -9
- data/docs/ItemPricingTierLimit.md +22 -10
- data/docs/ItemProperty.md +22 -10
- data/docs/ItemRealtimePricing.md +22 -10
- data/docs/ItemRelated.md +22 -10
- data/docs/ItemRelatedItem.md +22 -10
- data/docs/ItemReporting.md +20 -9
- data/docs/ItemResponse.md +26 -12
- data/docs/ItemRestriction.md +32 -15
- data/docs/ItemRestrictionItem.md +22 -10
- data/docs/ItemRevguard.md +30 -14
- data/docs/ItemReviews.md +34 -16
- data/docs/ItemSalesforce.md +20 -9
- data/docs/ItemShipping.md +112 -55
- data/docs/ItemShippingCase.md +24 -11
- data/docs/ItemShippingDestinationMarkup.md +28 -13
- data/docs/ItemShippingDestinationRestriction.md +22 -10
- data/docs/ItemShippingDistributionCenter.md +44 -21
- data/docs/ItemShippingMethod.md +46 -22
- data/docs/ItemShippingPackageRequirement.md +20 -9
- data/docs/ItemTag.md +20 -9
- data/docs/ItemTags.md +18 -8
- data/docs/ItemTax.md +24 -11
- data/docs/ItemTaxExemption.md +26 -12
- data/docs/ItemThirdPartyEmailMarketing.md +26 -12
- data/docs/ItemVariantItem.md +28 -13
- data/docs/ItemVariation.md +26 -12
- data/docs/ItemVariationOption.md +24 -11
- data/docs/ItemWishlistMember.md +22 -10
- data/docs/ItemsRequest.md +18 -8
- data/docs/ItemsResponse.md +26 -12
- data/docs/KeyValue.md +22 -10
- data/docs/LibraryFilterValues.md +24 -11
- data/docs/LibraryFilterValuesResponse.md +26 -12
- data/docs/LibraryItem.md +96 -47
- data/docs/LibraryItemAccount.md +22 -10
- data/docs/LibraryItemAsset.md +20 -9
- data/docs/LibraryItemAttribute.md +20 -9
- data/docs/LibraryItemEmail.md +22 -10
- data/docs/LibraryItemPublishedMeta.md +32 -15
- data/docs/LibraryItemPurchasedMeta.md +22 -10
- data/docs/LibraryItemQuery.md +40 -19
- data/docs/LibraryItemResponse.md +26 -12
- data/docs/LibraryItemScreenshot.md +20 -9
- data/docs/LibraryItemsResponse.md +26 -12
- data/docs/LinkedAccount.md +22 -10
- data/docs/ListSegmentMembership.md +22 -10
- data/docs/LookupRequest.md +26 -12
- data/docs/LookupResponse.md +26 -12
- data/docs/Mailgun.md +18 -8
- data/docs/Metric.md +32 -15
- data/docs/Notification.md +38 -18
- data/docs/OauthApi.md +179 -124
- data/docs/OauthRevokeSuccessResponse.md +20 -9
- data/docs/OauthTokenResponse.md +32 -15
- data/docs/Order.md +84 -41
- data/docs/OrderAffiliate.md +22 -10
- data/docs/OrderAffiliateLedger.md +34 -16
- data/docs/OrderApi.md +1856 -1308
- data/docs/OrderAutoOrder.md +56 -27
- data/docs/OrderBilling.md +48 -23
- data/docs/OrderBuysafe.md +28 -13
- data/docs/OrderByTokenQuery.md +18 -8
- data/docs/OrderChannelPartner.md +38 -18
- data/docs/OrderCheckout.md +44 -21
- data/docs/OrderCoupon.md +26 -12
- data/docs/OrderDigitalItem.md +32 -15
- data/docs/OrderDigitalOrder.md +26 -12
- data/docs/OrderEdi.md +24 -11
- data/docs/OrderFormat.md +48 -23
- data/docs/OrderFormatResponse.md +20 -9
- data/docs/OrderFraudScore.md +56 -27
- data/docs/OrderGift.md +36 -17
- data/docs/OrderGiftCertificate.md +22 -10
- data/docs/OrderInternal.md +26 -12
- data/docs/OrderItem.md +128 -63
- data/docs/OrderItemEdi.md +20 -9
- data/docs/OrderItemEdiIdentification.md +20 -9
- data/docs/OrderItemEdiLot.md +22 -10
- data/docs/OrderItemOption.md +38 -18
- data/docs/OrderItemOptionFileAttachment.md +24 -11
- data/docs/OrderItemProperty.md +24 -11
- data/docs/OrderItemTag.md +18 -8
- data/docs/OrderLinkedShipment.md +26 -12
- data/docs/OrderMarketing.md +22 -10
- data/docs/OrderPackingSlipResponse.md +26 -12
- data/docs/OrderPayment.md +52 -25
- data/docs/OrderPaymentCheck.md +18 -8
- data/docs/OrderPaymentCreditCard.md +38 -18
- data/docs/OrderPaymentECheck.md +36 -17
- data/docs/OrderPaymentInsurance.md +24 -11
- data/docs/OrderPaymentPurchaseOrder.md +18 -8
- data/docs/OrderPaymentTransaction.md +24 -11
- data/docs/OrderPaymentTransactionDetail.md +22 -10
- data/docs/OrderProcessPaymentRequest.md +20 -9
- data/docs/OrderProcessPaymentResponse.md +26 -12
- data/docs/OrderProperty.md +24 -11
- data/docs/OrderQuery.md +94 -46
- data/docs/OrderQueryBatch.md +18 -8
- data/docs/OrderQuote.md +22 -10
- data/docs/OrderReplacement.md +46 -22
- data/docs/OrderReplacementItem.md +22 -10
- data/docs/OrderReplacementResponse.md +28 -13
- data/docs/OrderResponse.md +26 -12
- data/docs/OrderSalesforce.md +18 -8
- data/docs/OrderShipping.md +76 -37
- data/docs/OrderSummary.md +56 -27
- data/docs/OrderTag.md +18 -8
- data/docs/OrderTaxes.md +50 -24
- data/docs/OrderTokenResponse.md +26 -12
- data/docs/OrderTrackingNumberDetail.md +40 -19
- data/docs/OrderTrackingNumberDetails.md +52 -25
- data/docs/OrdersResponse.md +26 -12
- data/docs/Permission.md +22 -10
- data/docs/PricingTier.md +78 -38
- data/docs/PricingTierNotification.md +22 -10
- data/docs/PricingTiersResponse.md +26 -12
- data/docs/Property.md +20 -9
- data/docs/PublishLibraryItemRequest.md +18 -8
- data/docs/RegisterAffiliateClickRequest.md +28 -13
- data/docs/RegisterAffiliateClickResponse.md +24 -11
- data/docs/ResponseMetadata.md +20 -9
- data/docs/ResultSet.md +28 -13
- data/docs/ScreenRecording.md +116 -57
- data/docs/ScreenRecordingAdPlatform.md +30 -14
- data/docs/ScreenRecordingFilter.md +136 -67
- data/docs/ScreenRecordingFilterGeoDistance.md +26 -12
- data/docs/ScreenRecordingFilterIpSearch.md +24 -11
- data/docs/ScreenRecordingFilterPageView.md +50 -24
- data/docs/ScreenRecordingFilterPageViewEvent.md +20 -9
- data/docs/ScreenRecordingFilterPageViewEventParam.md +26 -12
- data/docs/ScreenRecordingFilterPageViewParam.md +20 -9
- data/docs/ScreenRecordingFilterPageViewReferrerParam.md +20 -9
- data/docs/ScreenRecordingFilterRangeBigDecimal.md +26 -12
- data/docs/ScreenRecordingFilterRangeDate.md +20 -9
- data/docs/ScreenRecordingFilterRangeInteger.md +26 -12
- data/docs/ScreenRecordingFilterStringSearch.md +26 -12
- data/docs/ScreenRecordingFilterValues.md +58 -28
- data/docs/ScreenRecordingFilterValuesEvent.md +20 -9
- data/docs/ScreenRecordingFilterValuesEventParams.md +26 -12
- data/docs/ScreenRecordingFilterValuesPageParam.md +20 -9
- data/docs/ScreenRecordingFilterValuesPageView.md +28 -13
- data/docs/ScreenRecordingHeatmap.md +64 -31
- data/docs/ScreenRecordingHeatmapIndexRequest.md +18 -8
- data/docs/ScreenRecordingHeatmapIndexResponse.md +26 -12
- data/docs/ScreenRecordingHeatmapRequest.md +22 -10
- data/docs/ScreenRecordingHeatmapReset.md +18 -8
- data/docs/ScreenRecordingHeatmapResponse.md +26 -12
- data/docs/ScreenRecordingHeatmapUrl.md +28 -13
- data/docs/ScreenRecordingMerchantNotesRequest.md +18 -8
- data/docs/ScreenRecordingMultifield.md +26 -12
- data/docs/ScreenRecordingPageView.md +54 -26
- data/docs/ScreenRecordingPageViewDataResponse.md +26 -12
- data/docs/ScreenRecordingPageViewEvent.md +28 -13
- data/docs/ScreenRecordingPageViewEventParameter.md +20 -9
- data/docs/ScreenRecordingPageViewParameter.md +20 -9
- data/docs/ScreenRecordingQueryRequest.md +18 -8
- data/docs/ScreenRecordingQueryResponse.md +38 -18
- data/docs/ScreenRecordingResponse.md +28 -13
- data/docs/ScreenRecordingSegment.md +36 -17
- data/docs/ScreenRecordingSegmentResponse.md +26 -12
- data/docs/ScreenRecordingSegmentsResponse.md +26 -12
- data/docs/ScreenRecordingSettings.md +32 -15
- data/docs/ScreenRecordingSettingsResponse.md +26 -12
- data/docs/ScreenRecordingStoreFront.md +20 -9
- data/docs/ScreenRecordingTagsRequest.md +18 -8
- data/docs/ScreenRecordingTagsResponse.md +26 -12
- data/docs/ScreenRecordingUserAgent.md +26 -12
- data/docs/ScreenRecordingUserAgentDevice.md +18 -8
- data/docs/ScreenRecordingUserAgentOS.md +22 -10
- data/docs/ScreenRecordingUserProperty.md +20 -9
- data/docs/ScreenshotsResponse.md +26 -12
- data/docs/SelfConfig.md +18 -8
- data/docs/SimpleValue.md +20 -9
- data/docs/SingleSignOnAuthorizeRequest.md +20 -9
- data/docs/SingleSignOnAuthorizeResponse.md +20 -9
- data/docs/SingleSignOnTokenRequest.md +20 -9
- data/docs/SingleSignOnTokenResponse.md +22 -10
- data/docs/SovosConfig.md +30 -14
- data/docs/SsoApi.md +300 -201
- data/docs/StateProvince.md +20 -9
- data/docs/StepWaiting.md +20 -9
- data/docs/StorefrontApi.md +13005 -8525
- data/docs/TaxApi.md +2101 -1421
- data/docs/TaxCity.md +34 -16
- data/docs/TaxCountry.md +34 -16
- data/docs/TaxCountryCode.md +26 -12
- data/docs/TaxCounty.md +36 -17
- data/docs/TaxJarConfig.md +30 -14
- data/docs/TaxPostalCode.md +30 -14
- data/docs/TaxProviderActivateResult.md +20 -9
- data/docs/TaxProviderAvalara.md +24 -11
- data/docs/TaxProviderAvalaraCompaniesResult.md +18 -8
- data/docs/TaxProviderAvalaraCompany.md +26 -12
- data/docs/TaxProviderSelf.md +26 -12
- data/docs/TaxProviderSelfCountriesResponse.md +18 -8
- data/docs/TaxProviderSelfRegionsResponse.md +18 -8
- data/docs/TaxProviderSovos.md +24 -11
- data/docs/TaxProviderTaxJar.md +24 -11
- data/docs/TaxProviderTestResult.md +20 -9
- data/docs/TaxProviderUltraCart.md +26 -12
- data/docs/TaxProviderUltraCartState.md +36 -17
- data/docs/TaxProvidersResponse.md +34 -16
- data/docs/TaxState.md +52 -25
- data/docs/TaxStateCode.md +26 -12
- data/docs/TempMultimedia.md +30 -14
- data/docs/TempMultimediaResponse.md +26 -12
- data/docs/ThumbnailParametersRequest.md +26 -12
- data/docs/ThumbnailParametersResponse.md +26 -12
- data/docs/TransactionEmail.md +56 -27
- data/docs/TransactionEmailListResponse.md +26 -12
- data/docs/TransactionEmailOption.md +32 -15
- data/docs/TransactionEmailResponse.md +26 -12
- data/docs/Twilio.md +24 -11
- data/docs/TwilioResponse.md +28 -13
- data/docs/TwiliosResponse.md +26 -12
- data/docs/UltraCartConfig.md +18 -8
- data/docs/UploadCouponCodesRequest.md +26 -12
- data/docs/UploadCouponCodesResponse.md +30 -14
- data/docs/User.md +44 -21
- data/docs/UserApi.md +823 -558
- data/docs/UserGroupMembership.md +22 -10
- data/docs/UserLogin.md +24 -11
- data/docs/UserLoginsResponse.md +26 -12
- data/docs/UserResponse.md +26 -12
- data/docs/UsersResponse.md +26 -12
- data/docs/VerificationRecord.md +22 -10
- data/docs/Warning.md +20 -9
- data/docs/Webhook.md +52 -25
- data/docs/WebhookApi.md +636 -447
- data/docs/WebhookEventCategory.md +26 -12
- data/docs/WebhookEventSubscription.md +34 -16
- data/docs/WebhookLog.md +38 -18
- data/docs/WebhookLogResponse.md +26 -12
- data/docs/WebhookLogSummariesResponse.md +26 -12
- data/docs/WebhookLogSummary.md +22 -10
- data/docs/WebhookResponse.md +26 -12
- data/docs/WebhookSampleRequest.md +24 -11
- data/docs/WebhookSampleRequestResponse.md +26 -12
- data/docs/WebhooksResponse.md +26 -12
- data/docs/Weight.md +20 -9
- data/git_push.sh +57 -55
- data/lib/ultracart_api/api/affiliate_api.rb +191 -164
- data/lib/ultracart_api/api/auto_order_api.rb +672 -581
- data/lib/ultracart_api/api/channel_partner_api.rb +370 -256
- data/lib/ultracart_api/api/chargeback_api.rb +410 -356
- data/lib/ultracart_api/api/checkout_api.rb +1341 -1111
- data/lib/ultracart_api/api/coupon_api.rb +1390 -1161
- data/lib/ultracart_api/api/customer_api.rb +1292 -1094
- data/lib/ultracart_api/api/fulfillment_api.rb +452 -381
- data/lib/ultracart_api/api/gift_certificate_api.rb +594 -502
- data/lib/ultracart_api/api/integration_log_api.rb +404 -350
- data/lib/ultracart_api/api/item_api.rb +686 -585
- data/lib/ultracart_api/api/oauth_api.rb +198 -171
- data/lib/ultracart_api/api/order_api.rb +1728 -1471
- data/lib/ultracart_api/api/sso_api.rb +289 -243
- data/lib/ultracart_api/api/storefront_api.rb +11407 -9617
- data/lib/ultracart_api/api/tax_api.rb +1916 -1580
- data/lib/ultracart_api/api/user_api.rb +755 -634
- data/lib/ultracart_api/api/webhook_api.rb +601 -514
- data/lib/ultracart_api/api_client.rb +399 -400
- data/lib/ultracart_api/api_error.rb +57 -38
- data/lib/ultracart_api/configuration.rb +302 -229
- data/lib/ultracart_api/models/accounts_receivable_retry_config.rb +364 -329
- data/lib/ultracart_api/models/accounts_receivable_retry_config_response.rb +287 -252
- data/lib/ultracart_api/models/accounts_receivable_retry_day_activity.rb +240 -205
- data/lib/ultracart_api/models/accounts_receivable_retry_stat_account.rb +250 -215
- data/lib/ultracart_api/models/accounts_receivable_retry_stat_metrics.rb +309 -274
- data/lib/ultracart_api/models/accounts_receivable_retry_stat_revenue.rb +228 -193
- data/lib/ultracart_api/models/accounts_receivable_retry_stats_response.rb +267 -232
- data/lib/ultracart_api/models/activity.rb +264 -229
- data/lib/ultracart_api/models/add_library_item_request.rb +324 -289
- data/lib/ultracart_api/models/adjust_internal_certificate_request.rb +270 -235
- data/lib/ultracart_api/models/adjust_internal_certificate_response.rb +267 -232
- data/lib/ultracart_api/models/affiliate_click.rb +319 -284
- data/lib/ultracart_api/models/affiliate_click_query.rb +270 -235
- data/lib/ultracart_api/models/affiliate_clicks_response.rb +259 -224
- data/lib/ultracart_api/models/affiliate_ledger.rb +431 -396
- data/lib/ultracart_api/models/affiliate_ledger_query.rb +270 -235
- data/lib/ultracart_api/models/affiliate_ledgers_response.rb +259 -224
- data/lib/ultracart_api/models/affiliate_link.rb +408 -373
- data/lib/ultracart_api/models/api_user_application_profile.rb +260 -225
- data/lib/ultracart_api/models/apply_library_item_request.rb +250 -215
- data/lib/ultracart_api/models/apply_library_item_response.rb +319 -284
- data/lib/ultracart_api/models/auto_order.rb +469 -434
- data/lib/ultracart_api/models/auto_order_item.rb +487 -452
- data/lib/ultracart_api/models/auto_order_item_future_schedule.rb +250 -215
- data/lib/ultracart_api/models/auto_order_item_option.rb +260 -225
- data/lib/ultracart_api/models/auto_order_item_simple_schedule.rb +274 -239
- data/lib/ultracart_api/models/auto_order_log.rb +230 -195
- data/lib/ultracart_api/models/auto_order_query.rb +480 -445
- data/lib/ultracart_api/models/auto_order_query_batch.rb +222 -187
- data/lib/ultracart_api/models/auto_order_response.rb +256 -221
- data/lib/ultracart_api/models/auto_orders_request.rb +222 -187
- data/lib/ultracart_api/models/auto_orders_response.rb +258 -223
- data/lib/ultracart_api/models/avalara_config.rb +340 -305
- data/lib/ultracart_api/models/base_response.rb +247 -212
- data/lib/ultracart_api/models/browser.rb +237 -202
- data/lib/ultracart_api/models/browser_device.rb +219 -184
- data/lib/ultracart_api/models/browser_os.rb +255 -220
- data/lib/ultracart_api/models/browser_user_agent.rb +246 -211
- data/lib/ultracart_api/models/cart.rb +506 -471
- data/lib/ultracart_api/models/cart_affiliate.rb +245 -210
- data/lib/ultracart_api/models/cart_affirm_checkout_response.rb +232 -197
- data/lib/ultracart_api/models/cart_billing.rb +572 -537
- data/lib/ultracart_api/models/cart_buysafe.rb +269 -234
- data/lib/ultracart_api/models/cart_checkout.rb +500 -465
- data/lib/ultracart_api/models/cart_coupon.rb +220 -185
- data/lib/ultracart_api/models/cart_currency_conversion.rb +232 -197
- data/lib/ultracart_api/models/cart_customer_profile.rb +438 -403
- data/lib/ultracart_api/models/cart_customer_profile_address.rb +350 -315
- data/lib/ultracart_api/models/cart_customer_profile_credit_card.rb +304 -269
- data/lib/ultracart_api/models/cart_finalize_order_request.rb +228 -193
- data/lib/ultracart_api/models/cart_finalize_order_request_options.rb +355 -320
- data/lib/ultracart_api/models/cart_finalize_order_response.rb +260 -225
- data/lib/ultracart_api/models/cart_gift.rb +313 -278
- data/lib/ultracart_api/models/cart_gift_certificate.rb +238 -203
- data/lib/ultracart_api/models/cart_item.rb +504 -469
- data/lib/ultracart_api/models/cart_item_attribute.rb +240 -205
- data/lib/ultracart_api/models/cart_item_multimedia.rb +336 -301
- data/lib/ultracart_api/models/cart_item_multimedia_thumbnail.rb +260 -225
- data/lib/ultracart_api/models/cart_item_option.rb +378 -343
- data/lib/ultracart_api/models/cart_item_option_value.rb +258 -223
- data/lib/ultracart_api/models/cart_item_physical.rb +246 -211
- data/lib/ultracart_api/models/cart_item_variation_selection.rb +230 -195
- data/lib/ultracart_api/models/cart_kit_component_option.rb +398 -363
- data/lib/ultracart_api/models/cart_marketing.rb +230 -195
- data/lib/ultracart_api/models/cart_payment.rb +275 -240
- data/lib/ultracart_api/models/cart_payment_affirm.rb +220 -185
- data/lib/ultracart_api/models/cart_payment_amazon.rb +220 -185
- data/lib/ultracart_api/models/cart_payment_check.rb +220 -185
- data/lib/ultracart_api/models/cart_payment_credit_card.rb +300 -265
- data/lib/ultracart_api/models/cart_payment_purchase_order.rb +220 -185
- data/lib/ultracart_api/models/cart_profile_login_request.rb +239 -204
- data/lib/ultracart_api/models/cart_profile_login_response.rb +231 -196
- data/lib/ultracart_api/models/cart_profile_register_request.rb +229 -194
- data/lib/ultracart_api/models/cart_profile_register_response.rb +231 -196
- data/lib/ultracart_api/models/cart_property.rb +280 -245
- data/lib/ultracart_api/models/cart_response.rb +231 -196
- data/lib/ultracart_api/models/cart_settings.rb +264 -229
- data/lib/ultracart_api/models/cart_settings_billing.rb +222 -187
- data/lib/ultracart_api/models/cart_settings_gift.rb +251 -216
- data/lib/ultracart_api/models/cart_settings_gift_wrap.rb +239 -204
- data/lib/ultracart_api/models/cart_settings_payment.rb +337 -302
- data/lib/ultracart_api/models/cart_settings_payment_amazon.rb +240 -205
- data/lib/ultracart_api/models/cart_settings_payment_credit_card.rb +242 -207
- data/lib/ultracart_api/models/cart_settings_payment_pay_pal.rb +260 -225
- data/lib/ultracart_api/models/cart_settings_province.rb +228 -193
- data/lib/ultracart_api/models/cart_settings_shipping.rb +262 -227
- data/lib/ultracart_api/models/cart_settings_shipping_calendar.rb +264 -229
- data/lib/ultracart_api/models/cart_settings_shipping_estimate.rb +345 -310
- data/lib/ultracart_api/models/cart_settings_taxes.rb +221 -186
- data/lib/ultracart_api/models/cart_settings_terms.rb +230 -195
- data/lib/ultracart_api/models/cart_shipping.rb +625 -590
- data/lib/ultracart_api/models/cart_summary.rb +354 -319
- data/lib/ultracart_api/models/cart_taxes.rb +255 -220
- data/lib/ultracart_api/models/cart_upsell_after.rb +255 -220
- data/lib/ultracart_api/models/cart_validation_request.rb +231 -196
- data/lib/ultracart_api/models/cart_validation_response.rb +231 -196
- data/lib/ultracart_api/models/channel_partner_cancel_response.rb +259 -224
- data/lib/ultracart_api/models/channel_partner_estimate_shipping_response.rb +259 -224
- data/lib/ultracart_api/models/{transaction_gateways_response.rb → channel_partner_estimate_tax_response.rb} +256 -223
- data/lib/ultracart_api/models/channel_partner_import_response.rb +281 -246
- data/lib/ultracart_api/models/channel_partner_order.rb +1604 -1569
- data/lib/ultracart_api/models/channel_partner_order_item.rb +331 -296
- data/lib/ultracart_api/models/channel_partner_order_item_option.rb +230 -195
- data/lib/ultracart_api/models/channel_partner_order_transaction.rb +232 -197
- data/lib/ultracart_api/models/channel_partner_order_transaction_detail.rb +230 -195
- data/lib/ultracart_api/models/channel_partner_shipping_estimate.rb +230 -195
- data/lib/ultracart_api/models/chargeback_dispute.rb +649 -614
- data/lib/ultracart_api/models/chargeback_dispute_response.rb +256 -221
- data/lib/ultracart_api/models/chargeback_disputes_response.rb +258 -223
- data/lib/ultracart_api/models/checkout_allowed_countries_response.rb +221 -186
- data/lib/ultracart_api/models/checkout_handoff_request.rb +323 -288
- data/lib/ultracart_api/models/checkout_handoff_response.rb +241 -206
- data/lib/ultracart_api/models/checkout_setup_browser_key_request.rb +222 -187
- data/lib/ultracart_api/models/checkout_setup_browser_key_response.rb +220 -185
- data/lib/ultracart_api/models/checkout_state_province_response.rb +221 -186
- data/lib/ultracart_api/models/city_state_zip.rb +255 -220
- data/lib/ultracart_api/models/countries_response.rb +221 -186
- data/lib/ultracart_api/models/country.rb +260 -225
- data/lib/ultracart_api/models/coupon.rb +864 -829
- data/lib/ultracart_api/models/coupon_amount_off_items.rb +267 -232
- data/lib/ultracart_api/models/coupon_amount_off_shipping.rb +257 -222
- data/lib/ultracart_api/models/coupon_amount_off_shipping_with_items_purchase.rb +269 -234
- data/lib/ultracart_api/models/coupon_amount_off_subtotal.rb +245 -210
- data/lib/ultracart_api/models/coupon_amount_off_subtotal_and_shipping.rb +245 -210
- data/lib/ultracart_api/models/coupon_amount_off_subtotal_free_shipping_with_purchase.rb +267 -232
- data/lib/ultracart_api/models/coupon_amount_off_subtotal_with_block_purchase.rb +265 -230
- data/lib/ultracart_api/models/coupon_amount_off_subtotal_with_items_purchase.rb +267 -232
- data/lib/ultracart_api/models/coupon_amount_off_subtotal_with_purchase.rb +255 -220
- data/lib/ultracart_api/models/coupon_amount_shipping_with_subtotal.rb +267 -232
- data/lib/ultracart_api/models/coupon_auto_apply_condition.rb +239 -204
- data/lib/ultracart_api/models/coupon_auto_apply_conditions.rb +269 -234
- data/lib/ultracart_api/models/coupon_automatically_apply_coupon_codes.rb +222 -187
- data/lib/ultracart_api/models/coupon_buy_one_get_one_limit.rb +232 -197
- data/lib/ultracart_api/models/coupon_codes_request.rb +277 -242
- data/lib/ultracart_api/models/coupon_codes_response.rb +269 -234
- data/lib/ultracart_api/models/coupon_deletes_request.rb +234 -199
- data/lib/ultracart_api/models/coupon_discount_item_with_item_purchase.rb +275 -240
- data/lib/ultracart_api/models/coupon_discount_items.rb +267 -232
- data/lib/ultracart_api/models/coupon_editor_values.rb +330 -295
- data/lib/ultracart_api/models/coupon_exists_response.rb +267 -232
- data/lib/ultracart_api/models/coupon_free_item_and_shipping_with_subtotal.rb +279 -244
- data/lib/ultracart_api/models/coupon_free_item_with_item_purchase.rb +254 -219
- data/lib/ultracart_api/models/coupon_free_item_with_subtotal.rb +267 -232
- data/lib/ultracart_api/models/coupon_free_items_with_item_purchase.rb +260 -225
- data/lib/ultracart_api/models/coupon_free_items_with_mix_match_purchase.rb +260 -225
- data/lib/ultracart_api/models/coupon_free_shipping.rb +222 -187
- data/lib/ultracart_api/models/coupon_free_shipping_specific_items.rb +222 -187
- data/lib/ultracart_api/models/coupon_free_shipping_with_items_purchase.rb +234 -199
- data/lib/ultracart_api/models/coupon_free_shipping_with_subtotal.rb +257 -222
- data/lib/ultracart_api/models/coupon_item_search_result.rb +290 -255
- data/lib/ultracart_api/models/coupon_item_search_results_response.rb +259 -224
- data/lib/ultracart_api/models/coupon_multiple_amounts_off_items.rb +232 -197
- data/lib/ultracart_api/models/coupon_percent_off_item_with_items_quantity_purchase.rb +264 -229
- data/lib/ultracart_api/models/coupon_percent_off_items.rb +254 -219
- data/lib/ultracart_api/models/coupon_percent_off_items_and_free_shipping.rb +244 -209
- data/lib/ultracart_api/models/coupon_percent_off_items_with_items_purchase.rb +254 -219
- data/lib/ultracart_api/models/coupon_percent_off_msrp_items.rb +254 -219
- data/lib/ultracart_api/models/coupon_percent_off_retail_price_items.rb +254 -219
- data/lib/ultracart_api/models/coupon_percent_off_shipping.rb +232 -197
- data/lib/ultracart_api/models/coupon_percent_off_subtotal.rb +220 -185
- data/lib/ultracart_api/models/coupon_percent_off_subtotal_and_free_shipping.rb +232 -197
- data/lib/ultracart_api/models/coupon_percent_off_subtotal_limit.rb +255 -220
- data/lib/ultracart_api/models/coupon_percent_off_subtotal_with_items_purchase.rb +232 -197
- data/lib/ultracart_api/models/coupon_percent_off_subtotal_with_subtotal.rb +255 -220
- data/lib/ultracart_api/models/coupon_query.rb +310 -275
- data/lib/ultracart_api/models/coupon_response.rb +268 -233
- data/lib/ultracart_api/models/coupon_restriction.rb +246 -211
- data/lib/ultracart_api/models/coupon_tier_amount.rb +255 -220
- data/lib/ultracart_api/models/coupon_tier_item_discount.rb +232 -197
- data/lib/ultracart_api/models/coupon_tier_percent.rb +255 -220
- data/lib/ultracart_api/models/coupon_tier_quantity_amount.rb +255 -220
- data/lib/ultracart_api/models/coupon_tier_quantity_percent.rb +255 -220
- data/lib/ultracart_api/models/coupon_tiered_amount_off_items.rb +244 -209
- data/lib/ultracart_api/models/coupon_tiered_amount_off_subtotal.rb +234 -199
- data/lib/ultracart_api/models/coupon_tiered_percent_off_items.rb +244 -209
- data/lib/ultracart_api/models/coupon_tiered_percent_off_shipping.rb +259 -224
- data/lib/ultracart_api/models/coupon_tiered_percent_off_subtotal.rb +234 -199
- data/lib/ultracart_api/models/coupon_type.rb +230 -195
- data/lib/ultracart_api/models/coupons_request.rb +222 -187
- data/lib/ultracart_api/models/coupons_response.rb +258 -223
- data/lib/ultracart_api/models/currency.rb +260 -225
- data/lib/ultracart_api/models/customer.rb +978 -943
- data/lib/ultracart_api/models/customer_activity.rb +254 -219
- data/lib/ultracart_api/models/customer_affiliate.rb +250 -215
- data/lib/ultracart_api/models/customer_attachment.rb +260 -225
- data/lib/ultracart_api/models/customer_billing.rb +575 -540
- data/lib/ultracart_api/models/customer_card.rb +290 -255
- data/lib/ultracart_api/models/customer_editor_values.rb +328 -293
- data/lib/ultracart_api/models/customer_email.rb +300 -265
- data/lib/ultracart_api/models/customer_email_list_changes.rb +234 -199
- data/lib/ultracart_api/models/customer_loyalty.rb +283 -248
- data/lib/ultracart_api/models/customer_loyalty_ledger.rb +360 -325
- data/lib/ultracart_api/models/customer_loyalty_redemption.rb +340 -305
- data/lib/ultracart_api/models/customer_orders_summary.rb +250 -215
- data/lib/ultracart_api/models/customer_pricing_tier.rb +245 -210
- data/lib/ultracart_api/models/customer_privacy.rb +250 -215
- data/lib/ultracart_api/models/customer_query.rb +789 -754
- data/lib/ultracart_api/models/customer_quotes_summary.rb +250 -215
- data/lib/ultracart_api/models/customer_response.rb +256 -221
- data/lib/ultracart_api/models/customer_reviewer.rb +310 -275
- data/lib/ultracart_api/models/customer_shipping.rb +575 -540
- data/lib/ultracart_api/models/customer_software_entitlement.rb +365 -330
- data/lib/ultracart_api/models/customer_store_credit.rb +274 -239
- data/lib/ultracart_api/models/customer_store_credit_add_request.rb +250 -215
- data/lib/ultracart_api/models/customer_store_credit_ledger_entry.rb +295 -260
- data/lib/ultracart_api/models/customer_store_credit_response.rb +256 -221
- data/lib/ultracart_api/models/customer_tag.rb +235 -200
- data/lib/ultracart_api/models/customer_tax_codes.rb +260 -225
- data/lib/ultracart_api/models/customers_response.rb +258 -223
- data/lib/ultracart_api/models/data_tables_server_side_response.rb +248 -213
- data/lib/ultracart_api/models/distance.rb +264 -229
- data/lib/ultracart_api/models/distribution_center.rb +559 -524
- data/lib/ultracart_api/models/distribution_centers_response.rb +258 -223
- data/lib/ultracart_api/models/email_base_template_list_response.rb +221 -186
- data/lib/ultracart_api/models/email_campaign.rb +467 -432
- data/lib/ultracart_api/models/email_campaign_folder.rb +275 -240
- data/lib/ultracart_api/models/email_campaign_folder_response.rb +256 -221
- data/lib/ultracart_api/models/email_campaign_folders_response.rb +258 -223
- data/lib/ultracart_api/models/email_campaign_response.rb +256 -221
- data/lib/ultracart_api/models/email_campaigns_response.rb +258 -223
- data/lib/ultracart_api/models/email_click.rb +230 -195
- data/lib/ultracart_api/models/email_clicks_response.rb +258 -223
- data/lib/ultracart_api/models/email_commseq.rb +252 -217
- data/lib/ultracart_api/models/email_commseq_email.rb +470 -435
- data/lib/ultracart_api/models/email_commseq_email_response.rb +256 -221
- data/lib/ultracart_api/models/email_commseq_email_send_test_request.rb +304 -269
- data/lib/ultracart_api/models/email_commseq_email_send_test_response.rb +247 -212
- data/lib/ultracart_api/models/email_commseq_emails_request.rb +258 -223
- data/lib/ultracart_api/models/email_commseq_emails_response.rb +258 -223
- data/lib/ultracart_api/models/email_commseq_postcard.rb +340 -305
- data/lib/ultracart_api/models/email_commseq_postcard_response.rb +256 -221
- data/lib/ultracart_api/models/email_commseq_postcard_send_test_request.rb +329 -294
- data/lib/ultracart_api/models/email_commseq_postcard_send_test_response.rb +274 -239
- data/lib/ultracart_api/models/email_commseq_postcards_request.rb +221 -186
- data/lib/ultracart_api/models/email_commseq_postcards_response.rb +258 -223
- data/lib/ultracart_api/models/email_commseq_response.rb +256 -221
- data/lib/ultracart_api/models/email_commseq_stat.rb +580 -545
- data/lib/ultracart_api/models/email_commseq_stat_response.rb +256 -221
- data/lib/ultracart_api/models/email_commseq_step.rb +348 -313
- data/lib/ultracart_api/models/email_commseq_step_log.rb +240 -205
- data/lib/ultracart_api/models/email_commseq_step_logs_response.rb +258 -223
- data/lib/ultracart_api/models/email_commseq_webhook_send_test_request.rb +275 -240
- data/lib/ultracart_api/models/email_commseq_webhook_send_test_response.rb +277 -242
- data/lib/ultracart_api/models/email_commseqs_response.rb +258 -223
- data/lib/ultracart_api/models/email_customer.rb +292 -257
- data/lib/ultracart_api/models/email_customer_editor_url_response.rb +256 -221
- data/lib/ultracart_api/models/email_customers_response.rb +262 -227
- data/lib/ultracart_api/models/email_dashboard_activity.rb +280 -245
- data/lib/ultracart_api/models/email_dashboard_activity_response.rb +258 -223
- data/lib/ultracart_api/models/email_dashboard_stats_response.rb +258 -223
- data/lib/ultracart_api/models/email_domain.rb +329 -294
- data/lib/ultracart_api/models/email_editor_token_response.rb +256 -221
- data/lib/ultracart_api/models/email_flow.rb +505 -470
- data/lib/ultracart_api/models/email_flow_back_populate_request.rb +230 -195
- data/lib/ultracart_api/models/email_flow_back_populate_response.rb +247 -212
- data/lib/ultracart_api/models/email_flow_folder.rb +275 -240
- data/lib/ultracart_api/models/email_flow_folder_response.rb +256 -221
- data/lib/ultracart_api/models/email_flow_folders_response.rb +258 -223
- data/lib/ultracart_api/models/email_flow_response.rb +256 -221
- data/lib/ultracart_api/models/email_flows_response.rb +258 -223
- data/lib/ultracart_api/models/email_global_settings.rb +219 -184
- data/lib/ultracart_api/models/email_global_settings_response.rb +256 -221
- data/lib/ultracart_api/models/email_global_unsubscribe_request.rb +219 -184
- data/lib/ultracart_api/models/email_global_unsubscribe_response.rb +219 -184
- data/lib/ultracart_api/models/email_histogram_property_names_response.rb +221 -186
- data/lib/ultracart_api/models/email_histogram_property_values_response.rb +221 -186
- data/lib/ultracart_api/models/email_list.rb +347 -312
- data/lib/ultracart_api/models/email_list_archive_response.rb +256 -221
- data/lib/ultracart_api/models/email_list_customer.rb +250 -215
- data/lib/ultracart_api/models/email_list_customers_response.rb +262 -227
- data/lib/ultracart_api/models/email_list_response.rb +256 -221
- data/lib/ultracart_api/models/email_list_segment_folder.rb +275 -240
- data/lib/ultracart_api/models/email_list_segment_folder_response.rb +256 -221
- data/lib/ultracart_api/models/email_list_segment_folders_response.rb +258 -223
- data/lib/ultracart_api/models/email_list_segment_membership.rb +250 -215
- data/lib/ultracart_api/models/email_list_segment_used_by.rb +240 -205
- data/lib/ultracart_api/models/email_list_subscribe_response.rb +228 -193
- data/lib/ultracart_api/models/email_lists_response.rb +258 -223
- data/lib/ultracart_api/models/email_order.rb +249 -214
- data/lib/ultracart_api/models/email_orders_response.rb +258 -223
- data/lib/ultracart_api/models/email_performance.rb +475 -440
- data/lib/ultracart_api/models/email_performance_customer_histogram.rb +222 -187
- data/lib/ultracart_api/models/email_performance_customer_histogram_period.rb +260 -225
- data/lib/ultracart_api/models/email_performance_daily.rb +280 -245
- data/lib/ultracart_api/models/email_performance_response.rb +256 -221
- data/lib/ultracart_api/models/email_plan.rb +365 -330
- data/lib/ultracart_api/models/email_plan_additional.rb +291 -256
- data/lib/ultracart_api/models/email_plan_response.rb +256 -221
- data/lib/ultracart_api/models/email_postcard_stat.rb +531 -496
- data/lib/ultracart_api/models/email_segment.rb +445 -410
- data/lib/ultracart_api/models/email_segment_archive_response.rb +256 -221
- data/lib/ultracart_api/models/email_segment_customer.rb +250 -215
- data/lib/ultracart_api/models/email_segment_customers_response.rb +262 -227
- data/lib/ultracart_api/models/email_segment_download_prepare_response.rb +283 -248
- data/lib/ultracart_api/models/email_segment_response.rb +256 -221
- data/lib/ultracart_api/models/email_segments_response.rb +258 -223
- data/lib/ultracart_api/models/email_sending_domain_response.rb +256 -221
- data/lib/ultracart_api/models/email_sending_domains_response.rb +258 -223
- data/lib/ultracart_api/models/email_settings.rb +318 -283
- data/lib/ultracart_api/models/email_settings_response.rb +256 -221
- data/lib/ultracart_api/models/email_stat.rb +591 -556
- data/lib/ultracart_api/models/email_stat_postcard_summary_request.rb +230 -195
- data/lib/ultracart_api/models/email_stat_postcard_summary_response.rb +258 -223
- data/lib/ultracart_api/models/email_stat_summary_request.rb +241 -206
- data/lib/ultracart_api/models/email_stat_summary_response.rb +258 -223
- data/lib/ultracart_api/models/email_step_stat.rb +410 -375
- data/lib/ultracart_api/models/email_step_stat_request.rb +230 -195
- data/lib/ultracart_api/models/email_step_stat_response.rb +258 -223
- data/lib/ultracart_api/models/email_step_waiting_request.rb +221 -186
- data/lib/ultracart_api/models/email_step_waiting_response.rb +221 -186
- data/lib/ultracart_api/models/email_template.rb +365 -330
- data/lib/ultracart_api/models/email_templates_response.rb +258 -223
- data/lib/ultracart_api/models/email_third_party_list.rb +230 -195
- data/lib/ultracart_api/models/email_third_party_list_import_request.rb +222 -187
- data/lib/ultracart_api/models/email_third_party_provider.rb +324 -289
- data/lib/ultracart_api/models/email_third_party_providers_response.rb +258 -223
- data/lib/ultracart_api/models/email_third_party_tag.rb +230 -195
- data/lib/ultracart_api/models/email_verify_token_request.rb +230 -195
- data/lib/ultracart_api/models/email_verify_token_response.rb +257 -222
- data/lib/ultracart_api/models/email_verify_token_validate_request.rb +220 -185
- data/lib/ultracart_api/models/email_verify_token_validate_response.rb +247 -212
- data/lib/ultracart_api/models/email_webhook_editor_values_response.rb +278 -243
- data/lib/ultracart_api/models/error.rb +260 -225
- data/lib/ultracart_api/models/error_response.rb +247 -212
- data/lib/ultracart_api/models/experiment.rb +426 -391
- data/lib/ultracart_api/models/experiment_response.rb +256 -221
- data/lib/ultracart_api/models/experiment_variation.rb +432 -397
- data/lib/ultracart_api/models/experiment_variation_stat.rb +320 -285
- data/lib/ultracart_api/models/experiments_response.rb +258 -223
- data/lib/ultracart_api/models/fulfillment_inventory.rb +228 -193
- data/lib/ultracart_api/models/fulfillment_shipment.rb +262 -227
- data/lib/ultracart_api/models/geo_point.rb +228 -193
- data/lib/ultracart_api/models/geocode_request.rb +260 -225
- data/lib/ultracart_api/models/geocode_response.rb +265 -230
- data/lib/ultracart_api/models/gift_certificate.rb +367 -332
- data/lib/ultracart_api/models/gift_certificate_create_request.rb +260 -225
- data/lib/ultracart_api/models/gift_certificate_ledger_entry.rb +285 -250
- data/lib/ultracart_api/models/gift_certificate_query.rb +300 -265
- data/lib/ultracart_api/models/gift_certificate_response.rb +256 -221
- data/lib/ultracart_api/models/gift_certificates_response.rb +258 -223
- data/lib/ultracart_api/models/group.rb +266 -231
- data/lib/ultracart_api/models/group_response.rb +256 -221
- data/lib/ultracart_api/models/group_user_membership.rb +260 -225
- data/lib/ultracart_api/models/groups_response.rb +258 -223
- data/lib/ultracart_api/models/http_header.rb +230 -195
- data/lib/ultracart_api/models/integration_log.rb +379 -344
- data/lib/ultracart_api/models/integration_log_file.rb +246 -211
- data/lib/ultracart_api/models/integration_log_log.rb +228 -193
- data/lib/ultracart_api/models/integration_log_query_filter_values.rb +340 -305
- data/lib/ultracart_api/models/integration_log_query_request.rb +333 -298
- data/lib/ultracart_api/models/integration_log_query_response.rb +267 -232
- data/lib/ultracart_api/models/integration_log_response.rb +256 -221
- data/lib/ultracart_api/models/integration_log_summary.rb +291 -256
- data/lib/ultracart_api/models/integration_log_summary_query_request.rb +230 -195
- data/lib/ultracart_api/models/integration_log_summary_query_response.rb +258 -223
- data/lib/ultracart_api/models/item.rb +748 -713
- data/lib/ultracart_api/models/item_accounting.rb +260 -225
- data/lib/ultracart_api/models/item_amember.rb +245 -210
- data/lib/ultracart_api/models/item_auto_order.rb +403 -368
- data/lib/ultracart_api/models/item_auto_order_step.rb +413 -378
- data/lib/ultracart_api/models/item_auto_order_step_arbitrary_unit_cost_schedule.rb +230 -195
- data/lib/ultracart_api/models/item_auto_order_step_grandfather_pricing.rb +230 -195
- data/lib/ultracart_api/models/item_cc_bill.rb +270 -235
- data/lib/ultracart_api/models/item_channel_partner_mapping.rb +445 -410
- data/lib/ultracart_api/models/item_chargeback.rb +234 -199
- data/lib/ultracart_api/models/item_chargeback_addendum.rb +250 -215
- data/lib/ultracart_api/models/item_chargeback_adjustment_request.rb +240 -205
- data/lib/ultracart_api/models/item_checkout.rb +265 -230
- data/lib/ultracart_api/models/item_content.rb +361 -326
- data/lib/ultracart_api/models/item_content_assignment.rb +285 -250
- data/lib/ultracart_api/models/item_content_attribute.rb +280 -245
- data/lib/ultracart_api/models/item_content_multimedia.rb +441 -406
- data/lib/ultracart_api/models/item_content_multimedia_thumbnail.rb +270 -235
- data/lib/ultracart_api/models/item_digital_delivery.rb +317 -282
- data/lib/ultracart_api/models/item_digital_item.rb +305 -270
- data/lib/ultracart_api/models/item_ebay.rb +901 -866
- data/lib/ultracart_api/models/item_ebay_category_specific.rb +230 -195
- data/lib/ultracart_api/models/item_ebay_market_listing.rb +260 -225
- data/lib/ultracart_api/models/item_ebay_market_place_analysis.rb +311 -276
- data/lib/ultracart_api/models/item_email_notifications.rb +230 -195
- data/lib/ultracart_api/models/item_enrollment123.rb +220 -185
- data/lib/ultracart_api/models/item_fulfillment_addon.rb +250 -215
- data/lib/ultracart_api/models/item_gift_certificate.rb +230 -195
- data/lib/ultracart_api/models/item_google_product_search.rb +1289 -1254
- data/lib/ultracart_api/models/item_identifiers.rb +310 -275
- data/lib/ultracart_api/models/item_instant_payment_notification.rb +270 -235
- data/lib/ultracart_api/models/item_instant_payment_notifications.rb +222 -187
- data/lib/ultracart_api/models/item_internal.rb +235 -200
- data/lib/ultracart_api/models/item_kit_component.rb +260 -225
- data/lib/ultracart_api/models/item_kit_definition.rb +222 -187
- data/lib/ultracart_api/models/item_option.rb +416 -381
- data/lib/ultracart_api/models/item_option_value.rb +409 -374
- data/lib/ultracart_api/models/item_option_value_additional_item.rb +230 -195
- data/lib/ultracart_api/models/item_option_value_digital_item.rb +230 -195
- data/lib/ultracart_api/models/item_payment_processing.rb +264 -229
- data/lib/ultracart_api/models/item_physical.rb +246 -211
- data/lib/ultracart_api/models/item_pricing.rb +422 -387
- data/lib/ultracart_api/models/item_pricing_tier.rb +261 -226
- data/lib/ultracart_api/models/item_pricing_tier_discount.rb +230 -195
- data/lib/ultracart_api/models/item_pricing_tier_limit.rb +240 -205
- data/lib/ultracart_api/models/item_property.rb +270 -235
- data/lib/ultracart_api/models/item_realtime_pricing.rb +240 -205
- data/lib/ultracart_api/models/item_related.rb +242 -207
- data/lib/ultracart_api/models/item_related_item.rb +274 -239
- data/lib/ultracart_api/models/item_reporting.rb +232 -197
- data/lib/ultracart_api/models/item_response.rb +256 -221
- data/lib/ultracart_api/models/item_restriction.rb +292 -257
- data/lib/ultracart_api/models/item_restriction_item.rb +274 -239
- data/lib/ultracart_api/models/item_revguard.rb +280 -245
- data/lib/ultracart_api/models/item_reviews.rb +300 -265
- data/lib/ultracart_api/models/item_salesforce.rb +230 -195
- data/lib/ultracart_api/models/item_shipping.rb +713 -678
- data/lib/ultracart_api/models/item_shipping_case.rb +265 -230
- data/lib/ultracart_api/models/item_shipping_destination_markup.rb +315 -280
- data/lib/ultracart_api/models/item_shipping_destination_restriction.rb +304 -269
- data/lib/ultracart_api/models/item_shipping_distribution_center.rb +380 -345
- data/lib/ultracart_api/models/item_shipping_method.rb +394 -359
- data/lib/ultracart_api/models/item_shipping_package_requirement.rb +230 -195
- data/lib/ultracart_api/models/item_tag.rb +279 -244
- data/lib/ultracart_api/models/item_tags.rb +222 -187
- data/lib/ultracart_api/models/item_tax.rb +286 -251
- data/lib/ultracart_api/models/item_tax_exemption.rb +335 -300
- data/lib/ultracart_api/models/item_third_party_email_marketing.rb +302 -267
- data/lib/ultracart_api/models/item_variant_item.rb +289 -254
- data/lib/ultracart_api/models/item_variation.rb +292 -257
- data/lib/ultracart_api/models/item_variation_option.rb +265 -230
- data/lib/ultracart_api/models/item_wishlist_member.rb +255 -220
- data/lib/ultracart_api/models/items_request.rb +222 -187
- data/lib/ultracart_api/models/items_response.rb +259 -224
- data/lib/ultracart_api/models/key_value.rb +240 -205
- data/lib/ultracart_api/models/library_filter_values.rb +254 -219
- data/lib/ultracart_api/models/library_filter_values_response.rb +256 -221
- data/lib/ultracart_api/models/library_item.rb +606 -571
- data/lib/ultracart_api/models/library_item_account.rb +237 -202
- data/lib/ultracart_api/models/library_item_asset.rb +228 -193
- data/lib/ultracart_api/models/library_item_attribute.rb +228 -193
- data/lib/ultracart_api/models/library_item_email.rb +237 -202
- data/lib/ultracart_api/models/library_item_published_meta.rb +290 -255
- data/lib/ultracart_api/models/library_item_purchased_meta.rb +240 -205
- data/lib/ultracart_api/models/library_item_query.rb +330 -295
- data/lib/ultracart_api/models/library_item_response.rb +256 -221
- data/lib/ultracart_api/models/library_item_screenshot.rb +228 -193
- data/lib/ultracart_api/models/library_items_response.rb +259 -224
- data/lib/ultracart_api/models/linked_account.rb +240 -205
- data/lib/ultracart_api/models/list_segment_membership.rb +237 -202
- data/lib/ultracart_api/models/lookup_request.rb +255 -220
- data/lib/ultracart_api/models/lookup_response.rb +258 -223
- data/lib/ultracart_api/models/mailgun.rb +219 -184
- data/lib/ultracart_api/models/metric.rb +282 -247
- data/lib/ultracart_api/models/notification.rb +322 -287
- data/lib/ultracart_api/models/oauth_revoke_success_response.rb +230 -195
- data/lib/ultracart_api/models/oauth_token_response.rb +321 -286
- data/lib/ultracart_api/models/order.rb +604 -569
- data/lib/ultracart_api/models/order_affiliate.rb +242 -207
- data/lib/ultracart_api/models/order_affiliate_ledger.rb +334 -299
- data/lib/ultracart_api/models/order_auto_order.rb +448 -413
- data/lib/ultracart_api/models/order_billing.rb +597 -562
- data/lib/ultracart_api/models/order_buysafe.rb +268 -233
- data/lib/ultracart_api/models/order_by_token_query.rb +220 -185
- data/lib/ultracart_api/models/order_channel_partner.rb +335 -300
- data/lib/ultracart_api/models/order_checkout.rb +469 -434
- data/lib/ultracart_api/models/order_coupon.rb +290 -255
- data/lib/ultracart_api/models/order_digital_item.rb +290 -255
- data/lib/ultracart_api/models/order_digital_order.rb +262 -227
- data/lib/ultracart_api/models/order_edi.rb +265 -230
- data/lib/ultracart_api/models/order_format.rb +404 -369
- data/lib/ultracart_api/models/order_format_response.rb +232 -197
- data/lib/ultracart_api/models/order_fraud_score.rb +444 -409
- data/lib/ultracart_api/models/order_gift.rb +351 -316
- data/lib/ultracart_api/models/order_gift_certificate.rb +239 -204
- data/lib/ultracart_api/models/order_internal.rb +275 -240
- data/lib/ultracart_api/models/order_item.rb +889 -854
- data/lib/ultracart_api/models/order_item_edi.rb +234 -199
- data/lib/ultracart_api/models/order_item_edi_identification.rb +230 -195
- data/lib/ultracart_api/models/order_item_edi_lot.rb +240 -205
- data/lib/ultracart_api/models/order_item_option.rb +378 -343
- data/lib/ultracart_api/models/order_item_option_file_attachment.rb +250 -215
- data/lib/ultracart_api/models/order_item_property.rb +280 -245
- data/lib/ultracart_api/models/order_item_tag.rb +235 -200
- data/lib/ultracart_api/models/order_linked_shipment.rb +264 -229
- data/lib/ultracart_api/models/order_marketing.rb +270 -235
- data/lib/ultracart_api/models/order_packing_slip_response.rb +257 -222
- data/lib/ultracart_api/models/order_payment.rb +432 -397
- data/lib/ultracart_api/models/order_payment_check.rb +220 -185
- data/lib/ultracart_api/models/order_payment_credit_card.rb +354 -319
- data/lib/ultracart_api/models/order_payment_e_check.rb +476 -441
- data/lib/ultracart_api/models/order_payment_insurance.rb +250 -215
- data/lib/ultracart_api/models/order_payment_purchase_order.rb +220 -185
- data/lib/ultracart_api/models/order_payment_transaction.rb +252 -217
- data/lib/ultracart_api/models/order_payment_transaction_detail.rb +240 -205
- data/lib/ultracart_api/models/order_process_payment_request.rb +230 -195
- data/lib/ultracart_api/models/order_process_payment_response.rb +256 -221
- data/lib/ultracart_api/models/order_property.rb +280 -245
- data/lib/ultracart_api/models/order_query.rb +826 -791
- data/lib/ultracart_api/models/order_query_batch.rb +222 -187
- data/lib/ultracart_api/models/order_quote.rb +240 -205
- data/lib/ultracart_api/models/order_replacement.rb +467 -432
- data/lib/ultracart_api/models/order_replacement_item.rb +255 -220
- data/lib/ultracart_api/models/order_replacement_response.rb +264 -229
- data/lib/ultracart_api/models/order_response.rb +256 -221
- data/lib/ultracart_api/models/order_salesforce.rb +220 -185
- data/lib/ultracart_api/models/order_shipping.rb +770 -735
- data/lib/ultracart_api/models/order_summary.rb +390 -355
- data/lib/ultracart_api/models/order_tag.rb +235 -200
- data/lib/ultracart_api/models/order_taxes.rb +395 -360
- data/lib/ultracart_api/models/order_token_response.rb +257 -222
- data/lib/ultracart_api/models/order_tracking_number_detail.rb +320 -285
- data/lib/ultracart_api/models/order_tracking_number_details.rb +374 -339
- data/lib/ultracart_api/models/orders_response.rb +259 -224
- data/lib/ultracart_api/models/permission.rb +240 -205
- data/lib/ultracart_api/models/pricing_tier.rb +533 -498
- data/lib/ultracart_api/models/pricing_tier_notification.rb +270 -235
- data/lib/ultracart_api/models/pricing_tiers_response.rb +259 -224
- data/lib/ultracart_api/models/property.rb +228 -193
- data/lib/ultracart_api/models/publish_library_item_request.rb +220 -185
- data/lib/ultracart_api/models/register_affiliate_click_request.rb +270 -235
- data/lib/ultracart_api/models/register_affiliate_click_response.rb +254 -219
- data/lib/ultracart_api/models/response_metadata.rb +229 -194
- data/lib/ultracart_api/models/result_set.rb +270 -235
- data/lib/ultracart_api/models/screen_recording.rb +688 -653
- data/lib/ultracart_api/models/screen_recording_ad_platform.rb +280 -245
- data/lib/ultracart_api/models/screen_recording_filter.rb +758 -723
- data/lib/ultracart_api/models/screen_recording_filter_geo_distance.rb +255 -220
- data/lib/ultracart_api/models/screen_recording_filter_ip_search.rb +246 -211
- data/lib/ultracart_api/models/screen_recording_filter_page_view.rb +369 -334
- data/lib/ultracart_api/models/screen_recording_filter_page_view_event.rb +230 -195
- data/lib/ultracart_api/models/screen_recording_filter_page_view_event_param.rb +255 -220
- data/lib/ultracart_api/models/screen_recording_filter_page_view_param.rb +228 -193
- data/lib/ultracart_api/models/screen_recording_filter_page_view_referrer_param.rb +228 -193
- data/lib/ultracart_api/models/screen_recording_filter_range_big_decimal.rb +255 -220
- data/lib/ultracart_api/models/screen_recording_filter_range_date.rb +230 -195
- data/lib/ultracart_api/models/screen_recording_filter_range_integer.rb +255 -220
- data/lib/ultracart_api/models/screen_recording_filter_string_search.rb +255 -220
- data/lib/ultracart_api/models/screen_recording_filter_values.rb +435 -400
- data/lib/ultracart_api/models/screen_recording_filter_values_event.rb +230 -195
- data/lib/ultracart_api/models/screen_recording_filter_values_event_params.rb +263 -228
- data/lib/ultracart_api/models/screen_recording_filter_values_page_param.rb +230 -195
- data/lib/ultracart_api/models/screen_recording_filter_values_page_view.rb +272 -237
- data/lib/ultracart_api/models/screen_recording_heatmap.rb +426 -391
- data/lib/ultracart_api/models/screen_recording_heatmap_index_request.rb +219 -184
- data/lib/ultracart_api/models/screen_recording_heatmap_index_response.rb +258 -223
- data/lib/ultracart_api/models/screen_recording_heatmap_request.rb +239 -204
- data/lib/ultracart_api/models/screen_recording_heatmap_reset.rb +219 -184
- data/lib/ultracart_api/models/screen_recording_heatmap_response.rb +256 -221
- data/lib/ultracart_api/models/screen_recording_heatmap_url.rb +266 -231
- data/lib/ultracart_api/models/screen_recording_merchant_notes_request.rb +219 -184
- data/lib/ultracart_api/models/screen_recording_multifield.rb +255 -220
- data/lib/ultracart_api/models/screen_recording_page_view.rb +391 -356
- data/lib/ultracart_api/models/screen_recording_page_view_data_response.rb +256 -221
- data/lib/ultracart_api/models/screen_recording_page_view_event.rb +267 -232
- data/lib/ultracart_api/models/screen_recording_page_view_event_parameter.rb +228 -193
- data/lib/ultracart_api/models/screen_recording_page_view_parameter.rb +228 -193
- data/lib/ultracart_api/models/screen_recording_query_request.rb +219 -184
- data/lib/ultracart_api/models/screen_recording_query_response.rb +314 -279
- data/lib/ultracart_api/models/screen_recording_response.rb +265 -230
- data/lib/ultracart_api/models/screen_recording_segment.rb +302 -267
- data/lib/ultracart_api/models/screen_recording_segment_response.rb +256 -221
- data/lib/ultracart_api/models/screen_recording_segments_response.rb +258 -223
- data/lib/ultracart_api/models/screen_recording_settings.rb +284 -249
- data/lib/ultracart_api/models/screen_recording_settings_response.rb +256 -221
- data/lib/ultracart_api/models/screen_recording_store_front.rb +228 -193
- data/lib/ultracart_api/models/screen_recording_tags_request.rb +221 -186
- data/lib/ultracart_api/models/screen_recording_tags_response.rb +258 -223
- data/lib/ultracart_api/models/screen_recording_user_agent.rb +255 -220
- data/lib/ultracart_api/models/screen_recording_user_agent_device.rb +219 -184
- data/lib/ultracart_api/models/screen_recording_user_agent_os.rb +237 -202
- data/lib/ultracart_api/models/screen_recording_user_property.rb +228 -193
- data/lib/ultracart_api/models/screenshots_response.rb +259 -224
- data/lib/ultracart_api/models/self_config.rb +220 -185
- data/lib/ultracart_api/models/simple_value.rb +230 -195
- data/lib/ultracart_api/models/single_sign_on_authorize_request.rb +230 -195
- data/lib/ultracart_api/models/single_sign_on_authorize_response.rb +230 -195
- data/lib/ultracart_api/models/single_sign_on_token_request.rb +230 -195
- data/lib/ultracart_api/models/single_sign_on_token_response.rb +240 -205
- data/lib/ultracart_api/models/sovos_config.rb +280 -245
- data/lib/ultracart_api/models/state_province.rb +245 -210
- data/lib/ultracart_api/models/step_waiting.rb +228 -193
- data/lib/ultracart_api/models/tax_city.rb +302 -267
- data/lib/ultracart_api/models/tax_country.rb +302 -267
- data/lib/ultracart_api/models/tax_country_code.rb +260 -225
- data/lib/ultracart_api/models/tax_county.rb +312 -277
- data/lib/ultracart_api/models/tax_jar_config.rb +280 -245
- data/lib/ultracart_api/models/tax_postal_code.rb +280 -245
- data/lib/ultracart_api/models/tax_provider_activate_result.rb +229 -194
- data/lib/ultracart_api/models/tax_provider_avalara.rb +249 -214
- data/lib/ultracart_api/models/tax_provider_avalara_companies_result.rb +222 -187
- data/lib/ultracart_api/models/tax_provider_avalara_company.rb +260 -225
- data/lib/ultracart_api/models/tax_provider_self.rb +261 -226
- data/lib/ultracart_api/models/tax_provider_self_countries_response.rb +222 -187
- data/lib/ultracart_api/models/tax_provider_self_regions_response.rb +222 -187
- data/lib/ultracart_api/models/tax_provider_sovos.rb +249 -214
- data/lib/ultracart_api/models/tax_provider_tax_jar.rb +249 -214
- data/lib/ultracart_api/models/tax_provider_test_result.rb +229 -194
- data/lib/ultracart_api/models/tax_provider_ultra_cart.rb +261 -226
- data/lib/ultracart_api/models/tax_provider_ultra_cart_state.rb +310 -275
- data/lib/ultracart_api/models/tax_providers_response.rb +292 -257
- data/lib/ultracart_api/models/tax_state.rb +392 -357
- data/lib/ultracart_api/models/tax_state_code.rb +260 -225
- data/lib/ultracart_api/models/temp_multimedia.rb +329 -294
- data/lib/ultracart_api/models/temp_multimedia_response.rb +256 -221
- data/lib/ultracart_api/models/thumbnail_parameters_request.rb +255 -220
- data/lib/ultracart_api/models/thumbnail_parameters_response.rb +257 -222
- data/lib/ultracart_api/models/transaction_email.rb +414 -379
- data/lib/ultracart_api/models/transaction_email_list_response.rb +258 -223
- data/lib/ultracart_api/models/transaction_email_option.rb +282 -247
- data/lib/ultracart_api/models/transaction_email_response.rb +256 -221
- data/lib/ultracart_api/models/twilio.rb +248 -213
- data/lib/ultracart_api/models/twilio_response.rb +265 -230
- data/lib/ultracart_api/models/twilios_response.rb +258 -223
- data/lib/ultracart_api/models/ultra_cart_config.rb +220 -185
- data/lib/ultracart_api/models/upload_coupon_codes_request.rb +259 -224
- data/lib/ultracart_api/models/upload_coupon_codes_response.rb +283 -248
- data/lib/ultracart_api/models/user.rb +377 -342
- data/lib/ultracart_api/models/user_group_membership.rb +240 -205
- data/lib/ultracart_api/models/user_login.rb +250 -215
- data/lib/ultracart_api/models/user_logins_response.rb +259 -224
- data/lib/ultracart_api/models/user_response.rb +256 -221
- data/lib/ultracart_api/models/users_response.rb +258 -223
- data/lib/ultracart_api/models/verification_record.rb +237 -202
- data/lib/ultracart_api/models/warning.rb +230 -195
- data/lib/ultracart_api/models/webhook.rb +437 -402
- data/lib/ultracart_api/models/webhook_event_category.rb +264 -229
- data/lib/ultracart_api/models/webhook_event_subscription.rb +300 -265
- data/lib/ultracart_api/models/webhook_log.rb +324 -289
- data/lib/ultracart_api/models/webhook_log_response.rb +256 -221
- data/lib/ultracart_api/models/webhook_log_summaries_response.rb +259 -224
- data/lib/ultracart_api/models/webhook_log_summary.rb +240 -205
- data/lib/ultracart_api/models/webhook_response.rb +256 -221
- data/lib/ultracart_api/models/webhook_sample_request.rb +252 -217
- data/lib/ultracart_api/models/webhook_sample_request_response.rb +256 -221
- data/lib/ultracart_api/models/webhooks_response.rb +258 -223
- data/lib/ultracart_api/models/weight.rb +264 -229
- data/lib/ultracart_api/version.rb +15 -15
- data/lib/ultracart_api.rb +689 -728
- data/spec/api_client_spec.rb +226 -243
- data/spec/configuration_spec.rb +42 -42
- data/spec/spec_helper.rb +111 -111
- data/ultracart_api.gemspec +38 -46
- metadata +7 -245
- data/docs/ConfigurationApi.md +0 -756
- data/docs/CouponNoDiscount.md +0 -7
- data/docs/DelayAutoOrdersResponse.md +0 -12
- data/docs/PaymentsConfiguration.md +0 -24
- data/docs/PaymentsConfigurationAffirm.md +0 -15
- data/docs/PaymentsConfigurationAmazon.md +0 -15
- data/docs/PaymentsConfigurationCOD.md +0 -13
- data/docs/PaymentsConfigurationCash.md +0 -9
- data/docs/PaymentsConfigurationCheck.md +0 -19
- data/docs/PaymentsConfigurationCreditCard.md +0 -17
- data/docs/PaymentsConfigurationCreditCardType.md +0 -18
- data/docs/PaymentsConfigurationEcheck.md +0 -12
- data/docs/PaymentsConfigurationInsurance.md +0 -9
- data/docs/PaymentsConfigurationLoanHero.md +0 -12
- data/docs/PaymentsConfigurationMoneyOrder.md +0 -11
- data/docs/PaymentsConfigurationPayPal.md +0 -36
- data/docs/PaymentsConfigurationPurchaseOrder.md +0 -11
- data/docs/PaymentsConfigurationQuoteRequest.md +0 -10
- data/docs/PaymentsConfigurationResponse.md +0 -12
- data/docs/PaymentsConfigurationRestrictions.md +0 -21
- data/docs/PaymentsConfigurationRestrictionsTheme.md +0 -10
- data/docs/PaymentsConfigurationSezzle.md +0 -15
- data/docs/PaymentsConfigurationTestMethod.md +0 -18
- data/docs/PaymentsConfigurationWePay.md +0 -35
- data/docs/PaymentsConfigurationWireTransfer.md +0 -18
- data/docs/PaymentsThemeTransactionType.md +0 -10
- data/docs/PaymentsWepayEnroll.md +0 -22
- data/docs/RotatingTransactionGateway.md +0 -51
- data/docs/RotatingTransactionGatewayResponse.md +0 -12
- data/docs/RotatingTransactionGatewaysResponse.md +0 -12
- data/docs/RtgCurrency.md +0 -10
- data/docs/RtgDayOfMonthRestriction.md +0 -9
- data/docs/RtgDayOfWeekRestriction.md +0 -10
- data/docs/RtgSummaryGateway.md +0 -24
- data/docs/RtgSummaryResponse.md +0 -14
- data/docs/RtgThemeRestriction.md +0 -10
- data/docs/StripeConnectResponse.md +0 -12
- data/docs/TransactionGateway.md +0 -71
- data/docs/TransactionGatewaysRequest.md +0 -10
- data/docs/TransactionGatewaysResponse.md +0 -12
- data/lib/ultracart_api/api/configuration_api.rb +0 -843
- data/lib/ultracart_api/models/coupon_no_discount.rb +0 -175
- data/lib/ultracart_api/models/delay_auto_orders_response.rb +0 -221
- data/lib/ultracart_api/models/payments_configuration.rb +0 -329
- data/lib/ultracart_api/models/payments_configuration_affirm.rb +0 -288
- data/lib/ultracart_api/models/payments_configuration_amazon.rb +0 -288
- data/lib/ultracart_api/models/payments_configuration_cash.rb +0 -194
- data/lib/ultracart_api/models/payments_configuration_check.rb +0 -294
- data/lib/ultracart_api/models/payments_configuration_cod.rb +0 -234
- data/lib/ultracart_api/models/payments_configuration_credit_card.rb +0 -279
- data/lib/ultracart_api/models/payments_configuration_credit_card_type.rb +0 -318
- data/lib/ultracart_api/models/payments_configuration_echeck.rb +0 -226
- data/lib/ultracart_api/models/payments_configuration_insurance.rb +0 -194
- data/lib/ultracart_api/models/payments_configuration_loan_hero.rb +0 -224
- data/lib/ultracart_api/models/payments_configuration_money_order.rb +0 -214
- data/lib/ultracart_api/models/payments_configuration_pay_pal.rb +0 -534
- data/lib/ultracart_api/models/payments_configuration_purchase_order.rb +0 -214
- data/lib/ultracart_api/models/payments_configuration_quote_request.rb +0 -204
- data/lib/ultracart_api/models/payments_configuration_response.rb +0 -221
- data/lib/ultracart_api/models/payments_configuration_restrictions.rb +0 -447
- data/lib/ultracart_api/models/payments_configuration_restrictions_theme.rb +0 -202
- data/lib/ultracart_api/models/payments_configuration_sezzle.rb +0 -288
- data/lib/ultracart_api/models/payments_configuration_test_method.rb +0 -319
- data/lib/ultracart_api/models/payments_configuration_we_pay.rb +0 -454
- data/lib/ultracart_api/models/payments_configuration_wire_transfer.rb +0 -284
- data/lib/ultracart_api/models/payments_theme_transaction_type.rb +0 -239
- data/lib/ultracart_api/models/payments_wepay_enroll.rb +0 -310
- data/lib/ultracart_api/models/rotating_transaction_gateway.rb +0 -675
- data/lib/ultracart_api/models/rotating_transaction_gateway_response.rb +0 -221
- data/lib/ultracart_api/models/rotating_transaction_gateways_response.rb +0 -223
- data/lib/ultracart_api/models/rtg_currency.rb +0 -205
- data/lib/ultracart_api/models/rtg_day_of_month_restriction.rb +0 -195
- data/lib/ultracart_api/models/rtg_day_of_week_restriction.rb +0 -205
- data/lib/ultracart_api/models/rtg_summary_gateway.rb +0 -329
- data/lib/ultracart_api/models/rtg_summary_response.rb +0 -240
- data/lib/ultracart_api/models/rtg_theme_restriction.rb +0 -239
- data/lib/ultracart_api/models/stripe_connect_response.rb +0 -221
- data/lib/ultracart_api/models/transaction_gateway.rb +0 -823
- data/lib/ultracart_api/models/transaction_gateways_request.rb +0 -242
data/docs/CustomerApi.md
CHANGED
@@ -1,966 +1,1380 @@
|
|
1
|
-
# UltracartClient::CustomerApi
|
2
|
-
|
3
|
-
All URIs are relative to *https://secure.ultracart.com/rest/v2*
|
4
|
-
|
5
|
-
Method | HTTP request | Description
|
6
|
-
|
7
|
-
[**add_customer_store_credit**](CustomerApi.md#add_customer_store_credit) | **POST** /customer/customers/{customer_profile_oid}/store_credit | Adds store credit to a customer
|
8
|
-
[**adjust_internal_certificate**](CustomerApi.md#adjust_internal_certificate) | **POST** /customer/customers/{customer_profile_oid}/adjust_cashback_balance | Updates the cashback balance for a customer by updating the internal gift certificate used, creating the gift certificate if needed.
|
9
|
-
[**delete_customer**](CustomerApi.md#delete_customer) | **DELETE** /customer/customers/{customer_profile_oid} | Delete a customer
|
10
|
-
[**get_customer**](CustomerApi.md#get_customer) | **GET** /customer/customers/{customer_profile_oid} | Retrieve a customer
|
11
|
-
[**get_customer_by_email**](CustomerApi.md#get_customer_by_email) | **GET** /customer/customers/by_email/{email} | Retrieve a customer by Email
|
12
|
-
[**get_customer_editor_values**](CustomerApi.md#get_customer_editor_values) | **GET** /customer/editor_values | Retrieve values needed for a customer profile editor
|
13
|
-
[**get_customer_email_lists**](CustomerApi.md#get_customer_email_lists) | **GET** /customer/email_lists | Retrieve all email lists across all storefronts
|
14
|
-
[**get_customer_store_credit**](CustomerApi.md#get_customer_store_credit) | **GET** /customer/customers/{customer_profile_oid}/store_credit | Retrieve the customer store credit accumulated through loyalty programs
|
15
|
-
[**get_customers**](CustomerApi.md#get_customers) | **GET** /customer/customers | Retrieve customers
|
16
|
-
[**get_customers_by_query**](CustomerApi.md#get_customers_by_query) | **POST** /customer/customers/query | Retrieve customers by query
|
17
|
-
[**get_customers_for_data_tables**](CustomerApi.md#get_customers_for_data_tables) | **POST** /customer/customers/dataTables | Retrieve customers for DataTables plugin
|
18
|
-
[**get_email_verification_token**](CustomerApi.md#get_email_verification_token) | **POST** /customer/customers/email_verify/get_token | Create a token that can be used to verify a customer email address
|
19
|
-
[**insert_customer**](CustomerApi.md#insert_customer) | **POST** /customer/customers | Insert a customer
|
20
|
-
[**search_customer_profile_values**](CustomerApi.md#search_customer_profile_values) | **POST** /customer/search | Searches for all matching values (using POST)
|
21
|
-
[**update_customer**](CustomerApi.md#update_customer) | **PUT** /customer/customers/{customer_profile_oid} | Update a customer
|
22
|
-
[**update_customer_email_lists**](CustomerApi.md#update_customer_email_lists) | **POST** /customer/customers/{customer_profile_oid}/email_lists | Update email list subscriptions for a customer
|
23
|
-
[**validate_email_verification_token**](CustomerApi.md#validate_email_verification_token) | **POST** /customer/customers/email_verify/validate_token | Validate a token that can be used to verify a customer email address
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
###
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
#
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
rescue UltracartClient::ApiError => e
|
209
|
-
puts "
|
210
|
-
end
|
211
|
-
```
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
#
|
299
|
-
|
300
|
-
|
301
|
-
#
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
###
|
320
|
-
|
321
|
-
[
|
322
|
-
|
323
|
-
###
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
#
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
###
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
```
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
###
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
###
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
#
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
[
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
#
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
#
|
665
|
-
|
666
|
-
|
667
|
-
#
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
#
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
**
|
742
|
-
**
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
end
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
>
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
#
|
817
|
-
|
818
|
-
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
|
829
|
-
|
830
|
-
|
831
|
-
|
832
|
-
|
833
|
-
|
834
|
-
|
835
|
-
|
836
|
-
|
837
|
-
|
838
|
-
|
839
|
-
|
840
|
-
|
841
|
-
###
|
842
|
-
|
843
|
-
|
844
|
-
|
845
|
-
|
846
|
-
|
847
|
-
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
|
852
|
-
|
853
|
-
|
854
|
-
|
855
|
-
|
856
|
-
|
857
|
-
|
858
|
-
|
859
|
-
|
860
|
-
|
861
|
-
|
862
|
-
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
|
867
|
-
|
868
|
-
|
869
|
-
|
870
|
-
|
871
|
-
|
872
|
-
|
873
|
-
#
|
874
|
-
|
875
|
-
|
876
|
-
|
877
|
-
|
878
|
-
|
879
|
-
|
880
|
-
|
881
|
-
|
882
|
-
|
883
|
-
|
884
|
-
|
885
|
-
|
886
|
-
|
887
|
-
|
888
|
-
|
889
|
-
|
890
|
-
|
891
|
-
|
892
|
-
|
893
|
-
|
894
|
-
|
895
|
-
|
896
|
-
|
897
|
-
|
898
|
-
|
899
|
-
|
900
|
-
|
901
|
-
|
902
|
-
|
903
|
-
|
904
|
-
|
905
|
-
|
906
|
-
|
907
|
-
|
908
|
-
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
913
|
-
|
914
|
-
|
915
|
-
|
916
|
-
|
917
|
-
|
918
|
-
|
919
|
-
|
920
|
-
|
921
|
-
|
922
|
-
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
|
929
|
-
|
930
|
-
|
931
|
-
|
932
|
-
|
933
|
-
|
934
|
-
|
935
|
-
|
936
|
-
|
937
|
-
|
938
|
-
#
|
939
|
-
|
940
|
-
|
941
|
-
|
942
|
-
|
943
|
-
|
944
|
-
|
945
|
-
|
946
|
-
|
947
|
-
|
948
|
-
|
949
|
-
|
950
|
-
|
951
|
-
|
952
|
-
|
953
|
-
|
954
|
-
|
955
|
-
|
956
|
-
|
957
|
-
|
958
|
-
|
959
|
-
|
960
|
-
|
961
|
-
|
962
|
-
|
963
|
-
|
964
|
-
|
965
|
-
|
966
|
-
|
1
|
+
# UltracartClient::CustomerApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://secure.ultracart.com/rest/v2*
|
4
|
+
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**add_customer_store_credit**](CustomerApi.md#add_customer_store_credit) | **POST** /customer/customers/{customer_profile_oid}/store_credit | Adds store credit to a customer |
|
8
|
+
| [**adjust_internal_certificate**](CustomerApi.md#adjust_internal_certificate) | **POST** /customer/customers/{customer_profile_oid}/adjust_cashback_balance | Updates the cashback balance for a customer by updating the internal gift certificate used, creating the gift certificate if needed. |
|
9
|
+
| [**delete_customer**](CustomerApi.md#delete_customer) | **DELETE** /customer/customers/{customer_profile_oid} | Delete a customer |
|
10
|
+
| [**get_customer**](CustomerApi.md#get_customer) | **GET** /customer/customers/{customer_profile_oid} | Retrieve a customer |
|
11
|
+
| [**get_customer_by_email**](CustomerApi.md#get_customer_by_email) | **GET** /customer/customers/by_email/{email} | Retrieve a customer by Email |
|
12
|
+
| [**get_customer_editor_values**](CustomerApi.md#get_customer_editor_values) | **GET** /customer/editor_values | Retrieve values needed for a customer profile editor |
|
13
|
+
| [**get_customer_email_lists**](CustomerApi.md#get_customer_email_lists) | **GET** /customer/email_lists | Retrieve all email lists across all storefronts |
|
14
|
+
| [**get_customer_store_credit**](CustomerApi.md#get_customer_store_credit) | **GET** /customer/customers/{customer_profile_oid}/store_credit | Retrieve the customer store credit accumulated through loyalty programs |
|
15
|
+
| [**get_customers**](CustomerApi.md#get_customers) | **GET** /customer/customers | Retrieve customers |
|
16
|
+
| [**get_customers_by_query**](CustomerApi.md#get_customers_by_query) | **POST** /customer/customers/query | Retrieve customers by query |
|
17
|
+
| [**get_customers_for_data_tables**](CustomerApi.md#get_customers_for_data_tables) | **POST** /customer/customers/dataTables | Retrieve customers for DataTables plugin |
|
18
|
+
| [**get_email_verification_token**](CustomerApi.md#get_email_verification_token) | **POST** /customer/customers/email_verify/get_token | Create a token that can be used to verify a customer email address |
|
19
|
+
| [**insert_customer**](CustomerApi.md#insert_customer) | **POST** /customer/customers | Insert a customer |
|
20
|
+
| [**search_customer_profile_values**](CustomerApi.md#search_customer_profile_values) | **POST** /customer/search | Searches for all matching values (using POST) |
|
21
|
+
| [**update_customer**](CustomerApi.md#update_customer) | **PUT** /customer/customers/{customer_profile_oid} | Update a customer |
|
22
|
+
| [**update_customer_email_lists**](CustomerApi.md#update_customer_email_lists) | **POST** /customer/customers/{customer_profile_oid}/email_lists | Update email list subscriptions for a customer |
|
23
|
+
| [**validate_email_verification_token**](CustomerApi.md#validate_email_verification_token) | **POST** /customer/customers/email_verify/validate_token | Validate a token that can be used to verify a customer email address |
|
24
|
+
|
25
|
+
|
26
|
+
## add_customer_store_credit
|
27
|
+
|
28
|
+
> <BaseResponse> add_customer_store_credit(customer_profile_oid, store_credit_request)
|
29
|
+
|
30
|
+
Adds store credit to a customer
|
31
|
+
|
32
|
+
Adds store credit to a customer
|
33
|
+
|
34
|
+
### Examples
|
35
|
+
|
36
|
+
```ruby
|
37
|
+
require 'time'
|
38
|
+
require 'ultracart_api'
|
39
|
+
# setup authorization
|
40
|
+
UltracartClient.configure do |config|
|
41
|
+
# Configure OAuth2 access token for authorization: ultraCartOauth
|
42
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
43
|
+
|
44
|
+
# Configure API key authorization: ultraCartSimpleApiKey
|
45
|
+
config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
|
46
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
47
|
+
# config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
|
48
|
+
end
|
49
|
+
|
50
|
+
api_instance = UltracartClient::CustomerApi.new
|
51
|
+
customer_profile_oid = 56 # Integer | The customer oid to credit.
|
52
|
+
store_credit_request = UltracartClient::CustomerStoreCreditAddRequest.new # CustomerStoreCreditAddRequest | Store credit to add
|
53
|
+
|
54
|
+
begin
|
55
|
+
# Adds store credit to a customer
|
56
|
+
result = api_instance.add_customer_store_credit(customer_profile_oid, store_credit_request)
|
57
|
+
p result
|
58
|
+
rescue UltracartClient::ApiError => e
|
59
|
+
puts "Error when calling CustomerApi->add_customer_store_credit: #{e}"
|
60
|
+
end
|
61
|
+
```
|
62
|
+
|
63
|
+
#### Using the add_customer_store_credit_with_http_info variant
|
64
|
+
|
65
|
+
This returns an Array which contains the response data, status code and headers.
|
66
|
+
|
67
|
+
> <Array(<BaseResponse>, Integer, Hash)> add_customer_store_credit_with_http_info(customer_profile_oid, store_credit_request)
|
68
|
+
|
69
|
+
```ruby
|
70
|
+
begin
|
71
|
+
# Adds store credit to a customer
|
72
|
+
data, status_code, headers = api_instance.add_customer_store_credit_with_http_info(customer_profile_oid, store_credit_request)
|
73
|
+
p status_code # => 2xx
|
74
|
+
p headers # => { ... }
|
75
|
+
p data # => <BaseResponse>
|
76
|
+
rescue UltracartClient::ApiError => e
|
77
|
+
puts "Error when calling CustomerApi->add_customer_store_credit_with_http_info: #{e}"
|
78
|
+
end
|
79
|
+
```
|
80
|
+
|
81
|
+
### Parameters
|
82
|
+
|
83
|
+
| Name | Type | Description | Notes |
|
84
|
+
| ---- | ---- | ----------- | ----- |
|
85
|
+
| **customer_profile_oid** | **Integer** | The customer oid to credit. | |
|
86
|
+
| **store_credit_request** | [**CustomerStoreCreditAddRequest**](CustomerStoreCreditAddRequest.md) | Store credit to add | |
|
87
|
+
|
88
|
+
### Return type
|
89
|
+
|
90
|
+
[**BaseResponse**](BaseResponse.md)
|
91
|
+
|
92
|
+
### Authorization
|
93
|
+
|
94
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
95
|
+
|
96
|
+
### HTTP request headers
|
97
|
+
|
98
|
+
- **Content-Type**: application/json; charset=UTF-8
|
99
|
+
- **Accept**: application/json
|
100
|
+
|
101
|
+
|
102
|
+
## adjust_internal_certificate
|
103
|
+
|
104
|
+
> <AdjustInternalCertificateResponse> adjust_internal_certificate(customer_profile_oid, adjust_internal_certificate_request)
|
105
|
+
|
106
|
+
Updates the cashback balance for a customer by updating the internal gift certificate used, creating the gift certificate if needed.
|
107
|
+
|
108
|
+
Updates the cashback balance for a customer by updating the internal gift certificate used, creating the gift certificate if needed.
|
109
|
+
|
110
|
+
### Examples
|
111
|
+
|
112
|
+
```ruby
|
113
|
+
require 'time'
|
114
|
+
require 'ultracart_api'
|
115
|
+
# setup authorization
|
116
|
+
UltracartClient.configure do |config|
|
117
|
+
# Configure OAuth2 access token for authorization: ultraCartOauth
|
118
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
119
|
+
|
120
|
+
# Configure API key authorization: ultraCartSimpleApiKey
|
121
|
+
config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
|
122
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
123
|
+
# config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
|
124
|
+
end
|
125
|
+
|
126
|
+
api_instance = UltracartClient::CustomerApi.new
|
127
|
+
customer_profile_oid = 56 # Integer | The customer profile oid
|
128
|
+
adjust_internal_certificate_request = UltracartClient::AdjustInternalCertificateRequest.new # AdjustInternalCertificateRequest | adjustInternalCertificateRequest
|
129
|
+
|
130
|
+
begin
|
131
|
+
# Updates the cashback balance for a customer by updating the internal gift certificate used, creating the gift certificate if needed.
|
132
|
+
result = api_instance.adjust_internal_certificate(customer_profile_oid, adjust_internal_certificate_request)
|
133
|
+
p result
|
134
|
+
rescue UltracartClient::ApiError => e
|
135
|
+
puts "Error when calling CustomerApi->adjust_internal_certificate: #{e}"
|
136
|
+
end
|
137
|
+
```
|
138
|
+
|
139
|
+
#### Using the adjust_internal_certificate_with_http_info variant
|
140
|
+
|
141
|
+
This returns an Array which contains the response data, status code and headers.
|
142
|
+
|
143
|
+
> <Array(<AdjustInternalCertificateResponse>, Integer, Hash)> adjust_internal_certificate_with_http_info(customer_profile_oid, adjust_internal_certificate_request)
|
144
|
+
|
145
|
+
```ruby
|
146
|
+
begin
|
147
|
+
# Updates the cashback balance for a customer by updating the internal gift certificate used, creating the gift certificate if needed.
|
148
|
+
data, status_code, headers = api_instance.adjust_internal_certificate_with_http_info(customer_profile_oid, adjust_internal_certificate_request)
|
149
|
+
p status_code # => 2xx
|
150
|
+
p headers # => { ... }
|
151
|
+
p data # => <AdjustInternalCertificateResponse>
|
152
|
+
rescue UltracartClient::ApiError => e
|
153
|
+
puts "Error when calling CustomerApi->adjust_internal_certificate_with_http_info: #{e}"
|
154
|
+
end
|
155
|
+
```
|
156
|
+
|
157
|
+
### Parameters
|
158
|
+
|
159
|
+
| Name | Type | Description | Notes |
|
160
|
+
| ---- | ---- | ----------- | ----- |
|
161
|
+
| **customer_profile_oid** | **Integer** | The customer profile oid | |
|
162
|
+
| **adjust_internal_certificate_request** | [**AdjustInternalCertificateRequest**](AdjustInternalCertificateRequest.md) | adjustInternalCertificateRequest | |
|
163
|
+
|
164
|
+
### Return type
|
165
|
+
|
166
|
+
[**AdjustInternalCertificateResponse**](AdjustInternalCertificateResponse.md)
|
167
|
+
|
168
|
+
### Authorization
|
169
|
+
|
170
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
171
|
+
|
172
|
+
### HTTP request headers
|
173
|
+
|
174
|
+
- **Content-Type**: application/json; charset=UTF-8
|
175
|
+
- **Accept**: application/json
|
176
|
+
|
177
|
+
|
178
|
+
## delete_customer
|
179
|
+
|
180
|
+
> delete_customer(customer_profile_oid)
|
181
|
+
|
182
|
+
Delete a customer
|
183
|
+
|
184
|
+
Delete a customer on the UltraCart account.
|
185
|
+
|
186
|
+
### Examples
|
187
|
+
|
188
|
+
```ruby
|
189
|
+
require 'time'
|
190
|
+
require 'ultracart_api'
|
191
|
+
# setup authorization
|
192
|
+
UltracartClient.configure do |config|
|
193
|
+
# Configure OAuth2 access token for authorization: ultraCartOauth
|
194
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
195
|
+
|
196
|
+
# Configure API key authorization: ultraCartSimpleApiKey
|
197
|
+
config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
|
198
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
199
|
+
# config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
|
200
|
+
end
|
201
|
+
|
202
|
+
api_instance = UltracartClient::CustomerApi.new
|
203
|
+
customer_profile_oid = 56 # Integer | The customer_profile_oid to delete.
|
204
|
+
|
205
|
+
begin
|
206
|
+
# Delete a customer
|
207
|
+
api_instance.delete_customer(customer_profile_oid)
|
208
|
+
rescue UltracartClient::ApiError => e
|
209
|
+
puts "Error when calling CustomerApi->delete_customer: #{e}"
|
210
|
+
end
|
211
|
+
```
|
212
|
+
|
213
|
+
#### Using the delete_customer_with_http_info variant
|
214
|
+
|
215
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
216
|
+
|
217
|
+
> <Array(nil, Integer, Hash)> delete_customer_with_http_info(customer_profile_oid)
|
218
|
+
|
219
|
+
```ruby
|
220
|
+
begin
|
221
|
+
# Delete a customer
|
222
|
+
data, status_code, headers = api_instance.delete_customer_with_http_info(customer_profile_oid)
|
223
|
+
p status_code # => 2xx
|
224
|
+
p headers # => { ... }
|
225
|
+
p data # => nil
|
226
|
+
rescue UltracartClient::ApiError => e
|
227
|
+
puts "Error when calling CustomerApi->delete_customer_with_http_info: #{e}"
|
228
|
+
end
|
229
|
+
```
|
230
|
+
|
231
|
+
### Parameters
|
232
|
+
|
233
|
+
| Name | Type | Description | Notes |
|
234
|
+
| ---- | ---- | ----------- | ----- |
|
235
|
+
| **customer_profile_oid** | **Integer** | The customer_profile_oid to delete. | |
|
236
|
+
|
237
|
+
### Return type
|
238
|
+
|
239
|
+
nil (empty response body)
|
240
|
+
|
241
|
+
### Authorization
|
242
|
+
|
243
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
244
|
+
|
245
|
+
### HTTP request headers
|
246
|
+
|
247
|
+
- **Content-Type**: Not defined
|
248
|
+
- **Accept**: application/json
|
249
|
+
|
250
|
+
|
251
|
+
## get_customer
|
252
|
+
|
253
|
+
> <CustomerResponse> get_customer(customer_profile_oid, opts)
|
254
|
+
|
255
|
+
Retrieve a customer
|
256
|
+
|
257
|
+
Retrieves a single customer using the specified customer profile oid.
|
258
|
+
|
259
|
+
### Examples
|
260
|
+
|
261
|
+
```ruby
|
262
|
+
require 'time'
|
263
|
+
require 'ultracart_api'
|
264
|
+
# setup authorization
|
265
|
+
UltracartClient.configure do |config|
|
266
|
+
# Configure OAuth2 access token for authorization: ultraCartOauth
|
267
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
268
|
+
|
269
|
+
# Configure API key authorization: ultraCartSimpleApiKey
|
270
|
+
config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
|
271
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
272
|
+
# config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
|
273
|
+
end
|
274
|
+
|
275
|
+
api_instance = UltracartClient::CustomerApi.new
|
276
|
+
customer_profile_oid = 56 # Integer | The customer oid to retrieve.
|
277
|
+
opts = {
|
278
|
+
_expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
|
279
|
+
}
|
280
|
+
|
281
|
+
begin
|
282
|
+
# Retrieve a customer
|
283
|
+
result = api_instance.get_customer(customer_profile_oid, opts)
|
284
|
+
p result
|
285
|
+
rescue UltracartClient::ApiError => e
|
286
|
+
puts "Error when calling CustomerApi->get_customer: #{e}"
|
287
|
+
end
|
288
|
+
```
|
289
|
+
|
290
|
+
#### Using the get_customer_with_http_info variant
|
291
|
+
|
292
|
+
This returns an Array which contains the response data, status code and headers.
|
293
|
+
|
294
|
+
> <Array(<CustomerResponse>, Integer, Hash)> get_customer_with_http_info(customer_profile_oid, opts)
|
295
|
+
|
296
|
+
```ruby
|
297
|
+
begin
|
298
|
+
# Retrieve a customer
|
299
|
+
data, status_code, headers = api_instance.get_customer_with_http_info(customer_profile_oid, opts)
|
300
|
+
p status_code # => 2xx
|
301
|
+
p headers # => { ... }
|
302
|
+
p data # => <CustomerResponse>
|
303
|
+
rescue UltracartClient::ApiError => e
|
304
|
+
puts "Error when calling CustomerApi->get_customer_with_http_info: #{e}"
|
305
|
+
end
|
306
|
+
```
|
307
|
+
|
308
|
+
### Parameters
|
309
|
+
|
310
|
+
| Name | Type | Description | Notes |
|
311
|
+
| ---- | ---- | ----------- | ----- |
|
312
|
+
| **customer_profile_oid** | **Integer** | The customer oid to retrieve. | |
|
313
|
+
| **_expand** | **String** | The object expansion to perform on the result. See documentation for examples | [optional] |
|
314
|
+
|
315
|
+
### Return type
|
316
|
+
|
317
|
+
[**CustomerResponse**](CustomerResponse.md)
|
318
|
+
|
319
|
+
### Authorization
|
320
|
+
|
321
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
322
|
+
|
323
|
+
### HTTP request headers
|
324
|
+
|
325
|
+
- **Content-Type**: Not defined
|
326
|
+
- **Accept**: application/json
|
327
|
+
|
328
|
+
|
329
|
+
## get_customer_by_email
|
330
|
+
|
331
|
+
> <CustomerResponse> get_customer_by_email(email, opts)
|
332
|
+
|
333
|
+
Retrieve a customer by Email
|
334
|
+
|
335
|
+
Retrieves a single customer using the specified customer email address.
|
336
|
+
|
337
|
+
### Examples
|
338
|
+
|
339
|
+
```ruby
|
340
|
+
require 'time'
|
341
|
+
require 'ultracart_api'
|
342
|
+
# setup authorization
|
343
|
+
UltracartClient.configure do |config|
|
344
|
+
# Configure OAuth2 access token for authorization: ultraCartOauth
|
345
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
346
|
+
|
347
|
+
# Configure API key authorization: ultraCartSimpleApiKey
|
348
|
+
config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
|
349
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
350
|
+
# config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
|
351
|
+
end
|
352
|
+
|
353
|
+
api_instance = UltracartClient::CustomerApi.new
|
354
|
+
email = 'email_example' # String | The email address of the customer to retrieve.
|
355
|
+
opts = {
|
356
|
+
_expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
|
357
|
+
}
|
358
|
+
|
359
|
+
begin
|
360
|
+
# Retrieve a customer by Email
|
361
|
+
result = api_instance.get_customer_by_email(email, opts)
|
362
|
+
p result
|
363
|
+
rescue UltracartClient::ApiError => e
|
364
|
+
puts "Error when calling CustomerApi->get_customer_by_email: #{e}"
|
365
|
+
end
|
366
|
+
```
|
367
|
+
|
368
|
+
#### Using the get_customer_by_email_with_http_info variant
|
369
|
+
|
370
|
+
This returns an Array which contains the response data, status code and headers.
|
371
|
+
|
372
|
+
> <Array(<CustomerResponse>, Integer, Hash)> get_customer_by_email_with_http_info(email, opts)
|
373
|
+
|
374
|
+
```ruby
|
375
|
+
begin
|
376
|
+
# Retrieve a customer by Email
|
377
|
+
data, status_code, headers = api_instance.get_customer_by_email_with_http_info(email, opts)
|
378
|
+
p status_code # => 2xx
|
379
|
+
p headers # => { ... }
|
380
|
+
p data # => <CustomerResponse>
|
381
|
+
rescue UltracartClient::ApiError => e
|
382
|
+
puts "Error when calling CustomerApi->get_customer_by_email_with_http_info: #{e}"
|
383
|
+
end
|
384
|
+
```
|
385
|
+
|
386
|
+
### Parameters
|
387
|
+
|
388
|
+
| Name | Type | Description | Notes |
|
389
|
+
| ---- | ---- | ----------- | ----- |
|
390
|
+
| **email** | **String** | The email address of the customer to retrieve. | |
|
391
|
+
| **_expand** | **String** | The object expansion to perform on the result. See documentation for examples | [optional] |
|
392
|
+
|
393
|
+
### Return type
|
394
|
+
|
395
|
+
[**CustomerResponse**](CustomerResponse.md)
|
396
|
+
|
397
|
+
### Authorization
|
398
|
+
|
399
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
400
|
+
|
401
|
+
### HTTP request headers
|
402
|
+
|
403
|
+
- **Content-Type**: Not defined
|
404
|
+
- **Accept**: application/json
|
405
|
+
|
406
|
+
|
407
|
+
## get_customer_editor_values
|
408
|
+
|
409
|
+
> <CustomerEditorValues> get_customer_editor_values
|
410
|
+
|
411
|
+
Retrieve values needed for a customer profile editor
|
412
|
+
|
413
|
+
Retrieve values needed for a customer profile editor.
|
414
|
+
|
415
|
+
### Examples
|
416
|
+
|
417
|
+
```ruby
|
418
|
+
require 'time'
|
419
|
+
require 'ultracart_api'
|
420
|
+
# setup authorization
|
421
|
+
UltracartClient.configure do |config|
|
422
|
+
# Configure OAuth2 access token for authorization: ultraCartOauth
|
423
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
424
|
+
|
425
|
+
# Configure API key authorization: ultraCartSimpleApiKey
|
426
|
+
config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
|
427
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
428
|
+
# config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
|
429
|
+
end
|
430
|
+
|
431
|
+
api_instance = UltracartClient::CustomerApi.new
|
432
|
+
|
433
|
+
begin
|
434
|
+
# Retrieve values needed for a customer profile editor
|
435
|
+
result = api_instance.get_customer_editor_values
|
436
|
+
p result
|
437
|
+
rescue UltracartClient::ApiError => e
|
438
|
+
puts "Error when calling CustomerApi->get_customer_editor_values: #{e}"
|
439
|
+
end
|
440
|
+
```
|
441
|
+
|
442
|
+
#### Using the get_customer_editor_values_with_http_info variant
|
443
|
+
|
444
|
+
This returns an Array which contains the response data, status code and headers.
|
445
|
+
|
446
|
+
> <Array(<CustomerEditorValues>, Integer, Hash)> get_customer_editor_values_with_http_info
|
447
|
+
|
448
|
+
```ruby
|
449
|
+
begin
|
450
|
+
# Retrieve values needed for a customer profile editor
|
451
|
+
data, status_code, headers = api_instance.get_customer_editor_values_with_http_info
|
452
|
+
p status_code # => 2xx
|
453
|
+
p headers # => { ... }
|
454
|
+
p data # => <CustomerEditorValues>
|
455
|
+
rescue UltracartClient::ApiError => e
|
456
|
+
puts "Error when calling CustomerApi->get_customer_editor_values_with_http_info: #{e}"
|
457
|
+
end
|
458
|
+
```
|
459
|
+
|
460
|
+
### Parameters
|
461
|
+
|
462
|
+
This endpoint does not need any parameter.
|
463
|
+
|
464
|
+
### Return type
|
465
|
+
|
466
|
+
[**CustomerEditorValues**](CustomerEditorValues.md)
|
467
|
+
|
468
|
+
### Authorization
|
469
|
+
|
470
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
471
|
+
|
472
|
+
### HTTP request headers
|
473
|
+
|
474
|
+
- **Content-Type**: Not defined
|
475
|
+
- **Accept**: application/json
|
476
|
+
|
477
|
+
|
478
|
+
## get_customer_email_lists
|
479
|
+
|
480
|
+
> <EmailListsResponse> get_customer_email_lists
|
481
|
+
|
482
|
+
Retrieve all email lists across all storefronts
|
483
|
+
|
484
|
+
Retrieve all email lists across all storefronts
|
485
|
+
|
486
|
+
### Examples
|
487
|
+
|
488
|
+
```ruby
|
489
|
+
require 'time'
|
490
|
+
require 'ultracart_api'
|
491
|
+
# setup authorization
|
492
|
+
UltracartClient.configure do |config|
|
493
|
+
# Configure OAuth2 access token for authorization: ultraCartOauth
|
494
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
495
|
+
|
496
|
+
# Configure API key authorization: ultraCartSimpleApiKey
|
497
|
+
config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
|
498
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
499
|
+
# config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
|
500
|
+
end
|
501
|
+
|
502
|
+
api_instance = UltracartClient::CustomerApi.new
|
503
|
+
|
504
|
+
begin
|
505
|
+
# Retrieve all email lists across all storefronts
|
506
|
+
result = api_instance.get_customer_email_lists
|
507
|
+
p result
|
508
|
+
rescue UltracartClient::ApiError => e
|
509
|
+
puts "Error when calling CustomerApi->get_customer_email_lists: #{e}"
|
510
|
+
end
|
511
|
+
```
|
512
|
+
|
513
|
+
#### Using the get_customer_email_lists_with_http_info variant
|
514
|
+
|
515
|
+
This returns an Array which contains the response data, status code and headers.
|
516
|
+
|
517
|
+
> <Array(<EmailListsResponse>, Integer, Hash)> get_customer_email_lists_with_http_info
|
518
|
+
|
519
|
+
```ruby
|
520
|
+
begin
|
521
|
+
# Retrieve all email lists across all storefronts
|
522
|
+
data, status_code, headers = api_instance.get_customer_email_lists_with_http_info
|
523
|
+
p status_code # => 2xx
|
524
|
+
p headers # => { ... }
|
525
|
+
p data # => <EmailListsResponse>
|
526
|
+
rescue UltracartClient::ApiError => e
|
527
|
+
puts "Error when calling CustomerApi->get_customer_email_lists_with_http_info: #{e}"
|
528
|
+
end
|
529
|
+
```
|
530
|
+
|
531
|
+
### Parameters
|
532
|
+
|
533
|
+
This endpoint does not need any parameter.
|
534
|
+
|
535
|
+
### Return type
|
536
|
+
|
537
|
+
[**EmailListsResponse**](EmailListsResponse.md)
|
538
|
+
|
539
|
+
### Authorization
|
540
|
+
|
541
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
542
|
+
|
543
|
+
### HTTP request headers
|
544
|
+
|
545
|
+
- **Content-Type**: Not defined
|
546
|
+
- **Accept**: application/json
|
547
|
+
|
548
|
+
|
549
|
+
## get_customer_store_credit
|
550
|
+
|
551
|
+
> <CustomerStoreCreditResponse> get_customer_store_credit(customer_profile_oid)
|
552
|
+
|
553
|
+
Retrieve the customer store credit accumulated through loyalty programs
|
554
|
+
|
555
|
+
Retrieve the customer store credit accumulated through loyalty programs
|
556
|
+
|
557
|
+
### Examples
|
558
|
+
|
559
|
+
```ruby
|
560
|
+
require 'time'
|
561
|
+
require 'ultracart_api'
|
562
|
+
# setup authorization
|
563
|
+
UltracartClient.configure do |config|
|
564
|
+
# Configure OAuth2 access token for authorization: ultraCartOauth
|
565
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
566
|
+
|
567
|
+
# Configure API key authorization: ultraCartSimpleApiKey
|
568
|
+
config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
|
569
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
570
|
+
# config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
|
571
|
+
end
|
572
|
+
|
573
|
+
api_instance = UltracartClient::CustomerApi.new
|
574
|
+
customer_profile_oid = 56 # Integer | The customer oid to retrieve.
|
575
|
+
|
576
|
+
begin
|
577
|
+
# Retrieve the customer store credit accumulated through loyalty programs
|
578
|
+
result = api_instance.get_customer_store_credit(customer_profile_oid)
|
579
|
+
p result
|
580
|
+
rescue UltracartClient::ApiError => e
|
581
|
+
puts "Error when calling CustomerApi->get_customer_store_credit: #{e}"
|
582
|
+
end
|
583
|
+
```
|
584
|
+
|
585
|
+
#### Using the get_customer_store_credit_with_http_info variant
|
586
|
+
|
587
|
+
This returns an Array which contains the response data, status code and headers.
|
588
|
+
|
589
|
+
> <Array(<CustomerStoreCreditResponse>, Integer, Hash)> get_customer_store_credit_with_http_info(customer_profile_oid)
|
590
|
+
|
591
|
+
```ruby
|
592
|
+
begin
|
593
|
+
# Retrieve the customer store credit accumulated through loyalty programs
|
594
|
+
data, status_code, headers = api_instance.get_customer_store_credit_with_http_info(customer_profile_oid)
|
595
|
+
p status_code # => 2xx
|
596
|
+
p headers # => { ... }
|
597
|
+
p data # => <CustomerStoreCreditResponse>
|
598
|
+
rescue UltracartClient::ApiError => e
|
599
|
+
puts "Error when calling CustomerApi->get_customer_store_credit_with_http_info: #{e}"
|
600
|
+
end
|
601
|
+
```
|
602
|
+
|
603
|
+
### Parameters
|
604
|
+
|
605
|
+
| Name | Type | Description | Notes |
|
606
|
+
| ---- | ---- | ----------- | ----- |
|
607
|
+
| **customer_profile_oid** | **Integer** | The customer oid to retrieve. | |
|
608
|
+
|
609
|
+
### Return type
|
610
|
+
|
611
|
+
[**CustomerStoreCreditResponse**](CustomerStoreCreditResponse.md)
|
612
|
+
|
613
|
+
### Authorization
|
614
|
+
|
615
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
616
|
+
|
617
|
+
### HTTP request headers
|
618
|
+
|
619
|
+
- **Content-Type**: Not defined
|
620
|
+
- **Accept**: application/json
|
621
|
+
|
622
|
+
|
623
|
+
## get_customers
|
624
|
+
|
625
|
+
> <CustomersResponse> get_customers(opts)
|
626
|
+
|
627
|
+
Retrieve customers
|
628
|
+
|
629
|
+
Retrieves customers from the account. If no parameters are specified, all customers will be returned. You will need to make multiple API calls in order to retrieve the entire result set since this API performs result set pagination.
|
630
|
+
|
631
|
+
### Examples
|
632
|
+
|
633
|
+
```ruby
|
634
|
+
require 'time'
|
635
|
+
require 'ultracart_api'
|
636
|
+
# setup authorization
|
637
|
+
UltracartClient.configure do |config|
|
638
|
+
# Configure OAuth2 access token for authorization: ultraCartOauth
|
639
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
640
|
+
|
641
|
+
# Configure API key authorization: ultraCartSimpleApiKey
|
642
|
+
config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
|
643
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
644
|
+
# config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
|
645
|
+
end
|
646
|
+
|
647
|
+
api_instance = UltracartClient::CustomerApi.new
|
648
|
+
opts = {
|
649
|
+
email: 'email_example', # String | Email
|
650
|
+
qb_class: 'qb_class_example', # String | Quickbooks class
|
651
|
+
quickbooks_code: 'quickbooks_code_example', # String | Quickbooks code
|
652
|
+
last_modified_dts_start: 'last_modified_dts_start_example', # String | Last modified date start
|
653
|
+
last_modified_dts_end: 'last_modified_dts_end_example', # String | Last modified date end
|
654
|
+
signup_dts_start: 'signup_dts_start_example', # String | Signup date start
|
655
|
+
signup_dts_end: 'signup_dts_end_example', # String | Signup date end
|
656
|
+
billing_first_name: 'billing_first_name_example', # String | Billing first name
|
657
|
+
billing_last_name: 'billing_last_name_example', # String | Billing last name
|
658
|
+
billing_company: 'billing_company_example', # String | Billing company
|
659
|
+
billing_city: 'billing_city_example', # String | Billing city
|
660
|
+
billing_state: 'billing_state_example', # String | Billing state
|
661
|
+
billing_postal_code: 'billing_postal_code_example', # String | Billing postal code
|
662
|
+
billing_country_code: 'billing_country_code_example', # String | Billing country code
|
663
|
+
billing_day_phone: 'billing_day_phone_example', # String | Billing day phone
|
664
|
+
billing_evening_phone: 'billing_evening_phone_example', # String | Billing evening phone
|
665
|
+
shipping_first_name: 'shipping_first_name_example', # String | Shipping first name
|
666
|
+
shipping_last_name: 'shipping_last_name_example', # String | Shipping last name
|
667
|
+
shipping_company: 'shipping_company_example', # String | Shipping company
|
668
|
+
shipping_city: 'shipping_city_example', # String | Shipping city
|
669
|
+
shipping_state: 'shipping_state_example', # String | Shipping state
|
670
|
+
shipping_postal_code: 'shipping_postal_code_example', # String | Shipping postal code
|
671
|
+
shipping_country_code: 'shipping_country_code_example', # String | Shipping country code
|
672
|
+
shipping_day_phone: 'shipping_day_phone_example', # String | Shipping day phone
|
673
|
+
shipping_evening_phone: 'shipping_evening_phone_example', # String | Shipping evening phone
|
674
|
+
pricing_tier_oid: 56, # Integer | Pricing tier oid
|
675
|
+
pricing_tier_name: 'pricing_tier_name_example', # String | Pricing tier name
|
676
|
+
_limit: 56, # Integer | The maximum number of records to return on this one API call. (Max 200)
|
677
|
+
_offset: 56, # Integer | Pagination of the record set. Offset is a zero based index.
|
678
|
+
_since: '_since_example', # String | Fetch customers that have been created/modified since this date/time.
|
679
|
+
_sort: '_sort_example', # String | The sort order of the customers. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
|
680
|
+
_expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
|
681
|
+
}
|
682
|
+
|
683
|
+
begin
|
684
|
+
# Retrieve customers
|
685
|
+
result = api_instance.get_customers(opts)
|
686
|
+
p result
|
687
|
+
rescue UltracartClient::ApiError => e
|
688
|
+
puts "Error when calling CustomerApi->get_customers: #{e}"
|
689
|
+
end
|
690
|
+
```
|
691
|
+
|
692
|
+
#### Using the get_customers_with_http_info variant
|
693
|
+
|
694
|
+
This returns an Array which contains the response data, status code and headers.
|
695
|
+
|
696
|
+
> <Array(<CustomersResponse>, Integer, Hash)> get_customers_with_http_info(opts)
|
697
|
+
|
698
|
+
```ruby
|
699
|
+
begin
|
700
|
+
# Retrieve customers
|
701
|
+
data, status_code, headers = api_instance.get_customers_with_http_info(opts)
|
702
|
+
p status_code # => 2xx
|
703
|
+
p headers # => { ... }
|
704
|
+
p data # => <CustomersResponse>
|
705
|
+
rescue UltracartClient::ApiError => e
|
706
|
+
puts "Error when calling CustomerApi->get_customers_with_http_info: #{e}"
|
707
|
+
end
|
708
|
+
```
|
709
|
+
|
710
|
+
### Parameters
|
711
|
+
|
712
|
+
| Name | Type | Description | Notes |
|
713
|
+
| ---- | ---- | ----------- | ----- |
|
714
|
+
| **email** | **String** | Email | [optional] |
|
715
|
+
| **qb_class** | **String** | Quickbooks class | [optional] |
|
716
|
+
| **quickbooks_code** | **String** | Quickbooks code | [optional] |
|
717
|
+
| **last_modified_dts_start** | **String** | Last modified date start | [optional] |
|
718
|
+
| **last_modified_dts_end** | **String** | Last modified date end | [optional] |
|
719
|
+
| **signup_dts_start** | **String** | Signup date start | [optional] |
|
720
|
+
| **signup_dts_end** | **String** | Signup date end | [optional] |
|
721
|
+
| **billing_first_name** | **String** | Billing first name | [optional] |
|
722
|
+
| **billing_last_name** | **String** | Billing last name | [optional] |
|
723
|
+
| **billing_company** | **String** | Billing company | [optional] |
|
724
|
+
| **billing_city** | **String** | Billing city | [optional] |
|
725
|
+
| **billing_state** | **String** | Billing state | [optional] |
|
726
|
+
| **billing_postal_code** | **String** | Billing postal code | [optional] |
|
727
|
+
| **billing_country_code** | **String** | Billing country code | [optional] |
|
728
|
+
| **billing_day_phone** | **String** | Billing day phone | [optional] |
|
729
|
+
| **billing_evening_phone** | **String** | Billing evening phone | [optional] |
|
730
|
+
| **shipping_first_name** | **String** | Shipping first name | [optional] |
|
731
|
+
| **shipping_last_name** | **String** | Shipping last name | [optional] |
|
732
|
+
| **shipping_company** | **String** | Shipping company | [optional] |
|
733
|
+
| **shipping_city** | **String** | Shipping city | [optional] |
|
734
|
+
| **shipping_state** | **String** | Shipping state | [optional] |
|
735
|
+
| **shipping_postal_code** | **String** | Shipping postal code | [optional] |
|
736
|
+
| **shipping_country_code** | **String** | Shipping country code | [optional] |
|
737
|
+
| **shipping_day_phone** | **String** | Shipping day phone | [optional] |
|
738
|
+
| **shipping_evening_phone** | **String** | Shipping evening phone | [optional] |
|
739
|
+
| **pricing_tier_oid** | **Integer** | Pricing tier oid | [optional] |
|
740
|
+
| **pricing_tier_name** | **String** | Pricing tier name | [optional] |
|
741
|
+
| **_limit** | **Integer** | The maximum number of records to return on this one API call. (Max 200) | [optional][default to 100] |
|
742
|
+
| **_offset** | **Integer** | Pagination of the record set. Offset is a zero based index. | [optional][default to 0] |
|
743
|
+
| **_since** | **String** | Fetch customers that have been created/modified since this date/time. | [optional] |
|
744
|
+
| **_sort** | **String** | The sort order of the customers. See Sorting documentation for examples of using multiple values and sorting by ascending and descending. | [optional] |
|
745
|
+
| **_expand** | **String** | The object expansion to perform on the result. See documentation for examples | [optional] |
|
746
|
+
|
747
|
+
### Return type
|
748
|
+
|
749
|
+
[**CustomersResponse**](CustomersResponse.md)
|
750
|
+
|
751
|
+
### Authorization
|
752
|
+
|
753
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
754
|
+
|
755
|
+
### HTTP request headers
|
756
|
+
|
757
|
+
- **Content-Type**: Not defined
|
758
|
+
- **Accept**: application/json
|
759
|
+
|
760
|
+
|
761
|
+
## get_customers_by_query
|
762
|
+
|
763
|
+
> <CustomersResponse> get_customers_by_query(customer_query, opts)
|
764
|
+
|
765
|
+
Retrieve customers by query
|
766
|
+
|
767
|
+
Retrieves customers from the account. If no parameters are specified, all customers will be returned. You will need to make multiple API calls in order to retrieve the entire result set since this API performs result set pagination.
|
768
|
+
|
769
|
+
### Examples
|
770
|
+
|
771
|
+
```ruby
|
772
|
+
require 'time'
|
773
|
+
require 'ultracart_api'
|
774
|
+
# setup authorization
|
775
|
+
UltracartClient.configure do |config|
|
776
|
+
# Configure OAuth2 access token for authorization: ultraCartOauth
|
777
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
778
|
+
|
779
|
+
# Configure API key authorization: ultraCartSimpleApiKey
|
780
|
+
config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
|
781
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
782
|
+
# config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
|
783
|
+
end
|
784
|
+
|
785
|
+
api_instance = UltracartClient::CustomerApi.new
|
786
|
+
customer_query = UltracartClient::CustomerQuery.new # CustomerQuery | Customer query
|
787
|
+
opts = {
|
788
|
+
_limit: 56, # Integer | The maximum number of records to return on this one API call. (Max 200)
|
789
|
+
_offset: 56, # Integer | Pagination of the record set. Offset is a zero based index.
|
790
|
+
_since: '_since_example', # String | Fetch customers that have been created/modified since this date/time.
|
791
|
+
_sort: '_sort_example', # String | The sort order of the customers. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
|
792
|
+
_expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
|
793
|
+
}
|
794
|
+
|
795
|
+
begin
|
796
|
+
# Retrieve customers by query
|
797
|
+
result = api_instance.get_customers_by_query(customer_query, opts)
|
798
|
+
p result
|
799
|
+
rescue UltracartClient::ApiError => e
|
800
|
+
puts "Error when calling CustomerApi->get_customers_by_query: #{e}"
|
801
|
+
end
|
802
|
+
```
|
803
|
+
|
804
|
+
#### Using the get_customers_by_query_with_http_info variant
|
805
|
+
|
806
|
+
This returns an Array which contains the response data, status code and headers.
|
807
|
+
|
808
|
+
> <Array(<CustomersResponse>, Integer, Hash)> get_customers_by_query_with_http_info(customer_query, opts)
|
809
|
+
|
810
|
+
```ruby
|
811
|
+
begin
|
812
|
+
# Retrieve customers by query
|
813
|
+
data, status_code, headers = api_instance.get_customers_by_query_with_http_info(customer_query, opts)
|
814
|
+
p status_code # => 2xx
|
815
|
+
p headers # => { ... }
|
816
|
+
p data # => <CustomersResponse>
|
817
|
+
rescue UltracartClient::ApiError => e
|
818
|
+
puts "Error when calling CustomerApi->get_customers_by_query_with_http_info: #{e}"
|
819
|
+
end
|
820
|
+
```
|
821
|
+
|
822
|
+
### Parameters
|
823
|
+
|
824
|
+
| Name | Type | Description | Notes |
|
825
|
+
| ---- | ---- | ----------- | ----- |
|
826
|
+
| **customer_query** | [**CustomerQuery**](CustomerQuery.md) | Customer query | |
|
827
|
+
| **_limit** | **Integer** | The maximum number of records to return on this one API call. (Max 200) | [optional][default to 100] |
|
828
|
+
| **_offset** | **Integer** | Pagination of the record set. Offset is a zero based index. | [optional][default to 0] |
|
829
|
+
| **_since** | **String** | Fetch customers that have been created/modified since this date/time. | [optional] |
|
830
|
+
| **_sort** | **String** | The sort order of the customers. See Sorting documentation for examples of using multiple values and sorting by ascending and descending. | [optional] |
|
831
|
+
| **_expand** | **String** | The object expansion to perform on the result. See documentation for examples | [optional] |
|
832
|
+
|
833
|
+
### Return type
|
834
|
+
|
835
|
+
[**CustomersResponse**](CustomersResponse.md)
|
836
|
+
|
837
|
+
### Authorization
|
838
|
+
|
839
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
840
|
+
|
841
|
+
### HTTP request headers
|
842
|
+
|
843
|
+
- **Content-Type**: application/json
|
844
|
+
- **Accept**: application/json
|
845
|
+
|
846
|
+
|
847
|
+
## get_customers_for_data_tables
|
848
|
+
|
849
|
+
> <DataTablesServerSideResponse> get_customers_for_data_tables(opts)
|
850
|
+
|
851
|
+
Retrieve customers for DataTables plugin
|
852
|
+
|
853
|
+
Retrieves customers from the account. If no searches are specified, all customers will be returned.
|
854
|
+
|
855
|
+
### Examples
|
856
|
+
|
857
|
+
```ruby
|
858
|
+
require 'time'
|
859
|
+
require 'ultracart_api'
|
860
|
+
# setup authorization
|
861
|
+
UltracartClient.configure do |config|
|
862
|
+
# Configure OAuth2 access token for authorization: ultraCartOauth
|
863
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
864
|
+
|
865
|
+
# Configure API key authorization: ultraCartSimpleApiKey
|
866
|
+
config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
|
867
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
868
|
+
# config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
|
869
|
+
end
|
870
|
+
|
871
|
+
api_instance = UltracartClient::CustomerApi.new
|
872
|
+
opts = {
|
873
|
+
_expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
|
874
|
+
}
|
875
|
+
|
876
|
+
begin
|
877
|
+
# Retrieve customers for DataTables plugin
|
878
|
+
result = api_instance.get_customers_for_data_tables(opts)
|
879
|
+
p result
|
880
|
+
rescue UltracartClient::ApiError => e
|
881
|
+
puts "Error when calling CustomerApi->get_customers_for_data_tables: #{e}"
|
882
|
+
end
|
883
|
+
```
|
884
|
+
|
885
|
+
#### Using the get_customers_for_data_tables_with_http_info variant
|
886
|
+
|
887
|
+
This returns an Array which contains the response data, status code and headers.
|
888
|
+
|
889
|
+
> <Array(<DataTablesServerSideResponse>, Integer, Hash)> get_customers_for_data_tables_with_http_info(opts)
|
890
|
+
|
891
|
+
```ruby
|
892
|
+
begin
|
893
|
+
# Retrieve customers for DataTables plugin
|
894
|
+
data, status_code, headers = api_instance.get_customers_for_data_tables_with_http_info(opts)
|
895
|
+
p status_code # => 2xx
|
896
|
+
p headers # => { ... }
|
897
|
+
p data # => <DataTablesServerSideResponse>
|
898
|
+
rescue UltracartClient::ApiError => e
|
899
|
+
puts "Error when calling CustomerApi->get_customers_for_data_tables_with_http_info: #{e}"
|
900
|
+
end
|
901
|
+
```
|
902
|
+
|
903
|
+
### Parameters
|
904
|
+
|
905
|
+
| Name | Type | Description | Notes |
|
906
|
+
| ---- | ---- | ----------- | ----- |
|
907
|
+
| **_expand** | **String** | The object expansion to perform on the result. See documentation for examples | [optional] |
|
908
|
+
|
909
|
+
### Return type
|
910
|
+
|
911
|
+
[**DataTablesServerSideResponse**](DataTablesServerSideResponse.md)
|
912
|
+
|
913
|
+
### Authorization
|
914
|
+
|
915
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
916
|
+
|
917
|
+
### HTTP request headers
|
918
|
+
|
919
|
+
- **Content-Type**: Not defined
|
920
|
+
- **Accept**: application/json
|
921
|
+
|
922
|
+
|
923
|
+
## get_email_verification_token
|
924
|
+
|
925
|
+
> <EmailVerifyTokenResponse> get_email_verification_token(token_request)
|
926
|
+
|
927
|
+
Create a token that can be used to verify a customer email address
|
928
|
+
|
929
|
+
Create a token that can be used to verify a customer email address. The implementation of how a customer interacts with this token is left to the merchant.
|
930
|
+
|
931
|
+
### Examples
|
932
|
+
|
933
|
+
```ruby
|
934
|
+
require 'time'
|
935
|
+
require 'ultracart_api'
|
936
|
+
# setup authorization
|
937
|
+
UltracartClient.configure do |config|
|
938
|
+
# Configure OAuth2 access token for authorization: ultraCartOauth
|
939
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
940
|
+
|
941
|
+
# Configure API key authorization: ultraCartSimpleApiKey
|
942
|
+
config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
|
943
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
944
|
+
# config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
|
945
|
+
end
|
946
|
+
|
947
|
+
api_instance = UltracartClient::CustomerApi.new
|
948
|
+
token_request = UltracartClient::EmailVerifyTokenRequest.new # EmailVerifyTokenRequest | Token request
|
949
|
+
|
950
|
+
begin
|
951
|
+
# Create a token that can be used to verify a customer email address
|
952
|
+
result = api_instance.get_email_verification_token(token_request)
|
953
|
+
p result
|
954
|
+
rescue UltracartClient::ApiError => e
|
955
|
+
puts "Error when calling CustomerApi->get_email_verification_token: #{e}"
|
956
|
+
end
|
957
|
+
```
|
958
|
+
|
959
|
+
#### Using the get_email_verification_token_with_http_info variant
|
960
|
+
|
961
|
+
This returns an Array which contains the response data, status code and headers.
|
962
|
+
|
963
|
+
> <Array(<EmailVerifyTokenResponse>, Integer, Hash)> get_email_verification_token_with_http_info(token_request)
|
964
|
+
|
965
|
+
```ruby
|
966
|
+
begin
|
967
|
+
# Create a token that can be used to verify a customer email address
|
968
|
+
data, status_code, headers = api_instance.get_email_verification_token_with_http_info(token_request)
|
969
|
+
p status_code # => 2xx
|
970
|
+
p headers # => { ... }
|
971
|
+
p data # => <EmailVerifyTokenResponse>
|
972
|
+
rescue UltracartClient::ApiError => e
|
973
|
+
puts "Error when calling CustomerApi->get_email_verification_token_with_http_info: #{e}"
|
974
|
+
end
|
975
|
+
```
|
976
|
+
|
977
|
+
### Parameters
|
978
|
+
|
979
|
+
| Name | Type | Description | Notes |
|
980
|
+
| ---- | ---- | ----------- | ----- |
|
981
|
+
| **token_request** | [**EmailVerifyTokenRequest**](EmailVerifyTokenRequest.md) | Token request | |
|
982
|
+
|
983
|
+
### Return type
|
984
|
+
|
985
|
+
[**EmailVerifyTokenResponse**](EmailVerifyTokenResponse.md)
|
986
|
+
|
987
|
+
### Authorization
|
988
|
+
|
989
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
990
|
+
|
991
|
+
### HTTP request headers
|
992
|
+
|
993
|
+
- **Content-Type**: application/json
|
994
|
+
- **Accept**: application/json
|
995
|
+
|
996
|
+
|
997
|
+
## insert_customer
|
998
|
+
|
999
|
+
> <CustomerResponse> insert_customer(customer, opts)
|
1000
|
+
|
1001
|
+
Insert a customer
|
1002
|
+
|
1003
|
+
Insert a customer on the UltraCart account.
|
1004
|
+
|
1005
|
+
### Examples
|
1006
|
+
|
1007
|
+
```ruby
|
1008
|
+
require 'time'
|
1009
|
+
require 'ultracart_api'
|
1010
|
+
# setup authorization
|
1011
|
+
UltracartClient.configure do |config|
|
1012
|
+
# Configure OAuth2 access token for authorization: ultraCartOauth
|
1013
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
1014
|
+
|
1015
|
+
# Configure API key authorization: ultraCartSimpleApiKey
|
1016
|
+
config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
|
1017
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1018
|
+
# config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
|
1019
|
+
end
|
1020
|
+
|
1021
|
+
api_instance = UltracartClient::CustomerApi.new
|
1022
|
+
customer = UltracartClient::Customer.new # Customer | Customer to insert
|
1023
|
+
opts = {
|
1024
|
+
_expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
|
1025
|
+
}
|
1026
|
+
|
1027
|
+
begin
|
1028
|
+
# Insert a customer
|
1029
|
+
result = api_instance.insert_customer(customer, opts)
|
1030
|
+
p result
|
1031
|
+
rescue UltracartClient::ApiError => e
|
1032
|
+
puts "Error when calling CustomerApi->insert_customer: #{e}"
|
1033
|
+
end
|
1034
|
+
```
|
1035
|
+
|
1036
|
+
#### Using the insert_customer_with_http_info variant
|
1037
|
+
|
1038
|
+
This returns an Array which contains the response data, status code and headers.
|
1039
|
+
|
1040
|
+
> <Array(<CustomerResponse>, Integer, Hash)> insert_customer_with_http_info(customer, opts)
|
1041
|
+
|
1042
|
+
```ruby
|
1043
|
+
begin
|
1044
|
+
# Insert a customer
|
1045
|
+
data, status_code, headers = api_instance.insert_customer_with_http_info(customer, opts)
|
1046
|
+
p status_code # => 2xx
|
1047
|
+
p headers # => { ... }
|
1048
|
+
p data # => <CustomerResponse>
|
1049
|
+
rescue UltracartClient::ApiError => e
|
1050
|
+
puts "Error when calling CustomerApi->insert_customer_with_http_info: #{e}"
|
1051
|
+
end
|
1052
|
+
```
|
1053
|
+
|
1054
|
+
### Parameters
|
1055
|
+
|
1056
|
+
| Name | Type | Description | Notes |
|
1057
|
+
| ---- | ---- | ----------- | ----- |
|
1058
|
+
| **customer** | [**Customer**](Customer.md) | Customer to insert | |
|
1059
|
+
| **_expand** | **String** | The object expansion to perform on the result. See documentation for examples | [optional] |
|
1060
|
+
|
1061
|
+
### Return type
|
1062
|
+
|
1063
|
+
[**CustomerResponse**](CustomerResponse.md)
|
1064
|
+
|
1065
|
+
### Authorization
|
1066
|
+
|
1067
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
1068
|
+
|
1069
|
+
### HTTP request headers
|
1070
|
+
|
1071
|
+
- **Content-Type**: application/json; charset=UTF-8
|
1072
|
+
- **Accept**: application/json
|
1073
|
+
|
1074
|
+
|
1075
|
+
## search_customer_profile_values
|
1076
|
+
|
1077
|
+
> <LookupResponse> search_customer_profile_values(lookup_request)
|
1078
|
+
|
1079
|
+
Searches for all matching values (using POST)
|
1080
|
+
|
1081
|
+
### Examples
|
1082
|
+
|
1083
|
+
```ruby
|
1084
|
+
require 'time'
|
1085
|
+
require 'ultracart_api'
|
1086
|
+
# setup authorization
|
1087
|
+
UltracartClient.configure do |config|
|
1088
|
+
# Configure API key authorization: ultraCartBrowserApiKey
|
1089
|
+
config.api_key['ultraCartBrowserApiKey'] = 'YOUR API KEY'
|
1090
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1091
|
+
# config.api_key_prefix['ultraCartBrowserApiKey'] = 'Bearer'
|
1092
|
+
|
1093
|
+
# Configure OAuth2 access token for authorization: ultraCartOauth
|
1094
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
1095
|
+
|
1096
|
+
# Configure API key authorization: ultraCartSimpleApiKey
|
1097
|
+
config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
|
1098
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1099
|
+
# config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
|
1100
|
+
end
|
1101
|
+
|
1102
|
+
api_instance = UltracartClient::CustomerApi.new
|
1103
|
+
lookup_request = UltracartClient::LookupRequest.new # LookupRequest | LookupRequest
|
1104
|
+
|
1105
|
+
begin
|
1106
|
+
# Searches for all matching values (using POST)
|
1107
|
+
result = api_instance.search_customer_profile_values(lookup_request)
|
1108
|
+
p result
|
1109
|
+
rescue UltracartClient::ApiError => e
|
1110
|
+
puts "Error when calling CustomerApi->search_customer_profile_values: #{e}"
|
1111
|
+
end
|
1112
|
+
```
|
1113
|
+
|
1114
|
+
#### Using the search_customer_profile_values_with_http_info variant
|
1115
|
+
|
1116
|
+
This returns an Array which contains the response data, status code and headers.
|
1117
|
+
|
1118
|
+
> <Array(<LookupResponse>, Integer, Hash)> search_customer_profile_values_with_http_info(lookup_request)
|
1119
|
+
|
1120
|
+
```ruby
|
1121
|
+
begin
|
1122
|
+
# Searches for all matching values (using POST)
|
1123
|
+
data, status_code, headers = api_instance.search_customer_profile_values_with_http_info(lookup_request)
|
1124
|
+
p status_code # => 2xx
|
1125
|
+
p headers # => { ... }
|
1126
|
+
p data # => <LookupResponse>
|
1127
|
+
rescue UltracartClient::ApiError => e
|
1128
|
+
puts "Error when calling CustomerApi->search_customer_profile_values_with_http_info: #{e}"
|
1129
|
+
end
|
1130
|
+
```
|
1131
|
+
|
1132
|
+
### Parameters
|
1133
|
+
|
1134
|
+
| Name | Type | Description | Notes |
|
1135
|
+
| ---- | ---- | ----------- | ----- |
|
1136
|
+
| **lookup_request** | [**LookupRequest**](LookupRequest.md) | LookupRequest | |
|
1137
|
+
|
1138
|
+
### Return type
|
1139
|
+
|
1140
|
+
[**LookupResponse**](LookupResponse.md)
|
1141
|
+
|
1142
|
+
### Authorization
|
1143
|
+
|
1144
|
+
[ultraCartBrowserApiKey](../README.md#ultraCartBrowserApiKey), [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
1145
|
+
|
1146
|
+
### HTTP request headers
|
1147
|
+
|
1148
|
+
- **Content-Type**: application/json
|
1149
|
+
- **Accept**: application/json
|
1150
|
+
|
1151
|
+
|
1152
|
+
## update_customer
|
1153
|
+
|
1154
|
+
> <CustomerResponse> update_customer(customer_profile_oid, customer, opts)
|
1155
|
+
|
1156
|
+
Update a customer
|
1157
|
+
|
1158
|
+
Update a customer on the UltraCart account.
|
1159
|
+
|
1160
|
+
### Examples
|
1161
|
+
|
1162
|
+
```ruby
|
1163
|
+
require 'time'
|
1164
|
+
require 'ultracart_api'
|
1165
|
+
# setup authorization
|
1166
|
+
UltracartClient.configure do |config|
|
1167
|
+
# Configure OAuth2 access token for authorization: ultraCartOauth
|
1168
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
1169
|
+
|
1170
|
+
# Configure API key authorization: ultraCartSimpleApiKey
|
1171
|
+
config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
|
1172
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1173
|
+
# config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
|
1174
|
+
end
|
1175
|
+
|
1176
|
+
api_instance = UltracartClient::CustomerApi.new
|
1177
|
+
customer_profile_oid = 56 # Integer | The customer_profile_oid to update.
|
1178
|
+
customer = UltracartClient::Customer.new # Customer | Customer to update
|
1179
|
+
opts = {
|
1180
|
+
_expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
|
1181
|
+
}
|
1182
|
+
|
1183
|
+
begin
|
1184
|
+
# Update a customer
|
1185
|
+
result = api_instance.update_customer(customer_profile_oid, customer, opts)
|
1186
|
+
p result
|
1187
|
+
rescue UltracartClient::ApiError => e
|
1188
|
+
puts "Error when calling CustomerApi->update_customer: #{e}"
|
1189
|
+
end
|
1190
|
+
```
|
1191
|
+
|
1192
|
+
#### Using the update_customer_with_http_info variant
|
1193
|
+
|
1194
|
+
This returns an Array which contains the response data, status code and headers.
|
1195
|
+
|
1196
|
+
> <Array(<CustomerResponse>, Integer, Hash)> update_customer_with_http_info(customer_profile_oid, customer, opts)
|
1197
|
+
|
1198
|
+
```ruby
|
1199
|
+
begin
|
1200
|
+
# Update a customer
|
1201
|
+
data, status_code, headers = api_instance.update_customer_with_http_info(customer_profile_oid, customer, opts)
|
1202
|
+
p status_code # => 2xx
|
1203
|
+
p headers # => { ... }
|
1204
|
+
p data # => <CustomerResponse>
|
1205
|
+
rescue UltracartClient::ApiError => e
|
1206
|
+
puts "Error when calling CustomerApi->update_customer_with_http_info: #{e}"
|
1207
|
+
end
|
1208
|
+
```
|
1209
|
+
|
1210
|
+
### Parameters
|
1211
|
+
|
1212
|
+
| Name | Type | Description | Notes |
|
1213
|
+
| ---- | ---- | ----------- | ----- |
|
1214
|
+
| **customer_profile_oid** | **Integer** | The customer_profile_oid to update. | |
|
1215
|
+
| **customer** | [**Customer**](Customer.md) | Customer to update | |
|
1216
|
+
| **_expand** | **String** | The object expansion to perform on the result. See documentation for examples | [optional] |
|
1217
|
+
|
1218
|
+
### Return type
|
1219
|
+
|
1220
|
+
[**CustomerResponse**](CustomerResponse.md)
|
1221
|
+
|
1222
|
+
### Authorization
|
1223
|
+
|
1224
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
1225
|
+
|
1226
|
+
### HTTP request headers
|
1227
|
+
|
1228
|
+
- **Content-Type**: application/json; charset=UTF-8
|
1229
|
+
- **Accept**: application/json
|
1230
|
+
|
1231
|
+
|
1232
|
+
## update_customer_email_lists
|
1233
|
+
|
1234
|
+
> <CustomerEmailListChanges> update_customer_email_lists(customer_profile_oid, list_changes)
|
1235
|
+
|
1236
|
+
Update email list subscriptions for a customer
|
1237
|
+
|
1238
|
+
Update email list subscriptions for a customer
|
1239
|
+
|
1240
|
+
### Examples
|
1241
|
+
|
1242
|
+
```ruby
|
1243
|
+
require 'time'
|
1244
|
+
require 'ultracart_api'
|
1245
|
+
# setup authorization
|
1246
|
+
UltracartClient.configure do |config|
|
1247
|
+
# Configure OAuth2 access token for authorization: ultraCartOauth
|
1248
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
1249
|
+
|
1250
|
+
# Configure API key authorization: ultraCartSimpleApiKey
|
1251
|
+
config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
|
1252
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1253
|
+
# config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
|
1254
|
+
end
|
1255
|
+
|
1256
|
+
api_instance = UltracartClient::CustomerApi.new
|
1257
|
+
customer_profile_oid = 56 # Integer | The customer profile oid
|
1258
|
+
list_changes = UltracartClient::CustomerEmailListChanges.new # CustomerEmailListChanges | List changes
|
1259
|
+
|
1260
|
+
begin
|
1261
|
+
# Update email list subscriptions for a customer
|
1262
|
+
result = api_instance.update_customer_email_lists(customer_profile_oid, list_changes)
|
1263
|
+
p result
|
1264
|
+
rescue UltracartClient::ApiError => e
|
1265
|
+
puts "Error when calling CustomerApi->update_customer_email_lists: #{e}"
|
1266
|
+
end
|
1267
|
+
```
|
1268
|
+
|
1269
|
+
#### Using the update_customer_email_lists_with_http_info variant
|
1270
|
+
|
1271
|
+
This returns an Array which contains the response data, status code and headers.
|
1272
|
+
|
1273
|
+
> <Array(<CustomerEmailListChanges>, Integer, Hash)> update_customer_email_lists_with_http_info(customer_profile_oid, list_changes)
|
1274
|
+
|
1275
|
+
```ruby
|
1276
|
+
begin
|
1277
|
+
# Update email list subscriptions for a customer
|
1278
|
+
data, status_code, headers = api_instance.update_customer_email_lists_with_http_info(customer_profile_oid, list_changes)
|
1279
|
+
p status_code # => 2xx
|
1280
|
+
p headers # => { ... }
|
1281
|
+
p data # => <CustomerEmailListChanges>
|
1282
|
+
rescue UltracartClient::ApiError => e
|
1283
|
+
puts "Error when calling CustomerApi->update_customer_email_lists_with_http_info: #{e}"
|
1284
|
+
end
|
1285
|
+
```
|
1286
|
+
|
1287
|
+
### Parameters
|
1288
|
+
|
1289
|
+
| Name | Type | Description | Notes |
|
1290
|
+
| ---- | ---- | ----------- | ----- |
|
1291
|
+
| **customer_profile_oid** | **Integer** | The customer profile oid | |
|
1292
|
+
| **list_changes** | [**CustomerEmailListChanges**](CustomerEmailListChanges.md) | List changes | |
|
1293
|
+
|
1294
|
+
### Return type
|
1295
|
+
|
1296
|
+
[**CustomerEmailListChanges**](CustomerEmailListChanges.md)
|
1297
|
+
|
1298
|
+
### Authorization
|
1299
|
+
|
1300
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
1301
|
+
|
1302
|
+
### HTTP request headers
|
1303
|
+
|
1304
|
+
- **Content-Type**: application/json; charset=UTF-8
|
1305
|
+
- **Accept**: application/json
|
1306
|
+
|
1307
|
+
|
1308
|
+
## validate_email_verification_token
|
1309
|
+
|
1310
|
+
> <EmailVerifyTokenValidateResponse> validate_email_verification_token(validation_request)
|
1311
|
+
|
1312
|
+
Validate a token that can be used to verify a customer email address
|
1313
|
+
|
1314
|
+
Validate a token that can be used to verify a customer email address. The implementation of how a customer interacts with this token is left to the merchant.
|
1315
|
+
|
1316
|
+
### Examples
|
1317
|
+
|
1318
|
+
```ruby
|
1319
|
+
require 'time'
|
1320
|
+
require 'ultracart_api'
|
1321
|
+
# setup authorization
|
1322
|
+
UltracartClient.configure do |config|
|
1323
|
+
# Configure OAuth2 access token for authorization: ultraCartOauth
|
1324
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
1325
|
+
|
1326
|
+
# Configure API key authorization: ultraCartSimpleApiKey
|
1327
|
+
config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
|
1328
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1329
|
+
# config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
|
1330
|
+
end
|
1331
|
+
|
1332
|
+
api_instance = UltracartClient::CustomerApi.new
|
1333
|
+
validation_request = UltracartClient::EmailVerifyTokenValidateRequest.new # EmailVerifyTokenValidateRequest | Token validation request
|
1334
|
+
|
1335
|
+
begin
|
1336
|
+
# Validate a token that can be used to verify a customer email address
|
1337
|
+
result = api_instance.validate_email_verification_token(validation_request)
|
1338
|
+
p result
|
1339
|
+
rescue UltracartClient::ApiError => e
|
1340
|
+
puts "Error when calling CustomerApi->validate_email_verification_token: #{e}"
|
1341
|
+
end
|
1342
|
+
```
|
1343
|
+
|
1344
|
+
#### Using the validate_email_verification_token_with_http_info variant
|
1345
|
+
|
1346
|
+
This returns an Array which contains the response data, status code and headers.
|
1347
|
+
|
1348
|
+
> <Array(<EmailVerifyTokenValidateResponse>, Integer, Hash)> validate_email_verification_token_with_http_info(validation_request)
|
1349
|
+
|
1350
|
+
```ruby
|
1351
|
+
begin
|
1352
|
+
# Validate a token that can be used to verify a customer email address
|
1353
|
+
data, status_code, headers = api_instance.validate_email_verification_token_with_http_info(validation_request)
|
1354
|
+
p status_code # => 2xx
|
1355
|
+
p headers # => { ... }
|
1356
|
+
p data # => <EmailVerifyTokenValidateResponse>
|
1357
|
+
rescue UltracartClient::ApiError => e
|
1358
|
+
puts "Error when calling CustomerApi->validate_email_verification_token_with_http_info: #{e}"
|
1359
|
+
end
|
1360
|
+
```
|
1361
|
+
|
1362
|
+
### Parameters
|
1363
|
+
|
1364
|
+
| Name | Type | Description | Notes |
|
1365
|
+
| ---- | ---- | ----------- | ----- |
|
1366
|
+
| **validation_request** | [**EmailVerifyTokenValidateRequest**](EmailVerifyTokenValidateRequest.md) | Token validation request | |
|
1367
|
+
|
1368
|
+
### Return type
|
1369
|
+
|
1370
|
+
[**EmailVerifyTokenValidateResponse**](EmailVerifyTokenValidateResponse.md)
|
1371
|
+
|
1372
|
+
### Authorization
|
1373
|
+
|
1374
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
1375
|
+
|
1376
|
+
### HTTP request headers
|
1377
|
+
|
1378
|
+
- **Content-Type**: application/json
|
1379
|
+
- **Accept**: application/json
|
1380
|
+
|