Update December 25, 2023 (#57)

This commit is contained in:
Kirill
2023-12-27 00:04:03 +03:00
committed by GitHub
parent ebafb17c9d
commit c36446bb59
4 changed files with 48 additions and 18 deletions

View File

@@ -130,6 +130,9 @@ type ProductDetails struct {
// Category identifier
DescriptionCategoryId int64 `json:"description_category_id"`
// Product type identifier
TypeId int64 `json:"type_id"`
// Marketing color
ColorImage string `json:"color_image"`
@@ -888,7 +891,7 @@ type CreateOrUpdateProductResult struct {
// This method allows you to create products and update their details
func (c Products) CreateOrUpdateProduct(ctx context.Context, params *CreateOrUpdateProductParams) (*CreateOrUpdateProductResponse, error) {
url := "/v2/product/import"
url := "/v3/product/import"
resp := &CreateOrUpdateProductResponse{}