본문으로 건너뛰기
Skillpedia
API 및 서버 (백엔드)48k · #5353

odoo-shopify-integration

하는 일

이 도구는 온라인 상점(Shopify)을 관리 시스템(Odoo)과 연결합니다. 두 시스템 사이에서 제품, 재고, 주문, 고객을 자동으로 동기화합니다.

사용하는 경우

  • ✓Shopify에서 제품을 팔고 Odoo에서 재고를 관리할 때.
  • ✓고객이 Shopify에서 구매하면 Odoo에 판매 주문을 자동으로 만들고 싶을 때.
  • ✓Shopify에서 판매 가능한 것과 맞도록 Odoo의 재고 수량을 최신으로 유지하는 경우.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/odoo-shopify-integration/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/odoo-shopify-integration/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제품과 재고를 동기화하도록 제 Shopify 상점을 Odoo와 연결해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

Shopify와 Odoo 사이에 데이터가 어떻게 흐르길 원하는지 설명하면, 도구가 연결 설정을 도와주고 두 시스템이 통신하도록 하는 코드 예제를 제공합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Odoo ↔ Shopify Integration

Overview

This skill guides you through integrating Odoo with Shopify — syncing your product catalog, real-time inventory levels, incoming orders, and customer data. It covers both using the official Odoo Shopify connector (Enterprise) and building a custom integration via Shopify REST + Odoo XMLRPC APIs.

When to Use This Skill

  • Selling on Shopify while managing inventory in Odoo.
  • Automatically creating Odoo sales orders from Shopify purchases.
  • Keeping Odoo stock levels in sync with Shopify product availability.
  • Mapping Shopify product variants to Odoo product templates.

How It Works

  1. Activate: Mention @odoo-shopify-integration and describe your sync scenario.
  2. Design: Receive the data flow architecture and field mapping.
  3. Build: Get code snippets for the Shopify webhook receiver and Odoo API caller.

Data Flow Architecture

SHOPIFY                          ODOO
--------                         ----
Product Catalog <──────sync──────  Product Templates + Variants
Inventory Level <──────sync──────  Stock Quants (real-time)
New Order       ───────push──────> Sale Order (auto-confirmed)
Customer        ───────push──────> res.partner (created if new)
Fulfillment     <──────push──────  Delivery Order validated

Examples

Example 1: Push an Odoo Sale Order for a Shopify Order (Python)

import xmlrpc.client, requests

# Odoo connection
odoo_url = "https://myodoo.example.com"
db, uid, pwd = "my_db", 2, "api_key"
models = xmlrpc.client.ServerProxy(f"{odoo_url}/xmlrpc/2/object")

def create_odoo_order_from_shopify(shopify_order):
    # Find or create customer
    partner = models.execute_kw(db, uid, pwd, 'res.partner', 'search_read',
        [[['email', '=', shopify_order['customer']['email']]]],
        {'fields': ['id'], 'limit': 1}
    )
    partner_id = partner[0]['id'] if partner else models.execute_kw(
        db, uid, pwd, 'res.partner', 'create', [{
            'name': shopify_order['customer']['first_name'] + ' ' + shopify_order['customer']['last_name'],
            'email': shopify_order['customer']['email'],
        }]
    )

    # Create Sale Order
    order_id = models.execute_kw(db, uid, pwd, 'sale.order', 'create', [{
        'partner_id': partner_id,
        'client_order_ref': f"Shopify #{shopify_order['order_number']}",
        'order_line': [(0, 0, {
            'product_id': get_odoo_product_id(line['sku']),
            'product_uom_qty': line['quantity'],
            'price_unit': float(line['price']),
        }) for line in shopify_order['line_items']],
    }])
    return order_id

def get_odoo_product_id(sku):
    result = models.execute_kw(db, uid, pwd, 'product.product', 'search_read',
        [[['default_code', '=', sku]]], {'fields': ['id'], 'limit': 1})
    return result[0]['id'] if result else False

Example 2: Shopify Webhook for Real-Time Orders

from flask import Flask, request
app = Flask(__name__)

@app.route('/webhook/shopify/orders', methods=['POST'])
def shopify_order_webhook():
    shopify_order = request.json
    order_id = create_odoo_order_from_shopify(shopify_order)
    return {"odoo_order_id": order_id}, 200

Best Practices

  • ✅ Do: Use Shopify's webhook system for real-time order sync instead of polling.
  • ✅ Do: Match products using SKU / Internal Reference as the unique key between both systems.
  • ✅ Do: Validate Shopify webhook HMAC signatures before processing any payload.
  • ❌ Don't: Sync inventory from both systems simultaneously without a "master system" — pick one as the source of truth.
  • ❌ Don't: Use Shopify product IDs as the key — use SKUs which are stable across platforms.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
자주 묻는 질문

‘동기화’는 무엇을 뜻하나요?

두 개의 다른 시스템에서 정보를 똑같이 유지하는 것을 말합니다. 예를 들어 Shopify에서 상품을 팔면 Odoo의 재고가 자동으로 갱신됩니다.

‘웹훅’이란 무엇인가요?

자동 알림과 같습니다. Shopify에서 무언가 일어나면(예: 새 주문) Odoo에 알림을 보냅니다.

API란 무엇인가요?

두 컴퓨터 프로그램이 서로 대화할 수 있도록 하는 규칙의 모음입니다. 서로 다른 시스템이 정보를 교환하도록 돕는 번역가와 같습니다.

상세 정보

작성자의 원본 설명

Connect Odoo with Shopify: sync products, inventory, orders, and customers using the Shopify API and Odoo's external API or connector modules.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#5353
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬