Skip to content

Commit

Permalink
Final adjustments. Added Changelog.md. Added md tables.
Browse files Browse the repository at this point in the history
  • Loading branch information
jkaliszuk committed Nov 2, 2023
1 parent ea5e10c commit 666db4c
Show file tree
Hide file tree
Showing 7 changed files with 405 additions and 77 deletions.
30 changes: 30 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# Changelog

## 20231102 - Qualifications

**Added schemas**
- Discount
- Gift
- RedeemableGift
- QualificationsFieldConditions
- QualificationsFiltersCondition
- QualificationsRedeemableSingleResponse
- ValidationRulesAssignments
- BusValRuleAssignment
- RedeemableSingleResultResponse
- RedeemableLoyaltyCard
- Error

**Removed schemas**
- 16_filter_conditions_string_qualification
- 23_obj_filter_category_id
- 23_obj_filter_campaign_id
- 23_obj_filter_resource_type
- 23_obj_filter_voucher_type
- qualificationJunction

**Changed schemas**
- 16_filter_conditions_string_qualification to QualificationsCheckEligibilityResponseBody
- 23_obj_qualification_object_stacking_rules to QualificationsStackingRulesResponse
- 23_req_create_qualification to QualificationsCheckEligibilityRequestBody
- 23_obj_qualification_redeemables to QualificationsRedeemablesResponse


## 20231031 Integration blueprint – 2 new articles

Added the following articles to the Integration Blueprint section:
Expand Down
5 changes: 3 additions & 2 deletions docs/reference-docs/CATEGORIES-API-Category-Object.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,16 @@ hidden: false
order: 1
---

## Category Object
## Category
| Attributes | Description |
|:-----|:--------|
| id</br>`string` | <p>Unique category ID assigned by Voucherify.</p> |
| name</br>`string` | <p>Category name.</p> |
| hierarchy</br>`integer` | <p>Category hierarchy.</p> |
| object</br>`string` | <p>The type of object represented by the JSON. This object stores information about the category.</p> Available values: `category` |
| created_at</br>`string` | <p>Timestamp representing the date and time when the category was created in ISO 8601 format.</p> **Example:** <p>2022-07-14T10:45:13.156Z</p> |
| updated_at</br>`string` | <p>Timestamp representing the date and time when the category was updated in ISO 8601 format.</p> **Example:** <p>2022-08-16T10:52:08.094Z</p> |
| object</br>`string` | <p>The type of object represented by the JSON. This object stores information about the category.</p> |
| stacking_rules_type</br>`string` | <p>The type of category stacking rules</p> Available values: `JOINT`, `EXCLUSIVE` |

[block:html]
{
Expand Down
4 changes: 2 additions & 2 deletions docs/reference-docs/ORDERS-API-Order-Object.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ order: 1
| updated_at</br>`string,null` | <p>Timestamp representing the date and time when the order was last updated in ISO 8601 format.</p> **Example:** <p>2021-12-22T10:14:45.316Z</p> |
| status</br>`string` | <p>The order status.</p> Available values: `CREATED`, `PAID`, `CANCELED`, `FULFILLED` |
| amount</br>`integer` | <p>A positive integer in the smallest currency unit (that is, 100 cents for $1.00) representing the total amount of the order; this is the sum of the order items' amounts.</p> |
| discount_amount</br>`integer` | <p>Sum of all order-level discounts applied to the order.</p> |
| initial_amount</br>`integer` | <p>A positive integer in the smallest currency unit (that is, 100 cents for $1.00) representing the total amount of the order; this is the sum of the order items' amounts.</p> |
| discount_amount</br>`integer` | <p>Sum of all order-level discounts applied to the order.</p> |
| items_discount_amount</br>`integer` | <p>Sum of all product-specific discounts applied to the order.</p> |
| total_discount_amount</br>`integer` | <p>Sum of all order-level AND all product-specific discounts applied to the order.</p> |
| total_amount</br>`integer` | <p>Order amount after undoing all the discounts through the rollback redemption.</p> |
Expand All @@ -30,7 +30,7 @@ order: 1
| customer_id</br>`string,null` | <p>Unique customer ID of the customer making the purchase.</p> **Example:** <p>cust_7iUa6ICKyU6gH40dBU25kQU1</p> |
| referrer | <p>This is an object containing information about the referrer.</p> See: [Referrer](#referrer) |
| referrer_id</br>`string,null` | <p>Unique referrer ID.</p> **Example:** <p>cust_nM4jqPiaXUvQdVSA6vTRUnix</p> |
| object</br>`string` | <p>Unique referrer ID.</p> Available values: `order` |
| object</br>`string` | <p>The type of object represented by JSON.</p> Available values: `order` |
| metadata</br>`object` | <p>A set of custom key/value pairs that you can attach to an order. It can be useful for storing additional information about the order in a structured format.</p> |

## Order Item Response
Expand Down
Loading

0 comments on commit 666db4c

Please sign in to comment.