Przejdź do treści
Biblioteka skilli
Programowanie · Integracja z narzędziem

shopify-core-workflow-b

/shopify-core-workflow-b

Zarządza zamówieniami, klientami i realizacją zamówień Shopify przez GraphQL Admin API: zapytania o zamówienia, fulfillment i integracje zarządzania zamówieniami.

Licencja
MIT
Ostatnia zmiana repozytorium
26.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
6
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
4
Przestarzałość

Brak sygnałów. Repozytorium zmienione 26.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Zarządza zamówieniami, klientami i realizacją zamówień Shopify przez GraphQL Admin API: zapytania o zamówienia, fulfillment i integracje zarządzania zamówieniami.

Wyzwalacze z opisu

shopify ordersshopify customersshopify fulfillmentprocess shopify ordershopify checkout
Oryginalny opis (EN)

Manage Shopify orders, customers, and fulfillments using the GraphQL Admin API. Use when querying orders, processing fulfillments, managing customers, or building order management integrations. Trigger with phrases like "shopify orders", "shopify customers", "shopify fulfillment", "process shopify order", "shopify checkout".

Jak działa

  1. Overview
  2. Prerequisites
  3. Instructions
  4. Output
  5. Error Handling
  6. Examples
  7. Resources
Sekcje z nagłówków SKILL.md, w oryginale · 92 linii, 428 słów
Podgląd SKILL.md
---
name: shopify-core-workflow-b
description: 'Manage Shopify orders, customers, and fulfillments using the GraphQL
  Admin API.

  Use when querying orders, processing fulfillments, managing customers,

  or building order management integrations.

  Trigger with phrases like "shopify orders", "shopify customers",

  "shopify fulfillment", "process shopify order", "shopify checkout".

  '
allowed-tools: Read, Write, Edit, Bash(npm:*), Grep
version: 2.7.0
license: MIT
author: Jeremy Longshore <jeremy@intentsolutions.io>
tags:
- saas
- ecommerce
- shopify
compatibility: Designed for Claude Code
---
# Shopify Orders & Customer Management

## Overview

Secondary core workflow: manage orders, customers, and fulfillments. Query order data, process fulfillments, and handle customer records through the GraphQL Admin API.

## Prerequisites

- Completed `shopify-install-auth` setup
- Access scopes: `read_orders`, `write_orders`, `read_customers`, `write_customers`, `read_fulfillments`, `write_fulfillments`
- Familiarity with `shopify-core-workflow-a` (products)

## Instructions

### Step 1: Query Orders

Query orders with financial/fulfillment status filters, line items, customer data, and shipping addresses. Uses Shopify query syntax (`financial_status:paid`, `fulfillment_status:unfulfilled`, `name:#1001`, etc.).

See [Query Orders](references/query-orders.md) for the complete query with pagination and query syntax examples.

### Step 2: Create a Draft Order

Create draft orders with variant line items, custom line items, discounts, shipping addresses, and customer assignment.

See [Draft Order Create](references/draft-order-create.md) for the complete mutation and variables.

### Step 3: Process Fulfillment

Two-step process: first query fulfillment orders for an order to get line item IDs, then create the fulfillment with tracking information and customer notification.

See [Fulfillment Processing](references/fulfillment-processing.md) for both queries and the complete workflow.

### Step 4: Customer Management

Search customers by email, order count, total spent, tags, and state. Returns addresses and metafields.

See [Customer Search Query](references/customer-search-query.md) for the complete query and syntax examples.

## Output

- Orders queryable with financial and fulfillment status filters
- Draft orders created with line items, discounts, and shipping
- Fulfillments processed with tracking information
- Customer records searchable with spending and order filters

## Error Handling

| Error | Cause | Solution |
|-------|-------|----------|
| `Access denied for orders` | Missing `read_orders` scope | Add scope and re-auth |
| `Fulfillment order not found` | Wrong fulfillment order ID | Query fulfillment orders first |
| `Cannot fulfill: already fulfilled` | Order already shipped | Check `remainingQuantity > 0` |
| `Customer not found` | Invalid customer GID | Verify GID format `gid://shopify/Customer/1234567890` (numeric ID) |
| `Order is not editable` | Order already archived | Only draft/open orders are editable |
| `THROTTLED` | Rate limit exceeded | Implement backoff -- see `shopify-rate-limits` |

## Examples

### Order Analytics Query

```typescript
// Get order count and revenue for a date range
const ORDER_ANALYTICS = `
  query orderAnalytics {
    ordersCount(query: "created_at:>2024-01-01 AND created_at:<2024-02-01") {
      count
    }
    orders(first: 1, query: "created_at:>2024-01-01", sortKey: TOTAL_PRICE, reverse: true) {
      edges {
        node {
          name
          totalPriceSet { shopMoney { amount currencyCode } }
        }
      }
    }
  }
`;
```

### Refund an Order

Create a refund with line item restock and customer notification.

See [Refund Create](references/refund-create.md) for the complete mutation and variables.

## Resources

- [Orders Query](https://shopify.dev/docs/api/admin-graphql/latest/queries/orders)
- [FulfillmentCreate Mutation](https://shopify.dev/docs/api/admin-graphql/latest/mutations/fulfillmentCreate)
- [Customer Object](https://shopify.dev/docs/api/admin-graphql/latest/objects/Customer)
- [Draft Orders](https://shopify.dev/docs/api/admin-graphql/latest/mutations/draftOrderCreate)
Pliki w paczce (6)
  • SKILL.md 4 KB
  • references/customer-search-query.md 1 KB
  • references/draft-order-create.md 1 KB
  • references/fulfillment-processing.md 2 KB
  • references/query-orders.md 2 KB
  • references/refund-create.md 1 KB

Wersje

W bazie nie ma innych skilli o nazwie shopify-core-workflow-b.

Identyczna treść występuje jeszcze w 1 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.

Migawka bazy z 13.11.2026 · wersja paczki cb19a52df33b (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100shopify-core-workflow-a
    Zarządza produktami, wariantami i kolekcjami Shopify przez GraphQL Admin API: tworzenie, aktualizacja i zapytania, inwentarz i integracje katalogu produktów.
  • 100shopify-orders
    Zarządza zamówieniami Shopify: cykl życia zamówienia, model FulfillmentOrder, zwroty i refundacje, zamówienia robocze, edycja zamówień, transakcje, metafields i analiza ryzyka.
  • 100shopify
    Pracuje z zasobami Shopify przez Admin GraphQL: odczyt i zmiany produktów, zamówień, klientów i stanów, w kilku sklepach naraz.
  • 100shopify-hello-world
    Tworzy minimalną aplikację Shopify pobierającą produkty przez GraphQL Admin API, przydatną na starcie integracji i do sprawdzenia konfiguracji.
  • 100shopify-webhooks
    Odbiera i weryfikuje webhooki Shopify: obsługa zdarzeń sklepu, takich jak orders/create, products/update i customers/create, oraz diagnozowanie weryfikacji podpisu.
  • 95shopify-admin
    Pisze i wyjaśnia zapytania oraz mutacje Admin GraphQL dla aplikacji rozszerzających panel administracyjny sklepu Shopify.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.