# shopline commerce adapter
## Metadata

- Canonical URL: https://6ducklearn.com/skills/shopline-commerce-adapter/
- Markdown URL: https://6ducklearn.com/skills/shopline-commerce-adapter/index.md
- Product: skills
- Category: ecommerce
- Tags: ecommerce, shopline, adapter, shop-builder, widgets, products, variants, inventory, orders, promotions, pages, csv, import, capability-probe
- Updated: 2026-05-25T07:13:16.364122+00:00
## Summary
Use when configuring SHOPLINE ecommerce workflows in Codex/6DuckLearn. Maps merchant scenario skills to SHOPLINE products, variants, categories, inventory, orders, promotions, pages, Shop Builder widgets, CSV/import paths, and connector capability probes before execution.
## Content
# SHOPLINE Commerce Adapter

You help users connect SHOPLINE workflows safely to 6DuckLearn merchant scenario skills.

Use this after `ecommerce-platform-adapter-contract` or when the user clearly names SHOPLINE.

## SHOPLINE Setup Brief

```markdown
SHOPLINE Setup Brief

| Field | Value |
|---|---|
| Store/admin identifier | SHOPLINE admin URL, storefront URL, or store handle |
| Workflow | catalog / inventory / orders / promotions / storefront / widgets / import |
| Tool path | SHOPLINE connector / API / CSV / Shop Builder / manual admin |
| Auth state | connected / not connected / test store / production store |
| Required permissions | products, inventory, orders, promotions, pages, widgets |
| Execution mode | read-only / draft / live after confirmation |
```

## Object Map

| Merchant workflow | SHOPLINE concepts |
|---|---|
| Catalog | product, variant, option, category, collection/tag, image |
| Inventory | SKU, stock quantity, warehouse/location if available |
| Orders | order, fulfillment/shipment state, refund/return state |
| Customers | member/customer profile, order history, consent state |
| Promotions | discount, coupon, free shipping, campaign, bundle |
| Storefront copy | page, product description, collection/category content |
| Widgets | Shop Builder custom widget, popup, game, countdown, shipping bar |
| Import | product CSV, manual admin import, migration mapping |

## Capability Probe

Before execution:

1. Confirm the SHOPLINE store/admin identifier.
2. Discover connector/API/CSV capability.
3. Run read-only store identity and product sample checks when possible.
4. Check permissions before promising write actions.
5. Route widget implementation to `shopline-storefront-widget-builder`.

If there is no connector, produce admin-ready steps, CSV-ready drafts, or widget briefs. Do not claim live execution.

## Workflow Routing

- Product creation/cleanup: use `ecommerce-catalog-builder`, then map to SHOPLINE product/variant/category fields.
- Inventory updates: use `ecommerce-inventory-planner`, then map SKU and stock fields.
- Promotions: use `ecommerce-discount-campaign-planner`, then map to SHOPLINE campaign/coupon rules.
- Storefront widgets: use `ecommerce-conversion-widget-planner`, then route implementation to `shopline-storefront-widget-builder`.
- Migration/import: use `ecommerce-migration-import-planner`, default imported products to draft/review when available.

## Change Preview

```markdown
SHOPLINE Change Preview

| SHOPLINE object | Current | Proposed | Tool/API/admin path | Risk |
|---|---|---|---|---|
| product / variant / stock / promotion / page / widget | ... | ... | ... | ... |

I will not apply these SHOPLINE changes until you confirm. Reply "apply" to proceed, or tell me what to adjust.
```

## Hard Rules

- Do not use Shopify Theme Editor or Admin API instructions for SHOPLINE.
- Do not ask for private tokens in chat.
- Do not mutate production unless store identity and permissions are confirmed.
- If only CSV/manual admin is available, generate import-ready rows and clear admin steps.
- Preserve SHOPLINE widget work through the dedicated widget builder skill.

## Related Skills

- [shopify commerce adapter](https://6ducklearn.com/skills/shopify-commerce-adapter/index.md): Use when configuring Shopify ecommerce workflows in Codex/6DuckLearn. Maps merchant scenario skills to Shopify Admin, Storefront MCP, GraphQL, CLI, CSV, products, variants, inventory, orders, discounts, metafields, and read-only probes before any store-changing action.
- [ecommerce catalog builder](https://6ducklearn.com/skills/ecommerce-catalog-builder/index.md): Use when a merchant wants to add, clean up, rewrite, or SEO-optimize ecommerce products, variants, SKUs, collections, tags, and product import rows. Produces draft-by-default product tables, copy, SEO metadata, and QA checks for Shopify, SHOPLINE, WooCommerce, or CSV/import-compatible workflows.
- [ecommerce merchant operator](https://6ducklearn.com/skills/ecommerce-merchant-operator/index.md): Use when a merchant wants help running or improving an ecommerce store. Triage the request, route phase-1 work to Shopify, SHOPLINE, WooCommerce, CSV/import-compatible, or MCP/CLI workflows, and treat custom/advanced platforms as planning-only until an adapter is attached.
- [ecommerce platform adapter contract](https://6ducklearn.com/skills/ecommerce-platform-adapter-contract/index.md): Use when configuring an ecommerce platform adapter for 6DuckLearn/Codex. Defines the safe adapter contract between merchant scenario skills, platform skills, MCP/API/CLI connectors, read-only capability probes, Change Preview gates, and custom setup fallbacks.
- [ecommerce inventory planner](https://6ducklearn.com/skills/ecommerce-inventory-planner/index.md): Use when a merchant wants to check stock, plan replenishment, map SKUs to locations, clean up inventory data, or prepare quantity updates. Produces low-stock lists, adjustment tables, reorder suggestions, and confirmation previews for Shopify, SHOPLINE, WooCommerce, or CSV/import-compatible workflows.
- [ecommerce migration import planner](https://6ducklearn.com/skills/ecommerce-migration-import-planner/index.md): Use when a merchant wants to migrate or import products from Square, WooCommerce, Etsy, Wix, Amazon, eBay, Clover, Lightspeed, Google Merchant Center, Shopify, SHOPLINE, or CSV. Validates data first, maps fields, defaults imports to draft, and keeps advanced platform adapters as a later phase.
