Skip to content

Commit 025c4a3

Browse files
authored
fix: promos params (#280)
1 parent 4164a54 commit 025c4a3

1 file changed

Lines changed: 15 additions & 12 deletions

File tree

source/includes/_loyalty.promos.for-client.md.erb

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,18 @@ curl --header "Content-Type: application/json" \
7070

7171
Returns list of all active promotions for the current user.
7272

73-
| Parameter | Type | Required | Description |
74-
|-------------|----------|----------|------------------------------------------------------------------------------|
75-
| shop_id | String | true | Your API key |
76-
| stream | String | false | Stream to filter promos for different devices. Omit if you don't use streams |
77-
| location_id | String | false | Location ID |
78-
| did* | string | false | Device ID |
79-
| external_id | string | false | External ID |
80-
| email | string | false | Email |
81-
| phone | string | false | Phone |
82-
| loyalty_id | string | false | Loyalty ID |
83-
| telegram_id | string | false | Telegram ID |
84-
| cart_items | Array | false | Current shopping cart |
73+
| Parameter | Type | Required | Description |
74+
|----------------|----------|----------|------------------------------------------------------------------------------|
75+
| shop_id | String | true | Your API key |
76+
| stream | String | false | Stream to filter promos for different devices. Omit if you don't use streams |
77+
| location_id | String | false | Location ID |
78+
| did* | string | false | Device ID |
79+
| external_id | string | false | External ID |
80+
| email | string | false | Email |
81+
| phone | string | false | Phone |
82+
| loyalty_id | string | false | Loyalty ID |
83+
| telegram_id | string | false | Telegram ID |
84+
| seance | string | false | User's session from SDK |
85+
| cart_items | Array | false | Current shopping cart |
86+
| promo_codes | Array | false | If user have promo codes, you can send it to filter related promotions |
87+
| charge_bonuses | Boolean | false | If user have bonuses, you can set it to true to filter related promotions |

0 commit comments

Comments
 (0)