Edit in GitHubLog an issue
B2B feature. Learn more

sendNegotiableQuoteForReview mutation

The sendNegotiableQuoteForReview mutation sends the negotiable quote to the seller for review. If the mutation is successful, the buyer cannot modify the quote until the merchant accepts the request.

This mutation requires a valid customer authentication token.

Syntax

Copied to your clipboard
sendNegotiableQuoteForReview(
input: SendNegotiableQuoteForReviewInput!
) : SendNegotiableQuoteForReviewOutput

Reference

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

Example usage

The following example adds a comment to the specified negotiable quote.

Request:

Copied to your clipboard
mutation{
sendNegotiableQuoteForReview(input: {
quote_uid: "xCA4wSZEHsb5QbFiKfoq5k1Dk8vIPBgb"
comment: { comment: "Thanks!"}
}){
quote {
uid
buyer {
firstname
lastname
}
name
updated_at
status
comments {
uid
created_at
creator_type
author {
firstname
lastname
}
text
}
}
}
}

Response:

Copied to your clipboard
{
"data": {
"sendNegotiableQuoteForReview": {
"quote": {
"uid": "xCA4wSZEHsb5QbFiKfoq5k1Dk8vIPBgb",
"buyer": {
"firstname": "Taina",
"lastname": "Garofalo"
},
"name": "April 22 request",
"updated_at": "2021-04-23 18:21:44",
"status": "SUBMITTED",
"comments": [
{
"uid": "OA==",
"created_at": "2021-04-22 17:04:47",
"creator_type": "BUYER",
"author": {
"firstname": "Taina",
"lastname": "Garofalo"
},
"text": "Requesting a 10% discount and a reduction in shipping costs."
},
{
"uid": "OQ==",
"created_at": "2021-04-28 02:47:41",
"creator_type": "BUYER",
"author": {
"firstname": "Taina",
"lastname": "Garofalo"
},
"text": "Thanks!"
}
]
}
}
}
}
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.