Przejdź do głównej zawartości

Pobierz parametry kategorii i produkty Allegro

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

Zwraca parametry kategorii oraz pasujące produkty z katalogu Allegro (po EAN, SKU lub nazwie) – używane przy przygotowaniu oferty.

ConnectionId
string
CategoryId
string
Gtin
string
Sku
string
AllegroProductId
string
AllegroProductName
string
Matching
string
Dozwolone wartości: CreateProduct FindProduct FindProductAndMatchIfFindOne FindProductAndMatchFirst FindProductOrCreate
CatalogId
string
IsVariant
boolean
PimProductId
integer format: int64
PimParentProductId
integer format: int64

OK

object
parameters
wymagane
Array<object>
object
originalId
wymagane
string
name
wymagane
string
type
wymagane
string
required
wymagane
boolean
requiredForProduct
wymagane
boolean
unit
string
nullable
options
object
ambiguousValueId
string
nullable
dependsOnParameterId
string
nullable
describesProduct
wymagane
boolean
customValuesEnabled
wymagane
boolean
additionalProperties
object
key
additional properties
nullable
restrictions
object
min
number format: double
nullable /^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$/
max
number format: double
nullable /^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$/
range
boolean
nullable
precision
integer format: int32
nullable /^-?(?:0|[1-9]\d*)$/
minLength
integer format: int32
nullable /^-?(?:0|[1-9]\d*)$/
maxLength
integer format: int32
nullable /^-?(?:0|[1-9]\d*)$/
allowedNumberOfValues
integer format: int32
nullable /^-?(?:0|[1-9]\d*)$/
multipleChoices
boolean
nullable
additionalProperties
object
key
additional properties
nullable
categoryId
string
nullable
categoryName
string
nullable
dictionary
Array<object>
nullable
object
id
string
nullable
value
string
nullable
dependsOnValueIds
Array<string>
nullable
additionalProperties
object
key
additional properties
nullable
defaultValues
Array<string>
nullable
additionalProperties
object
key
additional properties
nullable
allegroProducts
Array<object>
nullable
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
categoryId
string
nullable