Package: xi.sdk.resellers
xi.sdk.resellersFor Resellers. Who are looking to Innovate with Ingram Micro's API SolutionsAutomate your eCommerce with our offering of APIs and Webhooks to create a seamless experience for your customers.Requirements.Python 3.7+Installation & Usagepip installIf you want to install from PyPI:pipinstallxi.sdk.resellersIf the python package is hosted on a repository, you can install directly using:pipinstallgit+https://github.com/ingrammicro-xvantage/xi-sdk-resellers-python.git(you may need to runpipwith root permission:sudo pip install git+https://github.com/ingrammicro-xvantage/xi-sdk-resellers-python.git)Then import the package:importxi.sdk.resellersSetuptoolsInstall viaSetuptools.pythonsetup.pyinstall--user(orsudo python setup.py installto install the package for all users)Then import the package:importxi.sdk.resellersTestsExecutepytestto run the tests.Getting StartedPlease follow theinstallation procedureand then run the following:importxi.sdk.resellersfromxi.sdk.resellers.restimportApiExceptionfrompprintimportpprint# Defining the host is optional and defaults to https://api.ingrammicro.com:443# See configuration.py for a list of all supported configuration parameters.configuration=xi.sdk.resellers.Configuration(host="https://api.ingrammicro.com:443")# Enter a context with an instance of the API clientwithxi.sdk.resellers.ApiClient(configuration)asapi_client:# Create an instance of the API classapi_instance=xi.sdk.resellers.AccesstokenApi(api_client)grant_type='client_credentials'# str | Keep grant_type as client_credentials only.client_id='client_id_example'# str |client_secret='client_secret_example'# str |try:# Accesstokenapi_response=api_instance.get_accesstoken(grant_type,client_id,client_secret)print("The response of AccesstokenApi->get_accesstoken:\n")pprint(api_response)exceptApiExceptionase:print("Exception when calling AccesstokenApi->get_accesstoken:%s\n"%e)Documentation for API EndpointsAll URIs are relative tohttps://api.ingrammicro.com:443ClassMethodHTTP requestDescriptionAccesstokenApiget_accesstokenGET/oauth/oauth20/tokenAccesstokenDealsApiget_resellers_v6_dealsdetailsGET/resellers/v6/deals/{dealId}Deals DetailsDealsApiget_resellers_v6_dealssearchGET/resellers/v6/deals/searchDeals SearchFreightEstimateApipost_freightestimatePOST/resellers/v6/freightestimateFreight EstimateInvoicesApiget_invoicedetails_v6_1GET/resellers/v6.1/invoices/{invoiceNumber}Get Invoice Details v6.1InvoicesApiget_resellers_v6_invoicesearchGET/resellers/v6/invoicesSearch your invoiceOrderStatusApiresellers_v1_webhooks_orderstatusevent_postPOST/resellers/v1/webhooks/orderstatuseventOrder StatusOrdersApidelete_ordercancelDELETE/resellers/v6/orders/{OrderNumber}Cancel your OrderOrdersApiget_orderdetails_v6_1GET/resellers/v6.1/orders/{ordernumber}Get Order Details v6.1OrdersApiget_resellers_v6_ordersearchGET/resellers/v6/orders/searchSearch your OrdersOrdersApipost_createorder_v6POST/resellers/v6/ordersCreate your OrderOrdersApiput_ordermodifyPUT/resellers/v6/orders/{orderNumber}Modify your OrderProductCatalogApiget_reseller_v6_productdetailGET/resellers/v6/catalog/details/{ingramPartNumber}Product DetailsProductCatalogApiget_reseller_v6_productsearchGET/resellers/v6/catalogSearch ProductsProductCatalogApipost_priceandavailabilityPOST/resellers/v6/catalog/priceandavailabilityPrice and AvailabilityQuoteToOrderApipost_quote_to_order_v6POST/resellers/v6/q2o/ordersQuote To OrderQuotesApiget_quotessearch_v6GET/resellers/v6/quotes/searchQuote SearchQuotesApiget_reseller_v6_validate_quoteGET/resellers/v6/q2o/validatequoteValidate QuoteQuotesApiget_resellers_v6_quotesGET/resellers/v6/quotes/{quoteNumber}Get Quote DetailsRenewalsApiget_resellers_v6_renewalsdetailsGET/resellers/v6/renewals/{renewalId}Renewals DetailsRenewalsApipost_renewalssearchPOST/resellers/v6/renewals/searchRenewals SearchReturnsApiget_resellers_v6_returnsdetailsGET/resellers/v6/returns/{caseRequestNumber}Returns DetailsReturnsApiget_resellers_v6_returnssearchGET/resellers/v6/returns/searchReturns SearchReturnsApipost_returnscreatePOST/resellers/v6/returns/createReturns CreateStockUpdateApiresellers_v1_webhooks_availabilityupdate_postPOST/resellers/v1/webhooks/availabilityupdateStock UpdateDocumentation For ModelsAccesstokenResponseAvailabilityAsyncNotificationRequestAvailabilityAsyncNotificationRequestResourceInnerAvailabilityAsyncNotificationRequestResourceInnerLinksInnerDealsDetailsResponseDealsDetailsResponseProductsInnerDealsSearchResponseDealsSearchResponseDealsInnerErrorErrorResponseErrorResponseDTOErrorResponseErrorsInnerErrorResponseErrorsInnerFieldsInnerFieldsFreightRequestFreightRequestLinesInnerFreightRequestShipToAddressInnerFreightResponseFreightResponseFreightEstimateResponseFreightResponseFreightEstimateResponseDistributionInnerFreightResponseFreightEstimateResponseDistributionInnerCarrierListInnerFreightResponseFreightEstimateResponseLinesInnerGetAccesstoken400ResponseGetAccesstoken500ResponseGetAccesstoken500ResponseFaultGetAccesstoken500ResponseFaultDetailGetResellerV6ValidateQuote400ResponseGetResellerV6ValidateQuote400ResponseFieldsInnerGetResellerV6ValidateQuote500ResponseInvoiceDetailsv61ResponseInvoiceDetailsv61ResponseBillToInfoInvoiceDetailsv61ResponseFxRateInfoInvoiceDetailsv61ResponseLinesInnerInvoiceDetailsv61ResponseLinesInnerSerialNumbersInnerInvoiceDetailsv61ResponsePaymentTermsInfoInvoiceDetailsv61ResponseShipToInfoInvoiceDetailsv61ResponseSummaryInvoiceDetailsv61ResponseSummaryForeignFxTotalsInvoiceDetailsv61ResponseSummaryLinesInvoiceDetailsv61ResponseSummaryMiscChargesInnerInvoiceDetailsv61ResponseSummaryTotalsInvoiceSearchResponseInvoiceSearchResponseInvoicesInnerOrderCreateRequestOrderCreateRequestAdditionalAttributesInnerOrderCreateRequestEndUserInfoOrderCreateRequestLinesInnerOrderCreateRequestLinesInnerAdditionalAttributesInnerOrderCreateRequestLinesInnerEndUserInfoInnerOrderCreateRequestLinesInnerWarrantyInfoInnerOrderCreateRequestLinesInnerWarrantyInfoInnerSerialInfoInnerOrderCreateRequestResellerInfoOrderCreateRequestShipToInfoOrderCreateRequestShipmentDetailsOrderCreateRequestVmfOrderCreateResponseOrderCreateResponseEndUserInfoOrderCreateResponseOrdersInnerOrderCreateResponseOrdersInnerAdditionalAttributesInnerOrderCreateResponseOrdersInnerLinesInnerOrderCreateResponseOrdersInnerLinesInnerAdditionalAttributesInnerOrderCreateResponseOrdersInnerLinesInnerShipmentDetailsInnerOrderCreateResponseOrdersInnerLinksInnerOrderCreateResponseOrdersInnerMiscellaneousChargesInnerOrderCreateResponseOrdersInnerRejectedLineItemsInnerOrderCreateResponseShipToInfoOrderDetailB2BOrderDetailB2BAdditionalAttributesInnerOrderDetailB2BBillToInfoOrderDetailB2BEndUserInfoOrderDetailB2BLinesInnerOrderDetailB2BLinesInnerAdditionalAttributesInnerOrderDetailB2BLinesInnerEstimatedDatesInnerOrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryOrderDetailB2BLinesInnerEstimatedDatesInnerDeliveryDeliveryDateRangeOrderDetailB2BLinesInnerEstimatedDatesInnerShipOrderDetailB2BLinesInnerEstimatedDatesInnerShipShipDateRangeOrderDetailB2BLinesInnerLinksInnerOrderDetailB2BLinesInnerMultipleShipmentsInnerOrderDetailB2BLinesInnerScheduleLinesInnerOrderDetailB2BLinesInnerServiceContractInfoOrderDetailB2BLinesInnerServiceContractInfoContractInfoOrderDetailB2BLinesInnerServiceContractInfoLicenseInfoOrderDetailB2BLinesInnerServiceContractInfoSubscriptionsOrderDetailB2BLinesInnerShipmentDetailsInnerOrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerOrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerOrderDetailB2BLinesInnerShipmentDetailsInnerCarrierDetailsInnerTrackingDetailsInnerSerialNumbersInnerOrderDetailB2BMiscellaneousChargesInnerOrderDetailB2BShipToInfoOrderModifyRequestOrderModifyRequestAdditionalAttributesInnerOrderModifyRequestLinesInnerOrderModifyRequestShipToInfoOrderModifyResponseOrderModifyResponseLinesInnerOrderModifyResponseLinesInnerAdditionalAttributesInnerOrderModifyResponseLinesInnerShipmentDetailsOrderModifyResponseRejectedLineItemsInnerOrderModifyResponseShipToInfoOrderSearchResponseOrderSearchResponseOrdersInnerOrderSearchResponseOrdersInnerLinksOrderSearchResponseOrdersInnerSubOrdersInnerOrderSearchResponseOrdersInnerSubOrdersInnerLinksInnerOrderStatusAsyncNotificationRequestOrderStatusAsyncNotificationRequestResourceInnerOrderStatusAsyncNotificationRequestResourceInnerLinesInnerOrderStatusAsyncNotificationRequestResourceInnerLinesInnerSerialNumberDetailsInnerOrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerOrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInnerOrderStatusAsyncNotificationRequestResourceInnerLinksInnerPostQuoteToOrderV6400ResponsePostQuoteToOrderV6400ResponseFieldsInnerPostRenewalssearch400ResponsePriceAndAvailabilityRequestPriceAndAvailabilityRequestAdditionalAttributesInnerPriceAndAvailabilityRequestAvailabilityByWarehouseInnerPriceAndAvailabilityRequestProductsInnerPriceAndAvailabilityRequestProductsInnerAdditionalAttributesInnerPriceAndAvailabilityResponseInnerPriceAndAvailabilityResponseInnerAvailabilityPriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerPriceAndAvailabilityResponseInnerAvailabilityAvailabilityByWarehouseInnerBackOrderInfoInnerPriceAndAvailabilityResponseInnerDiscountsInnerPriceAndAvailabilityResponseInnerDiscountsInnerQuantityDiscountsInnerPriceAndAvailabilityResponseInnerDiscountsInnerSpecialPricingInnerPriceAndAvailabilityResponseInnerPricingPriceAndAvailabilityResponseInnerReserveInventoryDetailsInnerPriceAndAvailabilityResponseInnerServiceFeesInnerProductDetailResponseProductDetailResponseAdditionalInformationProductDetailResponseAdditionalInformationProductWeightInnerProductDetailResponseCiscoFieldsProductDetailResponseIndicatorsProductDetailResponseTechnicalSpecificationsInnerProductSearchResponseProductSearchResponseCatalogInnerProductSearchResponseCatalogInnerLinksInnerQuoteDetailsResponseQuoteDetailsResponseAdditionalAttributesInnerQuoteDetailsResponseEndUserInfoQuoteDetailsResponseProductsInnerQuoteDetailsResponseProductsInnerPriceQuoteDetailsResponseResellerInfoQuoteSearchResponseQuoteSearchResponseQuotesInnerQuoteSearchResponseQuotesInnerLinksQuoteToOrderDetailsDTOQuoteToOrderDetailsDTOAdditionalAttributesInnerQuoteToOrderDetailsDTOEndUserInfoQuoteToOrderDetailsDTOLinesInnerQuoteToOrderDetailsDTOLinesInnerVmfAdditionalAttributesLinesInnerQuoteToOrderDetailsDTOShipToInfoQuoteToOrderDetailsDTOVmfadditionalAttributesInnerQuoteToOrderResponseRenewalsDetailsResponseRenewalsDetailsResponseAdditionalAttributesInnerRenewalsDetailsResponseEndUserInfoRenewalsDetailsResponseProductsInnerRenewalsDetailsResponseReferenceNumberRenewalsSearchRequestRenewalsSearchRequestDateTypeRenewalsSearchRequestDateTypeEndDateRenewalsSearchRequestDateTypeExpirationDateRenewalsSearchRequestDateTypeInvoiceDateRenewalsSearchRequestDateTypeStartDateRenewalsSearchRequestStatusRenewalsSearchRequestStatusOpporutinyStatusRenewalsSearchResponseRenewalsSearchResponseRenewalsInnerRenewalsSearchResponseRenewalsInnerLinksInnerReturnsCreateRequestReturnsCreateRequestListInnerReturnsCreateRequestListInnerShipFromInfoInnerReturnsCreateResponseReturnsCreateResponseReturnsClaimsInnerReturnsDetailsResponseReturnsDetailsResponseProductsInnerReturnsSearchResponseReturnsSearchResponseReturnsClaimsInnerReturnsSearchResponseReturnsClaimsInnerLinksInnerValidateQuoteResponseValidateQuoteResponseLinesInnerValidateQuoteResponseVmfAdditionalAttributesInnerDocumentation For AuthorizationAuthentication schemes defined for the API:applicationType: OAuthFlow: applicationAuthorization URL:Scopes:write: allows modifying resourcesread: allows reading resourcesdescription:Author-Ingram Micro XvantageContactFor any inquiries or support, please feel free to contact us at:Email:xi_support@ingrammicro.com