Edit in GitHubLog an issue
B2B feature. Learn more

placeNegotiableQuoteOrder mutation

The placeNegotiableQuoteOrder mutation converts a negotiable quote into an order and returns an order ID.

The negotiable quote must have one of the following statuses:

  • SUBMITTED
  • DECLINED
  • EXPIRED

If the status is DECLINED or EXPIRED, the negotiable quote is processed like a standard cart, without applying any discounts. The negotiable quote is not converted to a standard cart.

Perform the following actions before using the placeNegotiableQuoteOrder mutation. It might be necessary to perform additional steps during the process of coming to an agreement during the negotiable quote lifecycle.

You cannot manage orders with GraphQL, because orders are part of the backend. You can use REST or SOAP calls to manage orders to their completion.

Syntax

Copied to your clipboard
mutation {
placeNegotiableQuoteOrder(
input: PlaceNegotiableQuoteOrderInput
) {
PlaceNegotiableQuoteOrderOutput
}
}

Reference

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

Example usage

Request:

Copied to your clipboard
mutation {
placeNegotiableQuoteOrder(
input: {
quote_uid: "xCA4wSZEHsb5QbFiKfoq5k1Dk8vIPBgb"
}
) {
order {
order_number
}
}
}

Response:

Copied to your clipboard
{
"data": {
"placeNegotiableQuoteOrder": {
"order": {
"order_number": "000000006"
}
}
}
}
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.