Edit in GitHubLog an issue
B2B feature. Learn more

removeNegotiableQuoteItems mutation

The removeNegotiableQuoteItems mutation removes the specified products from a negotiable quote.

This mutation requires a valid customer authentication token.

Syntax

Copied to your clipboard
removeNegotiableQuoteItems(
input: RemoveNegotiableQuoteItemsInput!
): RemoveNegotiableQuoteItemsOutput

Reference

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

Example usage

The following example removes a product from a negotiable quote.

Request:

Copied to your clipboard
mutation {
removeNegotiableQuoteItems(
input: {
quote_uid: "xCA4wSZEHsb5QbFiKfoq5k1Dk8vIPBgb"
quote_item_uids: ["MTc="]
}
) {
quote {
uid
name
updated_at
items {
uid
product {
uid
sku
name
}
quantity
prices {
price {
value
}
}
}
}
}
}

Response:

Copied to your clipboard
{
"data": {
"removeNegotiableQuoteItems": {
"quote": {
"uid": "xCA4wSZEHsb5QbFiKfoq5k1Dk8vIPBgb",
"name": "April 22 request",
"updated_at": "2021-04-23 18:21:44",
"items": [
{
"uid": "MTU=",
"product": {
"uid": "MjA=",
"sku": "24-UG01",
"name": "Quest Lumaflex™ Band"
},
"quantity": 7,
"prices": {
"price": {
"value": 19
}
}
},
{
"uid": "MTY=",
"product": {
"uid": "MTg=",
"sku": "24-UG02",
"name": "Pursuit Lumaflex™ Tone Band"
},
"quantity": 8,
"prices": {
"price": {
"value": 16
}
}
}
]
}
}
}
}
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.