All Release Notes

Fixed field types on OrderFromCartDraft, OrderFromQuoteDraft, and PaymentDraft

2 October 2023
Resolved Issue
GraphQLOrdersQuotesPayments

We changed the type of the state field on OrderFromCartDraft and OrderFromQuoteDraft, as well as the customer field on PaymentDraft, from Reference to ResourceIdentifier. The HTTP API now behaves as documented, and we also aligned the GraphQL API with this behavior.

Changes:

  • [API] Changed type of state field on OrderFromCartDraft and OrderFromQuoteDraft from Reference to ResourceIdentifier.
  • [API] Changed type of customer field on PaymentDraft from Reference to ResourceIdentifier.
  • [GraphQL API] Changed the OrderCartCommand type:
    • OrderCartCommand.state input field type changed from ReferenceInput to ResourceIdentifierInput.
  • [GraphQL API] Changed the OrderQuoteCommand type:
    • OrderQuoteCommand.state input field type changed from ReferenceInput to ResourceIdentifierInput.
  • [GraphQL API] Changed the SetPaymentCustomer type:
    • SetPaymentCustomer.customer input field type changed from ReferenceInput to ResourceIdentifierInput