commercetools-commerce-patterns

Guide commercetools pricing, promotions, and B2B order flow implementations.

5|Updated May 27, 2026
One-click install
npx skills add https://github.com/commercetools/commercetools-ai-plugins --skill commercetools-commerce-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commercetools-commerce-patterns
Source: https://github.com/commercetools/commercetools-ai-plugins/tree/main/.agents/plugins/commercetools/skills/commercetools-commerce-patterns
Command: npx skills add https://github.com/commercetools/commercetools-ai-plugins --skill commercetools-commerce-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides verified, expert-level guidance on complex commercetools domain logic, preventing common pitfalls in pricing, promotions, B2B order flows, and catalog architecture.

Core Features & Use Cases

  • Promotion Logic: Navigate complex discount stacking, sortOrder priority, and B2B-specific pricing tiers.
  • B2B Order Flows: Implement robust Business Unit hierarchies, approval rules, and the required as-associate API patterns.
  • Catalog & Import: Optimize product data modeling, bundle architectures, and high-performance Import API batching.

Quick Start

Use the commercetools-commerce-patterns skill to search the documentation for the correct implementation of discount stacking rules for your current project.

Frequently Asked Questions about commercetools-commerce-patterns

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

FAQPage Schema
How do I implement complex discount stacking and sortOrder priority in commercetools?

To implement discount stacking in commercetools, you define sortOrder priority for promotional rules and navigate B2B-specific pricing tiers. This Skill provides architectural patterns for structuring complex cart calculations.

What is the as-associate API security model for B2B order flows in commercetools?

The as-associate API security model in commercetools is required for implementing B2B order flows. It supports Business Unit hierarchies and approval rules, ensuring scoped operations for complex organizational structures.

How do I optimize product data modeling and bundle architectures in commercetools?

You optimize product data modeling and bundle architectures in commercetools by leveraging the Import API for high-performance batching. This Skill provides guidance on structuring catalog data for optimal import throughput.

Can I use local documentation search scripts to verify commercetools pricing logic?

Yes, you can use local documentation search scripts to verify commercetools pricing logic. This Skill requires integration with these scripts to search for correct implementation patterns for your current project.

What are the limitations when designing Business Unit-scoped operations in commercetools?

When designing Business Unit-scoped operations in commercetools, a key constraint is the strict adherence required to the as-associate API security model. This Skill helps prevent common architectural pitfalls in B2B order flows.