Schema
Custom Discount (Order)
Represents a custom discount supplied and managed by POS.
Overview
Properties
uuid
string
Required
The unique identifier.
Format
uuid
name
string
Required
The name of the custom discount.
Example
Manager Discount
Min length
1
Max length
255
calculation
reference
Required
The calculation used by POS for the custom discount.
References Calculation.
line_item_uuid
string | null
The UUID of the associated order line item, if any.
Format
uuid
Nullable
Yes
Used by
Raw YAML
Download source
title: Custom Discount (Order)
type: object
x-tags:
- Orders
description: Represents a custom discount supplied and managed by POS.
required:
- uuid
- name
- calculation
properties:
uuid:
type: string
format: uuid
description: The unique identifier.
name:
type: string
minLength: 1
maxLength: 255
example: Manager Discount
description: The name of the custom discount.
calculation:
$ref: ./Calculation.yaml
description: The calculation used by POS for the custom discount.
line_item_uuid:
type:
- string
- 'null'
format: uuid
description: The UUID of the associated order line item, if any.