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
description: 'Default maturity for documents in days'
30111
30125
examples:
30112
30126
- 14
30127
+
defaultOrderStatusId:
30128
+
type:
30129
+
- integer
30130
+
- 'null'
30131
+
description: 'ID of the default order status for orders placed by customers in this group.'
30132
+
examples:
30133
+
- -2
30113
30134
errors:
30114
30135
$ref: '#/components/schemas/Errors'
30115
30136
required:
@@ -30168,14 +30189,18 @@ paths:
30168
30189
errorCode: invalid-request-data
30169
30190
message: 'Email notification can only be enabled when wholesale module is active.'
30170
30191
instance: data.emailNotification
30192
+
-
30193
+
errorCode: invalid-request-data
30194
+
message: 'Invalid statusId "999".'
30195
+
instance: data.defaultOrderStatusId
30171
30196
summary: 'Creation of customer group'
30172
30197
operationId: createCustomerGroup
30173
30198
description: |-
30174
30199
Creates a new customer group with specified settings. The customer group name must be unique. Returns the full list of customer groups including the newly created one.
30175
30200
30176
30201
**Note:** To use wholesale features (`registrationAllowed`, `wholesale`, `tableLayout`, `fullProfileRequired`), the `wholesale` module must be active in the e-shop.
30177
30202
tags:
30178
-
- Customers
30203
+
- 'Customer groups'
30179
30204
requestBody:
30180
30205
content:
30181
30206
application/json:
@@ -30265,6 +30290,13 @@ paths:
30265
30290
default: false
30266
30291
examples:
30267
30292
- true
30293
+
defaultOrderStatusId:
30294
+
type:
30295
+
- integer
30296
+
- 'null'
30297
+
description: 'Default order status ID for orders placed by customers in this group.'
description: 'Is not possible to delete default customer group. Deletion of customer group will not delete customers assigned to this group, but they will be assigned to default customer group.'
30335
30367
tags:
30336
-
- Customers
30368
+
- 'Customer groups'
30337
30369
parameters:
30338
30370
-
30339
30371
name: id
@@ -30379,6 +30411,8 @@ paths:
30379
30411
- wholesale
30380
30412
- tableLayout
30381
30413
- fullProfileRequired
30414
+
- defaultDueDays
30415
+
- defaultOrderStatusId
30382
30416
properties:
30383
30417
id:
30384
30418
type: integer
@@ -30464,6 +30498,13 @@ paths:
30464
30498
description: 'Default maturity for documents in days'
30465
30499
examples:
30466
30500
- 14
30501
+
defaultOrderStatusId:
30502
+
type:
30503
+
- integer
30504
+
- 'null'
30505
+
description: 'ID of the default order status for orders placed by customers in this group.'
30506
+
examples:
30507
+
- -2
30467
30508
errors:
30468
30509
$ref: '#/components/schemas/Errors'
30469
30510
required:
@@ -30542,14 +30583,18 @@ paths:
30542
30583
errorCode: invalid-request-data
30543
30584
message: 'Default customer group must be allowed for registration.'
30544
30585
instance: data.registrationAllowed
30586
+
-
30587
+
errorCode: invalid-request-data
30588
+
message: 'Invalid statusId "999".'
30589
+
instance: data.defaultOrderStatusId
30545
30590
summary: 'Update of customer group'
30546
30591
operationId: updateCustomerGroup
30547
30592
description: |-
30548
30593
Updates an existing customer group with specified settings. Returns the full list of customer groups including the updated one.
30549
30594
30550
30595
**Note:** To use wholesale features (`registrationAllowed`, `wholesale`, `tableLayout`, `fullProfileRequired`), the `Wholesale` module must be active in the e-shop.
30551
30596
tags:
30552
-
- Customers
30597
+
- 'Customer groups'
30553
30598
requestBody:
30554
30599
content:
30555
30600
application/json:
@@ -30632,6 +30677,13 @@ paths:
30632
30677
description: 'Whether full profile (billing information and address) is needed for customer. Requires `Wholesale` module to be active.'
30633
30678
examples:
30634
30679
- true
30680
+
defaultOrderStatusId:
30681
+
type:
30682
+
- integer
30683
+
- 'null'
30684
+
description: 'ID of the default order status for orders placed by customers in this group.'
0 commit comments