Edit in GitHubLog an issue
B2B feature. Learn more
Thanks to Zilker Technology for contributing this topic!

updateRequisitionList mutation

The updateRequisitionList mutation updates the name and, optionally, the description of a requisition list.

This mutation requires a valid customer authentication token.

Syntax

Copied to your clipboard
mutation {
updateRequisitionList(
requisitionListUid: ID!
name: String!
description: String
) {
updateRequisitionListOutput
}
}

Reference

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

Example usage

The following example renames the Frequently Ordered Products requisition list and updates its description.

Request:

Copied to your clipboard
mutation {
updateRequisitionList(input:{
name: "Frequently Ordered Essential Products"
description: "Frequently ordered essential products list"
}
requisitionListUid: "Mw=="
) {
requisition_list {
uid
name
description
}
}
}

Response:

Copied to your clipboard
{
"data": {
"updateRequisitionList": {
"requisition_list": {
"uid": "Mw=="
"name": "Frequently Ordered Essential Products"
"description": "Frequently ordered essential products list"
}
}
}
}
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.