Skip to main content
Anchor to OrderEditAddCustomItemPayload

OrderEditAddCustomItemPayload

payload

Return type for orderEditAddCustomItem mutation.

•CalculatedLineItem

The custom line item that will be added to the order based on the current edits.

•CalculatedOrder

An 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 custom line item to an existing order. For example, you could add a gift wrapping service as a custom line item. To learn how to edit existing orders, refer to Edit an existing order with Admin API.


Was this section helpful?