From 7c6c033001512116617b433d98445728230d569a Mon Sep 17 00:00:00 2001 From: p-zielinski <82354717+p-zielinski@users.noreply.github.com> Date: Thu, 2 Nov 2023 15:53:12 +0100 Subject: [PATCH] Update VALIDATIONS-API-Validation-Object.md --- .../VALIDATIONS-API-Validation-Object.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/reference-docs/VALIDATIONS-API-Validation-Object.md b/docs/reference-docs/VALIDATIONS-API-Validation-Object.md index 812fdf5c1..8852aa317 100644 --- a/docs/reference-docs/VALIDATIONS-API-Validation-Object.md +++ b/docs/reference-docs/VALIDATIONS-API-Validation-Object.md @@ -128,7 +128,7 @@ Any of: | customer_id
`string,null` |

Unique customer ID of the customer making the purchase.

**Example:**

cust_7iUa6ICKyU6gH40dBU25kQU1

| | referrer_id
`string,null` |

Unique referrer ID.

**Example:**

cust_nM4jqPiaXUvQdVSA6vTRUnix

| | object
`string` |

The type of object represented by JSON.

Available values: `order` | -| redemptions
`object` | | +| redemptions
`object` |
AttributesDescription
[propertyName]See: Order Redemptions
| ## Session | Attributes | Description | @@ -233,6 +233,18 @@ All of: 1. [Customer](#customer) +## Order Redemptions +| Attributes | Description | +|:-----|:--------| +| date
`string` |

Timestamp representing the date and time when the redemption was created in ISO 8601 format.

**Example:**

2022-09-02T17:06:56.649Z

| +| rollback_id
`string` |

Unique ID of the redemption rollback.

**Example:**

rr_0c63c84eb78ee0a6c0

| +| rollback_date
`string` |

Timestamp representing the date and tiem when the redemption rollback was created in ISO 8601 format.

**Example:**

2023-01-31T14:18:37.150Z

| +| related_object_type
`string` |

The source of the incentive.

| +| related_object_id
`string` |

Unique ID of the parent redemption.

**Example:**

r_0ba186c4824e4881e1

| +| related_object_parent_id
`string` |

Represent's the campaign ID of the voucher if the redemption was based on a voucher that was part of bulk codes generated within a campaign. In case of a promotion tier, this represents the campaign ID of the promotion tier's parent campaign.

| +| stacked
`array` |

Contains a list of unique IDs of child redemptions, which belong to the stacked incentives.

| +| rollback_stacked
`array` |

Lists the rollback redemption IDs of the particular child redemptions.

| + ## Applicable To Effect Available values: `APPLY_TO_EVERY`, `APPLY_TO_CHEAPEST`, `APPLY_TO_MOST_EXPENSIVE`