Schema
Order Submission Result
The outcome of capturing or fully voiding a purchase, or replaying either action.
Overview
Properties
order
The canonical order after processing this submission.
References Order.
outcome
The domain result of applying this action. A retained HTTP idempotency key repeats the original outcome and response rather than changing it to replayed.
Yes
Allowed values
createdvoidedreplayedqualifying_spend_delta
The signed change applied by this action to the customer's lifetime qualifying spend. A domain outcome of replayed has zero delta. HTTP idempotency replay instead returns the original response, including its original delta, without repeating the mutation. A full void never downgrades attained tiers or reclaims tier benefits.
Yes
All of
All of 1
References Money.
quantity_evaluated
Permanently true once at least one quantity program applicable to the purchase completion time and outlet was evaluated, including zero awards or tier ineligibility. False when no program applied. Full void preserves this status. First captures check current archive state; retries never evaluate newly added or edited programs.
Yes
quantity_activity
Actual quantity movements recorded for this source action, including any expired pool cleared during processing. Capture retries repeat capture activity, even after void; void retries repeat void activity. Deduplicate by ledger_entry_uuid. Zero awards and zero-deduction voids have no artificial movements. No historical balance_after is included here. Base earning and purchase bonus are separate ledger movements under one earning receipt, so a capture can return both. A full void recovers bonus units first, then base units, with separate actual deductions under one void receipt. A partial recovery can contain only the bonus deduction.
Yes
Array items
Items
Nested properties
loyalty_program_uuid
uuid
loyalty_program_type
Allowed values
stamppointloyalty_balance_uuid
uuid
ledger_entry_uuid
uuid
delta
Signed unit quantity; never zero.
cashback_evaluated
True once at least one applicable cashback program was evaluated, including a frozen zero award. Preserved after void; false for unevaluated historical orders.
Yes
cashback_activity
Actual source-linked cashback ledger movements for this action. Base and bonus are separate signed Money entries under one receipt; void recovery is bonus-first. Includes source-linked processed expiry, excludes tier gifts and standalone expiry. Domain retries repeat the original action activity, including capture retry after void. Deduplicate ledger_entry_uuid; zero awards/recovery create no artificial entry.
Yes
Array items
Items
Nested properties
loyalty_program_uuid
uuid
loyalty_program_type
Allowed values
cashbackloyalty_balance_uuid
uuid
ledger_entry_uuid
uuid
delta
References Money.
tier_achievements
Newly attained tiers and benefits awarded on first capture, in ascending tier order. Empty for domain outcomes voided and replayed. HTTP idempotency replay returns the original response, including any original achievements, without awarding them again.
0
Yes
Array items
Items
All of
All of 1
References Customer Tier Achievement.
All of 2
Nested properties
trigger_order_uuid
uuid
source
automatic_order
spending_requirement
All of
All of 1
References Money.
All of 2
Nested properties
amount
1
4294967295
benefits_awarded_at
date-time
Used by
Raw YAML
title: Order Submission Result
type: object
x-tags:
- Models
description: The outcome of capturing or fully voiding a purchase, or replaying either action.
required:
- order
- outcome
- qualifying_spend_delta
- tier_achievements
- quantity_evaluated
- quantity_activity
- cashback_evaluated
- cashback_activity
properties:
order:
$ref: ./Order.yaml
description: The canonical order after processing this submission.
outcome:
type: string
enum:
- created
- voided
- replayed
readOnly: true
description: The domain result of applying this action. A retained HTTP idempotency key repeats the original outcome and response rather than changing it to replayed.
qualifying_spend_delta:
allOf:
- $ref: ./Money.yaml
readOnly: true
description: The signed change applied by this action to the customer's lifetime qualifying spend. A domain outcome of replayed has zero delta. HTTP idempotency replay instead returns the original response, including its original delta, without repeating the mutation. A full void never downgrades attained tiers or reclaims tier benefits.
quantity_evaluated:
type: boolean
readOnly: true
description: Permanently true once at least one quantity program applicable to the purchase completion time and outlet was evaluated, including zero awards or tier ineligibility. False when no program applied. Full void preserves this status. First captures check current archive state; retries never evaluate newly added or edited programs.
quantity_activity:
type: array
readOnly: true
description: Actual quantity movements recorded for this source action, including any expired pool cleared during processing. Capture retries repeat capture activity, even after void; void retries repeat void activity. Deduplicate by ledger_entry_uuid. Zero awards and zero-deduction voids have no artificial movements. No historical balance_after is included here. Base earning and purchase bonus are separate ledger movements under one earning receipt, so a capture can return both. A full void recovers bonus units first, then base units, with separate actual deductions under one void receipt. A partial recovery can contain only the bonus deduction.
items:
type: object
required: [loyalty_program_uuid, loyalty_program_type, loyalty_balance_uuid, ledger_entry_uuid, delta]
properties:
loyalty_program_uuid:
type: string
format: uuid
loyalty_program_type:
type: string
enum: [stamp, point]
loyalty_balance_uuid:
type: string
format: uuid
ledger_entry_uuid:
type: string
format: uuid
delta:
type: integer
description: Signed unit quantity; never zero.
cashback_evaluated:
type: boolean
readOnly: true
description: True once at least one applicable cashback program was evaluated, including a frozen zero award.
Preserved after void; false for unevaluated historical orders.
cashback_activity:
type: array
readOnly: true
description: Actual source-linked cashback ledger movements for this action. Base and bonus are separate
signed Money entries under one receipt; void recovery is bonus-first. Includes source-linked processed
expiry, excludes tier gifts and standalone expiry. Domain retries repeat the original action activity,
including capture retry after void. Deduplicate ledger_entry_uuid; zero awards/recovery create no
artificial entry.
items:
type: object
required:
- loyalty_program_uuid
- loyalty_program_type
- loyalty_balance_uuid
- ledger_entry_uuid
- delta
properties:
loyalty_program_uuid:
type: string
format: uuid
loyalty_program_type:
type: string
enum:
- cashback
loyalty_balance_uuid:
type: string
format: uuid
ledger_entry_uuid:
type: string
format: uuid
delta:
$ref: ./Money.yaml
tier_achievements:
type: array
minItems: 0
readOnly: true
description: Newly attained tiers and benefits awarded on first capture, in ascending tier order. Empty for domain outcomes voided and replayed. HTTP idempotency replay returns the original response, including any original achievements, without awarding them again.
items:
allOf:
- $ref: ./CustomerTierAchievement.yaml
- type: object
properties:
trigger_order_uuid:
type: string
format: uuid
source:
const: automatic_order
spending_requirement:
allOf:
- $ref: ./Money.yaml
- type: object
properties:
amount:
minimum: 1
maximum: 4294967295
benefits_awarded_at:
type: string
format: date-time