Skip to content

Commit 356beed

Browse files
committed
Updated API from documentation release
1 parent 163b562 commit 356beed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

api-specs/api/types/product/ProductDraft.raml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ properties:
3737
categoryOrderHints?:
3838
type: CategoryOrderHints
3939
description: |
40-
Numerical values to allow ordering of Products within a specified Category.
40+
Numerical values to allow ordering of Products within specified Categories. If the referenced Categories are not also assigned in the `categories` field, an [InvalidOperation](ctp:api:type:InvalidOperationError) error is returned.
4141
metaTitle?:
4242
type: LocalizedString
4343
description: |

api-specs/api/types/product/updates/ProductSetCategoryOrderHintAction.raml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ properties:
88
categoryId:
99
type: string
1010
description: |
11-
The `id` of the Category to add the `orderHint`.
11+
The `id` of the Category to add the `orderHint`. If this Category is not assigned to the Product, an [InvalidOperation](ctp:api:type:InvalidOperationError) error is returned.
1212
orderHint?:
1313
type: string
1414
pattern: ^0\.[0-9]*[1-9]$

0 commit comments

Comments
 (0)