Sklik API

Productsets

productSets.check

Check validity of either create or update parameters.

Parameters

struct user {
string session

Session (as retrieved from client.loginByToken())

int userId

(optional) Managed user ID

}
array productSets (
struct {
int id

product set's id (excludes: groupId)

int groupId

(optional) group id

string name

(optional) product set's name

int premiseId

(optional) zbozi premise id

double cpc

(optional)(can be null) maximal cost per click (in halers)

string status

(optional) status of product set:

  • active: active state
  • suspend: suspend state
array labelsValues (

(optional)

struct {
string label

type of label

string value

(optional) (excludes: valueFrom, valueTo) value of label. For all labels excluding price and usable area.

int valueFrom

(optional) (can be null) (excludes: value) range for price and usable area label (in CZK)

int valueTo

(optional) (can be null) (excludes: value) range for price and usable area label (in CZK)

}
)
}
)

Response

struct {
int status

Status code (see bellow)

string statusMessage

Status code description

string session

(optional) Refreshed session

array diagnostics (

(optional) Various diagnostics(warnings, errors, other information)

struct {
...
}
)
}

Response status codes:

List of all possible response status codes:

Diagnostics:

List of all possible diagnostics:

Copyright © 1996-2022

www.seznam.cz Help Contact