API version: unstable
API version: 2021-07 Release candidate
API version: 2021-04 Latest
API version: 2021-01
API version: 2020-10
API version: 2020-07
API version: 2020-04
API version: 2020-01 Unsupported
API version: 2019-10 Unsupported

SaleLineType enum

Version unstable

The possible line types for a sale record.

Values

  • ADJUSTMENT

    A sale adjustment.

  • DUTY

    A duty charge.

  • GIFT_CARD

    A gift card.

  • PRODUCT

    A product purchased, returned or exchanged.

  • SHIPPING

    A shipping cost.

  • TIP

    A tip added by the customer.

  • UNKNOWN

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

Types that return SaleLineType

Version 2021-07 (Release candidate)

The possible line types for a sale record.

Values

  • ADJUSTMENT

    A sale adjustment.

  • DUTY

    A duty charge.

  • GIFT_CARD

    A gift card.

  • PRODUCT

    A product purchased, returned or exchanged.

  • SHIPPING

    A shipping cost.

  • TIP

    A tip added by the customer.

  • UNKNOWN

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

Types that return SaleLineType