For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dev Portal
DocsAPI ReferenceLearnCommunityChangelog
DocsAPI ReferenceLearnCommunityChangelog
    • About Our APIs
  • REST
    • Overview
  • GraphQL
    • Overview
      • Playground
          • MUTproductUpload
          • MUTproductAnonUpload
          • MUTupdateAccountSettings
          • MUTupdateCustomerAccountSettings
          • MUTinvoicePdf
          • MUTinvoicesExport
          • MUTinvoiceCreateBcCart
          • MUTinvoiceFinishBcPayment
          • MUTcreateOrder
          • MUTshoppingListsCreate
          • MUTshoppingListsUpdate
          • MUTshoppingListsDelete
          • MUTshoppingListsDuplicate
          • MUTshoppingListsItemsCreate
          • MUTshoppingListsItemsUpdate
          • MUTshoppingListsItemsDelete
          • MUTcustomerShoppingListsCreate
          • MUTcustomerShoppingListsUpdate
          • MUTcustomerShoppingListsDelete
          • MUTcustomerShoppingListsDuplicate
          • MUTcustomerShoppingListsItemsCreate
          • MUTcustomerShoppingListsItemsUpdate
          • MUTcustomerShoppingListsItemsDelete
          • MUTquoteCreate
          • MUTquoteUpdate
          • MUTquoteCheckout
          • MUTquoteOrdered
          • MUTquoteEmail
          • MUTquotePdfExport
          • MUTquoteAttachFileDelete
          • MUTquoteAttachFileCreate
          • MUTquoteFrontendPdf
          • MUTsuperAdminBeginMasquerade
          • MUTsuperAdminEndMasquerade
          • MUTcompanyCreate
          • MUTlogin
          • MUTcheckoutLogin
          • MUTauthorization
          • MUTuserCreate
          • MUTuserUpdate
          • MUTuserDelete
          • MUTstoreFrontToken
          • MUTcustomerCreate
          • MUTcustomerSubscribersCreate
          • MUTuserMasqueradingCompanyBegin
          • MUTuserMasqueradingCompanyEnd
          • MUTaddressCreate
          • MUTaddressUpdate
          • MUTaddressDelete
          • MUTcustomerAddressCreate
          • MUTcustomerAddressUpdate
          • MUTcustomerAddressDelete
  • MCP
    • Overview
Dev Portal
LogoLogo
GraphQLB2BMutations

shoppingListsUpdate

Example Query
1mutation ExampleMutation($id: Int, $shoppingListData: ShoppingListsInputType) {
2 shoppingListsUpdate(id: $id, shoppingListData: $shoppingListData) {
3 shoppingList {
4 id
5 createdAt
6 updatedAt
7 name
8 description
9 reason
10 status
11 approvedFlag
12 customerInfo
13 isOwner
14 }
15 }
16}
Variables
1{
2 "id": 0,
3 "shoppingListData": {
4 "name": "example",
5 "description": "example",
6 "status": 0,
7 "companyId": 0
8 }
9}
Example response
1{
2 "data": {
3 "shoppingListsUpdate": {
4 "shoppingList": {
5 "id": "example",
6 "createdAt": 0,
7 "updatedAt": 0,
8 "name": "example",
9 "description": "example",
10 "reason": "example",
11 "status": 0,
12 "approvedFlag": true,
13 "customerInfo": {
14 "firstName": null,
15 "lastName": null,
16 "userId": null,
17 "email": null,
18 "role": null
19 },
20 "isOwner": true
21 }
22 }
23 }
24}
Update a shopping list. Requires a B2B Token.
Was this page helpful?
Previous

shoppingListsCreate

Next

shoppingListsDelete

Built with

Arguments

idIntegerOptional
shoppingListDataShoppingListsInputTypeOptional

Returns

an optional ShoppingListsUpdate
shoppingListShoppingListType