Michelin North America Order-to-Cash APIs for dealers
-
API version: 1.0.0
-
Generator version: 7.10.0
These APIs will help you to do business transactions with Michelin.
Authentication details:
Option A: OAuth2 Client Credentials (recommended)
Option B: API Key + Basic Authentication (not recommended)
To request your access, please contact your representative.
Our services are based on the EDIWHEEL standards.
You can find more information on the <a href="https://www.ediwheel.com/\" target="_blank">EDIWHEEL website.
Automatically generated by the OpenAPI Generator
Building the API client library requires:
- Java 1.8+
- Maven/Gradle
To install the API client library to your local Maven repository, simply execute:
mvn clean install
To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:
mvn clean deploy
Refer to the OSSRH Guide for more information.
Add this dependency to your project's POM:
<dependencies>
...
<dependency>
<groupId>com.michelin.adk.amn.o2c</groupId>
<artifactId>amn-o2c-sdk</artifactId>
<version>v1.0.0</version>
<scope>compile</scope>
</dependency>
...
</dependencies>
Add this dependency to your project's build file:
repositories {
mavenCentral() // Needed if the 'amn-o2c-sdk' jar has been published to maven central.
mavenLocal() // Needed if the 'amn-o2c-sdk' jar has been published to the local maven repo.
}
dependencies {
implementation "com.michelin.adk.amn.o2c:amn-o2c-sdk:v1.0.0"
}
At first generate the JAR by executing:
mvn clean package
Then manually install the following JARs:
target/amn-o2c-sdk-v1.0.0.jar
target/lib/*.jar
Please follow the installation instruction and execute the following Java code:
import com.michelin.adk.amn.*;
import com.michelin.adk.amn.auth.*;
import com.michelin.adk.amn.o2c.model.*;
import com.michelin.adk.amn.o2c.AuthenticationApi;
public class AuthenticationApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://indus.api.michelin.com");
AuthenticationApi apiInstance = new AuthenticationApi(defaultClient);
String grantType = "grantType_example"; // String |
String clientId = "clientId_example"; // String |
String clientSecret = "clientSecret_example"; // String |
try {
AuthenticationTokenResponse result = apiInstance.idpV2B2bOauth2TokenPost(grantType, clientId, clientSecret);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AuthenticationApi#idpV2B2bOauth2TokenPost");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
All URIs are relative to https://indus.api.michelin.com
Class | Method | HTTP request | Description |
---|---|---|---|
AuthenticationApi | idpV2B2bOauth2TokenPost | POST /idp/v2/b2b/oauth2/token | Obtain a token to consume the other APIs. |
DeliveryApi | desadvAmnC10DesadvPost | POST /desadv/amn/C1_0/desadv | Obtain your Despatch Advices information |
InvoiceApi | invoiceAmnB34InvoicesPost | POST /invoice/amn/B3_4/invoices | Get your invoices list. |
OrderApi | orderAmnC11CreatePost | POST /order/amn/C1_1/create | Create a new order. |
OrderApi | orderAmnC11StatusPost | POST /order/amn/C1_1/status | Obtain the status of your orders |
StockApi | stockAmnC11InquiryPost | POST /stock/amn/C1_1/inquiry | Stock inquiry for the quote of given products |
- AuthenticationError
- AuthenticationTokenResponse
- EDIWheelB44InvoiceListRequest
- EDIWheelB44InvoiceListRequestInvoiceInner
- EDIWheelB44InvoiceListResponse
- EDIWheelB44InvoiceListResponseErrorHead
- EDIWheelB44InvoiceListResponseInvoiceInner
- EDIWheelB44InvoiceListResponseInvoiceInnerAttachmentsInner
- EDIWheelB44InvoiceListResponseInvoiceInnerBuyerParty
- EDIWheelB44InvoiceListResponseInvoiceInnerConsignee
- EDIWheelB44InvoiceListResponseInvoiceInnerControls
- EDIWheelB44InvoiceListResponseInvoiceInnerEInvoicingIDInner
- EDIWheelB44InvoiceListResponseInvoiceInnerHeaderNote
- EDIWheelB44InvoiceListResponseInvoiceInnerInvoiceIssuerParty
- EDIWheelB44InvoiceListResponseInvoiceInnerInvoiceIssuerPartyAddress
- EDIWheelB44InvoiceListResponseInvoiceInnerInvoiceeParty
- EDIWheelB44InvoiceListResponseInvoiceInnerLineLevelInner
- EDIWheelB44InvoiceListResponseInvoiceInnerLineLevelInnerArticle
- EDIWheelB44InvoiceListResponseInvoiceInnerLineLevelInnerArticleAllowanceOrChargeInner
- EDIWheelB44InvoiceListResponseInvoiceInnerLineLevelInnerArticleAllowanceOrChargeInnerTaxDetailsInner
- EDIWheelB44InvoiceListResponseInvoiceInnerLineLevelInnerArticleArticleCharacteristics
- EDIWheelB44InvoiceListResponseInvoiceInnerLineLevelInnerArticleArticleIdentification
- EDIWheelB44InvoiceListResponseInvoiceInnerLineLevelInnerArticlePriceDetails
- EDIWheelB44InvoiceListResponseInvoiceInnerLineLevelInnerArticleTaxDetails
- EDIWheelB44InvoiceListResponseInvoiceInnerLineLevelInnerArticleTracingInformationInner
- EDIWheelB44InvoiceListResponseInvoiceInnerLineLevelInnerReferences
- EDIWheelB44InvoiceListResponseInvoiceInnerLineLevelInnerReferencesDeliveryNoteReference
- EDIWheelB44InvoiceListResponseInvoiceInnerPaymentInstructions
- EDIWheelB44InvoiceListResponseInvoiceInnerPaymentInstructionsAccountHolderIdentification
- EDIWheelB44InvoiceListResponseInvoiceInnerPaymentInstructionsInstitutionIdentification
- EDIWheelB44InvoiceListResponseInvoiceInnerPaymentTermsInner
- EDIWheelB44InvoiceListResponseInvoiceInnerPaymentTermsInnerPaymentDiscountInner
- EDIWheelB44InvoiceListResponseInvoiceInnerPaymentTermsInnerPaymentDiscountInnerFinancialDiscount
- EDIWheelB44InvoiceListResponseInvoiceInnerPaymentTermsInnerPaymentNetInner
- EDIWheelB44InvoiceListResponseInvoiceInnerPaymentTermsInnerPaymentNetInnerInstalmentAmount
- EDIWheelB44InvoiceListResponseInvoiceInnerReferences
- EDIWheelB44InvoiceListResponseInvoiceInnerReferencesAssociatedExternalnvoiceReference
- EDIWheelB44InvoiceListResponseInvoiceInnerReferencesBlanketOrderReference
- EDIWheelB44InvoiceListResponseInvoiceInnerReferencesDeliveryNoteReference
- EDIWheelB44InvoiceListResponseInvoiceInnerReferencesExternalnvoiceReference
- EDIWheelB44InvoiceListResponseInvoiceInnerReferencesSupplierClaimNumber
- EDIWheelB44InvoiceListResponseInvoiceInnerReferencesSuppliersOrderReference
- EDIWheelB44InvoiceListResponseInvoiceInnerSellerParty
- EDIWheelB44InvoiceListResponseInvoiceInnerSellerPartyInformationContact
- EDIWheelB44InvoiceListResponseInvoiceInnerSellerPartySupplierParty
- EDIWheelB44InvoiceListResponseInvoiceInnerSellerPartySupplierPartyShippingLocation
- EDIWheelB44InvoiceListResponseInvoiceInnerSummary
- EDIWheelB44InvoiceListResponseInvoiceInnerSummaryAllowanceOrChargeInner
- EDIWheelB44InvoiceListResponseInvoiceInnerSummaryTaxDetailsInner
- EDIWheelC10DesadvRequest
- EDIWheelC10DesadvRequestConsignee
- EDIWheelC10DesadvRequestConsigneeAddress
- EDIWheelC10DesadvRequestOrderedArticle
- EDIWheelC10DesadvRequestOrderedArticleArticleIdentification
- EDIWheelC10DesadvRequestReferences
- EDIWheelC10DesadvRequestSellerParty
- EDIWheelC10DesadvResponse
- EDIWheelC10DesadvResponseDesadvInner
- EDIWheelC10DesadvResponseDesadvInnerConsignee
- EDIWheelC10DesadvResponseDesadvInnerConsigneeAddress
- EDIWheelC10DesadvResponseDesadvInnerConsigneeAddressGeolocation
- EDIWheelC10DesadvResponseDesadvInnerLineLevelInner
- EDIWheelC10DesadvResponseDesadvInnerLineLevelInnerOrderedArticle
- EDIWheelC10DesadvResponseDesadvInnerLineLevelInnerOrderedArticleArticleDescription
- EDIWheelC10DesadvResponseDesadvInnerLineLevelInnerOrderedArticleTracingInformationInner
- EDIWheelC10DesadvResponseDesadvInnerLineLevelInnerReferencesInner
- EDIWheelC10DesadvResponseDesadvInnerMeasures
- EDIWheelC10DesadvResponseDesadvInnerMeasuresGrossWeight
- EDIWheelC10DesadvResponseDesadvInnerReferencesInner
- EDIWheelC10DesadvResponseDesadvInnerSupplierParty
- EDIWheelC10DesadvResponseDesadvInnerSupplierPartySalesContact
- EDIWheelC10DesadvResponseDesadvInnerSupplierPartyShippingLocation
- EDIWheelC10DesadvResponseDesadvInnerTotalQuantity
- EDIWheelC10DesadvResponseEnvelopeHeader
- EDIWheelC10DesadvResponseErrorHead
- EDIWheelC11OrderCreationRequest
- EDIWheelC11OrderCreationRequestBlanketOrderReference
- EDIWheelC11OrderCreationRequestConsignee
- EDIWheelC11OrderCreationRequestConsigneeAddress
- EDIWheelC11OrderCreationRequestOrderLineInner
- EDIWheelC11OrderCreationRequestOrderLineInnerOrderedArticle
- EDIWheelC11OrderCreationRequestOrderLineInnerOrderedArticleRequestedQuantity
- EDIWheelC11OrderCreationRequestPaymentTerms
- EDIWheelC11OrderCreationRequestSellerParty
- EDIWheelC11OrderCreationRequestSellerPartyAddress
- EDIWheelC11OrderCreationRequestSellerPartyInformationContact
- EDIWheelC11OrderCreationResponse
- EDIWheelC11OrderCreationResponseCharge
- EDIWheelC11OrderCreationResponseChargeChargeAmount
- EDIWheelC11OrderCreationResponseConsignee
- EDIWheelC11OrderCreationResponseOrderLineInner
- EDIWheelC11OrderCreationResponseOrderLineInnerOrderedArticle
- EDIWheelC11OrderCreationResponseOrderLineInnerOrderedArticleArticleDescription
- EDIWheelC11OrderCreationResponseOrderLineInnerOrderedArticleError
- EDIWheelC11OrderCreationResponseOrderLineInnerOrderedArticleScheduleDetailsInner
- EDIWheelC11OrderCreationResponseOrderLineInnerOrderedArticleScheduleDetailsInnerPriceDetails
- EDIWheelC11OrderCreationResponseOrderLineInnerOrderedArticleScheduleDetailsInnerPriceDetailsNetUnitPrice
- EDIWheelC11OrderStatusRequest
- EDIWheelC11OrderStatusRequestConsignee
- EDIWheelC11OrderStatusRequestConsigneeAddress
- EDIWheelC11OrderStatusRequestReferencedOrderInner
- EDIWheelC11OrderStatusRequestReferencedOrderInnerSupplierOrderNumber
- EDIWheelC11OrderStatusResponse
- EDIWheelC11OrderStatusResponseConsignee
- EDIWheelC11OrderStatusResponseConsigneeAddress
- EDIWheelC11OrderStatusResponseReferencedOrderInner
- EDIWheelC11OrderStatusResponseReferencedOrderInnerError
- EDIWheelC11OrderStatusResponseReferencedOrderInnerOrderLineInner
- EDIWheelC11OrderStatusResponseReferencedOrderInnerOrderLineInnerOrderedArticle
- EDIWheelC11OrderStatusResponseReferencedOrderInnerOrderLineInnerOrderedArticleScheduleDetailsInner
- EDIWheelC11OrderStatusResponseReferencedOrderInnerOrderLineInnerOrderedArticleScheduleDetailsInnerScheduledArticleDespatchDetails
- EDIWheelC11OrderStatusResponseReferencedOrderInnerOrderLineInnerOrderedArticleScheduleDetailsInnerScheduledArticleDespatchDetailsDespatchAdviceReference
- EDIWheelC11OrderStatusResponseReferencedOrderInnerSupplierParty
- EDIWheelC11StockInquiryRequest
- EDIWheelC11StockInquiryRequestArticleIdentification
- EDIWheelC11StockInquiryRequestBuyerParty
- EDIWheelC11StockInquiryRequestConsignee
- EDIWheelC11StockInquiryRequestCustomerReference
- EDIWheelC11StockInquiryRequestOrderLine
- EDIWheelC11StockInquiryRequestOrderedArticle
- EDIWheelC11StockInquiryRequestRequestedQuantity
- EDIWheelC11StockInquiryResponse
- EDIWheelC11StockInquiryResponseConsignee
- EDIWheelC11StockInquiryResponseCustomerReference
- EDIWheelC11StockInquiryResponseErrorHead
- EDIWheelC11StockInquiryResponseOrderLineInner
- EDIWheelC11StockInquiryResponseOrderLineInnerOrderedArticle
- EDIWheelC11StockInquiryResponseOrderLineInnerOrderedArticleArticleDescription
- EDIWheelC11StockInquiryResponseOrderLineInnerOrderedArticleArticleIdentification
- EDIWheelC11StockInquiryResponseOrderLineInnerOrderedArticleError
- EDIWheelC11StockInquiryResponseOrderLineInnerOrderedArticleRequestedQuantity
- EDIWheelC11StockInquiryResponseOrderLineInnerOrderedArticleScheduleDetailsInner
- EDIWheelC11StockInquiryResponseOrderLineInnerOrderedArticleScheduleDetailsInnerAvailableQuantity
- EDIWheelC11StockInquiryResponseOrderLineInnerOrderedArticleScheduleDetailsInnerChargeInner
- EDIWheelC11StockInquiryResponseOrderLineInnerOrderedArticleScheduleDetailsInnerChargeInnerChargeAmount
- EDIWheelC11StockInquiryResponseOrderLineInnerOrderedArticleScheduleDetailsInnerPriceDetails
- EDIWheelC11StockInquiryResponseOrderLineInnerOrderedArticleScheduleDetailsInnerPriceDetailsNetUnitPrice
- EDIWheelC11StockInquiryResponseOrderLineInnerOrderedArticleScheduleDetailsInnerSupplierParty
- EDIWheelC11StockInquiryResponseOrderLineInnerOrderedArticleScheduleDetailsInnerSupplierPartyAddress
- EDIWheelC11StockInquiryResponseOrderLineInnerOrderedArticleScheduleDetailsInnerSupplierPartyInformationContact
- GeneralError
Authentication schemes defined for the API:
- Type: API key
- API key parameter name: apikey
- Location: HTTP header
- Type: HTTP basic authentication
- Type: OAuth
- Flow: application
- Authorization URL:
- Scopes: N/A
It's recommended to create an instance of ApiClient
per thread in a multithreaded environment to avoid any potential issues.