Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature #21

Merged
merged 7 commits into from
Jun 10, 2024
23 changes: 14 additions & 9 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
README.md
api/openapi.yaml
api_accesstoken.go
api_async_order_create.go
api_deals.go
api_freight_estimate.go
api_invoices.go
Expand All @@ -19,7 +18,6 @@ client.go
configuration.go
docs/AccesstokenAPI.md
docs/AccesstokenResponse.md
docs/AsyncOrderCreateAPI.md
docs/AsyncOrderCreateDTO.md
docs/AsyncOrderCreateDTOAdditionalAttributesInner.md
docs/AsyncOrderCreateDTOEndUserInfo.md
Expand Down Expand Up @@ -62,7 +60,6 @@ docs/GetAccesstoken500ResponseFault.md
docs/GetAccesstoken500ResponseFaultDetail.md
docs/GetResellerV6ValidateQuote400Response.md
docs/GetResellerV6ValidateQuote400ResponseFieldsInner.md
docs/GetResellerV6ValidateQuote500Response.md
docs/InvoiceDetailsv61Response.md
docs/InvoiceDetailsv61ResponseBillToInfo.md
docs/InvoiceDetailsv61ResponseFxRateInfo.md
Expand Down Expand Up @@ -149,8 +146,9 @@ docs/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsIn
docs/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner.md
docs/OrderStatusAsyncNotificationRequestResourceInnerLinksInner.md
docs/OrdersAPI.md
docs/PostAsyncOrderCreateV7400Response.md
docs/PostAsyncOrderCreateV7400ResponseFieldsInner.md
docs/PostCreateorderV7400Response.md
docs/PostCreateorderV7400ResponseFieldsInner.md
docs/PostCreateorderV7500Response.md
docs/PostRenewalssearch400Response.md
docs/PriceAndAvailabilityRequest.md
docs/PriceAndAvailabilityRequestAdditionalAttributesInner.md
Expand Down Expand Up @@ -181,8 +179,12 @@ docs/QuoteDetailsResponse.md
docs/QuoteDetailsResponseAdditionalAttributesInner.md
docs/QuoteDetailsResponseEndUserInfo.md
docs/QuoteDetailsResponseProductsInner.md
docs/QuoteDetailsResponseProductsInnerBillDetailsInner.md
docs/QuoteDetailsResponseProductsInnerPrice.md
docs/QuoteDetailsResponseProductsInnerPriceDiscountsInner.md
docs/QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner.md
docs/QuoteDetailsResponseResellerInfo.md
docs/QuoteDetailsResponseShippingInfo.md
docs/QuoteSearchResponse.md
docs/QuoteSearchResponseQuotesInner.md
docs/QuoteSearchResponseQuotesInnerLinks.md
Expand Down Expand Up @@ -264,7 +266,6 @@ model_get_accesstoken_500_response_fault.go
model_get_accesstoken_500_response_fault_detail.go
model_get_reseller_v6_validate_quote_400_response.go
model_get_reseller_v6_validate_quote_400_response_fields_inner.go
model_get_reseller_v6_validate_quote_500_response.go
model_invoice_detailsv6_1_response.go
model_invoice_detailsv6_1_response_bill_to_info.go
model_invoice_detailsv6_1_response_fx_rate_info.go
Expand Down Expand Up @@ -348,8 +349,9 @@ model_order_status_async_notification_request_resource_inner_lines_inner_serial_
model_order_status_async_notification_request_resource_inner_lines_inner_shipment_details_inner.go
model_order_status_async_notification_request_resource_inner_lines_inner_shipment_details_inner_package_details_inner.go
model_order_status_async_notification_request_resource_inner_links_inner.go
model_post_async_order_create_v7_400_response.go
model_post_async_order_create_v7_400_response_fields_inner.go
model_post_createorder_v7_400_response.go
model_post_createorder_v7_400_response_fields_inner.go
model_post_createorder_v7_500_response.go
model_post_renewalssearch_400_response.go
model_price_and_availability_request.go
model_price_and_availability_request_additional_attributes_inner.go
Expand Down Expand Up @@ -379,8 +381,12 @@ model_quote_details_response.go
model_quote_details_response_additional_attributes_inner.go
model_quote_details_response_end_user_info.go
model_quote_details_response_products_inner.go
model_quote_details_response_products_inner_bill_details_inner.go
model_quote_details_response_products_inner_price.go
model_quote_details_response_products_inner_price_discounts_inner.go
model_quote_details_response_products_inner_price_extra_fees_details_inner.go
model_quote_details_response_reseller_info.go
model_quote_details_response_shipping_info.go
model_quote_search_response.go
model_quote_search_response_quotes_inner.go
model_quote_search_response_quotes_inner_links.go
Expand Down Expand Up @@ -416,7 +422,6 @@ model_validate_quote_response_lines_inner_vmf_additional_attributes_lines_inner.
model_validate_quote_response_vmf_additional_attributes_inner.go
response.go
test/api_accesstoken_test.go
test/api_async_order_create_test.go
test/api_deals_test.go
test/api_freight_estimate_test.go
test/api_invoices_test.go
Expand Down
2 changes: 1 addition & 1 deletion .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.4.0
7.6.0
36 changes: 17 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Go API client for xi_sdk_resellers

# Go API client for xi_sdk_resellers

For resellers seeking to innovate with Ingram Micro's API solutions, automate your eCommerce experience with our array of API's and webhooks to craft a seamless journey for your customers.

# Installation
Expand Down Expand Up @@ -74,15 +76,13 @@ ctx = context.WithValue(context.Background(), xi_sdk_resellers.ContextOperationS
## Getting Started

Quickstart on creating an application can be found [here](getting-started.md)

## Documentation for API Endpoints

All URIs are relative to *https://api.ingrammicro.com:443*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*AccesstokenAPI* | [**GetAccesstoken**](docs/AccesstokenAPI.md#getaccesstoken) | **Get** /oauth/oauth20/token | Accesstoken
*AsyncOrderCreateAPI* | [**PostAsyncOrderCreateV7**](docs/AsyncOrderCreateAPI.md#postasyncordercreatev7) | **Post** /resellers/v7/orders | Async Order Create
*DealsAPI* | [**GetResellersV6Dealsdetails**](docs/DealsAPI.md#getresellersv6dealsdetails) | **Get** /resellers/v6/deals/{dealId} | Deals Details
*DealsAPI* | [**GetResellersV6Dealssearch**](docs/DealsAPI.md#getresellersv6dealssearch) | **Get** /resellers/v6/deals/search | Deals Search
*FreightEstimateAPI* | [**PostFreightestimate**](docs/FreightEstimateAPI.md#postfreightestimate) | **Post** /resellers/v6/freightestimate | Freight Estimate
Expand All @@ -93,6 +93,7 @@ Class | Method | HTTP request | Description
*OrdersAPI* | [**GetOrderdetailsV61**](docs/OrdersAPI.md#getorderdetailsv61) | **Get** /resellers/v6.1/orders/{ordernumber} | Get Order Details v6.1
*OrdersAPI* | [**GetResellersV6Ordersearch**](docs/OrdersAPI.md#getresellersv6ordersearch) | **Get** /resellers/v6/orders/search | Search your Orders
*OrdersAPI* | [**PostCreateorderV6**](docs/OrdersAPI.md#postcreateorderv6) | **Post** /resellers/v6/orders | Create your Order
*OrdersAPI* | [**PostCreateorderV7**](docs/OrdersAPI.md#postcreateorderv7) | **Post** /resellers/v7/orders | Create your Order v7
*OrdersAPI* | [**PutOrdermodify**](docs/OrdersAPI.md#putordermodify) | **Put** /resellers/v6/orders/{orderNumber} | Modify your Order
*ProductCatalogAPI* | [**GetResellerV6Productdetail**](docs/ProductCatalogAPI.md#getresellerv6productdetail) | **Get** /resellers/v6/catalog/details/{ingramPartNumber} | Product Details
*ProductCatalogAPI* | [**GetResellerV6Productsearch**](docs/ProductCatalogAPI.md#getresellerv6productsearch) | **Get** /resellers/v6/catalog | Search Products
Expand Down Expand Up @@ -151,7 +152,6 @@ Class | Method | HTTP request | Description
- [GetAccesstoken500ResponseFaultDetail](docs/GetAccesstoken500ResponseFaultDetail.md)
- [GetResellerV6ValidateQuote400Response](docs/GetResellerV6ValidateQuote400Response.md)
- [GetResellerV6ValidateQuote400ResponseFieldsInner](docs/GetResellerV6ValidateQuote400ResponseFieldsInner.md)
- [GetResellerV6ValidateQuote500Response](docs/GetResellerV6ValidateQuote500Response.md)
- [InvoiceDetailsv61Response](docs/InvoiceDetailsv61Response.md)
- [InvoiceDetailsv61ResponseBillToInfo](docs/InvoiceDetailsv61ResponseBillToInfo.md)
- [InvoiceDetailsv61ResponseFxRateInfo](docs/InvoiceDetailsv61ResponseFxRateInfo.md)
Expand Down Expand Up @@ -235,8 +235,9 @@ Class | Method | HTTP request | Description
- [OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInner](docs/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInner.md)
- [OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner](docs/OrderStatusAsyncNotificationRequestResourceInnerLinesInnerShipmentDetailsInnerPackageDetailsInner.md)
- [OrderStatusAsyncNotificationRequestResourceInnerLinksInner](docs/OrderStatusAsyncNotificationRequestResourceInnerLinksInner.md)
- [PostAsyncOrderCreateV7400Response](docs/PostAsyncOrderCreateV7400Response.md)
- [PostAsyncOrderCreateV7400ResponseFieldsInner](docs/PostAsyncOrderCreateV7400ResponseFieldsInner.md)
- [PostCreateorderV7400Response](docs/PostCreateorderV7400Response.md)
- [PostCreateorderV7400ResponseFieldsInner](docs/PostCreateorderV7400ResponseFieldsInner.md)
- [PostCreateorderV7500Response](docs/PostCreateorderV7500Response.md)
- [PostRenewalssearch400Response](docs/PostRenewalssearch400Response.md)
- [PriceAndAvailabilityRequest](docs/PriceAndAvailabilityRequest.md)
- [PriceAndAvailabilityRequestAdditionalAttributesInner](docs/PriceAndAvailabilityRequestAdditionalAttributesInner.md)
Expand Down Expand Up @@ -266,8 +267,12 @@ Class | Method | HTTP request | Description
- [QuoteDetailsResponseAdditionalAttributesInner](docs/QuoteDetailsResponseAdditionalAttributesInner.md)
- [QuoteDetailsResponseEndUserInfo](docs/QuoteDetailsResponseEndUserInfo.md)
- [QuoteDetailsResponseProductsInner](docs/QuoteDetailsResponseProductsInner.md)
- [QuoteDetailsResponseProductsInnerBillDetailsInner](docs/QuoteDetailsResponseProductsInnerBillDetailsInner.md)
- [QuoteDetailsResponseProductsInnerPrice](docs/QuoteDetailsResponseProductsInnerPrice.md)
- [QuoteDetailsResponseProductsInnerPriceDiscountsInner](docs/QuoteDetailsResponseProductsInnerPriceDiscountsInner.md)
- [QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner](docs/QuoteDetailsResponseProductsInnerPriceExtraFeesDetailsInner.md)
- [QuoteDetailsResponseResellerInfo](docs/QuoteDetailsResponseResellerInfo.md)
- [QuoteDetailsResponseShippingInfo](docs/QuoteDetailsResponseShippingInfo.md)
- [QuoteSearchResponse](docs/QuoteSearchResponse.md)
- [QuoteSearchResponseQuotesInner](docs/QuoteSearchResponseQuotesInner.md)
- [QuoteSearchResponseQuotesInnerLinks](docs/QuoteSearchResponseQuotesInnerLinks.md)
Expand Down Expand Up @@ -303,19 +308,20 @@ Class | Method | HTTP request | Description
- [ValidateQuoteResponseVmfAdditionalAttributesInner](docs/ValidateQuoteResponseVmfAdditionalAttributesInner.md)


## Documentation for Authorization
## Documentation For Authorization


Authentication schemes defined for the API:
### application


- **Type**: OAuth
- **Flow**: application
- **Authorization URL**: https://api.ingrammicro.com:443/oauth/oauth20/token?grant_type=client_credentials&client_id={ClientId}&client_secret={clientSecret}
- **Method**: Get
- **Authorization URL**:
- **Scopes**:
- write: allows modifying resources
- read: allows reading resources
- **write**: allows modifying resources
- **read**: allows reading resources
- **description**:

Example

Expand Down Expand Up @@ -358,12 +364,4 @@ Each of these functions takes a value of the given basic type and returns a poin

## Contact

For any inquiries or support, please feel free to contact us at:

<<<<<<< HEAD
- Email: xi_support@ingrammicro.com


=======
- Email: xi_support@ingrammicro.com
>>>>>>> main
For any inquiries or support, please feel free to contact us at:
Loading
Loading