시작하기

Welcome to the Online Components API Suite! Follow these steps to get started:

인증

To access the Online Components APIs, you'll need an API key. You can obtain both production and sandbox API keys from the same location:

  1. 고객 프로필로 이동하십시오
  2. Log in to your Online Components account and go to your customer profile

  3. API 액세스 및 서비스로 이동
  4. Under the customer profile, locate the section labeled "API Access and Services." You can also directly click here to access the API Access and Services page

  5. API 키 요청
  6. 새 지점 추가


샌드박스 환경

운영 환경으로 전환하기 전에 테스트하는 것이 중요하다는 점을 잘 알고 있습니다. 그래서 프로덕션 데이터에 영향을 주지 않고 모든 API를 실험할 수 있는 완전한 기능의 sandbox 환경을 제공합니다.

Sandbox 액세스

  1. Sandbox API 키 요청
  2. Request your Sandbox API Key from the API Access and Services page. This key is distinct from your production key and is used exclusively for sandbox testing.

  3. 다른 기본 URL
  4. API 엔드포인트는 동일하게 유지되지만 sandbox 환경은 다른 기본 URL을 사용합니다.

    1. https://api.onlinecomponents.com
    2. https://sandbox.onlinecomponents.com
  5. 샌드박스 개발자 포털
  6. Access the sandbox environment through the Sandbox Developer Portal. Here, you'll find all the necessary documentation, tools, and support to help you effectively test your integration

Search API

The Onlinecomponents.com Search API is a powerful, yet easy, way to gain access to and utilise Onlinecomponents.com product data, availability and pricing in your own applications

설명

The Search API service allows customers to utilise Onlinecomponents.com product data, availability, and pricing in their own applications. Search over 8 million products and detailed product information with ease. JSON Data Format is now available for Onlinecomponents.com Search API

    We have a new version of Search API that is faster and more flexible:
  • JSON은 더 깔끔한 응답 데이터로 더 빠른 처리를 제공합니다
  • 데이터 형식이 더 깔끔하고 최신 브라우저에서 표시하기 쉽습니다
  • API 버전 관리: 요청과 응답은 JSON 또는 XML로 제공됩니다

특징

  • 태그라인
  • 키워드별 검색 방법
  • Part Number로 검색 방법
  • 호출당 최대 50개의 결과 반환
  • 분당 최대 100회 호출
  • 고객 전화#

사용 가능한 데이터

  • Product Id
  • Part Number
  • Manufacturer Name
  • Description
  • Datasheet Url
  • Product Url
  • Part Image
  • Quantity Available
  • On Order Quantity
  • Factory Stock Quantity
  • Factory Lead Time
  • Availability
  • Package Quantity
  • Package Cross Quantity
  • Product Sub Category
  • Product Status
  • RoHS
  • Min Order Quantity
  • Package Type
  • Package Cross
  • Multiple
  • Unit Of Measure
  • COO
  • ECCN
  • PRC
  • HTS
  • Main Category
  • Sub Category
  • Taxonomy
  • Product Life Cycle
  • Available less than min
  • Alternative Parts
  • Prices

엔드포인트

주문 API

Onlinecomponents.com 결제 프로세스에 액세스하고 자체 애플리케이션 내에서 부품을 주문하세요.

설명

Order API는 Onlinecomponents.com에서 주문을 생성하고 확인하는 데 사용할 수 있습니다. Pricing and Availability API와 함께 사용하도록 설계되었습니다. 더 빠르고 유연한 새로운 버전의 Order API가 있습니다:

  • JSON은 더 깔끔한 응답 데이터로 더 빠른 처리를 제공합니다
  • 데이터 형식이 더 깔끔하고 최신 브라우저에서 표시하기 쉽습니다
  • API 버전 관리: 요청과 응답은 JSON 또는 XML로 제공됩니다

엔드포인트

Order API는 Onlinecomponents.com에서 주문을 제출하고 확인하는 데 사용할 수 있습니다. Pricing and Availability API와 함께 사용하도록 설계되었습니다.

요청 매개변수

매개변수 설명 필수
email 이메일 예
firstName 이름 예
lastName 성 예
phoneNumber 전화번호 예
shippingMethod   예
accountNo 배송 계정 번호 예
carrier   아니오
shippingInsurance   예
taxable   예
resaleNumber   아니오
shippingAddress 배송 주소 예
shippingAddress.firstName 이름 예
shippingAddress.lastName 성 예
shippingAddress.company 회사명 예
shippingAddress.countryTwoletterISOCode 국가 예
shippingAddress.stateProvinceAbbreviation 주 예
shippingAddress.city 시 예
shippingAddress.address1 주소 1 예
shippingAddress.address2 주소 2 예
shippingAddress.zipPostalCode Zip / 우편번호 예
shippingAddress.phoneNumber 전화번호 예
billingAddress 4. 앱 이름을 입력하고 클릭 예
billingAddress.firstName 이름 예
billingAddress.lastName 성 예
billingAddress.company 회사명 예
billingAddress.countryTwoletterISOCode 국가 예
billingAddress.stateProvinceAbbreviation 주 예
billingAddress.city 시 예
billingAddress.address1 주소 1 예
billingAddress.address2 주소 2 예
billingAddress.zipPostalCode Zip / 우편번호 예
billingAddress.phoneNumber 전화번호 예
paymentMethod 결제 방법 예
CustomerPoNumber
  no
orderComment 주문 설명 아니오
orderItem   예
orderItem.productId 주문 항목 식별자 예
orderItem.partNumber   아니오
orderItem.manufacturerName   아니오
orderItem.quantity 수량 예
orderItem.price 가격 아니오
orderItem.customerpartnumber 고객 부품 번호 아니오
currencycode 통화 코드 아니오

요청 예시

{
    "email": "string",
    "firstName": "string",
    "lastName": "string",
    "phoneNumber": "string",
    "shippingMethod": "string",
    "accountNo": "string",
    "carrier": "string",
  "shippingInsurance": true,
"taxable": true,
"resaleNumber": false,
    "shippingAddress": {
        "firstName": "string",
        "lastName": "string",
        "company": "string",
        "countryTwoletterISOCode": "string",
        "stateProvinceAbbreviation": "string",
        "city": "string",
        "address1": "string",
        "address2": "string",
        "zipPostalCode": "string",
        "phoneNumber": "string"
    },
    "billingAddress": {
        "firstName": "string",
        "lastName": "string",
        "company": "string",
        "countryTwoletterISOCode": "string",
        "stateProvinceAbbreviation": "string",
        "city": "string",
        "address1": "string",
        "address2": "string",
        "zipPostalCode": "string",
        "phoneNumber": "string"
    },
    "paymentMethod": "string",
"customerponumber": "string",
    "orderComment": "string",
    "orderItem": [{
        "productId": 0,
        "partNumber": "string",
        "manufacturerName": "string",
        "quantity": 0,
        "price": 0,
        "customerpartnumber": "string"
    }],
    "currencycode": "string",
}

응답 예시

{
    "orderId": "string",
    "errors": [
        "string"
    ],
    "success": true
}

사용 가능한 배송 방법

국내 배송 옵션

운송업체 코드 서비스 코드
UPS UPS Ground
UPS UPS 3rd Day
UPS UPS 2nd Day
UPS UPS Next Day Saver
UPS UPS Next Day
UPS UPS Next Day Early
FEDEX FedEx Ground
FEDEX FedEx 3rd Day
FEDEX FedEx 2nd Day
FEDEX FedEx Priority Overnight
FEDEX FedEx Std Overnight

 

국제 배송 옵션

운송업체 코드 서비스 코드
UPS UPS World Wide Express
UPS UPS World Wide Saver
UPS UPS World Wide Expedited
FEDEX FedEx International Priority
FEDEX FedEx International Economy

 

사용 가능한 결제 방법

결제 방법 이름
Net30
Net45
Net60
PrePayment
Net15
Net75
Net90

 

사용 가능한 통화

통화 통화 코드
USD usd
EUR eur

 

발생 가능한 오류 메시지

다음은 API 요청 오류 또는 충족되지 않은 내부 사전 조건으로 인해 반환될 수 있는 오류 메시지 목록입니다.

설명
The minimum quantity allowed for purchase is
The maximum quantity allowed for purchase is
Allowed quantities for this product: 
You may purchase all in-stock quantity of {0} or our minimum order quantity of {1} . Please adjust your quantity and add to cart to continue.
Quantity should be increments of
Minimum order quantity is 
Please insert valid quantity
MOQ for out of Stock Qty is
Sorry, Item has no price, please contact us or submit price request
Sorry, Can not change quantity for this item
Sorry, we have limited Availability, please contact us or submit price request
Email is required
First Name is required
Last Name is required
Phone Number is required
Country Two letter ISO Code is required
Company is required
Address1 is required
City is required
Zip Postal Code is required
Please add valid data for item
Order Item is required
ShippingMethod is required
AccountNo is required
ship account should be 6 characters
ship account should be 9 characters
No Customer Found
no shipping address found
Shipping Address Error
Shipping Method Error
Error on Process Order
Payment Error
This product is no longer available, please modify your shopping cart

주문 내역 API

Onlinecomponents.com 결제 프로세스에 액세스하고 자체 애플리케이션 내에서 부품을 주문하세요.

설명

Order API는 Onlinecomponents.com에서 주문을 생성하고 확인하는 데 사용할 수 있습니다. Pricing and Availability API와 함께 사용하도록 설계되었습니다. 더 빠르고 유연한 새로운 버전의 Order API가 있습니다:

  • JSON은 더 깔끔한 응답 데이터로 더 빠른 처리를 제공합니다
  • 데이터 형식이 더 깔끔하고 최신 브라우저에서 표시하기 쉽습니다
  • API 버전 관리: 요청과 응답은 JSON 또는 XML로 제공됩니다

엔드포인트

Order API는 Onlinecomponents.com에서 주문을 제출하고 확인하는 데 사용할 수 있습니다. Pricing and Availability API와 함께 사용하도록 설계되었습니다.

회로에 참여하여 OnlineComponents.com 및 그 이상의 소식과 계속 연결되세요!