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