import
This commit is contained in:
@@ -15,9 +15,12 @@ type ImportPropertyType struct {
|
||||
}
|
||||
|
||||
type ImportProperty struct {
|
||||
ID int `json:"id,omitempty"`
|
||||
Label string `json:"property"`
|
||||
Value string `json:"value"`
|
||||
ID int `json:"id,omitempty"`
|
||||
PropertyTypeID int `json:"propertyTypeId,omitempty"`
|
||||
ProductID int `json:"productId,omitempty"`
|
||||
ProductGroupID int `json:"productGroupId,omitempty"`
|
||||
Label string `json:"property"`
|
||||
Value string `json:"value"`
|
||||
}
|
||||
|
||||
type ImportProductGroup struct {
|
||||
@@ -26,13 +29,14 @@ type ImportProductGroup struct {
|
||||
Description string `json:"description"`
|
||||
ProductGroups []ImportProductGroup `json:"productGroups,omitempty"`
|
||||
Products []ImportProduct `json:"products,omitempty"`
|
||||
Properties []ImportProperty `json:"properties,omitempty"`
|
||||
}
|
||||
|
||||
type ImportProduct struct {
|
||||
ID int `json:"id,omitempty"`
|
||||
ExternalID string `json:"externalId"`
|
||||
Label string `json:"label"`
|
||||
Description string `json:"description"`
|
||||
ProductGroupLabel string `json:"productGroupLabel,omitempty"`
|
||||
Properties []ImportProperty `json:"properties,omitempty"`
|
||||
ID int `json:"id,omitempty"`
|
||||
ExternalID string `json:"externalId"`
|
||||
Label string `json:"label"`
|
||||
Description string `json:"description"`
|
||||
ProductGroupID int `json:"productGroupId,omitempty"`
|
||||
Properties []ImportProperty `json:"properties,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user