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 clipboardsendNegotiableQuoteForReview(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 clipboardmutation{sendNegotiableQuoteForReview(input: {quote_uid: "xCA4wSZEHsb5QbFiKfoq5k1Dk8vIPBgb"comment: { comment: "Thanks!"}}){quote {uidbuyer {firstnamelastname}nameupdated_atstatuscomments {uidcreated_atcreator_typeauthor {firstnamelastname}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!"}]}}}}