| Property | Type | Description |
|---|---|---|
id
| string | Tremendous ID of the order |
external_id
| string | Reference for this order, supplied by the customer. When set, after the initial order creation, will result in a response that returns the data of the It also allows for retrieving by |
campaign_id
| string | ID of the campaign in your account, that defines the available products (different gift cards, charity, etc.) that the recipient can choose from. |
created_at
| string date-time | Date the order was created |
status
| string | Execution status of a given order |
channel
Name of the channel in which the order was created
payment
Cost breakdown of the order (cost of rewards + fees).
Cost and fees are denominated in the organization's currency (see payment currency_code), independent of the ordered rewards' currency.
Note that this property will only appear for processed orders (status is EXECUTED).
Show object properties
| Property | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
subtotal
| number double | Total price of the order before fees, denominated in | |||||||||
total
| number double | Total price of the order including fees, denominated in | |||||||||
fees
| number double | Fees for the order, denominated in | |||||||||
discount
| number double | Discount for the order, denominated in | |||||||||
currency_code
| string | Currency in which the payment amounts (subtotal, total, fees, discount, refund) are denominated. This always matches the organization's currency. | |||||||||
refund
| object | Breakdown of the order refunds (total denominated in | |||||||||
Show object properties
| |||||||||||
invoice_id
The ID for the invoice associated with this order
rewards
Show array item type
| Property | Type | Description | |||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
id
| string | Tremendous ID of the reward | |||||||||||||||||
order_id
| string | Tremendous ID of the order this reward is part of. | |||||||||||||||||
created_at
| string date-time | Date the reward was created | |||||||||||||||||
expires_at
| string date-time | Expiration date of the reward. If null, the reward does not expire. | |||||||||||||||||
campaign_id
| string | ID of the campaign in your account, that defines the available products (different gift cards, charity, etc.) that the recipient can choose from. | |||||||||||||||||
products
| array string | List of IDs of product (different gift cards, charity, etc.) that will be available to the recipient to choose from. Providing a specified using the | |||||||||||||||||
value
| object | ||||||||||||||||||
Show object properties
| |||||||||||||||||||
recipient
| object | Details of the recipient of the reward | |||||||||||||||||
Show object properties
| |||||||||||||||||||
deliver_at
| string date | Timestamp of reward delivery within the next year. Note that if date-time is provided, the time values will be ignored. | |||||||||||||||||
custom_fields
| array | ||||||||||||||||||
Show array item type
| |||||||||||||||||||
delivery
| object | Details on how the reward is delivered to the recipient. | |||||||||||||||||
Show object properties
| |||||||||||||||||||