Skip to content

USF-3949: SCP-4.8.18 and SCP-B2B-1.0.19 related mutations and queries updated#553

Merged
keharper merged 14 commits into
AdobeDocs:mainfrom
cod40403:USF-3949
May 27, 2026
Merged

USF-3949: SCP-4.8.18 and SCP-B2B-1.0.19 related mutations and queries updated#553
keharper merged 14 commits into
AdobeDocs:mainfrom
cod40403:USF-3949

Conversation

@cod40403
Copy link
Copy Markdown
Contributor

@cod40403 cod40403 commented Apr 13, 2026

Purpose of this pull request

Documents six new SaaS-only B2B GraphQL mutations and queries added in the B2B Storefront Compatibility Package (SCP-B2B-1.0.20) for Adobe Commerce as a Cloud Service.

Related ticket: USF-3949

New pages:

  • assignChildCompany mutation – assigns a child company to a parent in the company hierarchy
  • unassignChildCompany mutation – removes a child company from a parent in the company hierarchy
  • shareRequisitionListByEmail mutation – shares a requisition list with other company members by email
  • shareRequisitionListByToken mutation – generates a token to share a requisition list
  • importSharedRequisitionList mutation – allows recipients to import/clone a shared requisition list using a token
  • sharedRequisitionList query – retrieves a shared requisition list by token (new Queries section under Requisition Lists)

Updated pages:

  • Company mutations index – adds references to assignChildCompany and unassignChildCompany
  • Requisition list mutations index – adds references to the three new sharing mutations
  • Requisition list queries index – new page introducing the Queries section

Affected pages

Links to Magento Open Source code

N/A


This mutation is part of the B2B Storefront Compatibility Package and is only available on [Adobe Commerce as a Cloud Service](https://experienceleague.adobe.com/en/docs/commerce/cloud-service/overview).

The `importSharedRequisitionList` mutation Allows recipients within the same company to import or clone a shared Requisition List using a token. The mutation requires `token` as input parameter. This mutation returns a `requisition_list` object and `user_errors` if any.
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
The `importSharedRequisitionList` mutation Allows recipients within the same company to import or clone a shared Requisition List using a token. The mutation requires `token` as input parameter. This mutation returns a `requisition_list` object and `user_errors` if any.
The `importSharedRequisitionList` mutation allows recipients within the same company to import or clone a shared requisition list using a token. The mutation requires `token` as input parameter. This mutation returns a `requisition_list` object and `user_errors`, if any.

Where does this token come from? What's a valid value?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This token comes from the shareRequisitionListByToken mutation. It is a 64 characters random value that is unique to every Requisition list shared.


This mutation is part of the B2B Storefront Compatibility Package and is only available on [Adobe Commerce as a Cloud Service](https://experienceleague.adobe.com/en/docs/commerce/cloud-service/overview).

The `shareRequisitionListByEmail` mutation Enables B2B customers to share a Requisition List with colleagues within the same company via email. The mutation requires `requisitionListUid` and an array of `customerUids` as input parameters. This mutation returns a `sent_count` which shows the count of emails the list has been shared to, and `user_errors` if any.
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
The `shareRequisitionListByEmail` mutation Enables B2B customers to share a Requisition List with colleagues within the same company via email. The mutation requires `requisitionListUid` and an array of `customerUids` as input parameters. This mutation returns a `sent_count` which shows the count of emails the list has been shared to, and `user_errors` if any.
The `shareRequisitionListByEmail` mutation enables B2B customers to share a requisition list with colleagues within the same company in an email. The mutation requires `requisitionListUid` and an array of `customerUids` as input parameters. This mutation returns a `sent_count` which shows the count of emails the list has been shared to, and `user_errors`, if any.

Comment thread src/data/navigation/sections/graphql.js Outdated
pages: [
{
title: "sharedRequisitionList",
path: "/graphql/schema/b2b/requisition-list/mutations/shared-requisition-list/",
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
path: "/graphql/schema/b2b/requisition-list/mutations/shared-requisition-list/",
path: "/graphql/schema/b2b/requisition-list/queries/shared-requisition-list/",

- [Add requisition list items to the cart](add-items-to-cart.md)
- [Clear the cart](clear-customer-cart.md)

- Requisition List Share
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
- Requisition List Share
- Share requisition lists

Move this section to be above Manage the cart

- [Clear the cart](clear-customer-cart.md)

- Requisition List Share
- [Share Requisition List via Token](share-requisition-list-via-token.md)
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
- [Share Requisition List via Token](share-requisition-list-via-token.md)
- [Share requisition list with a token](share-requisition-list-via-token.md)


## Example usage

The following example provides a token for a requisition list which is being shared.
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
The following example provides a token for a requisition list which is being shared.
The following example provides a token for a shareable requisition list.

@@ -0,0 +1,17 @@
---
title: Requisition list (B2B) mutations
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
title: Requisition list (B2B) mutations
title: Requisition list (B2B) queries


# Requisition list (B2B) queries

The B2B requisition list mutations allow you to perform the following operations:
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
The B2B requisition list mutations allow you to perform the following operations:
The following query retrieves a shared requisition list

Delete line 15 and move line 16 to the left


<InlineAlert variant="info" slots="text1" />

This mutation is part of the B2B Storefront Compatibility Package and is only available on [Adobe Commerce as a Cloud Service](https://experienceleague.adobe.com/en/docs/commerce/cloud-service/overview).
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
This mutation is part of the B2B Storefront Compatibility Package and is only available on [Adobe Commerce as a Cloud Service](https://experienceleague.adobe.com/en/docs/commerce/cloud-service/overview).
This query is part of the B2B Storefront Compatibility Package and is only available on [Adobe Commerce as a Cloud Service](https://experienceleague.adobe.com/en/docs/commerce/cloud-service/overview).


This mutation is part of the B2B Storefront Compatibility Package and is only available on [Adobe Commerce as a Cloud Service](https://experienceleague.adobe.com/en/docs/commerce/cloud-service/overview).

The `sharedRequisitionList` query allows B2B customers to retrieve a shared Requisition List using a token, including sender details and associated items in a read-only format. The mutation requires `token` as input parameter. This query returns a `sender_name` and `requisition_list` object.
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
The `sharedRequisitionList` query allows B2B customers to retrieve a shared Requisition List using a token, including sender details and associated items in a read-only format. The mutation requires `token` as input parameter. This query returns a `sender_name` and `requisition_list` object.
The `sharedRequisitionList` query uses a token to retrieve a shared requisition list. The response can contain the `sender_name` and `requisition_list` object.

@cod40403 cod40403 requested a review from keharper April 15, 2026 06:42
@github-project-automation github-project-automation Bot moved this from 📋 Needs Review to 👍 Approved in Commerce - Pull Requests Apr 15, 2026
@keharper keharper added new-topic New original content internal Differentiates work between community and Adobe staff labels May 27, 2026
@keharper keharper merged commit c2cbe7a into AdobeDocs:main May 27, 2026
4 checks passed
@github-project-automation github-project-automation Bot moved this from 👍 Approved to 🏁 Done in Commerce - Pull Requests May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal Differentiates work between community and Adobe staff new-topic New original content

Projects

Status: 🏁 Done

Development

Successfully merging this pull request may close these issues.

4 participants