Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
xvantage-integration committed May 9, 2024
1 parent 63f382b commit bcc6cc4
Show file tree
Hide file tree
Showing 30 changed files with 702 additions and 705 deletions.
7 changes: 2 additions & 5 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 @@ -151,6 +148,7 @@ docs/OrderStatusAsyncNotificationRequestResourceInnerLinksInner.md
docs/OrdersAPI.md
docs/PostAsyncOrderCreateV7400Response.md
docs/PostAsyncOrderCreateV7400ResponseFieldsInner.md
docs/PostAsyncOrderCreateV7500Response.md
docs/PostRenewalssearch400Response.md
docs/PriceAndAvailabilityRequest.md
docs/PriceAndAvailabilityRequestAdditionalAttributesInner.md
Expand Down Expand Up @@ -264,7 +262,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 @@ -350,6 +347,7 @@ model_order_status_async_notification_request_resource_inner_lines_inner_shipmen
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_async_order_create_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 @@ -416,7 +414,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.5.0
47 changes: 18 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@

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
To install the package use:
```sh
go get -u github.com/ingrammicro-xvantage/xi-sdk-resellers-go
## Overview
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.

- API version: 1.0.0
- Package version: 1.0.0
- Generator version: 7.5.0
- Build package: org.openapitools.codegen.languages.GoClientCodegen

## Installation

```
Install the following dependencies:

```sh
Expand All @@ -16,13 +20,10 @@ go get golang.org/x/oauth2
go get golang.org/x/net/context
```


Put the package under your project folder and add the following in import:

```go
import xi_sdk_resellers "github.com/ingrammicro-xvantage/xi-sdk-resellers-go"
```

import xi_sdk_resellers "github.com/GIT_USER_ID/GIT_REPO_ID"
```

To use a proxy, set the environment variable `HTTP_PROXY`:
Expand Down Expand Up @@ -71,9 +72,6 @@ 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

Expand All @@ -82,7 +80,6 @@ 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 @@ -92,6 +89,7 @@ Class | Method | HTTP request | Description
*OrdersAPI* | [**DeleteOrdercancel**](docs/OrdersAPI.md#deleteordercancel) | **Delete** /resellers/v6/orders/{OrderNumber} | Cancel your Order
*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* | [**PostAsyncOrderCreateV7**](docs/OrdersAPI.md#postasyncordercreatev7) | **Post** /resellers/v7/orders | Async Order Create
*OrdersAPI* | [**PostCreateorderV6**](docs/OrdersAPI.md#postcreateorderv6) | **Post** /resellers/v6/orders | Create your Order
*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
Expand Down Expand Up @@ -151,7 +149,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 @@ -237,6 +234,7 @@ Class | Method | HTTP request | Description
- [OrderStatusAsyncNotificationRequestResourceInnerLinksInner](docs/OrderStatusAsyncNotificationRequestResourceInnerLinksInner.md)
- [PostAsyncOrderCreateV7400Response](docs/PostAsyncOrderCreateV7400Response.md)
- [PostAsyncOrderCreateV7400ResponseFieldsInner](docs/PostAsyncOrderCreateV7400ResponseFieldsInner.md)
- [PostAsyncOrderCreateV7500Response](docs/PostAsyncOrderCreateV7500Response.md)
- [PostRenewalssearch400Response](docs/PostRenewalssearch400Response.md)
- [PriceAndAvailabilityRequest](docs/PriceAndAvailabilityRequest.md)
- [PriceAndAvailabilityRequestAdditionalAttributesInner](docs/PriceAndAvailabilityRequestAdditionalAttributesInner.md)
Expand Down Expand Up @@ -303,19 +301,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 @@ -354,16 +353,6 @@ Each of these functions takes a value of the given basic type and returns a poin
* `PtrTime`

## Author
-[Ingram Micro Xvantage](https://github.com/ingrammicro-xvantage)

## 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
Loading

0 comments on commit bcc6cc4

Please sign in to comment.