Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update February 13, 2024 #70

Merged
merged 1 commit into from
Feb 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions ozon/categories.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ type GetCategoryAttributesResponse struct {
}

type GetCategoryAttributesResult struct {
// Indication that the dictionary attribute values depend on the category:
//
// true — the attribute has its own set of values for each category.
// false — the attribute has the same set of values for all categories
CategoryDependent bool `json:"category_dependent"`

// Characteristic description
Description string `json:"description"`

Expand Down
1 change: 1 addition & 0 deletions ozon/categories_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ func TestGetCategoryAttributes(t *testing.T) {
`{
"result": [
{
"category_dependent": true,
"description": "string",
"dictionary_id": 0,
"group_id": 0,
Expand Down
Loading