Skip to main content
enum

The possible line types of a sale record. A sale can be an adjustment, which occurs when a refund is issued for a line item that is either more or less than the total value of the line item. Examples include restocking fees and goodwill payments. In such cases, Shopify generates a sales agreement with sale records for each line item that is returned or refunded, and an additional sale record for the adjustment, for example a restocking fee. The sale records for the returned or refunded items represent the reversal of the original line item sale value. The additional adjustment sale record represents the difference between the original total value of all line items that were refunded, and the actual amount refunded.

An additional fee.

A sale adjustment.

A duty charge.

A fee charge.

A gift card.

A product that was purchased, returned, or exchanged.

A shipping charge.

A tip given by the customer.

An unknown sale line type. This represents new types that may be added in future versions.


Was this section helpful?

•OBJECT

The type of line associated with the sale.

•OBJECT

The type of line associated with the sale.

•OBJECT

The type of line associated with the sale.

•OBJECT

The type of line associated with the sale.

•OBJECT

The type of line associated with the sale.

•OBJECT

The type of line associated with the sale.

•INTERFACE

The type of line associated with the sale.

•OBJECT

The type of line associated with the sale.

•OBJECT

The type of line associated with the sale.

•OBJECT

The line type assocated with the sale.


Was this section helpful?