Edit in GitHubLog an issue
B2B feature. Learn more

copyItemsBetweenRequisitionLists mutation

The copyItemsBetweenRequisitionLists mutation copies items from one requisition list to another.

This mutation requires a valid customer authentication token.

Syntax

Copied to your clipboard
mutation {
copyItemsBetweenRequisitionLists(
sourceRequisitionListUid: ID!,
destinationRequisitionListUid: ID,
requisitionListItem: CopyItemsBetweenRequisitionListsInput
) {
CopyItemsFromRequisitionListsOutput
}
}

Reference

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

Example usage

The following example copies an item from one requisition list to another.

Request:

Copied to your clipboard
mutation {
copyItemsBetweenRequisitionLists(
sourceRequisitionListUid: "Mg==",
destinationRequisitionListUid: "Mw==",
requisitionListItem: {
requisitionListItemUids: [
"Nw=="
]
}
) {
requisition_list {
uid
name
items_count
}
}
}

Response:

Copied to your clipboard
{
"data": {
"copyItemsBetweenRequisitionLists": {
"requisition_list": {
"uid": "Mw==",
"name": "Rarely ordered items",
"items_count": 3
}
}
}
}
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.