shopify-customer

Provides authenticated access to customer's own Amazon-like orders, addresses, and payment data via GraphQL API.

Updated Nov 16, 2022
One-click install
npx skills add https://github.com/kos3nz/dotfiles --skill shopify-customer-kos3nz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: shopify-customer
Source: https://github.com/kos3nz/dotfiles/tree/main/.config/agents/skills/shopify-customer
Command: npx skills add https://github.com/kos3nz/dotfiles --skill shopify-customer-kos3nz

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires graphql, and includes scripts (resource) components.

What problem does it solve?

Customers often need to view and manage their own orders, addresses, and payment methods across a Shopify storefront, but data is scattered across systems and gated behind different interfaces.

Core Features & Use Cases

  • Retrieve order history with status and fulfillment details for the authenticated customer.
  • Manage addresses, including setting a default address and adding or editing secondary addresses.
  • Access and update payment methods on file while complying with PCI considerations.
  • Update profile information and privacy preferences from a storefront experience.

Quick Start

Authenticate as a customer and run GraphQL queries against the Customer Account API to retrieve orders, addresses, and payment methods.

Frequently Asked Questions about shopify-customer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I retrieve a customer's Shopify order history programmatically?

Retrieve Shopify order history by running customer-authenticated GraphQL queries against the Customer Account API. This returns order status and fulfillment details scoped exclusively to the authenticated customer, ensuring data privacy across storefront sessions.

Can I manage customer addresses through the Shopify Storefront API?

Yes, you can manage customer addresses through the Shopify Customer Account API using GraphQL mutations. This allows adding, editing, and setting default addresses for authenticated customers directly within a storefront experience.

Does this approach support updating saved payment methods for Shopify customers?

Yes, accessing and updating saved payment methods is supported through customer-authenticated GraphQL requests. The process includes data validation and privacy safeguards to comply with PCI considerations while exposing payment sources on file.

What is the best way to let customers access their own Shopify data across devices?

The best way to let customers access their own Shopify data across devices is by using the Customer Account API. It exposes GraphQL queries and mutations that return only the authenticated customer's orders, addresses, and profile information.

Do I need GraphQL to let customers manage their own Shopify orders and profiles?

Yes, GraphQL is required to interact with the Shopify Customer Account API. You authenticate as a customer and execute GraphQL queries and mutations to programmatically retrieve and manage orders, addresses, and privacy preferences.

Are there privacy limitations when accessing Shopify customer payment methods?

Privacy safeguards limit data access to only the authenticated customer's records. When accessing payment methods on file, the system enforces customer-authenticated access and data validation to ensure compliance with PCI considerations.