The link created when a product is imported into a shop. It ties the imported copy in the target shop back to the product it was copied from and records the terms of the import. Returned by the two import operations on the Product resource -- importing a shared catalog product, or importing one of your own products from another shop in the same account.
| Name | Type | Description | |
|---|---|---|---|
id
|
number
|
Unique numeric identifier for the import record. | |
source
|
Product | The original product the copy was made from. | |
destination
|
Product | The imported copy created in the target shop. | |
price
|
number
|
The price agreed for the import, when the source product was offered for a fee. | |
created
|
number
|
Timestamp when the import was performed. | |
version
|
number
|
Optimistic-locking version of the import record. | |
sourceType
|
SourceType | Where the imported product came from: PUBLIC (a shared catalog product) or
OWN (one of your own products in another shop of the same account).
|
{
"importedProduct" : {
"id" : 12345,
"source" : {
"id" : 12345,
"name" : "Premium T-shirt",
"amountMultiply" : 12345,
"artNr" : "180.42",
"model" : "Exact 190",
"hsCode" : "ABC123456789",
"active" : true,
"orderIndex" : 1
},
"destination" : {
"id" : 12345,
"name" : "Premium T-shirt",
"amountMultiply" : 12345,
"artNr" : "180.42",
"model" : "Exact 190",
"hsCode" : "ABC123456789",
"active" : true,
"orderIndex" : 1
},
"price" : 12345.0,
"created" : 12345,
"version" : 12345,
"sourceType" : "OWN"
}
}
The link created when a product is imported into a shop. It ties the imported copy in the target shop back to the product it was copied from and records the terms of the import. Returned by the two import operations on the Product resource -- importing a shared catalog product, or importing one of your own products from another shop in the same account.
| Name | Type | Description | |
|---|---|---|---|
created
|
dateTime
|
Timestamp when the import was performed. | |
destination
|
Product | The imported copy created in the target shop. | |
id
|
int
|
Unique numeric identifier for the import record. | |
price
|
float
|
The price agreed for the import, when the source product was offered for a fee. | |
source
|
Product | The original product the copy was made from. | |
sourceType
|
sourceType | Where the imported product came from: PUBLIC (a shared catalog product) or
OWN (one of your own products in another shop of the same account).
|
|
version
|
int
|
Optimistic-locking version of the import record. |
<importedProduct>
<id>...</id>
<source>
<id>...</id>
<name>Premium T-shirt</name>
<amountMultiply>...</amountMultiply>
<artNr>180.42</artNr>
<model>Exact 190</model>
<hsCode>ABC123456789</hsCode>
<active>...</active>
<orderIndex>1</orderIndex>
</source>
<destination>
<id>...</id>
<name>Premium T-shirt</name>
<amountMultiply>...</amountMultiply>
<artNr>180.42</artNr>
<model>Exact 190</model>
<hsCode>ABC123456789</hsCode>
<active>...</active>
<orderIndex>1</orderIndex>
</destination>
<price>...</price>
<created>...</created>
<version>...</version>
<sourceType>...</sourceType>
</importedProduct>