UPS integration

UPS는 Odoo와 통합되어 전지역으로 배송 서비스를 진행하는고 있는 배송업체입니다. 통합을 하게 되면 배송 방법을 선택한 후 예상 배송비를 확인하거나 :doc:`라벨 생성 <labels>`을 할 수 있습니다.

To set up the UPS shipping connector in Odoo, complete these steps:

  1. Create a UPS account to get account number

  2. Create UPS developer account to get client credentials

  3. Set up shipping method in Odoo

UPS account setup

To get started, go to the UPS website and click the Log In button in the top-right corner to log in or create a UPS account.

After logging in, click the profile icon in the top-right corner, and select Accounts and Payment from the drop-down menu.

Show how to navigate to the "Accounts and Payment" page from the home screen.

On the Accounts and Payment Options page, two accounts must be configured: an Odoo shipment account and a payment card.

Shipping account

To add an Odoo shipment account, select Add New Account from the Add a Payment Method drop-down menu, and click Add.

Display "Add an account" option from the drop-down menu.

다음 화면에서 배송 계정 개설하기 라고 표시된 양식을 작성하여 배송 계정 유형 (예: 비즈니스)을 설정하고 규제 품목에 대한 배송 여부를 설정합니다. 그런 다음 주소 추가, 신원 확인할인 검색 마법사의 나머지 세 단계를 완료하되, 마지막 옵션은 선택 사항입니다.

When complete, submit the application on the last page of the wizard to finish setting up the shipping account.

Display UPS form to fill out company shipping information.

Get account number

배송 계정을 설정하면 UPS 고객 번호 를 사용할 수 있습니다. 액세스하려면 프로필 ‣ 계정 및 결제 로 이동하여 배송 계정 번호 항목을 참조합니다.

Show Account "Number" field for the shipping account.

Payment card

계정 및 결제 페이지로 다시 돌아가서 결제 수단 추가 드롭다운 메뉴에 있는 결제 카드 추가 옵션을 선택합니다. 그런 다음 신용카드 정보를 추가하여 양식을 작성합니다.

Show "Add Payment Card" option from the drop-down.

UPS developer account setup

그런 다음 UPS 개발자 계정 에 로그인하여 개발자 키를 생성합니다. 시작하려면 오른쪽 상단에 있는 프로필 아이콘을 클릭한 후 드롭다운 메뉴에서 옵션을 선택합니다.

Display the "Apps" drop-down option after clicking the profile picture icon.

Add app

그런 다음 앱 추가 버튼을 클릭하여 양식을 작성합니다. * 목적으로 API 자격 증명이 필요합니다 항목에서 내 비즈니스에 UPS 기능을 통합합니다 를 선택합니다.

다음의 이 자격 증명과 연결할 계정을 선택하세요. * 라벨 아래에서, 해당 필드에 있는 드롭다운 메뉴 중 기존 계정 추가 를 선택한 다음, 이전 단계에서 생성한 UPS 연결 계정 번호 를 선택합니다.

Show form to fill in the UPS account number.

Click Next, and proceed to the Add App form, and fill out the fields:

  • App Name: Type the name to identify the app by.

  • Callback URL: Type the URL of the Odoo database, in the format: https://databaseName.odoo.com. Do not include www in the URL.

In the Add Products section on the right, search for and click the + (plus) icon to add the following products to the app:

  • Authorization (O Auth): Used to generate the authorization token to request information from the UPS API.

  • Address Validation: Validates addresses at the street level in the United States and Puerto Rico.

  • Locator: Enables search for UPS shipping locations based on type and available services.

  • Paperless Documents: Enables the upload of document images to link to shipments.

  • Shipping: Enables UPS shipping services, such as preparing packages for shipment, managing returns, and canceling scheduled shipments.

  • Rating: Compare delivery services and shipping rates.

Finally, click Save and accept UPS’s terms and conditions.

더 보기

UPS API Catalog

Show "Add Apps" form, where the app details are configured.

Client ID and Client Secret

With the new app created, in the Profile ‣ My Apps ‣ App page, select the app from the Credentials section to view the UPS credentials.

Show newly created app in the "My Apps" section.

In the Credentials section, copy the Client ID and Client Secret key.

Display the "Client ID" and "Client Secret" key.

Odoo에서 설정

With the credentials obtained, configure the UPS shipping method in Odoo by going to Inventory app ‣ Configuration ‣ Shipping Methods.

On the Shipping Methods page, click the New button.

참고

For existing UPS shipping methods whose Provider is UPS Legacy, archive it and create a new shipping method using UPS.

제공업체 필드에서 UPS 를 선택합니다. 그러면 UPS 환경 설정 탭이 나타나며 여기에서 다양한 필드를 입력해야 합니다. 배송 방법에서 다른 필드 설정에 대한 자세한 내용은 타사 배송업체 환경 설정 문서를 참조하세요.

In the UPS Configuration tab, complete the following fields:

  • UPS Account Number: (required) Get the account number from the UPS portal.

  • UPS Client ID: (required) Get the Client ID from the UPS developer website.

  • UPS Client Secret: (required) Get the Client Secret key from the UPS developer website.

  • UPS Service Type: Select from the drop-down menu the type of shipping service.

  • UPS Package Type: (required) Select from the drop-down menu the package type that is supported for the shipping service.

  • Package Weight Unit: The unit of measure for the package weight.

  • Package Size Unit: The unit of measure for the package dimensions.

  • Label Format: Choose the label format shipping labels: PDF, ZPL, EPL, or SPL.

Show the "UPS Configuration" tab on the Shipping Methods form.

In the Options section, the following features are available:

  • Bill My Account: Charge the user’s UPS account for shipping in the eCommerce app.

  • Collect on Delivery: Collect payment from customers for shipping after the shipment is delivered.

  • Generate Return Label: Print the return label for the order after the delivery order is validated.

  • Duties paid by: Select whether duties or other fees are charged to the Sender or Recipient of the order.