From 3ca2a5f4a36dfdda577df6aa00658cf9ccf3395e Mon Sep 17 00:00:00 2001 From: Michael Kechinov Date: Fri, 6 Feb 2026 17:45:42 +0300 Subject: [PATCH] feat: additional params for bonuses history method Closes #DEV-3770 --- ...loyalty.bonuses.event_bonus_history.md.erb | 21 ++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/source/includes/_loyalty.bonuses.event_bonus_history.md.erb b/source/includes/_loyalty.bonuses.event_bonus_history.md.erb index ab461c7..966c582 100644 --- a/source/includes/_loyalty.bonuses.event_bonus_history.md.erb +++ b/source/includes/_loyalty.bonuses.event_bonus_history.md.erb @@ -43,13 +43,20 @@ Method return member's bonuses history which were created with `loyalty/basic/ev ### Query Parameters -| Parameter | Required | Description | -|-------------|----------|----------------------------| -| shop_id | true | Your API key | -| shop_secret | true | Your API secret key | -| identifier | true | User's phone (identifier) | -| offset | optional | Offset (default 0) | -| limit | optional | Limit (default 50, max 50) | +| Parameter | Required | Description | +|----------------------|----------|---------------------------------------------------------------------------| +| shop_id | true | Your API key | +| shop_secret | true | Your API secret key | +| identifier | true | User's phone (identifier) | +| offset | optional | Offset (default 0) | +| limit | optional | Limit (default 50, max 50) | +| status | optional | Transaction status. One of: pending, confirmed, spent, cancelled, expired | +| activation_date_from | optional | Activation date from. Date in YYYY-MM-DD format | +| activation_date_to | optional | Activation date to. Date in YYYY-MM-DD format | +| expiration_date_from | optional | Expiration date from. Date in YYYY-MM-DD format | +| expiration_date_to | optional | Expiration date to. Date in YYYY-MM-DD format | +| created_date_from | optional | Created date from. Date in YYYY-MM-DD format | +| created_date_to | optional | Created date to. Date in YYYY-MM-DD format |