Przejdź do głównej zawartości

Pobierz reguły parametrów katalogu

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

OK

object
rules
wymagane
Array<object>
object
id
wymagane
integer format: int64
ruleType
wymagane
string
Dozwolone wartości: CopyFromWarehouseParameter CopyFromWarehouseField SetValue InsertAuctionName InsertWarehouseProductName InsertVariantName InsertManufacturerName InsertEan InsertSku InsertWeight SetShippingRates SetAuctionTemplate SetPersonResponsible SetProducerResponsible CopyFromExtraField
conditionType
wymagane
string
Dozwolone wartości: Always CategoryInWarehouseReference Manufacturer ProductNameContains VariantNameContains ProductDescriptionContains SkuContains SkuBeginsWith SkuEndsWith ParameterContains ParameterNotContains ParameterEqual ParameterNotEqual ParameterGreaterThan ParameterLessThan ParameterGreaterThanOrEqual ParameterLessThanOrEqual ParameterEmpty ParameterNotEmpty
parameterName
wymagane
string
unit
string
nullable
customValue
string
nullable
parameterRulesMap
Array<object>
nullable
object
warehouseValue
wymagane
string
allegroValue
wymagane
string
conditionValue
string
nullable
conditionParameterName
string
nullable
valueSourceType
string
Dozwolone wartości: SetValue CopyFromWarehouseParameter CopyFromWarehouseField