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 September 6, 2024 #104

Merged
merged 1 commit into from
Oct 1, 2024
Merged
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
9 changes: 9 additions & 0 deletions ozon/products.go
Original file line number Diff line number Diff line change
Expand Up @@ -822,6 +822,12 @@ type CreateOrUpdateProductItem struct {
// - IS_NO_CODE_SERVICE
ServiceType string `json:"service_type" default:"IS_CODE_SERVICE"`

// Product type identifier.
// You can get values from the type_id parameter in the `/v1/description-category/tree` method response.
// When filling this parameter in,
// you can leave out the attributes attribute if it has the `id:8229` parameter
TypeId int64 `json:"type_id"`

// VAT rate for the product:
// - 0 — not subject to VAT,
// - 0.1 — 10%,
Expand Down Expand Up @@ -1430,6 +1436,9 @@ type GetDescriptionOfProductResult struct {
// Array of PDF files
PDFList []GetDescriptionOfProductResultPDF `json:"pdf_list"`

// Product type identifier
TypeId int64 `json:"type_id"`

// Weight of product in the package
Weight int32 `json:"weight"`

Expand Down
Loading