Skip to content

AC-16808: Document the new Free Gift cart price rule action type - #590

Draft
DeepaAdobe wants to merge 2 commits into
AdobeDocs:mainfrom
DeepaAdobe:AC-16808
Draft

AC-16808: Document the new Free Gift cart price rule action type#590
DeepaAdobe wants to merge 2 commits into
AdobeDocs:mainfrom
DeepaAdobe:AC-16808

Conversation

@DeepaAdobe

@DeepaAdobe DeepaAdobe commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

Purpose of this pull request

This pull request (PR) documents the new selectFreeGiftForCart GraphQL mutation, which supports the new Free Gift cart price rule action type. It covers how shoppers select a gift SKU when a Free Gift rule requires a choice, including support for configurable/bundle gift products, plus the associated input/output attributes and errors.

Affected pages

@github-project-automation github-project-automation Bot moved this to 📋 Needs Review in Commerce - Pull Requests Jul 15, 2026
@DeepaAdobe
DeepaAdobe marked this pull request as draft July 15, 2026 12:26
@meker12 meker12 added the 2.4.10 label Jul 28, 2026
@meker12

meker12 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

@DeepaAdobe Please complete the PR request template.

Comment on lines +21 to +27
## Reference

The `selectFreeGiftForCart` reference provides detailed information about the types and fields defined in this mutation.

* [Adobe Commerce as a Cloud Service](/reference/graphql/saas/mutations.md#selectfreegiftforcart)

* [On-Premises/Cloud](/reference/graphql/latest/mutations.md#selectfreegiftforcart)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## Reference
The `selectFreeGiftForCart` reference provides detailed information about the types and fields defined in this mutation.
* [Adobe Commerce as a Cloud Service](/reference/graphql/saas/mutations.md#selectfreegiftforcart)
* [On-Premises/Cloud](/reference/graphql/latest/mutations.md#selectfreegiftforcart)

Reference is auto generated from code, since this won't be available in mainline, reference can be removed.

---

# selectFreeGiftForCart mutation

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<InlineAlert variant="info" slots="text1" />
This mutation is part of the Storefront Compatibility Package and is only available on [Adobe Commerce as a Cloud Service](https://experienceleague.adobe.com/en/docs/commerce/cloud-service/overview).

@github-actions

Copy link
Copy Markdown
Contributor

🔍 Linter Report

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

Generated: 2026-07-29T12:20:48.165Z
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

───────────────────────────────────────────────────────────────
📄 FILE: src/pages/config.md
───────────────────────────────────────────────────────────────
  ⚠️  WARNING
    Location: Line 1:1
    Message: Missing frontmatter section - add --- at the beginning with title and description
    Rule: check-frontmatter


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

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

Result: ⚠️  PASSED WITH WARNINGS - No fatal errors

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

This comment was automatically generated by the linter bot.

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

Labels

Projects

Status: 📋 Needs Review

Development

Successfully merging this pull request may close these issues.

4 participants