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.

enum

The possible line types for a sale record. One of the possible order line types for a sale is an adjustment. Sales adjustments occur when a refund is issued for a line item that is either more or less than the total value of the line item. Examples are restocking fees and goodwill payments. When this happens, Shopify produces 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 sales 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 purchased, returned or exchanged.

•

A shipping cost.

•

A tip added by the customer.

•

An unknown sale line. Represents new types that may be added in future versions.


Was this section helpful?

•
OBJECT

The line type assocated with the sale.

•
OBJECT

The line type assocated with the sale.

•
OBJECT

The line type assocated with the sale.

•
OBJECT

The line type assocated with the sale.

•
OBJECT

The line type assocated with the sale.

•
OBJECT

The line type assocated with the sale.

•
INTERFACE

The line type assocated with the sale.

•
OBJECT

The line type assocated with the sale.

•
OBJECT

The line type assocated with the sale.

•
OBJECT

The line type assocated with the sale.


Was this section helpful?