Skip to content

Commit 00b9b10

Browse files
committed
Updated API from documentation release
1 parent 6082ac4 commit 00b9b10

File tree

8 files changed

+13
-4
lines changed

8 files changed

+13
-4
lines changed

api-specs/api/types/business-unit-search/BusinessUnitPagedSearchResponse.raml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ properties:
1212
limit:
1313
type: number
1414
format: int32
15-
minimum: 0
15+
minimum: 1
1616
maximum: 100
1717
description: |
1818
Number of [results requested](/../api/general-concepts#limit).

api-specs/api/types/business-unit-search/BusinessUnitSearchRequest.raml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@ properties:
1414
type: number
1515
format: int32
1616
default: 20
17+
minimum: 1
1718
maximum: 100
1819
description: The maximum number of search results to be returned.
1920
offset?:
2021
type: number
2122
format: int32
2223
default: 0
24+
minimum: 0
2325
maximum: 9900
2426
description: The number of search results to be skipped in the response for pagination.

api-specs/api/types/customer-search/CustomerPagedSearchResponse.raml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ properties:
1212
limit:
1313
type: number
1414
format: int32
15-
minimum: 0
15+
minimum: 1
1616
maximum: 100
1717
description: |
1818
Number of [results requested](/../api/general-concepts#limit).

api-specs/api/types/customer-search/CustomerSearchRequest.raml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@ properties:
1414
type: number
1515
format: int32
1616
default: 20
17+
minimum: 1
1718
maximum: 100
1819
description: The maximum number of search results to be returned.
1920
offset?:
2021
type: number
2122
format: int32
2223
default: 0
24+
minimum: 0
2325
maximum: 9900
2426
description: The number of search results to be skipped in the response for pagination.

api-specs/api/types/order-search/OrderPagedSearchResponse.raml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ properties:
1515
limit?:
1616
type: number
1717
format: int64
18+
minimum: 0
1819
maximum: 100
1920
description: |
2021
Number of [results requested](/../api/general-concepts#limit).

api-specs/api/types/order/OrderSearchRequest.raml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@ properties:
1414
type: number
1515
format: int32
1616
default: 10
17+
minimum: 0
1718
maximum: 100
1819
description: The maximum number of search results to be returned on one [page](#pagination).
1920
offset?:
2021
type: number
2122
format: int32
2223
default: 0
24+
minimum: 0
2325
maximum: 10000
2426
description: The number of search results to be skipped in the response for [pagination](#pagination).

api-specs/api/types/product-search/ProductPagedSearchResponse.raml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ properties:
1212
type: number
1313
format: int32
1414
minimum: 0
15-
maximum: 9900
15+
maximum: 10000
1616
description: |
1717
Number of [elements skipped](/../api/general-concepts#offset).
1818
limit:

api-specs/api/types/product-search/ProductSearchRequest.raml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,16 @@ properties:
1717
type: number
1818
format: int32
1919
default: 20
20+
minimum: 0
2021
maximum: 100
2122
description: |
2223
The maximum number of search results to be returned in one [page](/../api/projects/product-search#pagination).
2324
offset?:
2425
type: number
2526
format: int32
2627
default: 0
27-
maximum: 9900
28+
minimum: 0
29+
maximum: 10000
2830
description: |
2931
The number of search results to be skipped in the response for [pagination](/../api/projects/product-search#pagination).
3032
markMatchingVariants?:

0 commit comments

Comments
 (0)