Przejdź do głównej zawartości

Pobierz dane do przygotowania oferty

GET
/api/Offers/GetOfferInitializationData
curl --request GET \
--url https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/Offers/GetOfferInitializationData \
--header 'Authorization: Bearer <token>'

Zwraca dane potrzebne do wypełnienia formularza nowej oferty dla produktu.

connectionId
string
gtin
string
catalogId
string
productId
integer format: int64

OK

object
shippingRate
wymagane
string
shippingRateOptions
wymagane
Array<object>
object
id
wymagane
string
type
wymagane
string
value
wymagane
description
string
nullable
auctionTemplate
wymagane
integer format: int64
auctionTemplateOptions
wymagane
Array<object>
object
id
wymagane
integer format: int64
value
wymagane
string
templateHtml
wymagane
string
productizationId
wymagane
string
unit
wymagane
string
unitOptions
wymagane
Array<object>
object
id
wymagane
string
type
wymagane
string
value
wymagane
description
string
nullable
duration
wymagane
string
durationOptions
wymagane
Array<object>
object
id
wymagane
string
type
wymagane
string
value
wymagane
description
string
nullable
startDate
wymagane
string
startDateOptions
wymagane
Array<object>
object
id
wymagane
string
type
wymagane
string
value
wymagane
description
string
nullable
availability
wymagane
string
availabilityOptions
wymagane
Array<object>
object
id
wymagane
string
type
wymagane
string
value
wymagane
description
string
nullable
payment
wymagane
string
paymentOptions
wymagane
Array<object>
object
id
wymagane
string
type
wymagane
string
value
wymagane
description
string
nullable
includeProductizationImages
wymagane
boolean
country
wymagane
string
countryOptions
wymagane
Array<object>
object
id
wymagane
string
type
wymagane
string
value
wymagane
description
string
nullable
voivodeship
wymagane
string
voivodeshipOptions
wymagane
Array<object>
object
id
wymagane
string
type
wymagane
string
value
wymagane
description
string
nullable
city
wymagane
string
postCode
wymagane
string
complaint
wymagane
string
complaintOptions
wymagane
Array<object>
object
id
wymagane
string
type
wymagane
string
value
wymagane
description
string
nullable
return
wymagane
string
returnOptions
wymagane
Array<object>
object
id
wymagane
string
type
wymagane
string
value
wymagane
description
string
nullable
warranty
wymagane
string
warrantyOptions
wymagane
Array<object>
object
id
wymagane
string
type
wymagane
string
value
wymagane
description
string
nullable
responsibleProducer
wymagane
string
responsibleProducerOptions
wymagane
Array<object>
object
id
wymagane
string
type
wymagane
string
value
wymagane
description
string
nullable
responsiblePerson
wymagane
string
responsiblePersonOptions
wymagane
Array<object>
object
id
wymagane
string
type
wymagane
string
value
wymagane
description
string
nullable
marketedBeforeGPSRObligation
wymagane
string
marketedBeforeGPSRObligationOptions
wymagane
Array<object>
object
id
wymagane
string
type
wymagane
string
value
wymagane
description
string
nullable
safetyInformationType
wymagane
string
safetyInformationTypeOptions
wymagane
Array<object>
object
id
wymagane
string
type
wymagane
string
value
wymagane
description
string
nullable
safetyInformationText
wymagane
string
safetyInformationExtraField
wymagane
string
allegroProducts
wymagane
Array<object>
object
id
wymagane
string
name
wymagane
string
category
wymagane
object
id
wymagane
string
path
wymagane
Array<object>
object
id
wymagane
string
name
wymagane
string
similar
wymagane
Array<object>
object
id
wymagane
string
path
wymagane
Array<object>
object
id
wymagane
string
name
wymagane
string
parameters
wymagane
Array<object>
object
id
wymagane
string
name
wymagane
string
valuesLabels
Array<string>
nullable
valuesIds
Array<string>
nullable
values
Array<string>
nullable
unit
wymagane
string
options
object
identifiesProduct
wymagane
boolean
isGTIN
boolean
nullable
images
wymagane
Array<object>
object
url
wymagane
string
description
wymagane
object
sections
wymagane
Array<object>
object
items
wymagane
Array<object>
object
type
wymagane
string
content
string
nullable
url
string
nullable
publication
wymagane
object
status
wymagane
string
isDraft
wymagane
boolean
auctionTemplates
wymagane
Array<object>
object
templateId
wymagane
integer format: int64
name
wymagane
string
htmlValue
wymagane
string
defaultReturnsPolicyId
string
nullable
returnsPolicyConnectionId
string
nullable
defaultUserWarrantyId
string
nullable
userWarrantyConnectionId
string
nullable
defaultImpliedWarrantyId
string
nullable
impliedWarrantyConnectionId
string
nullable
templateImages
wymagane
Array<object>
object
slot
wymagane
integer format: int32
url
wymagane
string
imageFile
wymagane
string
connections
wymagane
Array<object>
object
id
wymagane
integer format: int64
connectionId
wymagane
string
lastSyncTime
string format: date-time
nullable
defaultAuctionTemplateId
integer format: int64
nullable
defaultShippingRateId
string
nullable
defaultReturnsPolicyId
string
nullable
defaultCategoryId
string
nullable
defaultResponsibleProducerId
string
nullable
defaultResponsiblePersonId
string
nullable
defaultMarketedBeforeGPSRObligation
string
nullable
defaultSafetyInformationType
string
nullable
defaultSafetyInformationText
string
nullable
defaultSafetyInformationExtraField
string
nullable
defaultUserWarrantyId
string
nullable
defaultAvailability
string
nullable
defaultPriceGroupId
integer format: int64
nullable
priceMultiplier
number format: float
nullable
additionalPrice
number format: float
nullable
country
string
nullable
city
string
nullable
postCode
string
nullable
voivodeship
string
nullable
requireZeroStockOnAllegro
wymagane
boolean
isConnectionValid
wymagane
boolean
usePermanentlyDeletedOffers
wymagane
boolean
additionalMarketplaceSettings
wymagane
Array<object>
object
marketplace
wymagane
string
Dozwolone wartości: AllegroCz AllegroSk AllegroHu
type
wymagane
string
Dozwolone wartości: ByAllegro Multiplier
multiplier
number format: float
nullable
vat
number format: float
nullable
shippingRates
wymagane
Array<object>
object
id
wymagane
string
name
wymagane
string
marketplaces
wymagane
Array<object>
object
id
wymagane
string
returnPolicies
wymagane
Array<object>
object
id
wymagane
string
name
wymagane
string
userWarranties
wymagane
Array<object>
object
id
wymagane
string
name
wymagane
string
impliedWarranties
wymagane
Array<object>
object
id
wymagane
string
name
wymagane
string
responsibleProducers
wymagane
Array<object>
object
id
string
nullable
name
wymagane
string
producerData
wymagane
object
tradeName
wymagane
string
address
wymagane
object
countryCode
wymagane
string
street
wymagane
string
postalCode
wymagane
string
city
wymagane
string
contact
wymagane
object
email
wymagane
string
phoneNumber
wymagane
string
formUrl
wymagane
string
responsiblePersons
wymagane
Array<object>
object
id
string
nullable
name
wymagane
string
personalData
wymagane
object
name
wymagane
string
address
wymagane
object
countryCode
wymagane
string
street
wymagane
string
postalCode
wymagane
string
city
wymagane
string
contact
wymagane
object
email
wymagane
string
phoneNumber
wymagane
string
formUrl
wymagane
string
offerAttachments
Array<object>
nullable
object
attachmentType
wymagane

Type of attachment

string
Dozwolone wartości: MANUAL SPECIAL_OFFER_RULES COMPETITION_RULES BOOK_EXCERPT USER_MANUAL INSTALLATION_INSTRUCTIONS GAME_INSTRUCTIONS ENERGY_LABEL PRODUCT_INFORMATION_SHEET TIRE_LABEL SAFETY_INFORMATION_MANUAL SOFTWARE_DATA_PROCESSING HARDWARE_DATA_PROCESSING PLANT_PROTECTION_PRODUCTS_AUTHORIZATION
complexFieldName
wymagane

Complex field name which should be used to attach the file to offer.

string
wholesalePriceList
Array<object>
nullable
object
id
wymagane
string
name
wymagane
string
name
wymagane
string
defaultSettings
wymagane
object
expandParameters
wymagane
boolean
showOnlyRequiredParameters
wymagane
boolean
galleryOrderType
wymagane
string
Dozwolone wartości: ConsistentWithPim ReversedComparedToPim AtTheBeginning2 AtTheBeginning3 AtTheBeginning4 AtTheBeginning5 AtTheBeginning6 AtTheBeginning7 AtTheBeginning8 AtTheBeginning9 AtTheBeginning10 AtTheBeginning11 AtTheBeginning12 AtTheBeginning13 AtTheBeginning14 AtTheBeginning15 AtTheBeginning16 AtTheBeginning17 AtTheBeginning18 AtTheBeginning19 AtTheBeginning20 AtTheBeginning21 AtTheBeginning22 AtTheBeginning23 AtTheBeginning24 AtTheBeginning25 AtTheBeginning26 AtTheBeginning27 AtTheBeginning28 AtTheBeginning29 AtTheBeginning30 AtTheBeginning31 AtTheBeginning32
galleryQuantityType
wymagane
string
Dozwolone wartości: OnlyFirst All AllExceptFirst OnlyLast OnlyFirst2 OnlyFirst3 OnlyFirst4 OnlyFirst5 OnlyFirst6 OnlyFirst7 OnlyFirst8 OnlyFirst9 OnlyFirst10 OnlyFirst11 OnlyFirst12 OnlyFirst13 OnlyFirst14 OnlyFirst15 OnlyFirst16 OnlyFirst17 OnlyFirst18 OnlyFirst19 OnlyFirst20 OnlyFirst21 OnlyFirst22 OnlyFirst23 OnlyFirst24 OnlyFirst25 OnlyFirst26 OnlyFirst27 OnlyFirst28 OnlyFirst29 OnlyFirst30 OnlyFirst31 OnlyFirst32
includeBreaksInGallery
wymagane
boolean
useDescriptionFromPimWhenReactivating
wymagane
boolean
usePhotoFromPimWhenReactivating
wymagane
boolean
usePriceFromPimWhenReactivating
wymagane
boolean
useCurrentShippingRateWhenReactivating
wymagane
boolean
useTitleFromPimWhenReactivating
wymagane
boolean
updateWarrantyComplaintAndReturnOptionsWhenReactivating
wymagane
boolean
offerNameTemplate
wymagane
string
useOfferEanAndSku
wymagane
boolean
useImagesFromMainProductInVariant
wymagane
boolean
useDescriptionFromMainProductInVariant
wymagane
boolean
useFullVariantName
wymagane
boolean
useMainCategoryInVariants
wymagane
boolean
useVariantPropertiesInParameterRules
wymagane
boolean
offerPropertyMappings
wymagane
Array<object>
object
offerPropertyName
wymagane
string
complexFieldName
string
nullable
importFromOfferHistory
wymagane
boolean
matchOfferHistoryByEan
wymagane
boolean
matchOfferHistoryBySku
wymagane
boolean
maxAllowedScheduledImport
wymagane
integer format: int32
dailyUpdateOfferParametersInPimEnabled
wymagane
boolean
useManufacturerFromMainProduct
wymagane
boolean
complexFields
wymagane
object
totalRecords
wymagane
integer format: int32
totalPages
wymagane
integer format: int32
data
Array<object>
nullable
object
id
wymagane
integer format: int64
name
string
nullable
type
string
nullable
description
string
nullable
caption
string
nullable
additionalFieldMapping
string
nullable
options
Array<string>
nullable
connectionSettings
wymagane
object
smerpConnectionId
wymagane
string
>= 1 characters
itemPriceSource
wymagane
object
priceGroupId
wymagane
integer format: int64
priceModification
wymagane
object
priceMultiplier
wymagane
number format: double
>= 0.0001 <= 1.7976931348623157e+308
priceConstAddition
wymagane
number format: double
rounding
wymagane
string
Dozwolone wartości: NoRounding RoundCentsUpTo99
allowedDailyDisableCount
wymagane
integer format: int32
setPrice
wymagane
object
zeroPriceOption
wymagane
string
Dozwolone wartości: DoNothing EndOffer
lowerPriceOption
wymagane
string
Dozwolone wartości: DoNothing SetNewLowerPrice
itemStockSource
wymagane
object
warehouseId
wymagane
integer format: int64
warehouseIds
Array<integer>
nullable
warehouseRelationOption
wymagane
string
Dozwolone wartości: ProcessOnlyIfWarehouseMatch SumAllOnChange SumSelectedOnChange
allowedDailyDisableCount
wymagane
integer format: int32
substractFromStock
wymagane
integer format: int32
addToStock
wymagane
integer format: int32
maximumAllowedStock
integer format: int32
nullable
closeStockByQuantity
integer format: int32
nullable
onLowerQuantity
wymagane
string
Dozwolone wartości: ProcessChange DoNothing
onHigherQuantity
wymagane
string
Dozwolone wartości: ProcessChange DoNothing ProcessChangeWithoutActivation
pimProduct
wymagane
object
id
wymagane
integer format: int64
parentId
integer format: int64
nullable
isParent
wymagane
boolean
variantsCount
wymagane
integer format: int32
variants
Array<object>
nullable
object
id
wymagane
integer format: int64
parentId
integer format: int64
nullable
isParent
wymagane
boolean
variantsCount
wymagane
integer format: int32
variants
Array<object> recursive
catalogId
wymagane
integer format: int64
manufacturerId
wymagane
integer format: int64
name
string
nullable
nameWithParentName
string
nullable
vat
wymagane
number format: double
vatSymbol
string
nullable
ean
string
nullable
sku
string
nullable
weight
wymagane
number format: double
width
wymagane
number format: double
height
wymagane
number format: double
length
wymagane
number format: double
categoryId
integer format: int64
nullable
isBundle
boolean
nullable
isAsteriskMarked
boolean
nullable
catalog
object
id
wymagane
integer format: int64
name
string
nullable
description
string
nullable
languages
Array<string>
nullable
isDefault
wymagane
boolean
reservations
wymagane
boolean
defaultWarehouseId
wymagane
integer format: int64
defaultPriceGroupId
wymagane
integer format: int64
category
object
id
wymagane
integer format: int64
name
string
nullable
parentId
wymagane
integer format: int64
catalogId
wymagane
integer format: int64
manufacturer
object
id
wymagane
integer format: int64
name
string
nullable
stocks
Array<object>
nullable
object
id
string
nullable
warehouseId
wymagane
integer format: int64
quantity
wymagane
integer format: int32
locationName
string
nullable
vatAmount
wymagane
number format: double
productPriceGroups
Array<object>
nullable
object
priceGroupId
wymagane
integer format: int64
currency
wymagane
string
Dozwolone wartości: None PLN EUR AED AFN ALL AMD ANG AOA ARS AUD AWG AZN BAM BBD BDT BGN BHD BIF BMD BND BOB BRL BSD BTC BTN BWP BYN BZD CAD CDF CHF CLP CNY COP CRC CUC CUP CVE CZK DJF DKK DOP DZD EGP ERN ETB FJD FKP GBP GEL GHS GMD GNF GTQ GYD HKD HNL HRK HTG HUF IDR ILS INR IQD IRR ISK JMD JPY KES KGS KHR KMF KPW KRW KWD KYD LAK LBP LKR LRD LSL LTL LVL LYD MAD MDL MGA MKD MMK MNT MOP MRO MUR MVR MWK MXN MYR MZM NAD NGN NIO NOK NPR NZD OMR PAB PEN PGK PHP PKR PLY PYG QAR RON RSD RUB RWF SAR SBD SCR SDG SEK SGD SHP SLL SOS SRD STD SVC SYP SZL THB TJS TMT TND TOP TRY TTD TWD TZS UAH UGX USD UYU UZS VED VEF VND VUV WST XAF XCD XOF XPF YER ZAR ZMW ZWL
price
number format: double
nullable
properties
Array<object>
nullable
object
id
string
nullable
name
string
nullable
value
string
nullable
externalId
string
nullable
productLinks
Array<object>
nullable
object
id
wymagane
integer format: int64
externalProductId
string
nullable
externalVariantId
string
nullable
externalConnectionId
string
nullable
connectionId
wymagane
integer format: int64
complexFields
Array<object>
nullable
object
id
wymagane
integer format: int64
name
string
nullable
value
string
nullable
bundleItems
Array<object>
nullable
object
id
wymagane
integer format: int64
bundleItemProductId
wymagane
integer format: int64
quantity
wymagane
integer format: int32
name
string
nullable
stocks
Array<object>
nullable
object
id
string
nullable
warehouseId
wymagane
integer format: int64
quantity
wymagane
integer format: int32
locationName
string
nullable
vatAmount
wymagane
number format: double
additionalEans
Array<object>
nullable
object
id
string
nullable
ean
string
nullable
quantity
wymagane
integer format: int32
description
string
nullable
translations
object
key
additional properties
object
name
string
nullable
descriptionComplexFields
Array<object>
nullable
object
name
string
nullable
description
string
nullable
productProperties
Array<object>
nullable
object
name
string
nullable
value
string
nullable
catalogId
wymagane
integer format: int64
manufacturerId
wymagane
integer format: int64
name
string
nullable
nameWithParentName
string
nullable
vat
wymagane
number format: double
vatSymbol
string
nullable
ean
string
nullable
sku
string
nullable
weight
wymagane
number format: double
width
wymagane
number format: double
height
wymagane
number format: double
length
wymagane
number format: double
categoryId
integer format: int64
nullable
isBundle
boolean
nullable
isAsteriskMarked
boolean
nullable
catalog
object
id
wymagane
integer format: int64
name
string
nullable
description
string
nullable
languages
Array<string>
nullable
isDefault
wymagane
boolean
reservations
wymagane
boolean
defaultWarehouseId
wymagane
integer format: int64
defaultPriceGroupId
wymagane
integer format: int64
category
object
id
wymagane
integer format: int64
name
string
nullable
parentId
wymagane
integer format: int64
catalogId
wymagane
integer format: int64
manufacturer
object
id
wymagane
integer format: int64
name
string
nullable
stocks
Array<object>
nullable
object
id
string
nullable
warehouseId
wymagane
integer format: int64
quantity
wymagane
integer format: int32
locationName
string
nullable
vatAmount
wymagane
number format: double
productPriceGroups
Array<object>
nullable
object
priceGroupId
wymagane
integer format: int64
currency
wymagane
string
Dozwolone wartości: None PLN EUR AED AFN ALL AMD ANG AOA ARS AUD AWG AZN BAM BBD BDT BGN BHD BIF BMD BND BOB BRL BSD BTC BTN BWP BYN BZD CAD CDF CHF CLP CNY COP CRC CUC CUP CVE CZK DJF DKK DOP DZD EGP ERN ETB FJD FKP GBP GEL GHS GMD GNF GTQ GYD HKD HNL HRK HTG HUF IDR ILS INR IQD IRR ISK JMD JPY KES KGS KHR KMF KPW KRW KWD KYD LAK LBP LKR LRD LSL LTL LVL LYD MAD MDL MGA MKD MMK MNT MOP MRO MUR MVR MWK MXN MYR MZM NAD NGN NIO NOK NPR NZD OMR PAB PEN PGK PHP PKR PLY PYG QAR RON RSD RUB RWF SAR SBD SCR SDG SEK SGD SHP SLL SOS SRD STD SVC SYP SZL THB TJS TMT TND TOP TRY TTD TWD TZS UAH UGX USD UYU UZS VED VEF VND VUV WST XAF XCD XOF XPF YER ZAR ZMW ZWL
price
number format: double
nullable
properties
Array<object>
nullable
object
id
string
nullable
name
string
nullable
value
string
nullable
externalId
string
nullable
productLinks
Array<object>
nullable
object
id
wymagane
integer format: int64
externalProductId
string
nullable
externalVariantId
string
nullable
externalConnectionId
string
nullable
connectionId
wymagane
integer format: int64
complexFields
Array<object>
nullable
object
id
wymagane
integer format: int64
name
string
nullable
value
string
nullable
bundleItems
Array<object>
nullable
object
id
wymagane
integer format: int64
bundleItemProductId
wymagane
integer format: int64
quantity
wymagane
integer format: int32
name
string
nullable
stocks
Array<object>
nullable
object
id
string
nullable
warehouseId
wymagane
integer format: int64
quantity
wymagane
integer format: int32
locationName
string
nullable
vatAmount
wymagane
number format: double
additionalEans
Array<object>
nullable
object
id
string
nullable
ean
string
nullable
quantity
wymagane
integer format: int32
description
string
nullable
translations
object
key
additional properties
object
name
string
nullable
descriptionComplexFields
Array<object>
nullable
object
name
string
nullable
description
string
nullable
productProperties
Array<object>
nullable
object
name
string
nullable
value
string
nullable
pimImages
wymagane
object
pictures
Array<object>
nullable
object
slot
wymagane
integer format: int32
url
string
nullable
type
string
nullable
extension
string
nullable
defaultCategoryId
string
nullable
isBundle
wymagane
boolean
bundleItemAllegroProducts
wymagane
Array<object>
object
bundleItemProductId
wymagane
integer format: int64
bundleItemName
wymagane
string
quantity
wymagane
integer format: int32
ean
string
nullable
allegroProducts
wymagane
Array<object>
object
id
wymagane
string
name
wymagane
string
category
wymagane
object
id
wymagane
string
path
wymagane
Array<object>
object
id
wymagane
string
name
wymagane
string
similar
wymagane
Array<object>
object
id
wymagane
string
path
wymagane
Array<object>
object
id
wymagane
string
name
wymagane
string
parameters
wymagane
Array<object>
object
id
wymagane
string
name
wymagane
string
valuesLabels
Array<string>
nullable
valuesIds
Array<string>
nullable
values
Array<string>
nullable
unit
wymagane
string
options
object
identifiesProduct
wymagane
boolean
isGTIN
boolean
nullable
images
wymagane
Array<object>
object
url
wymagane
string
description
wymagane
object
sections
wymagane
Array<object>
object
items
wymagane
Array<object>
object
type
wymagane
string
content
string
nullable
url
string
nullable
publication
wymagane
object
status
wymagane
string
isDraft
wymagane
boolean
offerAttachments
Array<object>
nullable
object
attachmentType
wymagane

Type of attachment

string
Dozwolone wartości: MANUAL SPECIAL_OFFER_RULES COMPETITION_RULES BOOK_EXCERPT USER_MANUAL INSTALLATION_INSTRUCTIONS GAME_INSTRUCTIONS ENERGY_LABEL PRODUCT_INFORMATION_SHEET TIRE_LABEL SAFETY_INFORMATION_MANUAL SOFTWARE_DATA_PROCESSING HARDWARE_DATA_PROCESSING PLANT_PROTECTION_PRODUCTS_AUTHORIZATION
complexFieldName
wymagane

Complex field name which should be used to attach the file to offer.

string

Not Found

object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties