Update September 6, 2024 (#104)

This commit is contained in:
Kirill
2024-10-02 00:38:01 +03:00
committed by GitHub
parent 7c0e18681b
commit 8c07540d28

View File

@@ -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%,
@@ -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"`