Skip to content

Commit

Permalink
Update September 6, 2024 (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
diPhantxm authored Oct 1, 2024
1 parent 7c0e186 commit 8c07540
Showing 1 changed file with 9 additions and 0 deletions.
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

0 comments on commit 8c07540

Please sign in to comment.