createRequisitionList mutation
The createRequisitionList mutation creates a requisition list for the logged in customer.
Use the storeConfig query with the is_requisition_list_active attribute to determine whether requisition lists are enabled.
This mutation requires a valid customer authentication token.
Syntax
Copied to your clipboardmutation {createRequisitionList(name: String!description: String) {CreateRequisitionListOutput}}
Reference
The createRequisitionList reference provides detailed information about the types and fields defined in this mutation.
Example usage
The following example creates the Frequently Ordered Products requisition list.
Request:
Copied to your clipboardmutation {createRequisitionList(input:{name: "Frequently Ordered Products"description: "Frequently ordered products list"}) {requisition_list {uidnamedescription}}}
Response:
Copied to your clipboard{"data": {"createRequisitionList": {"requisition_list": {"uid": "Mw==""name": "Frequently Ordered Products""description": "Frequently ordered products list"}}}}

