Home > @infiniteobjects/shopify-data-manager > AdminTypes > OrderEditAddVariantPayload
Return type for orderEditAddVariant
mutation.
Signature:
export interface OrderEditAddVariantPayload
Property | Modifiers | Type | Description |
---|---|---|---|
calculatedLineItem? | Maybe<CalculatedLineItem> | (Optional) The [calculated line item](https://shopify.dev/api/admin-graphql/latest/objects/calculatedlineitem) that’s added during this order edit. | |
calculatedOrder? | Maybe<CalculatedOrder> | (Optional) The [calculated order](https://shopify.dev/api/admin-graphql/latest/objects/calculatedorder) with the edits applied but not saved. | |
userErrors | Array<UserError> | The list of errors that occurred from executing the mutation. |