E-Commerce API Collections
Comprehensive Postman collections for popular e-commerce platform APIs
The Problem
Testing e-commerce platform APIs meant constantly switching between documentation sites, manually managing credentials, and dealing with inconsistent request formats across platforms. There was no unified way to test Shopify, BigCommerce, WooCommerce, and other platforms side by side.
The Solution
I created a comprehensive set of Postman collections covering major e-commerce platforms, with consistent organization, automatic ID extraction, and smart test logic that skips gracefully when credentials aren't configured.
Collections Included
- Shopify GraphQL API — 30 requests with proper GraphQL body type for Postman's native features
- Shopify REST API — 19 requests covering products, variants, inventory, metafields
- BigCommerce API — 15 requests across catalog, orders, customers
- WooCommerce API — 19 requests with full REST API v3 coverage
- Magento API — Catalog and store configuration
- TrustPilot API — Product reviews integration
Key Features
- Automatic ID Extraction — List endpoints automatically save IDs for use in subsequent requests
- Smart Skip Logic — Tests pass when credentials aren't configured instead of failing
- Environment-Based Config — Switch between stores with one click
- Cross-Platform Test Runners — Both bash and PowerShell scripts included
- CI/CD Ready — GitHub Actions workflow for automated testing
Technical Highlights
- GraphQL mode — Shopify GraphQL requests use proper
"mode": "graphql"with separate query and variables fields - Consistent naming — Platform-prefixed variables for clarity (
shopify_token,bigcommerce_store_hash, etc.) - Pre-request scripts — Automatic token refresh and request signing where needed
- Secret variable types — Credentials use Postman's secret type for security
Impact
What used to require jumping between multiple tools and documentation sites now lives in one organized workspace. New team members can start testing immediately, and the CI/CD integration catches API changes before they hit production.