Skip to main content
Anchor to OrderEditAddVariantPayload

OrderEditAddVariantPayload

payload

Return type for orderEditAddVariant mutation.

•CalculatedLineItem

The calculated line item that's added during this order edit.

•CalculatedOrder

The calculated order with the edits applied but not saved.

•[UserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation

Adds a line item from an existing product variant. As of API version 2025-04, the orderEditAddVariant API will respect the contextual pricing of the variant.


Was this section helpful?