Przejdź do głównej zawartości

Importuj oferty z Allegro

POST
/api/ProductAllegroOffer/ImportOffersFromAllegro
curl --request POST \
--url https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/ProductAllegroOffer/ImportOffersFromAllegro \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "connectionId": "example", "templateId": 1, "createProduct": true, "matchBySku": true, "matchByEan": true, "autoRenew": true, "offerIds": [ "example" ], "shippingRateId": "example", "pimCatalogId": 1, "priceGroupId": 1, "warehouseId": 1, "findProducts": "example", "complexFields": [ { "name": "example", "description": "example", "caption": "example", "type": "example", "additionalFieldMapping": "example", "options": [ "example" ], "id": 1, "value": "example" } ], "limit": 1, "offset": 1, "autoImport": true, "linkProducts": true, "initiator": "example" }'

Pobiera istniejące oferty z konta Allegro i wiąże je z produktami – przydatne przy migracji z BaseLinkera.

object
connectionId
wymagane
string
templateId
wymagane
integer format: int32
createProduct
wymagane
boolean
matchBySku
wymagane
boolean
matchByEan
wymagane
boolean
autoRenew
wymagane
boolean
offerIds
Array<string>
nullable
shippingRateId
string
nullable
pimCatalogId
integer format: int64
nullable
priceGroupId
integer format: int32
nullable
warehouseId
integer format: int32
nullable
findProducts
string
nullable
complexFields
Array<object>
nullable
object
name
string
nullable
description
string
nullable
caption
string
nullable
type
string
nullable
additionalFieldMapping
string
nullable
options
Array<string>
nullable
id
integer format: int64
nullable
value
string
nullable
limit
integer format: int32
nullable
offset
integer format: int32
nullable
autoImport
boolean
nullable
linkProducts
boolean
nullable
initiator
string
nullable
Examplegenerated
{
"connectionId": "example",
"templateId": 1,
"createProduct": true,
"matchBySku": true,
"matchByEan": true,
"autoRenew": true,
"offerIds": [
"example"
],
"shippingRateId": "example",
"pimCatalogId": 1,
"priceGroupId": 1,
"warehouseId": 1,
"findProducts": "example",
"complexFields": [
{
"name": "example",
"description": "example",
"caption": "example",
"type": "example",
"additionalFieldMapping": "example",
"options": [
"example"
],
"id": 1,
"value": "example"
}
],
"limit": 1,
"offset": 1,
"autoImport": true,
"linkProducts": true,
"initiator": "example"
}

Accepted