Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
40rty-ai avatar

Shopify Admin B2b Company Overview

  • 7 installs
  • 173 repo stars
  • Updated June 26, 2026
  • 40rty-ai/shopify-admin-skills

shopify-admin-b2b-company-overview is a Claude Code skill that lists Shopify B2B company accounts with their locations, catalogs, and payment terms.

About

shopify-admin-b2b-company-overview queries all Shopify B2B company accounts and their locations, price lists, and payment terms to give ops and sales a consolidated wholesale-account view. An operator runs it as a periodic wholesale account health check. It is read-only and requires Shopify Plus with B2B enabled.

  • Lists Shopify B2B company accounts with locations, catalogs, and payment terms
  • Read-only wholesale portfolio view for ops and sales
  • Requires Shopify Plus with B2B enabled

Shopify Admin B2b Company Overview by the numbers

  • 7 all-time installs (skills.sh)
  • Ranked #1,587 of 2,715 Automation & Workflows skills by installs in the Skillselion catalog
  • Data as of Aug 1, 2026 (Skillselion catalog sync)
At a glance

shopify-admin-b2b-company-overview capabilities & compatibility

Free; requires an authenticated Shopify Plus session with B2B enabled and read_customers scope.

Capabilities
b2b company overview · average order value trends · bulk customer tag update
Use cases
data analysis
Pricing
Free
From the docs

What shopify-admin-b2b-company-overview says it does

Read-only: lists B2B company accounts with locations, catalogs, and payment terms for wholesale management.
SKILL.md
Requires Shopify B2B (available on Shopify Plus).
SKILL.md
npx skills add https://github.com/40rty-ai/shopify-admin-skills --skill shopify-admin-b2b-company-overview

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs7
repo stars173
Last updatedJune 26, 2026
Repository40rty-ai/shopify-admin-skills

What it does

List Shopify B2B company accounts with their locations, catalogs, and payment terms for wholesale management.

Who is it for?

Ops and sales teams reviewing the wholesale B2B account portfolio.

Skip if: Stores not on Shopify Plus, where the companies query is unavailable.

When should I use this skill?

You want a consolidated view of B2B companies, locations, and payment terms.

What you get

A consolidated list of B2B companies with locations, net terms, and catalog status, exported as CSV.

  • CSV of B2B companies with locations, payment terms, and catalog status

By the numbers

  • Queries up to 250 companies per page
  • Recommended to run monthly as a wholesale account health check

Files

SKILL.mdMarkdownGitHub ↗

Purpose

Queries all B2B company accounts and their associated locations, price lists, and payment terms. Provides a consolidated view of the wholesale account portfolio for ops and sales teams. Read-only — no mutations. Requires Shopify B2B (available on Shopify Plus).

Prerequisites

  • Authenticated Shopify CLI session: shopify store auth --store <domain> --scopes read_customers
  • API scopes: read_customers
  • Store must be on Shopify Plus with B2B enabled

Parameters

ParameterTypeRequiredDefaultDescription
storestringyesStore domain (e.g., mystore.myshopify.com)
formatstringnohumanOutput format: human or json

Safety

ℹ️ Read-only skill — no mutations are executed. Safe to run at any time.

Workflow Steps

1. OPERATION: companies — query Inputs: first: 250, select name, locations, contacts, createdAt, pagination cursor Expected output: All B2B company accounts; paginate until hasNextPage: false

2. OPERATION: companyLocations — query Inputs: first: 250 per company, select name, buyerExperienceConfiguration { paymentTermsTemplate, checkoutToDraft }, catalogsCount Expected output: Company locations with payment and catalog configuration

GraphQL Operations

# companies:query — validated against api_version 2025-01
query B2BCompanies($after: String) {
  companies(first: 250, after: $after) {
    edges {
      node {
        id
        name
        note
        createdAt
        updatedAt
        locationsCount {
          count
        }
        contactsCount {
          count
        }
        orders(first: 1, sortKey: CREATED_AT, reverse: true) {
          edges {
            node {
              createdAt
              totalPriceSet {
                shopMoney {
                  amount
                  currencyCode
                }
              }
            }
          }
        }
      }
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
# companyLocations:query — validated against api_version 2025-01
query CompanyLocationsDetail($companyId: ID!) {
  company(id: $companyId) {
    id
    name
    locations(first: 50) {
      edges {
        node {
          id
          name
          shippingAddress {
            countryCode
            city
          }
          buyerExperienceConfiguration {
            paymentTermsTemplate {
              name
              dueInDays
            }
            checkoutToDraft
          }
          catalogsCount {
            count
          }
        }
      }
    }
  }
}

Session Tracking

Claude MUST emit the following output at each stage. This is mandatory.

On start, emit:

╔══════════════════════════════════════════════╗
║  SKILL: B2B Company Overview                 ║
║  Store: <store domain>                       ║
║  Started: <YYYY-MM-DD HH:MM UTC>             ║
╚══════════════════════════════════════════════╝

After each step, emit:

[N/TOTAL] <QUERY|MUTATION>  <OperationName>
          → Params: <brief summary of key inputs>
          → Result: <count or outcome>

On completion, emit:

For format: human (default):

══════════════════════════════════════════════
B2B COMPANY OVERVIEW
  Total companies:   <n>
  Total locations:   <n>
  With net terms:    <n>
  With catalogs:     <n>

  Company: <name>
    Locations: <n>  |  Last order: <date>
    Payment terms: Net 30
  Output: b2b_companies_<date>.csv
══════════════════════════════════════════════

For format: json, emit:

{
  "skill": "b2b-company-overview",
  "store": "<domain>",
  "total_companies": 0,
  "total_locations": 0,
  "companies": [],
  "output_file": "b2b_companies_<date>.csv"
}

Output Format

CSV file b2b_companies_<YYYY-MM-DD>.csv with columns: company_id, company_name, locations_count, contacts_count, last_order_date, last_order_value, currency, payment_terms, has_catalog

Error Handling

ErrorCauseRecovery
THROTTLEDAPI rate limit exceededWait 2 seconds, retry up to 3 times
Empty companies listB2B not configured or no accountsExit with 0 companies, note B2B Plus requirement
companies query not availableStore not on Shopify PlusReturn clear error: B2B requires Shopify Plus

Best Practices

  • Run monthly as a wholesale account health check — companies with no orders in 90+ days may need outreach.
  • checkoutToDraft: true means the buyer must have orders approved before payment — useful for understanding which accounts require manual order review.
  • For companies with multiple locations but only one catalog, check if the catalog is correctly scoped to each location.
  • This skill requires Shopify B2B (Shopify Plus feature) — it will return an empty result or an error on non-Plus stores.

Related skills

FAQ

Does it work on any Shopify plan?

No. It requires Shopify Plus with B2B enabled; the companies query returns an error on non-Plus stores.

Does it modify company records?

No. It is a read-only skill that queries companies and locations and executes no mutations.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.