Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to OrderEditAddVariantPayload

OrderEditAddVariantPayload

payload

Return type for orderEditAddVariant mutation.

•

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

•

The calculated order with the edits applied but not saved.

•

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?