@@ -34,12 +34,12 @@ This method gives a possibility to add a new voucher to an existing campaign. Th
34
34
require_once(__DIR__ . '/vendor/autoload.php');
35
35
36
36
37
- // Configure API key authorization: X-App-Id-1
37
+ // Configure API key authorization: X-App-Id
38
38
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('X-App-Id', 'YOUR_API_KEY');
39
39
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
40
40
// $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-App-Id', 'Bearer');
41
41
42
- // Configure API key authorization: X-App-Token-1
42
+ // Configure API key authorization: X-App-Token
43
43
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('X-App-Token', 'YOUR_API_KEY');
44
44
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
45
45
// $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-App-Token', 'Bearer');
77
77
78
78
### Authorization
79
79
80
- [ X-App-Id-1 ] ( ../../README.md#X-App-Id-1 ) , [ X-App-Token-1 ] ( ../../README.md#X-App-Token-1 )
80
+ [ X-App-Id] ( ../../README.md#X-App-Id ) , [ X-App-Token] ( ../../README.md#X-App-Token )
81
81
82
82
### HTTP request headers
83
83
@@ -105,12 +105,12 @@ This method gives the possibility to push new vouchers to an existing campaign.
105
105
require_once(__DIR__ . '/vendor/autoload.php');
106
106
107
107
108
- // Configure API key authorization: X-App-Id-1
108
+ // Configure API key authorization: X-App-Id
109
109
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('X-App-Id', 'YOUR_API_KEY');
110
110
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
111
111
// $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-App-Id', 'Bearer');
112
112
113
- // Configure API key authorization: X-App-Token-1
113
+ // Configure API key authorization: X-App-Token
114
114
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('X-App-Token', 'YOUR_API_KEY');
115
115
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
116
116
// $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-App-Token', 'Bearer');
@@ -148,7 +148,7 @@ try {
148
148
149
149
### Authorization
150
150
151
- [ X-App-Id-1 ] ( ../../README.md#X-App-Id-1 ) , [ X-App-Token-1 ] ( ../../README.md#X-App-Token-1 )
151
+ [ X-App-Id] ( ../../README.md#X-App-Id ) , [ X-App-Token] ( ../../README.md#X-App-Token )
152
152
153
153
### HTTP request headers
154
154
@@ -176,12 +176,12 @@ Method to create a batch of vouchers aggregated in one campaign. You can choose
176
176
require_once(__DIR__ . '/vendor/autoload.php');
177
177
178
178
179
- // Configure API key authorization: X-App-Id-1
179
+ // Configure API key authorization: X-App-Id
180
180
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('X-App-Id', 'YOUR_API_KEY');
181
181
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
182
182
// $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-App-Id', 'Bearer');
183
183
184
- // Configure API key authorization: X-App-Token-1
184
+ // Configure API key authorization: X-App-Token
185
185
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('X-App-Token', 'YOUR_API_KEY');
186
186
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
187
187
// $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-App-Token', 'Bearer');
@@ -215,7 +215,7 @@ try {
215
215
216
216
### Authorization
217
217
218
- [ X-App-Id-1 ] ( ../../README.md#X-App-Id-1 ) , [ X-App-Token-1 ] ( ../../README.md#X-App-Token-1 )
218
+ [ X-App-Id] ( ../../README.md#X-App-Id ) , [ X-App-Token] ( ../../README.md#X-App-Token )
219
219
220
220
### HTTP request headers
221
221
@@ -243,12 +243,12 @@ Permanently deletes a campaign and all related vouchers. This action cannot be u
243
243
require_once(__DIR__ . '/vendor/autoload.php');
244
244
245
245
246
- // Configure API key authorization: X-App-Id-1
246
+ // Configure API key authorization: X-App-Id
247
247
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('X-App-Id', 'YOUR_API_KEY');
248
248
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
249
249
// $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-App-Id', 'Bearer');
250
250
251
- // Configure API key authorization: X-App-Token-1
251
+ // Configure API key authorization: X-App-Token
252
252
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('X-App-Token', 'YOUR_API_KEY');
253
253
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
254
254
// $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-App-Token', 'Bearer');
@@ -284,7 +284,7 @@ try {
284
284
285
285
### Authorization
286
286
287
- [ X-App-Id-1 ] ( ../../README.md#X-App-Id-1 ) , [ X-App-Token-1 ] ( ../../README.md#X-App-Token-1 )
287
+ [ X-App-Id] ( ../../README.md#X-App-Id ) , [ X-App-Token] ( ../../README.md#X-App-Token )
288
288
289
289
### HTTP request headers
290
290
@@ -312,12 +312,12 @@ There are various times when you'll want to manage a campaign's accessibility. T
312
312
require_once(__DIR__ . '/vendor/autoload.php');
313
313
314
314
315
- // Configure API key authorization: X-App-Id-1
315
+ // Configure API key authorization: X-App-Id
316
316
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('X-App-Id', 'YOUR_API_KEY');
317
317
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
318
318
// $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-App-Id', 'Bearer');
319
319
320
- // Configure API key authorization: X-App-Token-1
320
+ // Configure API key authorization: X-App-Token
321
321
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('X-App-Token', 'YOUR_API_KEY');
322
322
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
323
323
// $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-App-Token', 'Bearer');
@@ -351,7 +351,7 @@ try {
351
351
352
352
### Authorization
353
353
354
- [ X-App-Id-1 ] ( ../../README.md#X-App-Id-1 ) , [ X-App-Token-1 ] ( ../../README.md#X-App-Token-1 )
354
+ [ X-App-Id] ( ../../README.md#X-App-Id ) , [ X-App-Token] ( ../../README.md#X-App-Token )
355
355
356
356
### HTTP request headers
357
357
@@ -379,12 +379,12 @@ There are various times when you'll want to manage a campaign's accessibility. T
379
379
require_once(__DIR__ . '/vendor/autoload.php');
380
380
381
381
382
- // Configure API key authorization: X-App-Id-1
382
+ // Configure API key authorization: X-App-Id
383
383
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('X-App-Id', 'YOUR_API_KEY');
384
384
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
385
385
// $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-App-Id', 'Bearer');
386
386
387
- // Configure API key authorization: X-App-Token-1
387
+ // Configure API key authorization: X-App-Token
388
388
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('X-App-Token', 'YOUR_API_KEY');
389
389
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
390
390
// $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-App-Token', 'Bearer');
@@ -418,7 +418,7 @@ try {
418
418
419
419
### Authorization
420
420
421
- [ X-App-Id-1 ] ( ../../README.md#X-App-Id-1 ) , [ X-App-Token-1 ] ( ../../README.md#X-App-Token-1 )
421
+ [ X-App-Id] ( ../../README.md#X-App-Id ) , [ X-App-Token] ( ../../README.md#X-App-Token )
422
422
423
423
### HTTP request headers
424
424
@@ -446,12 +446,12 @@ Retrieves the campaign with the given campaign ID or campaign name.
446
446
require_once(__DIR__ . '/vendor/autoload.php');
447
447
448
448
449
- // Configure API key authorization: X-App-Id-1
449
+ // Configure API key authorization: X-App-Id
450
450
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('X-App-Id', 'YOUR_API_KEY');
451
451
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
452
452
// $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-App-Id', 'Bearer');
453
453
454
- // Configure API key authorization: X-App-Token-1
454
+ // Configure API key authorization: X-App-Token
455
455
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('X-App-Token', 'YOUR_API_KEY');
456
456
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
457
457
// $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-App-Token', 'Bearer');
@@ -485,7 +485,7 @@ try {
485
485
486
486
### Authorization
487
487
488
- [ X-App-Id-1 ] ( ../../README.md#X-App-Id-1 ) , [ X-App-Token-1 ] ( ../../README.md#X-App-Token-1 )
488
+ [ X-App-Id] ( ../../README.md#X-App-Id ) , [ X-App-Token] ( ../../README.md#X-App-Token )
489
489
490
490
### HTTP request headers
491
491
@@ -513,12 +513,12 @@ Imports vouchers to an **existing** campaign. This API request starts a process
513
513
require_once(__DIR__ . '/vendor/autoload.php');
514
514
515
515
516
- // Configure API key authorization: X-App-Id-1
516
+ // Configure API key authorization: X-App-Id
517
517
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('X-App-Id', 'YOUR_API_KEY');
518
518
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
519
519
// $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-App-Id', 'Bearer');
520
520
521
- // Configure API key authorization: X-App-Token-1
521
+ // Configure API key authorization: X-App-Token
522
522
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('X-App-Token', 'YOUR_API_KEY');
523
523
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
524
524
// $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-App-Token', 'Bearer');
@@ -554,7 +554,7 @@ try {
554
554
555
555
### Authorization
556
556
557
- [ X-App-Id-1 ] ( ../../README.md#X-App-Id-1 ) , [ X-App-Token-1 ] ( ../../README.md#X-App-Token-1 )
557
+ [ X-App-Id] ( ../../README.md#X-App-Id ) , [ X-App-Token] ( ../../README.md#X-App-Token )
558
558
559
559
### HTTP request headers
560
560
@@ -582,12 +582,12 @@ Imports vouchers to an **existing** campaign. The CSV file has to include he
582
582
require_once(__DIR__ . '/vendor/autoload.php');
583
583
584
584
585
- // Configure API key authorization: X-App-Id-1
585
+ // Configure API key authorization: X-App-Id
586
586
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('X-App-Id', 'YOUR_API_KEY');
587
587
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
588
588
// $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-App-Id', 'Bearer');
589
589
590
- // Configure API key authorization: X-App-Token-1
590
+ // Configure API key authorization: X-App-Token
591
591
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('X-App-Token', 'YOUR_API_KEY');
592
592
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
593
593
// $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-App-Token', 'Bearer');
@@ -623,7 +623,7 @@ try {
623
623
624
624
### Authorization
625
625
626
- [ X-App-Id-1 ] ( ../../README.md#X-App-Id-1 ) , [ X-App-Token-1 ] ( ../../README.md#X-App-Token-1 )
626
+ [ X-App-Id] ( ../../README.md#X-App-Id ) , [ X-App-Token] ( ../../README.md#X-App-Token )
627
627
628
628
### HTTP request headers
629
629
@@ -651,12 +651,12 @@ Retrieve a list of campaigns in a project. The campaigns are returned sorted b
651
651
require_once(__DIR__ . '/vendor/autoload.php');
652
652
653
653
654
- // Configure API key authorization: X-App-Id-1
654
+ // Configure API key authorization: X-App-Id
655
655
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('X-App-Id', 'YOUR_API_KEY');
656
656
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
657
657
// $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-App-Id', 'Bearer');
658
658
659
- // Configure API key authorization: X-App-Token-1
659
+ // Configure API key authorization: X-App-Token
660
660
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('X-App-Token', 'YOUR_API_KEY');
661
661
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
662
662
// $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-App-Token', 'Bearer');
@@ -698,7 +698,7 @@ try {
698
698
699
699
### Authorization
700
700
701
- [ X-App-Id-1 ] ( ../../README.md#X-App-Id-1 ) , [ X-App-Token-1 ] ( ../../README.md#X-App-Token-1 )
701
+ [ X-App-Id] ( ../../README.md#X-App-Id ) , [ X-App-Token] ( ../../README.md#X-App-Token )
702
702
703
703
### HTTP request headers
704
704
@@ -726,12 +726,12 @@ Updates the specified campaign by setting the values of the parameters passed in
726
726
require_once(__DIR__ . '/vendor/autoload.php');
727
727
728
728
729
- // Configure API key authorization: X-App-Id-1
729
+ // Configure API key authorization: X-App-Id
730
730
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('X-App-Id', 'YOUR_API_KEY');
731
731
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
732
732
// $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-App-Id', 'Bearer');
733
733
734
- // Configure API key authorization: X-App-Token-1
734
+ // Configure API key authorization: X-App-Token
735
735
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('X-App-Token', 'YOUR_API_KEY');
736
736
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
737
737
// $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-App-Token', 'Bearer');
@@ -767,7 +767,7 @@ try {
767
767
768
768
### Authorization
769
769
770
- [ X-App-Id-1 ] ( ../../README.md#X-App-Id-1 ) , [ X-App-Token-1 ] ( ../../README.md#X-App-Token-1 )
770
+ [ X-App-Id] ( ../../README.md#X-App-Id ) , [ X-App-Token] ( ../../README.md#X-App-Token )
771
771
772
772
### HTTP request headers
773
773
0 commit comments