Skip to content

Add custom_attributes to CartItemInput - #639

Open
keharper wants to merge 10 commits into
mainfrom
req-list-fixes
Open

keharper wants to merge 10 commits into
mainfrom
req-list-fixes

Conversation

@keharper

@keharper keharper commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Purpose of this pull request

Document how to apply custom attributes directly to cart items with CartItemInput.custom_attributes in the addProductsToCart mutation. The update adds a GraphQL request and response example and clarifies availability for Adobe Commerce as a Cloud Service, with PaaS support planned for version 2.4.10. It also links the existing cart-attributes guidance to the new example.

Affected pages

whatsnew
You can now apply custom attributes in the addProductsToCart mutation by specifying the CartItemInput.custom_attributes field and an array of key/value pairs.

@github-project-automation github-project-automation Bot moved this to 📋 Needs Review in Commerce - Pull Requests Nov 3, 2026
@keharper keharper added the technical Changes to code, examples, or technical processes label Nov 3, 2026
@keharper keharper self-assigned this Nov 3, 2026
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

🔍 Linter Report

Click to expand full report
═══════════════════════════════════════════════════════════════
                     LINTER REPORT
═══════════════════════════════════════════════════════════════

Generated: 2026-11-03T21:39:29.933Z
Mode: Full Linting (all rules + dead links check)
Target Directory: /home/runner/work/commerce-webapi/commerce-webapi
Skipped Rules:
  - check-frontmatter → src/pages/includes
  - missing-heading → src/pages/includes

───────────────────────────────────────────────────────────────

Files to process: 2


═══════════════════════════════════════════════════════════════
                        SUMMARY
═══════════════════════════════════════════════════════════════

  📁 Files processed:    2
  📄 Files with issues:  0
  ❌ Total errors:       0
  ⚠️  Total warnings:     0
  📋 Total issues:       0

Result: ✅ PASSED - All files passed linting successfully!

═══════════════════════════════════════════════════════════════

This comment was automatically generated by the linter bot.

@github-project-automation github-project-automation Bot moved this from 📋 Needs Review to 👍 Approved in Commerce - Pull Requests Nov 3, 2026
@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

🔍 Linter Report

Click to expand full report
═══════════════════════════════════════════════════════════════
                     LINTER REPORT
═══════════════════════════════════════════════════════════════

Generated: 2026-11-04T16:35:52.993Z
Mode: Full Linting (all rules + dead links check)
Target Directory: /home/runner/work/commerce-webapi/commerce-webapi
Skipped Rules:
  - check-frontmatter → src/pages/includes
  - missing-heading → src/pages/includes

───────────────────────────────────────────────────────────────

Files to process: 3


═══════════════════════════════════════════════════════════════
                        SUMMARY
═══════════════════════════════════════════════════════════════

  📁 Files processed:    3
  📄 Files with issues:  0
  ❌ Total errors:       0
  ⚠️  Total warnings:     0
  📋 Total issues:       0

Result: ✅ PASSED - All files passed linting successfully!

═══════════════════════════════════════════════════════════════

This comment was automatically generated by the linter bot.

Clarified the usage of the addProductsToCart mutation for applying custom attributes to cart items, specifying version requirements for on-premises and PaaS projects.
@keharper

keharper commented Nov 9, 2026

Copy link
Copy Markdown
Contributor Author

@copilot resolve the merge conflicts in this pull request

Co-authored-by: keharper <11652541+keharper@users.noreply.github.com>

Copilot AI commented Nov 9, 2026

Copy link
Copy Markdown

@copilot resolve the merge conflicts in this pull request

Merged main in 25299bd. Git auto-merged the overlapping documentation changes; no manual conflict resolution was needed.

@github-actions

Copy link
Copy Markdown
Contributor

🔍 Linter Report

Click to expand full report
═══════════════════════════════════════════════════════════════
                     LINTER REPORT
═══════════════════════════════════════════════════════════════

Generated: 2026-11-11T01:41:49.341Z
Mode: Full Linting (all rules + dead links check)
Target Directory: /home/runner/work/commerce-webapi/commerce-webapi
Skipped Rules:
  - check-frontmatter → src/pages/_includes
  - missing-heading → src/pages/_includes

───────────────────────────────────────────────────────────────

Files to process: 3


═══════════════════════════════════════════════════════════════
                        SUMMARY
═══════════════════════════════════════════════════════════════

  📁 Files processed:    3
  📄 Files with issues:  0
  ❌ Total errors:       0
  ⚠️  Total warnings:     0
  📋 Total issues:       0

Result: ✅ PASSED - All files passed linting successfully!

═══════════════════════════════════════════════════════════════

This comment was automatically generated by the linter bot.

@github-actions

Copy link
Copy Markdown
Contributor

🔍 Linter Report

Click to expand full report
═══════════════════════════════════════════════════════════════
                     LINTER REPORT
═══════════════════════════════════════════════════════════════

Generated: 2026-11-11T01:45:18.216Z
Mode: Full Linting (all rules + dead links check)
Target Directory: /home/runner/work/commerce-webapi/commerce-webapi
Skipped Rules:
  - check-frontmatter → src/pages/_includes
  - missing-heading → src/pages/_includes

───────────────────────────────────────────────────────────────

Files to process: 3


═══════════════════════════════════════════════════════════════
                        SUMMARY
═══════════════════════════════════════════════════════════════

  📁 Files processed:    3
  📄 Files with issues:  0
  ❌ Total errors:       0
  ⚠️  Total warnings:     0
  📋 Total issues:       0

Result: ✅ PASSED - All files passed linting successfully!

═══════════════════════════════════════════════════════════════

This comment was automatically generated by the linter bot.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

technical Changes to code, examples, or technical processes

Projects

Status: 👍 Approved

Development

Successfully merging this pull request may close these issues.

5 participants