You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: reference/promotions.v3.yml
+24-28Lines changed: 24 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -207,7 +207,7 @@ paths:
207
207
208
208
**Note:**
209
209
* batch_size is limited to 250 codes per request for first version. If batch_size is not an integer or larger than 250, it will return a 422 error code.
210
-
* The default rate limit for this endpoint is 40 concurrent requests.
210
+
* The default rate limit for this endpoint is 10 concurrent requests.
211
211
operationId: generatePromotionCodesBatch
212
212
parameters:
213
213
- $ref: '#/components/parameters/ContentType'
@@ -221,20 +221,6 @@ paths:
221
221
- batch_size
222
222
type: object
223
223
properties:
224
-
prefix:
225
-
type: string
226
-
description: A prefix to add to the generated codes.
227
-
example: 'PROMO-'
228
-
minLength: 1
229
-
maxLength: 20
230
-
pattern: '[a-zA-Z0-9_\ -]'
231
-
suffix:
232
-
type: string
233
-
description: A suffix to add to the generated codes.
234
-
example: '2025'
235
-
minLength: 1
236
-
maxLength: 20
237
-
pattern: '[a-zA-Z0-9_\ -]'
238
224
batch_size:
239
225
type: integer
240
226
description: The number of coupon codes to generate in each batch. The maximum value is 250.
description: A uniquecode that can be used to manually apply a discount. Only letters, numbers, white spaces, underscores and hyphens are allowed.
1410
-
example: TEST-COUPON-CODE
1411
-
maxLength: 50
1412
-
minLength: 12
1394
+
pattern: '^[A-Z0-9]{16}$'
1395
+
description: A unique, 16-character code that can be used to manually apply a discount. The code consists of randomly generated capital letters and numbers.
0 commit comments