Edit in GitHubLog an issue
Adobe Commerce featureExclusive feature only in Adobe Commerce (Learn more)

shareRequisitionListByEmail mutation

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.

Syntax

Copied to your clipboard
{
shareRequisitionListByEmail(
input: ShareRequisitionListByEmailInput!
): ShareRequisitionListByEmailOutput
}

Example usage

The following example shares a requisition list to the specified customer UIDs.

Request:

Copied to your clipboard
mutation ShareRequisitionListByEmail {
shareRequisitionListByEmail(
input: { customerUids: ["MQ==", "Mg=="], requisitionListUid: "OTc5" }
) {
sent_count
user_errors {
code
message
}
}
}

Response:

Copied to your clipboard
{
"data": {
"shareRequisitionListByEmail": {
"sent_count": 2,
"user_errors": []
}
}
}
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2026 Adobe. All rights reserved.