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

deleteRequisitionList mutation

The deleteRequisitionList mutation deletes a requisition list of the logged in customer. The response can include any remaining requisition lists.

This mutation requires a valid customer authentication token.

Syntax

Copied to your clipboard
mutation {
deleteRequisitionList(
requisitionListUid: ID!
) {
deleteRequisitionListOutput
}
}

Reference

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

Example usage

The following example deletes a requisition list.

Request:

Copied to your clipboard
mutation {
deleteRequisitionList(
requisitionListUid: "Mw=="
) {
status
requisition_lists {
total_count
items {
uid
name
}
}
}
}

Response:

Copied to your clipboard
{
"data": {
"deleteRequisitionList": {
"status": true,
"requisition_lists": {
"total_count": 1
"items": [
{
"uid": "Mg==",
"name": "Frequently Ordered Products"
}
]
}
}
}
}
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.