Sklik API

Productsets

productSets.create

Create product sets.

Parameters

struct user {
string session

Session (as retrieved from client.loginByToken())

int userId

(optional) Managed user ID

}
array productSets (
struct {
int groupId

group id

string name

product set's name

int premiseId

zbozi premise id

double cpc

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

string status

(optional) status of product set [default: active]:

  • active: active state
  • suspend: suspend state
array labelsValues (
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 productSetIds (

ids of newly created product sets

int
)
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-2024

www.seznam.cz Help Contact