Skip to main content

API Documentation

Overview of Store.icu API Platform

The Store.icu API platform provides partners and developers with programmatic access to store data, business logic, and platform functionality. This comprehensive API allows you to build integrations, automate processes, and create custom solutions for your clients.

API Access

Authentication

All API requests require authentication using OAuth 2.0:

  1. Register your application in the Partner Dashboard
  2. Obtain client credentials (client ID and secret)
  3. Implement the OAuth 2.0 authorization flow
  4. Use the resulting access token in the Authorization header
Authorization: Bearer {access_token}

Access Scopes

Request only the permissions your integration needs:

ScopeAccess LevelDescription
read_productsRead-onlyView product data
write_productsRead-writeCreate and modify products
read_ordersRead-onlyView order information
write_ordersRead-writeCreate and update orders
read_customersRead-onlyAccess customer data
write_customersRead-writeCreate and update customers
read_inventoryRead-onlyView inventory levels
write_inventoryRead-writeAdjust inventory
read_contentRead-onlyAccess content pages
write_contentRead-writeModify store content
read_themesRead-onlyView theme data
write_themesRead-writeModify store theme
read_reportsRead-onlyAccess analytics data
adminFull accessComplete store management

Detailed information on scope implementation is available in the Scope Documentation.

Rate Limits

API usage is subject to the following rate limits:

Partner TierRequests per MinuteBurst CapacityDaily Limit
Standard6012020,000
Gold12024050,000
Platinum240480100,000

Rate limit information is included in response headers:

X-Rate-Limit-Limit: 60
X-Rate-Limit-Remaining: 58
X-Rate-Limit-Reset: 1620000000

API Versions

Store.icu uses API versioning to ensure compatibility:

VersionStatusEnd-of-Life Date
v3CurrentActive
v2DeprecatedJanuary 1, 2026
v1LegacyJune 30, 2025

Specify the API version in the URL:

https://api.store.icu/v3/products

Version migration guides are available in the API Changelog.

Core API Resources

Products

Manage product catalog:

GET /api/v3/products
POST /api/v3/products
GET /api/v3/products/{id}
PUT /api/v3/products/{id}
DELETE /api/v3/products/{id}

Product resource features:

  • Comprehensive product attributes
  • Variant management
  • Custom field support
  • Bulk operations
  • Image handling
  • Inventory synchronization

Products API Documentation

Orders

Handle customer orders:

GET /api/v3/orders
POST /api/v3/orders
GET /api/v3/orders/{id}
PUT /api/v3/orders/{id}

Order management capabilities:

  • Complete order lifecycle
  • Status updates
  • Fulfillment tracking
  • Payment processing
  • Refund handling
  • Order notes
  • Custom metadata

Orders API Documentation

Customers

Manage customer data:

GET /api/v3/customers
POST /api/v3/customers
GET /api/v3/customers/{id}
PUT /api/v3/customers/{id}
DELETE /api/v3/customers/{id}

Customer resource features:

  • Profile management
  • Address book
  • Order history
  • Groups and segmentation
  • Consent tracking
  • Account status

Customers API Documentation

Inventory

Track and manage stock:

GET /api/v3/inventory
GET /api/v3/inventory/{product_id}
POST /api/v3/inventory/adjustments

Inventory capabilities:

  • Real-time stock levels
  • Allocation management
  • Multi-location support
  • Movement history
  • Low stock alerts
  • Batch updates

Inventory API Documentation

Cart & Checkout

Manage shopping carts:

POST /api/v3/carts
GET /api/v3/carts/{id}
PUT /api/v3/carts/{id}
POST /api/v3/carts/{id}/checkout

Cart features:

  • Item management
  • Price calculation
  • Promotion application
  • Checkout initiation
  • Abandoned cart recovery
  • Guest cart handling

Cart API Documentation

Content

Manage store content:

GET /api/v3/pages
POST /api/v3/pages
GET /api/v3/pages/{id}
PUT /api/v3/pages/{id}
DELETE /api/v3/pages/{id}

Content management features:

  • Page creation and editing
  • Blog post management
  • Navigation menus
  • Media library
  • Metadata handling
  • Content scheduling

Content API Documentation

Advanced API Features

GraphQL API

For complex data requirements, use our GraphQL endpoint:

POST https://api.store.icu/graphql

Benefits of GraphQL:

  • Request exactly the data you need
  • Combine multiple resources in a single request
  • Reduce network overhead
  • Strongly typed schema
  • Interactive documentation

GraphQL API Documentation

Bulk Operations

Efficiently manage large datasets:

POST /api/v3/bulk/products/import
POST /api/v3/bulk/customers/export

Bulk operation capabilities:

  • Asynchronous processing
  • CSV and JSON format support
  • Progress tracking
  • Error handling
  • Scheduled operations
  • Delta updates

Bulk Operations Documentation

Webhooks

Subscribe to real-time events:

POST /api/v3/webhooks
GET /api/v3/webhooks
DELETE /api/v3/webhooks/{id}

Available event topics:

  • product/created
  • product/updated
  • order/created
  • order/updated
  • order/fulfilled
  • customer/created
  • customer/updated
  • inventory/updated

Webhook features:

  • Custom HTTP headers
  • Signature verification
  • Retry configuration
  • Event filtering
  • Rate limiting
  • Logging and debugging

Webhooks Documentation

Storefront API

Public-facing API for custom shopping experiences:

GET /api/storefront/v3/products
POST /api/storefront/v3/cart

Storefront capabilities:

  • Product discovery
  • Cart management
  • Checkout flow
  • Customer authentication
  • Order status
  • Wishlists

Storefront API Documentation

API Implementation Examples

Common Integration Scenarios

Step-by-step guides for popular use cases:

Code Examples

Sample implementations in popular languages:

Node.js

const axios = require('axios');

async function getProducts() {
try {
const response = await axios.get('https://api.store.icu/v3/products', {
headers: {
'Authorization': `Bearer ${process.env.API_TOKEN}`,
'Content-Type': 'application/json'
}
});
return response.data;
} catch (error) {
console.error('API Error:', error.response.data);
throw error;
}
}

PHP

<?php
function getProducts() {
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.store.icu/v3/products",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer " . $_ENV['API_TOKEN'],
"Content-Type: application/json"
]
]);
$response = curl_exec($curl);
curl_close($curl);
return json_decode($response, true);
}
?>

Python

import requests

def get_products():
headers = {
'Authorization': f'Bearer {os.environ.get("API_TOKEN")}',
'Content-Type': 'application/json'
}
response = requests.get('https://api.store.icu/v3/products', headers=headers)
response.raise_for_status()
return response.json()

More code examples are available in our GitHub repository.

API Development Tools

SDKs and Libraries

Official client libraries:

LanguageRepositoryInstallation
JavaScriptGitHubnpm install storeicu-sdk
PHPGitHubcomposer require storeicu/sdk
PythonGitHubpip install storeicu
RubyGitHubgem install storeicu
JavaGitHubMaven/Gradle
C#GitHubNuGet

Testing Tools

Resources for API development:

API Best Practices

Performance Optimization

Techniques to improve API efficiency:

  • Use GraphQL for complex data requirements
  • Implement resource expansion to reduce requests
  • Employ sparse fieldsets to minimize payload size
  • Utilize pagination for large collections
  • Implement caching where appropriate
  • Schedule bulk operations during off-peak hours

Security Guidelines

Protect your API implementation:

  • Store credentials securely
  • Rotate access tokens regularly
  • Request only necessary OAuth scopes
  • Validate webhook signatures
  • Implement transport layer security
  • Audit API access regularly
  • Follow the principle of least privilege

Error Handling

Best practices for robust applications:

  • Implement exponential backoff for rate limit errors
  • Add proper exception handling
  • Log API responses for troubleshooting
  • Design for API unavailability
  • Add monitoring and alerting
  • Understand error response formats

Example error response:

{
"error": {
"code": "RESOURCE_NOT_FOUND",
"message": "The requested product could not be found",
"details": {
"resource": "product",
"id": "123456"
},
"request_id": "f8dbf208-3a5d-4097-8b88-98e898c6d9d1"
}
}

Partner-Specific API Features

White-Labeling

Customize the API experience:

  • Custom API domain (api.yourcompany.com)
  • Branded documentation
  • Custom rate limits
  • Partner-specific endpoints
  • Dedicated support contacts

Available to Gold and Platinum partners.

API Analytics

Monitoring tools for partners:

  • Usage dashboards
  • Client-specific metrics
  • Performance analytics
  • Error rate monitoring
  • Feature adoption tracking
  • Quota management

Access these in the Partner API Dashboard.

API Support

Troubleshooting Resources

When you encounter issues:

Support Channels

Get help with your integration:

  • Email: api-support@store.icu
  • Partner Portal: Submit technical tickets
  • Developer Community: Join discussions
  • Office Hours: Weekly technical Q&A sessions
  • Integration Review: Schedule a code review

Advanced API Topics

Multi-Store Management

For partners managing multiple client stores:

  • Organization-level API access
  • Multi-store data aggregation
  • Cross-store operations
  • Permission management
  • Tenant isolation

Multi-Store API Documentation

Localization

Internationalization features:

  • Multi-currency support
  • Language-specific content
  • Regional tax handling
  • International address formatting
  • Timezone-aware operations
  • Translation management

Localization API Documentation

Extending the Platform

Build on top of Store.icu:

  • Custom field definitions
  • Metadata storage
  • Workflow customization
  • Event-driven programming
  • Third-party service connectors
  • Custom checkout flows

Platform Extension Documentation

API Certification Program

Become a certified API integration partner:

  1. Complete the API fundamentals course
  2. Build a certification integration project
  3. Pass the technical assessment
  4. Submit integration for review
  5. Receive API Specialist certification

API Certification Details

Resources for Clients

Materials to share with merchants:

Upcoming API Features

Stay informed about our API roadmap:

  • Enhanced B2B capabilities (Q3 2025)
  • Advanced personalization API (Q4 2025)
  • Expanded analytics endpoints (Q1 2026)
  • Machine learning product recommendations (Q2 2026)
  • Real-time inventory synchronization enhancements (Q3 2025)

For detailed roadmap information, visit the API Roadmap.