SelSup Developers

公共的 API · 参考 API

类别

类别的终点,包括精确的路线,参数,请求机构和可扩展的响应方案.

20 终点/api/category稳定机器可读的描述 ↗
{ }

通过可编辑的独立合同来支持本页面. 在生产使用之前,验证使用测试数据的写作操作.

/api/category

准备使用的工作流程

准备使用的工作流程

01

开始使用类别

使用专用API代币,首先验证测试数据的读取操作.

  1. 保存代币服务器侧,然后将其发送到Authorization标题中.
  2. 检查所需参数,并扩大请求或响应方案.
  3. 在应用错误中处理HTTP状态和稳定的error字段.

数据模型

数据结构

模型在此列出一次,并且可以直接从使用它们的终端点扩展.

AliexpressCategory8 字段
idinteger · int64

Id.

namestring

姓名.

publishedboolean

发表了.

parentIdinteger · int64

亲人身份证.

aliexpressIdinteger · int64

快递证件

lastSyncDatestring · date-time

最后的同步日期.

notChangedDaysinteger · int32

没有改变的日子.

isLeafboolean

是叶子.

AvitoCategory9 字段
idinteger · int64

Id.

必填
namestring

姓名.

必填
shortNamestring

简短名字.

publishedboolean

发表了.

parentIdinteger · int64

亲人身份证.

lastSyncDatestring · date-time

最后的同步日期.

isLeafboolean

是叶子.

goodsTypestring

货物类型.

categorystring

类别.

Category47 字段
categoryIdinteger · int32

类别的ID.

read-only
namestring

姓名.

必填
deletedboolean

删除了.

read-only
parentIdinteger · int32

亲人身份证.

clientIdinteger · int64

客户身份证.

read-only
markedboolean

标记了.

categoryClassstring

类别类.

wildberriesTypeWildberriesType

野生类型.

wildberriesCategoryIdinteger · int64

野生类别的身份.

wildberriesFbmCommissionnumber · double

野生果联邦调查委员会.

read-only
wildberriesFbwCommissionnumber · double

野生果Fbw委员会.

read-only
wildberriesFbsCommissionnumber · double

野生果联邦调查委员会.

read-only
wildberriesDbsCommissionnumber · double

野生果食品委员会.

read-only
wildberriesEdbsCommissionnumber · double

野生果养殖委员会.

read-only
wildberriesCAndCCommissionnumber · double

果和果委员会.

read-only
wildberriesBookingCommissionnumber · double

野生果预订委员会.

read-only
ozonDescriptionCategoryIdinteger · int64

臭氧描述类别ID.

yandexMarketCategoryIdinteger · int64

亚兰德克斯市场类别身份证

yandexMarketCategoryYandexMarketCategory

亚兰德克斯市场类别

ozonDescriptionCategoryOzonDescriptionCategory

臭氧描述类别

ozonCommissionnumber · double

臭氧委员会

read-only
tnvedTnved

没有.

tnvedIdinteger · int64

没有人知道.

laundrystring

洗衣.

paramsstring

帕姆斯.

namePatternstring

姓名是模式.

aliexpressCategoryAliexpressCategory

车类别

aliexpressCategoryIdinteger · int64

标签: 标识:

avitoCategoryAvitoCategory

类别

lamodaCategoryLamodaCategory

拉莫达类别.

lamodaCategoryIdinteger · int64

拉莫达类别的身份证.

avitoCategoryIdinteger · int64

果类别的身份

packDepthinteger · int32

包装深度.

packWidthinteger · int32

包装宽度.

packHeightinteger · int32

包高.

packWeightinteger · int32

包装重量.

hasSizeboolean

有大小.

hasColorboolean

有颜色.

autoNameboolean

车名.

removeFbsStockboolean

删除FBS股票.

oneCIdstring

一个公告.

externalIdstring

其他身份证.

moySkladIdstring

子子的身份.

useClientParamsboolean

使用客户端参数.

requiredExpirationDateboolean

要求到期日期

serviceCategoryMappingsobject

服务类别地图.

productCountinteger · int32

产品数量

LamodaCategory8 字段
idinteger · int64

Id.

namestring

姓名.

shortNamestring

简短名字.

publishedboolean

发表了.

isLeafboolean

是叶子.

parentIdinteger · int64

亲人身份证.

lastSyncDatestring · date-time

最后的同步日期.

notChangedDaysinteger · int32

没有改变的日子.

OzonDescriptionCategory21 字段
idinteger · int64

Id.

namestring

姓名.

必填
publishedboolean

发表了.

parentIdinteger · int64

亲人身份证.

isLeafboolean

是叶子.

lastSyncDatestring · date-time

最后的同步日期.

notChangedDaysinteger · int32

没有改变的日子.

isErrorboolean

是错误.

errorDatestring · date

错误日期

typesstring

类型.

typeIdinteger · int64

打印机号.

purchasePercentAvgnumber · double

购买百分比 Avg.

purchasePercentMinnumber · double

购买百分比

photoAvginteger · int32

照片来源:

photoMininteger · int32

照片:

drrAvgnumber · double

艾夫博士.

drrMinnumber · double

博士.

marginAvgnumber · double

边缘 Avg.

marginMinnumber · double

边缘分.

promotionCtrAvgnumber · double

升级, 检查员.

promotionCtrMinnumber · double

升级 升

ServiceCategoryMapping3 字段
servicestring

服务.

externalIdstring

其他身份证.

namestring

姓名.

Tnved14 字段
idinteger · int64

Id.

namestring

姓名.

deletedboolean

删除了.

typestring

Type.

categoryClassstring

类别类.

parentIdinteger · int64

亲人身份证.

keywordsstring

关键词.

descriptionstring

描述

paramsTnvedIdinteger · int64

帕拉姆斯特内维德身份证.

isInParamboolean

在帕拉姆.

certificationstring

证书.

parentCodestring

家庭代码.

codestring

Code.

certificationRequiredboolean

需要获得证书.

WildberriesType32 字段
idinteger · int64

Id.

namestring

姓名.

publishedboolean

发表了.

hasSizeboolean

有大小.

monoBoxMinQuantityinteger · int32

单盒子最小量.

monoTypestring

单一类型.

monoMinPriceinteger · int32

单小价格.

hasParentboolean

有父母.

parentIdinteger · int64

亲人身份证.

wildberriesIdinteger · int64

果的身份证.

lastSyncDatestring · date-time

最后的同步日期.

notChangedDaysinteger · int32

没有改变的日子.

commissionnumber · double

委员会.

fbsCommissionnumber · double

联邦调查局.

fbwCommissionnumber · double

联邦调查委员会.

dbsCommissionnumber · double

美国联邦调查局

edbsCommissionnumber · double

艾德斯委员会.

cAndCCommissionnumber · double

委员会.

bookingCommissionnumber · double

预订委员会.

logisticPriceinteger · int32

后勤价格.

storagePricenumber · double

存储价格.

acceptancePricenumber · double

接受价格.

needDimensionsboolean

需要维度.

purchasePercentAvgnumber · double

购买百分比 Avg.

purchasePercentMinnumber · double

购买百分比

photoAvginteger · int32

照片来源:

photoMininteger · int32

照片:

drrAvgnumber · double

艾夫博士.

drrMinnumber · double

博士.

marginAvgnumber · double

边缘 Avg.

marginMinnumber · double

边缘分.

candCCommissionnumber · double

委员会.

YandexMarketCategory7 字段
idinteger · int64

Id.

namestring

姓名.

必填
publishedboolean

发表了.

parentIdinteger · int64

亲人身份证.

isLeafboolean

是叶子.

lastSyncDatestring · date-time

最后的同步日期.

notChangedDaysinteger · int32

没有改变的日子.

ParamsFilter18 字段
limitinteger · int32

限制.

pageinteger · int32

页面.

countboolean

伯爵.

sortBystring

排序了.

ascendingboolean

升高.

nationalCatalogIdinteger · int64

标签:国家目录

wildberriesTypeIdinteger · int64

野生类型的身份证.

wildberriesCategoryIdinteger · int64

野生类别的身份.

ozonCategoryIdinteger · int64

臭氧类别的ID.

ozonDescriptionCategoryIdinteger · int64

臭氧描述类别ID.

aliexpressCategoryIdinteger · int64

标签: 标识:

lamodaCategoryIdinteger · int64

拉莫达类别的身份证.

kaspiCategoryIdstring

卡斯皮类别的身份证.

avitoCategoryIdinteger · int64

果类别的身份

yandexMarketCategoryIdinteger · int64

亚兰德克斯市场类别身份证

categoryIdinteger · int32

类别的ID.

useAllCategoriesboolean

使用所有类别.

useCategoryOptionboolean

使用类别选项.

KaspiCategory7 字段
idinteger · int64

Id.

codestring

Code.

namestring

姓名.

publishedboolean

发表了.

isLeafboolean

是叶子.

lastSyncDatestring · date-time

最后的同步日期.

notChangedDaysinteger · int32

没有改变的日子.

FindResponseCategory1 字段
rowsCategory[]

排列.

错误合同

如何返回应用错误

编程的代码在每个地方都相同,而用户面向的消息由服务器翻译. 建立在error周围的应用逻辑,仅用于显示.

鱼类

稳定机器可读的代码用于集成逻辑.

鱼类

在API代币用户语言中显示准备的消息.

鱼类

服务器在本地化消息模板中插入的值.

localMessage使用了 API代币的用户的lang字段.文档语言和 Accept-Language标题不会改变它;当用户没有语言配置时,使用俄语.

RU用户位置是 ru
{
  "error": "error_brand_already_exists",
  "localMessage": "Бренд Base уже существует",
  "params": {
    "name": "Base"
  }
}
CN中文 (cn)
{
  "error": "error_brand_already_exists",
  "localMessage": "品牌 Base 已经存在",
  "params": {
    "name": "Base"
  }
}

终点

终点

PUT

放类别

/api/category/{categoryId}
具有写入的标志

使用 PUT /api/category/{categoryId}. 设置类别

路径参数

字段类型必填描述
categoryId integer · int32 类别的ID.

查询参数

字段类型必填描述
merge boolean 合并.

要求机构

application/json
对象场Category
字段类型必填描述
categoryId integer · int32 类别的ID.
name string 姓名.
deleted boolean 删除了.
parentId integer · int32 亲人身份证.
clientId integer · int64 客户身份证.
marked boolean 标记了.
categoryClass stringSHOES, LIGHT, DRUGS, CAMERA, TYRES, MILK, WATER, TOBACCO, FURS, BEER, BICYCLES, PERFUMES, ELECTRONIC, OTHER, NONE, FOOD, WHEELCHAIRS, OTP, NCP, BIO, ANTISEPTIC, NABEER, SOFTDRINKS, PETFOOD, SEAFOOD, MEAT, TOYS, TITAN, RADIO, OPTIC_FIBER, VEGETABLE_OIL, CONSERVE, VETPHARMA, CHEMISTRY, AUTOFLUIDS, GROCERY, BOOKS, CONSTRUCTION, FIRE, HEATER, CABLERAW, POLYMER, SWEETS, CARPARTS, NATURAL_FUR, NICOTINDEV, GADGETS, FROZEN, FERTILIZERS, HOMEWARE, VETBIO, INDUSTRIAL, PYROTECHNICS 类别类.
wildberriesType WildberriesType 野生类型.
对象场 WildberriesType
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
hasSize boolean 有大小.
monoBoxMinQuantity integer · int32 单盒子最小量.
monoType stringALWAYS, NEVER, MONO_IF_MIN_PRICE 单一类型.
monoMinPrice integer · int32 单小价格.
hasParent boolean 有父母.
parentId integer · int64 亲人身份证.
wildberriesId integer · int64 果的身份证.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
commission number · double 委员会.
fbsCommission number · double 联邦调查局.
fbwCommission number · double 联邦调查委员会.
dbsCommission number · double 美国联邦调查局
edbsCommission number · double 艾德斯委员会.
cAndCCommission number · double 委员会.
bookingCommission number · double 预订委员会.
logisticPrice integer · int32 后勤价格.
storagePrice number · double 存储价格.
acceptancePrice number · double 接受价格.
needDimensions boolean 需要维度.
purchasePercentAvg number · double 购买百分比 Avg.
purchasePercentMin number · double 购买百分比
photoAvg integer · int32 照片来源:
photoMin integer · int32 照片:
drrAvg number · double 艾夫博士.
drrMin number · double 博士.
marginAvg number · double 边缘 Avg.
marginMin number · double 边缘分.
candCCommission number · double 委员会.
wildberriesCategoryId integer · int64 野生类别的身份.
wildberriesFbmCommission number · double 野生果联邦调查委员会.
wildberriesFbwCommission number · double 野生果Fbw委员会.
wildberriesFbsCommission number · double 野生果联邦调查委员会.
wildberriesDbsCommission number · double 野生果食品委员会.
wildberriesEdbsCommission number · double 野生果养殖委员会.
wildberriesCAndCCommission number · double 果和果委员会.
wildberriesBookingCommission number · double 野生果预订委员会.
ozonDescriptionCategoryId integer · int64 臭氧描述类别ID.
yandexMarketCategoryId integer · int64 亚兰德克斯市场类别身份证
yandexMarketCategory YandexMarketCategory 亚兰德克斯市场类别
对象场 YandexMarketCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
parentId integer · int64 亲人身份证.
isLeaf boolean 是叶子.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
ozonDescriptionCategory OzonDescriptionCategory 臭氧描述类别
对象场 OzonDescriptionCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
parentId integer · int64 亲人身份证.
isLeaf boolean 是叶子.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
isError boolean 是错误.
errorDate string · date 错误日期
types string 类型.
typeId integer · int64 打印机号.
purchasePercentAvg number · double 购买百分比 Avg.
purchasePercentMin number · double 购买百分比
photoAvg integer · int32 照片来源:
photoMin integer · int32 照片:
drrAvg number · double 艾夫博士.
drrMin number · double 博士.
marginAvg number · double 边缘 Avg.
marginMin number · double 边缘分.
promotionCtrAvg number · double 升级, 检查员.
promotionCtrMin number · double 升级 升
ozonCommission number · double 臭氧委员会
tnved Tnved 没有.
对象场 Tnved
字段类型必填描述
id integer · int64 Id.
name string 姓名.
deleted boolean 删除了.
type stringSECTION, GROUP, PRODUCT, MAIN Type.
categoryClass stringSHOES, LIGHT, DRUGS, CAMERA, TYRES, MILK, WATER, TOBACCO, FURS, BEER, BICYCLES, PERFUMES, ELECTRONIC, OTHER, NONE, FOOD, WHEELCHAIRS, OTP, NCP, BIO, ANTISEPTIC, NABEER, SOFTDRINKS, PETFOOD, SEAFOOD, MEAT, TOYS, TITAN, RADIO, OPTIC_FIBER, VEGETABLE_OIL, CONSERVE, VETPHARMA, CHEMISTRY, AUTOFLUIDS, GROCERY, BOOKS, CONSTRUCTION, FIRE, HEATER, CABLERAW, POLYMER, SWEETS, CARPARTS, NATURAL_FUR, NICOTINDEV, GADGETS, FROZEN, FERTILIZERS, HOMEWARE, VETBIO, INDUSTRIAL, PYROTECHNICS 类别类.
parentId integer · int64 亲人身份证.
keywords string 关键词.
description string 描述
paramsTnvedId integer · int64 帕拉姆斯特内维德身份证.
isInParam boolean 在帕拉姆.
certification string 证书.
parentCode string 家庭代码.
code string Code.
certificationRequired boolean 需要获得证书.
tnvedId integer · int64 没有人知道.
laundry string 洗衣.
params string 帕姆斯.
namePattern string 姓名是模式.
aliexpressCategory AliexpressCategory 车类别
对象场 AliexpressCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
parentId integer · int64 亲人身份证.
aliexpressId integer · int64 快递证件
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
isLeaf boolean 是叶子.
aliexpressCategoryId integer · int64 标签: 标识:
avitoCategory AvitoCategory 类别
对象场 AvitoCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
shortName string 简短名字.
published boolean 发表了.
parentId integer · int64 亲人身份证.
lastSyncDate string · date-time 最后的同步日期.
isLeaf boolean 是叶子.
goodsType string 货物类型.
category string 类别.
lamodaCategory LamodaCategory 拉莫达类别.
对象场 LamodaCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
shortName string 简短名字.
published boolean 发表了.
isLeaf boolean 是叶子.
parentId integer · int64 亲人身份证.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
lamodaCategoryId integer · int64 拉莫达类别的身份证.
avitoCategoryId integer · int64 果类别的身份
packDepth integer · int32 包装深度.
packWidth integer · int32 包装宽度.
packHeight integer · int32 包高.
packWeight integer · int32 包装重量.
hasSize boolean 有大小.
hasColor boolean 有颜色.
autoName boolean 车名.
removeFbsStock boolean 删除FBS股票.
oneCId string 一个公告.
externalId string 其他身份证.
moySkladId string 子子的身份.
useClientParams boolean 使用客户端参数.
requiredExpirationDate boolean 要求到期日期
serviceCategoryMappings object 服务类别地图.
productCount integer · int32 产品数量
curl --request PUT 'https://api.selsup.ru/api/category/1001' \
  --header 'Authorization: YOUR_API_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Example",
  "categoryId": 1001,
  "deleted": false,
  "parentId": 1001,
  "clientId": 1001,
  "marked": false
}'

成功的反应

200
对象场 Category
字段类型必填描述
categoryId integer · int32 类别的ID.
name string 姓名.
deleted boolean 删除了.
parentId integer · int32 亲人身份证.
clientId integer · int64 客户身份证.
marked boolean 标记了.
categoryClass stringSHOES, LIGHT, DRUGS, CAMERA, TYRES, MILK, WATER, TOBACCO, FURS, BEER, BICYCLES, PERFUMES, ELECTRONIC, OTHER, NONE, FOOD, WHEELCHAIRS, OTP, NCP, BIO, ANTISEPTIC, NABEER, SOFTDRINKS, PETFOOD, SEAFOOD, MEAT, TOYS, TITAN, RADIO, OPTIC_FIBER, VEGETABLE_OIL, CONSERVE, VETPHARMA, CHEMISTRY, AUTOFLUIDS, GROCERY, BOOKS, CONSTRUCTION, FIRE, HEATER, CABLERAW, POLYMER, SWEETS, CARPARTS, NATURAL_FUR, NICOTINDEV, GADGETS, FROZEN, FERTILIZERS, HOMEWARE, VETBIO, INDUSTRIAL, PYROTECHNICS 类别类.
wildberriesType WildberriesType 野生类型.
对象场 WildberriesType
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
hasSize boolean 有大小.
monoBoxMinQuantity integer · int32 单盒子最小量.
monoType stringALWAYS, NEVER, MONO_IF_MIN_PRICE 单一类型.
monoMinPrice integer · int32 单小价格.
hasParent boolean 有父母.
parentId integer · int64 亲人身份证.
wildberriesId integer · int64 果的身份证.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
commission number · double 委员会.
fbsCommission number · double 联邦调查局.
fbwCommission number · double 联邦调查委员会.
dbsCommission number · double 美国联邦调查局
edbsCommission number · double 艾德斯委员会.
cAndCCommission number · double 委员会.
bookingCommission number · double 预订委员会.
logisticPrice integer · int32 后勤价格.
storagePrice number · double 存储价格.
acceptancePrice number · double 接受价格.
needDimensions boolean 需要维度.
purchasePercentAvg number · double 购买百分比 Avg.
purchasePercentMin number · double 购买百分比
photoAvg integer · int32 照片来源:
photoMin integer · int32 照片:
drrAvg number · double 艾夫博士.
drrMin number · double 博士.
marginAvg number · double 边缘 Avg.
marginMin number · double 边缘分.
candCCommission number · double 委员会.
wildberriesCategoryId integer · int64 野生类别的身份.
wildberriesFbmCommission number · double 野生果联邦调查委员会.
wildberriesFbwCommission number · double 野生果Fbw委员会.
wildberriesFbsCommission number · double 野生果联邦调查委员会.
wildberriesDbsCommission number · double 野生果食品委员会.
wildberriesEdbsCommission number · double 野生果养殖委员会.
wildberriesCAndCCommission number · double 果和果委员会.
wildberriesBookingCommission number · double 野生果预订委员会.
ozonDescriptionCategoryId integer · int64 臭氧描述类别ID.
yandexMarketCategoryId integer · int64 亚兰德克斯市场类别身份证
yandexMarketCategory YandexMarketCategory 亚兰德克斯市场类别
对象场 YandexMarketCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
parentId integer · int64 亲人身份证.
isLeaf boolean 是叶子.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
ozonDescriptionCategory OzonDescriptionCategory 臭氧描述类别
对象场 OzonDescriptionCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
parentId integer · int64 亲人身份证.
isLeaf boolean 是叶子.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
isError boolean 是错误.
errorDate string · date 错误日期
types string 类型.
typeId integer · int64 打印机号.
purchasePercentAvg number · double 购买百分比 Avg.
purchasePercentMin number · double 购买百分比
photoAvg integer · int32 照片来源:
photoMin integer · int32 照片:
drrAvg number · double 艾夫博士.
drrMin number · double 博士.
marginAvg number · double 边缘 Avg.
marginMin number · double 边缘分.
promotionCtrAvg number · double 升级, 检查员.
promotionCtrMin number · double 升级 升
ozonCommission number · double 臭氧委员会
tnved Tnved 没有.
对象场 Tnved
字段类型必填描述
id integer · int64 Id.
name string 姓名.
deleted boolean 删除了.
type stringSECTION, GROUP, PRODUCT, MAIN Type.
categoryClass stringSHOES, LIGHT, DRUGS, CAMERA, TYRES, MILK, WATER, TOBACCO, FURS, BEER, BICYCLES, PERFUMES, ELECTRONIC, OTHER, NONE, FOOD, WHEELCHAIRS, OTP, NCP, BIO, ANTISEPTIC, NABEER, SOFTDRINKS, PETFOOD, SEAFOOD, MEAT, TOYS, TITAN, RADIO, OPTIC_FIBER, VEGETABLE_OIL, CONSERVE, VETPHARMA, CHEMISTRY, AUTOFLUIDS, GROCERY, BOOKS, CONSTRUCTION, FIRE, HEATER, CABLERAW, POLYMER, SWEETS, CARPARTS, NATURAL_FUR, NICOTINDEV, GADGETS, FROZEN, FERTILIZERS, HOMEWARE, VETBIO, INDUSTRIAL, PYROTECHNICS 类别类.
parentId integer · int64 亲人身份证.
keywords string 关键词.
description string 描述
paramsTnvedId integer · int64 帕拉姆斯特内维德身份证.
isInParam boolean 在帕拉姆.
certification string 证书.
parentCode string 家庭代码.
code string Code.
certificationRequired boolean 需要获得证书.
tnvedId integer · int64 没有人知道.
laundry string 洗衣.
params string 帕姆斯.
namePattern string 姓名是模式.
aliexpressCategory AliexpressCategory 车类别
对象场 AliexpressCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
parentId integer · int64 亲人身份证.
aliexpressId integer · int64 快递证件
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
isLeaf boolean 是叶子.
aliexpressCategoryId integer · int64 标签: 标识:
avitoCategory AvitoCategory 类别
对象场 AvitoCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
shortName string 简短名字.
published boolean 发表了.
parentId integer · int64 亲人身份证.
lastSyncDate string · date-time 最后的同步日期.
isLeaf boolean 是叶子.
goodsType string 货物类型.
category string 类别.
lamodaCategory LamodaCategory 拉莫达类别.
对象场 LamodaCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
shortName string 简短名字.
published boolean 发表了.
isLeaf boolean 是叶子.
parentId integer · int64 亲人身份证.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
lamodaCategoryId integer · int64 拉莫达类别的身份证.
avitoCategoryId integer · int64 果类别的身份
packDepth integer · int32 包装深度.
packWidth integer · int32 包装宽度.
packHeight integer · int32 包高.
packWeight integer · int32 包装重量.
hasSize boolean 有大小.
hasColor boolean 有颜色.
autoName boolean 车名.
removeFbsStock boolean 删除FBS股票.
oneCId string 一个公告.
externalId string 其他身份证.
moySkladId string 子子的身份.
useClientParams boolean 使用客户端参数.
requiredExpirationDate boolean 要求到期日期
serviceCategoryMappings object 服务类别地图.
productCount integer · int32 产品数量
{
  "name": "Example",
  "categoryId": 1001,
  "deleted": false,
  "parentId": 1001,
  "clientId": 1001,
  "marked": false
}
错误3

应用错误通常以 JSON, error,localMessage和 params为回归. 如何返回应用错误 ↑

401auth_required
需要进行认证

Authorization 缺失,空,或包含无效的代币.

400error_access_denied
拒绝访问

代币存在,但它的作用不能执行这个操作.

500error_unknown
发生了一个未知的错误。如果该问题再次发生,请联系支持

节省请求时间和联系支持;不要盲目重新尝试突变.

PATCH

补丁类别

/api/category/{categoryId}
具有写入的标志

使用 PATCH /api/category/{categoryId}.的补丁类别

路径参数

字段类型必填描述
categoryId integer · int32 类别的ID.

要求机构

application/json
对象场Category
字段类型必填描述
categoryId integer · int32 类别的ID.
name string 姓名.
deleted boolean 删除了.
parentId integer · int32 亲人身份证.
clientId integer · int64 客户身份证.
marked boolean 标记了.
categoryClass stringSHOES, LIGHT, DRUGS, CAMERA, TYRES, MILK, WATER, TOBACCO, FURS, BEER, BICYCLES, PERFUMES, ELECTRONIC, OTHER, NONE, FOOD, WHEELCHAIRS, OTP, NCP, BIO, ANTISEPTIC, NABEER, SOFTDRINKS, PETFOOD, SEAFOOD, MEAT, TOYS, TITAN, RADIO, OPTIC_FIBER, VEGETABLE_OIL, CONSERVE, VETPHARMA, CHEMISTRY, AUTOFLUIDS, GROCERY, BOOKS, CONSTRUCTION, FIRE, HEATER, CABLERAW, POLYMER, SWEETS, CARPARTS, NATURAL_FUR, NICOTINDEV, GADGETS, FROZEN, FERTILIZERS, HOMEWARE, VETBIO, INDUSTRIAL, PYROTECHNICS 类别类.
wildberriesType WildberriesType 野生类型.
对象场 WildberriesType
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
hasSize boolean 有大小.
monoBoxMinQuantity integer · int32 单盒子最小量.
monoType stringALWAYS, NEVER, MONO_IF_MIN_PRICE 单一类型.
monoMinPrice integer · int32 单小价格.
hasParent boolean 有父母.
parentId integer · int64 亲人身份证.
wildberriesId integer · int64 果的身份证.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
commission number · double 委员会.
fbsCommission number · double 联邦调查局.
fbwCommission number · double 联邦调查委员会.
dbsCommission number · double 美国联邦调查局
edbsCommission number · double 艾德斯委员会.
cAndCCommission number · double 委员会.
bookingCommission number · double 预订委员会.
logisticPrice integer · int32 后勤价格.
storagePrice number · double 存储价格.
acceptancePrice number · double 接受价格.
needDimensions boolean 需要维度.
purchasePercentAvg number · double 购买百分比 Avg.
purchasePercentMin number · double 购买百分比
photoAvg integer · int32 照片来源:
photoMin integer · int32 照片:
drrAvg number · double 艾夫博士.
drrMin number · double 博士.
marginAvg number · double 边缘 Avg.
marginMin number · double 边缘分.
candCCommission number · double 委员会.
wildberriesCategoryId integer · int64 野生类别的身份.
wildberriesFbmCommission number · double 野生果联邦调查委员会.
wildberriesFbwCommission number · double 野生果Fbw委员会.
wildberriesFbsCommission number · double 野生果联邦调查委员会.
wildberriesDbsCommission number · double 野生果食品委员会.
wildberriesEdbsCommission number · double 野生果养殖委员会.
wildberriesCAndCCommission number · double 果和果委员会.
wildberriesBookingCommission number · double 野生果预订委员会.
ozonDescriptionCategoryId integer · int64 臭氧描述类别ID.
yandexMarketCategoryId integer · int64 亚兰德克斯市场类别身份证
yandexMarketCategory YandexMarketCategory 亚兰德克斯市场类别
对象场 YandexMarketCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
parentId integer · int64 亲人身份证.
isLeaf boolean 是叶子.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
ozonDescriptionCategory OzonDescriptionCategory 臭氧描述类别
对象场 OzonDescriptionCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
parentId integer · int64 亲人身份证.
isLeaf boolean 是叶子.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
isError boolean 是错误.
errorDate string · date 错误日期
types string 类型.
typeId integer · int64 打印机号.
purchasePercentAvg number · double 购买百分比 Avg.
purchasePercentMin number · double 购买百分比
photoAvg integer · int32 照片来源:
photoMin integer · int32 照片:
drrAvg number · double 艾夫博士.
drrMin number · double 博士.
marginAvg number · double 边缘 Avg.
marginMin number · double 边缘分.
promotionCtrAvg number · double 升级, 检查员.
promotionCtrMin number · double 升级 升
ozonCommission number · double 臭氧委员会
tnved Tnved 没有.
对象场 Tnved
字段类型必填描述
id integer · int64 Id.
name string 姓名.
deleted boolean 删除了.
type stringSECTION, GROUP, PRODUCT, MAIN Type.
categoryClass stringSHOES, LIGHT, DRUGS, CAMERA, TYRES, MILK, WATER, TOBACCO, FURS, BEER, BICYCLES, PERFUMES, ELECTRONIC, OTHER, NONE, FOOD, WHEELCHAIRS, OTP, NCP, BIO, ANTISEPTIC, NABEER, SOFTDRINKS, PETFOOD, SEAFOOD, MEAT, TOYS, TITAN, RADIO, OPTIC_FIBER, VEGETABLE_OIL, CONSERVE, VETPHARMA, CHEMISTRY, AUTOFLUIDS, GROCERY, BOOKS, CONSTRUCTION, FIRE, HEATER, CABLERAW, POLYMER, SWEETS, CARPARTS, NATURAL_FUR, NICOTINDEV, GADGETS, FROZEN, FERTILIZERS, HOMEWARE, VETBIO, INDUSTRIAL, PYROTECHNICS 类别类.
parentId integer · int64 亲人身份证.
keywords string 关键词.
description string 描述
paramsTnvedId integer · int64 帕拉姆斯特内维德身份证.
isInParam boolean 在帕拉姆.
certification string 证书.
parentCode string 家庭代码.
code string Code.
certificationRequired boolean 需要获得证书.
tnvedId integer · int64 没有人知道.
laundry string 洗衣.
params string 帕姆斯.
namePattern string 姓名是模式.
aliexpressCategory AliexpressCategory 车类别
对象场 AliexpressCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
parentId integer · int64 亲人身份证.
aliexpressId integer · int64 快递证件
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
isLeaf boolean 是叶子.
aliexpressCategoryId integer · int64 标签: 标识:
avitoCategory AvitoCategory 类别
对象场 AvitoCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
shortName string 简短名字.
published boolean 发表了.
parentId integer · int64 亲人身份证.
lastSyncDate string · date-time 最后的同步日期.
isLeaf boolean 是叶子.
goodsType string 货物类型.
category string 类别.
lamodaCategory LamodaCategory 拉莫达类别.
对象场 LamodaCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
shortName string 简短名字.
published boolean 发表了.
isLeaf boolean 是叶子.
parentId integer · int64 亲人身份证.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
lamodaCategoryId integer · int64 拉莫达类别的身份证.
avitoCategoryId integer · int64 果类别的身份
packDepth integer · int32 包装深度.
packWidth integer · int32 包装宽度.
packHeight integer · int32 包高.
packWeight integer · int32 包装重量.
hasSize boolean 有大小.
hasColor boolean 有颜色.
autoName boolean 车名.
removeFbsStock boolean 删除FBS股票.
oneCId string 一个公告.
externalId string 其他身份证.
moySkladId string 子子的身份.
useClientParams boolean 使用客户端参数.
requiredExpirationDate boolean 要求到期日期
serviceCategoryMappings object 服务类别地图.
productCount integer · int32 产品数量
curl --request PATCH 'https://api.selsup.ru/api/category/1001' \
  --header 'Authorization: YOUR_API_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Example",
  "categoryId": 1001,
  "deleted": false,
  "parentId": 1001,
  "clientId": 1001,
  "marked": false
}'

成功的反应

200
对象场 Category
字段类型必填描述
categoryId integer · int32 类别的ID.
name string 姓名.
deleted boolean 删除了.
parentId integer · int32 亲人身份证.
clientId integer · int64 客户身份证.
marked boolean 标记了.
categoryClass stringSHOES, LIGHT, DRUGS, CAMERA, TYRES, MILK, WATER, TOBACCO, FURS, BEER, BICYCLES, PERFUMES, ELECTRONIC, OTHER, NONE, FOOD, WHEELCHAIRS, OTP, NCP, BIO, ANTISEPTIC, NABEER, SOFTDRINKS, PETFOOD, SEAFOOD, MEAT, TOYS, TITAN, RADIO, OPTIC_FIBER, VEGETABLE_OIL, CONSERVE, VETPHARMA, CHEMISTRY, AUTOFLUIDS, GROCERY, BOOKS, CONSTRUCTION, FIRE, HEATER, CABLERAW, POLYMER, SWEETS, CARPARTS, NATURAL_FUR, NICOTINDEV, GADGETS, FROZEN, FERTILIZERS, HOMEWARE, VETBIO, INDUSTRIAL, PYROTECHNICS 类别类.
wildberriesType WildberriesType 野生类型.
对象场 WildberriesType
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
hasSize boolean 有大小.
monoBoxMinQuantity integer · int32 单盒子最小量.
monoType stringALWAYS, NEVER, MONO_IF_MIN_PRICE 单一类型.
monoMinPrice integer · int32 单小价格.
hasParent boolean 有父母.
parentId integer · int64 亲人身份证.
wildberriesId integer · int64 果的身份证.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
commission number · double 委员会.
fbsCommission number · double 联邦调查局.
fbwCommission number · double 联邦调查委员会.
dbsCommission number · double 美国联邦调查局
edbsCommission number · double 艾德斯委员会.
cAndCCommission number · double 委员会.
bookingCommission number · double 预订委员会.
logisticPrice integer · int32 后勤价格.
storagePrice number · double 存储价格.
acceptancePrice number · double 接受价格.
needDimensions boolean 需要维度.
purchasePercentAvg number · double 购买百分比 Avg.
purchasePercentMin number · double 购买百分比
photoAvg integer · int32 照片来源:
photoMin integer · int32 照片:
drrAvg number · double 艾夫博士.
drrMin number · double 博士.
marginAvg number · double 边缘 Avg.
marginMin number · double 边缘分.
candCCommission number · double 委员会.
wildberriesCategoryId integer · int64 野生类别的身份.
wildberriesFbmCommission number · double 野生果联邦调查委员会.
wildberriesFbwCommission number · double 野生果Fbw委员会.
wildberriesFbsCommission number · double 野生果联邦调查委员会.
wildberriesDbsCommission number · double 野生果食品委员会.
wildberriesEdbsCommission number · double 野生果养殖委员会.
wildberriesCAndCCommission number · double 果和果委员会.
wildberriesBookingCommission number · double 野生果预订委员会.
ozonDescriptionCategoryId integer · int64 臭氧描述类别ID.
yandexMarketCategoryId integer · int64 亚兰德克斯市场类别身份证
yandexMarketCategory YandexMarketCategory 亚兰德克斯市场类别
对象场 YandexMarketCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
parentId integer · int64 亲人身份证.
isLeaf boolean 是叶子.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
ozonDescriptionCategory OzonDescriptionCategory 臭氧描述类别
对象场 OzonDescriptionCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
parentId integer · int64 亲人身份证.
isLeaf boolean 是叶子.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
isError boolean 是错误.
errorDate string · date 错误日期
types string 类型.
typeId integer · int64 打印机号.
purchasePercentAvg number · double 购买百分比 Avg.
purchasePercentMin number · double 购买百分比
photoAvg integer · int32 照片来源:
photoMin integer · int32 照片:
drrAvg number · double 艾夫博士.
drrMin number · double 博士.
marginAvg number · double 边缘 Avg.
marginMin number · double 边缘分.
promotionCtrAvg number · double 升级, 检查员.
promotionCtrMin number · double 升级 升
ozonCommission number · double 臭氧委员会
tnved Tnved 没有.
对象场 Tnved
字段类型必填描述
id integer · int64 Id.
name string 姓名.
deleted boolean 删除了.
type stringSECTION, GROUP, PRODUCT, MAIN Type.
categoryClass stringSHOES, LIGHT, DRUGS, CAMERA, TYRES, MILK, WATER, TOBACCO, FURS, BEER, BICYCLES, PERFUMES, ELECTRONIC, OTHER, NONE, FOOD, WHEELCHAIRS, OTP, NCP, BIO, ANTISEPTIC, NABEER, SOFTDRINKS, PETFOOD, SEAFOOD, MEAT, TOYS, TITAN, RADIO, OPTIC_FIBER, VEGETABLE_OIL, CONSERVE, VETPHARMA, CHEMISTRY, AUTOFLUIDS, GROCERY, BOOKS, CONSTRUCTION, FIRE, HEATER, CABLERAW, POLYMER, SWEETS, CARPARTS, NATURAL_FUR, NICOTINDEV, GADGETS, FROZEN, FERTILIZERS, HOMEWARE, VETBIO, INDUSTRIAL, PYROTECHNICS 类别类.
parentId integer · int64 亲人身份证.
keywords string 关键词.
description string 描述
paramsTnvedId integer · int64 帕拉姆斯特内维德身份证.
isInParam boolean 在帕拉姆.
certification string 证书.
parentCode string 家庭代码.
code string Code.
certificationRequired boolean 需要获得证书.
tnvedId integer · int64 没有人知道.
laundry string 洗衣.
params string 帕姆斯.
namePattern string 姓名是模式.
aliexpressCategory AliexpressCategory 车类别
对象场 AliexpressCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
parentId integer · int64 亲人身份证.
aliexpressId integer · int64 快递证件
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
isLeaf boolean 是叶子.
aliexpressCategoryId integer · int64 标签: 标识:
avitoCategory AvitoCategory 类别
对象场 AvitoCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
shortName string 简短名字.
published boolean 发表了.
parentId integer · int64 亲人身份证.
lastSyncDate string · date-time 最后的同步日期.
isLeaf boolean 是叶子.
goodsType string 货物类型.
category string 类别.
lamodaCategory LamodaCategory 拉莫达类别.
对象场 LamodaCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
shortName string 简短名字.
published boolean 发表了.
isLeaf boolean 是叶子.
parentId integer · int64 亲人身份证.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
lamodaCategoryId integer · int64 拉莫达类别的身份证.
avitoCategoryId integer · int64 果类别的身份
packDepth integer · int32 包装深度.
packWidth integer · int32 包装宽度.
packHeight integer · int32 包高.
packWeight integer · int32 包装重量.
hasSize boolean 有大小.
hasColor boolean 有颜色.
autoName boolean 车名.
removeFbsStock boolean 删除FBS股票.
oneCId string 一个公告.
externalId string 其他身份证.
moySkladId string 子子的身份.
useClientParams boolean 使用客户端参数.
requiredExpirationDate boolean 要求到期日期
serviceCategoryMappings object 服务类别地图.
productCount integer · int32 产品数量
{
  "name": "Example",
  "categoryId": 1001,
  "deleted": false,
  "parentId": 1001,
  "clientId": 1001,
  "marked": false
}
错误5

应用错误通常以 JSON, error,localMessage和 params为回归. 如何返回应用错误 ↑

401auth_required
需要进行认证

Authorization 缺失,空,或包含无效的代币.

400error_access_denied
拒绝访问

代币存在,但它的作用不能执行这个操作.

500error_unknown
发生了一个未知的错误。如果该问题再次发生,请联系支持

节省请求时间和联系支持;不要盲目重新尝试突变.

400error_no_client
没有找到该客户或已被删除。写信给支持部门

应用逻辑中使用稳定的error_no_client代码;localMessage包含上述翻译.

400error_subscription_expired
你的费率已经过期。支付关税以继续使用该服务。

应用逻辑中使用稳定的error_subscription_expired代码;localMessage包含上述翻译.

DELETE

删除类别

/api/category/{categoryId}
具有写入的标志

使用 DELETE /api/category/{categoryId}.删除类别

路径参数

字段类型必填描述
categoryId integer · int32 类别的ID.

查询参数

字段类型必填描述
deleted boolean 删除了.
curl --request DELETE 'https://api.selsup.ru/api/category/1001?deleted=false' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200
"string"
错误3

应用错误通常以 JSON, error,localMessage和 params为回归. 如何返回应用错误 ↑

401auth_required
需要进行认证

Authorization 缺失,空,或包含无效的代币.

400error_access_denied
拒绝访问

代币存在,但它的作用不能执行这个操作.

500error_unknown
发生了一个未知的错误。如果该问题再次发生,请联系支持

节省请求时间和联系支持;不要盲目重新尝试突变.

POST

合并类别

/api/category/{categoryId}/merge/{removedCategoryId}
具有写入的标志

使用 POST 合并类别

路径参数

字段类型必填描述
categoryId integer · int32 类别的ID.
removedCategoryId integer · int32 删除了类别ID.
curl --request POST 'https://api.selsup.ru/api/category/1001/merge/1001' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200

答案没有身体.

错误6

应用错误通常以 JSON, error,localMessage和 params为回归. 如何返回应用错误 ↑

401auth_required
需要进行认证

Authorization 缺失,空,或包含无效的代币.

400error_access_denied
拒绝访问

代币存在,但它的作用不能执行这个操作.

500error_unknown
发生了一个未知的错误。如果该问题再次发生,请联系支持

节省请求时间和联系支持;不要盲目重新尝试突变.

400error_category_not_found
未找到类别

应用逻辑中使用稳定的error_category_not_found代码;localMessage包含上述翻译.

400error_no_client
没有找到该客户或已被删除。写信给支持部门

应用逻辑中使用稳定的error_no_client代码;localMessage包含上述翻译.

400error_subscription_expired
你的费率已经过期。支付关税以继续使用该服务。

应用逻辑中使用稳定的error_subscription_expired代码;localMessage包含上述翻译.

POST

职位类别

/api/category/
具有写入的标志

使用 POST /api/category/. 的帖子类别

要求机构

application/json
对象场Category
字段类型必填描述
categoryId integer · int32 类别的ID.
name string 姓名.
deleted boolean 删除了.
parentId integer · int32 亲人身份证.
clientId integer · int64 客户身份证.
marked boolean 标记了.
categoryClass stringSHOES, LIGHT, DRUGS, CAMERA, TYRES, MILK, WATER, TOBACCO, FURS, BEER, BICYCLES, PERFUMES, ELECTRONIC, OTHER, NONE, FOOD, WHEELCHAIRS, OTP, NCP, BIO, ANTISEPTIC, NABEER, SOFTDRINKS, PETFOOD, SEAFOOD, MEAT, TOYS, TITAN, RADIO, OPTIC_FIBER, VEGETABLE_OIL, CONSERVE, VETPHARMA, CHEMISTRY, AUTOFLUIDS, GROCERY, BOOKS, CONSTRUCTION, FIRE, HEATER, CABLERAW, POLYMER, SWEETS, CARPARTS, NATURAL_FUR, NICOTINDEV, GADGETS, FROZEN, FERTILIZERS, HOMEWARE, VETBIO, INDUSTRIAL, PYROTECHNICS 类别类.
wildberriesType WildberriesType 野生类型.
对象场 WildberriesType
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
hasSize boolean 有大小.
monoBoxMinQuantity integer · int32 单盒子最小量.
monoType stringALWAYS, NEVER, MONO_IF_MIN_PRICE 单一类型.
monoMinPrice integer · int32 单小价格.
hasParent boolean 有父母.
parentId integer · int64 亲人身份证.
wildberriesId integer · int64 果的身份证.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
commission number · double 委员会.
fbsCommission number · double 联邦调查局.
fbwCommission number · double 联邦调查委员会.
dbsCommission number · double 美国联邦调查局
edbsCommission number · double 艾德斯委员会.
cAndCCommission number · double 委员会.
bookingCommission number · double 预订委员会.
logisticPrice integer · int32 后勤价格.
storagePrice number · double 存储价格.
acceptancePrice number · double 接受价格.
needDimensions boolean 需要维度.
purchasePercentAvg number · double 购买百分比 Avg.
purchasePercentMin number · double 购买百分比
photoAvg integer · int32 照片来源:
photoMin integer · int32 照片:
drrAvg number · double 艾夫博士.
drrMin number · double 博士.
marginAvg number · double 边缘 Avg.
marginMin number · double 边缘分.
candCCommission number · double 委员会.
wildberriesCategoryId integer · int64 野生类别的身份.
wildberriesFbmCommission number · double 野生果联邦调查委员会.
wildberriesFbwCommission number · double 野生果Fbw委员会.
wildberriesFbsCommission number · double 野生果联邦调查委员会.
wildberriesDbsCommission number · double 野生果食品委员会.
wildberriesEdbsCommission number · double 野生果养殖委员会.
wildberriesCAndCCommission number · double 果和果委员会.
wildberriesBookingCommission number · double 野生果预订委员会.
ozonDescriptionCategoryId integer · int64 臭氧描述类别ID.
yandexMarketCategoryId integer · int64 亚兰德克斯市场类别身份证
yandexMarketCategory YandexMarketCategory 亚兰德克斯市场类别
对象场 YandexMarketCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
parentId integer · int64 亲人身份证.
isLeaf boolean 是叶子.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
ozonDescriptionCategory OzonDescriptionCategory 臭氧描述类别
对象场 OzonDescriptionCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
parentId integer · int64 亲人身份证.
isLeaf boolean 是叶子.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
isError boolean 是错误.
errorDate string · date 错误日期
types string 类型.
typeId integer · int64 打印机号.
purchasePercentAvg number · double 购买百分比 Avg.
purchasePercentMin number · double 购买百分比
photoAvg integer · int32 照片来源:
photoMin integer · int32 照片:
drrAvg number · double 艾夫博士.
drrMin number · double 博士.
marginAvg number · double 边缘 Avg.
marginMin number · double 边缘分.
promotionCtrAvg number · double 升级, 检查员.
promotionCtrMin number · double 升级 升
ozonCommission number · double 臭氧委员会
tnved Tnved 没有.
对象场 Tnved
字段类型必填描述
id integer · int64 Id.
name string 姓名.
deleted boolean 删除了.
type stringSECTION, GROUP, PRODUCT, MAIN Type.
categoryClass stringSHOES, LIGHT, DRUGS, CAMERA, TYRES, MILK, WATER, TOBACCO, FURS, BEER, BICYCLES, PERFUMES, ELECTRONIC, OTHER, NONE, FOOD, WHEELCHAIRS, OTP, NCP, BIO, ANTISEPTIC, NABEER, SOFTDRINKS, PETFOOD, SEAFOOD, MEAT, TOYS, TITAN, RADIO, OPTIC_FIBER, VEGETABLE_OIL, CONSERVE, VETPHARMA, CHEMISTRY, AUTOFLUIDS, GROCERY, BOOKS, CONSTRUCTION, FIRE, HEATER, CABLERAW, POLYMER, SWEETS, CARPARTS, NATURAL_FUR, NICOTINDEV, GADGETS, FROZEN, FERTILIZERS, HOMEWARE, VETBIO, INDUSTRIAL, PYROTECHNICS 类别类.
parentId integer · int64 亲人身份证.
keywords string 关键词.
description string 描述
paramsTnvedId integer · int64 帕拉姆斯特内维德身份证.
isInParam boolean 在帕拉姆.
certification string 证书.
parentCode string 家庭代码.
code string Code.
certificationRequired boolean 需要获得证书.
tnvedId integer · int64 没有人知道.
laundry string 洗衣.
params string 帕姆斯.
namePattern string 姓名是模式.
aliexpressCategory AliexpressCategory 车类别
对象场 AliexpressCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
parentId integer · int64 亲人身份证.
aliexpressId integer · int64 快递证件
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
isLeaf boolean 是叶子.
aliexpressCategoryId integer · int64 标签: 标识:
avitoCategory AvitoCategory 类别
对象场 AvitoCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
shortName string 简短名字.
published boolean 发表了.
parentId integer · int64 亲人身份证.
lastSyncDate string · date-time 最后的同步日期.
isLeaf boolean 是叶子.
goodsType string 货物类型.
category string 类别.
lamodaCategory LamodaCategory 拉莫达类别.
对象场 LamodaCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
shortName string 简短名字.
published boolean 发表了.
isLeaf boolean 是叶子.
parentId integer · int64 亲人身份证.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
lamodaCategoryId integer · int64 拉莫达类别的身份证.
avitoCategoryId integer · int64 果类别的身份
packDepth integer · int32 包装深度.
packWidth integer · int32 包装宽度.
packHeight integer · int32 包高.
packWeight integer · int32 包装重量.
hasSize boolean 有大小.
hasColor boolean 有颜色.
autoName boolean 车名.
removeFbsStock boolean 删除FBS股票.
oneCId string 一个公告.
externalId string 其他身份证.
moySkladId string 子子的身份.
useClientParams boolean 使用客户端参数.
requiredExpirationDate boolean 要求到期日期
serviceCategoryMappings object 服务类别地图.
productCount integer · int32 产品数量
curl --request POST 'https://api.selsup.ru/api/category/' \
  --header 'Authorization: YOUR_API_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Example",
  "categoryId": 1001,
  "deleted": false,
  "parentId": 1001,
  "clientId": 1001,
  "marked": false
}'

成功的反应

200
对象场 Category
字段类型必填描述
categoryId integer · int32 类别的ID.
name string 姓名.
deleted boolean 删除了.
parentId integer · int32 亲人身份证.
clientId integer · int64 客户身份证.
marked boolean 标记了.
categoryClass stringSHOES, LIGHT, DRUGS, CAMERA, TYRES, MILK, WATER, TOBACCO, FURS, BEER, BICYCLES, PERFUMES, ELECTRONIC, OTHER, NONE, FOOD, WHEELCHAIRS, OTP, NCP, BIO, ANTISEPTIC, NABEER, SOFTDRINKS, PETFOOD, SEAFOOD, MEAT, TOYS, TITAN, RADIO, OPTIC_FIBER, VEGETABLE_OIL, CONSERVE, VETPHARMA, CHEMISTRY, AUTOFLUIDS, GROCERY, BOOKS, CONSTRUCTION, FIRE, HEATER, CABLERAW, POLYMER, SWEETS, CARPARTS, NATURAL_FUR, NICOTINDEV, GADGETS, FROZEN, FERTILIZERS, HOMEWARE, VETBIO, INDUSTRIAL, PYROTECHNICS 类别类.
wildberriesType WildberriesType 野生类型.
对象场 WildberriesType
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
hasSize boolean 有大小.
monoBoxMinQuantity integer · int32 单盒子最小量.
monoType stringALWAYS, NEVER, MONO_IF_MIN_PRICE 单一类型.
monoMinPrice integer · int32 单小价格.
hasParent boolean 有父母.
parentId integer · int64 亲人身份证.
wildberriesId integer · int64 果的身份证.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
commission number · double 委员会.
fbsCommission number · double 联邦调查局.
fbwCommission number · double 联邦调查委员会.
dbsCommission number · double 美国联邦调查局
edbsCommission number · double 艾德斯委员会.
cAndCCommission number · double 委员会.
bookingCommission number · double 预订委员会.
logisticPrice integer · int32 后勤价格.
storagePrice number · double 存储价格.
acceptancePrice number · double 接受价格.
needDimensions boolean 需要维度.
purchasePercentAvg number · double 购买百分比 Avg.
purchasePercentMin number · double 购买百分比
photoAvg integer · int32 照片来源:
photoMin integer · int32 照片:
drrAvg number · double 艾夫博士.
drrMin number · double 博士.
marginAvg number · double 边缘 Avg.
marginMin number · double 边缘分.
candCCommission number · double 委员会.
wildberriesCategoryId integer · int64 野生类别的身份.
wildberriesFbmCommission number · double 野生果联邦调查委员会.
wildberriesFbwCommission number · double 野生果Fbw委员会.
wildberriesFbsCommission number · double 野生果联邦调查委员会.
wildberriesDbsCommission number · double 野生果食品委员会.
wildberriesEdbsCommission number · double 野生果养殖委员会.
wildberriesCAndCCommission number · double 果和果委员会.
wildberriesBookingCommission number · double 野生果预订委员会.
ozonDescriptionCategoryId integer · int64 臭氧描述类别ID.
yandexMarketCategoryId integer · int64 亚兰德克斯市场类别身份证
yandexMarketCategory YandexMarketCategory 亚兰德克斯市场类别
对象场 YandexMarketCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
parentId integer · int64 亲人身份证.
isLeaf boolean 是叶子.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
ozonDescriptionCategory OzonDescriptionCategory 臭氧描述类别
对象场 OzonDescriptionCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
parentId integer · int64 亲人身份证.
isLeaf boolean 是叶子.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
isError boolean 是错误.
errorDate string · date 错误日期
types string 类型.
typeId integer · int64 打印机号.
purchasePercentAvg number · double 购买百分比 Avg.
purchasePercentMin number · double 购买百分比
photoAvg integer · int32 照片来源:
photoMin integer · int32 照片:
drrAvg number · double 艾夫博士.
drrMin number · double 博士.
marginAvg number · double 边缘 Avg.
marginMin number · double 边缘分.
promotionCtrAvg number · double 升级, 检查员.
promotionCtrMin number · double 升级 升
ozonCommission number · double 臭氧委员会
tnved Tnved 没有.
对象场 Tnved
字段类型必填描述
id integer · int64 Id.
name string 姓名.
deleted boolean 删除了.
type stringSECTION, GROUP, PRODUCT, MAIN Type.
categoryClass stringSHOES, LIGHT, DRUGS, CAMERA, TYRES, MILK, WATER, TOBACCO, FURS, BEER, BICYCLES, PERFUMES, ELECTRONIC, OTHER, NONE, FOOD, WHEELCHAIRS, OTP, NCP, BIO, ANTISEPTIC, NABEER, SOFTDRINKS, PETFOOD, SEAFOOD, MEAT, TOYS, TITAN, RADIO, OPTIC_FIBER, VEGETABLE_OIL, CONSERVE, VETPHARMA, CHEMISTRY, AUTOFLUIDS, GROCERY, BOOKS, CONSTRUCTION, FIRE, HEATER, CABLERAW, POLYMER, SWEETS, CARPARTS, NATURAL_FUR, NICOTINDEV, GADGETS, FROZEN, FERTILIZERS, HOMEWARE, VETBIO, INDUSTRIAL, PYROTECHNICS 类别类.
parentId integer · int64 亲人身份证.
keywords string 关键词.
description string 描述
paramsTnvedId integer · int64 帕拉姆斯特内维德身份证.
isInParam boolean 在帕拉姆.
certification string 证书.
parentCode string 家庭代码.
code string Code.
certificationRequired boolean 需要获得证书.
tnvedId integer · int64 没有人知道.
laundry string 洗衣.
params string 帕姆斯.
namePattern string 姓名是模式.
aliexpressCategory AliexpressCategory 车类别
对象场 AliexpressCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
parentId integer · int64 亲人身份证.
aliexpressId integer · int64 快递证件
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
isLeaf boolean 是叶子.
aliexpressCategoryId integer · int64 标签: 标识:
avitoCategory AvitoCategory 类别
对象场 AvitoCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
shortName string 简短名字.
published boolean 发表了.
parentId integer · int64 亲人身份证.
lastSyncDate string · date-time 最后的同步日期.
isLeaf boolean 是叶子.
goodsType string 货物类型.
category string 类别.
lamodaCategory LamodaCategory 拉莫达类别.
对象场 LamodaCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
shortName string 简短名字.
published boolean 发表了.
isLeaf boolean 是叶子.
parentId integer · int64 亲人身份证.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
lamodaCategoryId integer · int64 拉莫达类别的身份证.
avitoCategoryId integer · int64 果类别的身份
packDepth integer · int32 包装深度.
packWidth integer · int32 包装宽度.
packHeight integer · int32 包高.
packWeight integer · int32 包装重量.
hasSize boolean 有大小.
hasColor boolean 有颜色.
autoName boolean 车名.
removeFbsStock boolean 删除FBS股票.
oneCId string 一个公告.
externalId string 其他身份证.
moySkladId string 子子的身份.
useClientParams boolean 使用客户端参数.
requiredExpirationDate boolean 要求到期日期
serviceCategoryMappings object 服务类别地图.
productCount integer · int32 产品数量
{
  "name": "Example",
  "categoryId": 1001,
  "deleted": false,
  "parentId": 1001,
  "clientId": 1001,
  "marked": false
}
错误7

应用错误通常以 JSON, error,localMessage和 params为回归. 如何返回应用错误 ↑

401auth_required
需要进行认证

Authorization 缺失,空,或包含无效的代币.

400error_access_denied
拒绝访问

代币存在,但它的作用不能执行这个操作.

500error_unknown
发生了一个未知的错误。如果该问题再次发生,请联系支持

节省请求时间和联系支持;不要盲目重新尝试突变.

400error_category_already_exists
该名称的类别已经存在

应用逻辑中使用稳定的error_category_already_exists代码;localMessage包含上述翻译.

400error_empty_category_name
未注明类别名称

应用逻辑中使用稳定的error_empty_category_name代码;localMessage包含上述翻译.

400error_no_client
没有找到该客户或已被删除。写信给支持部门

应用逻辑中使用稳定的error_no_client代码;localMessage包含上述翻译.

400error_subscription_expired
你的费率已经过期。支付关税以继续使用该服务。

应用逻辑中使用稳定的error_subscription_expired代码;localMessage包含上述翻译.

DELETE

删除类别

/api/category/
具有写入的标志

使用 DELETE 删除类别

查询参数

字段类型必填描述
categoryIds integer[] 类别的身份证.
deleted boolean 删除了.
curl --request DELETE 'https://api.selsup.ru/api/category/?categoryIds=1&deleted=false' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200
"string"
错误3

应用错误通常以 JSON, error,localMessage和 params为回归. 如何返回应用错误 ↑

401auth_required
需要进行认证

Authorization 缺失,空,或包含无效的代币.

400error_access_denied
拒绝访问

代币存在,但它的作用不能执行这个操作.

500error_unknown
发生了一个未知的错误。如果该问题再次发生,请联系支持

节省请求时间和联系支持;不要盲目重新尝试突变.

GET

类别

/api/category/{id}
读取访问的标志

使用GETX/api/category/{id}.的类别

路径参数

字段类型必填描述
id integer · int32 Id.
curl --request GET 'https://api.selsup.ru/api/category/1001' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200
对象场 Category
字段类型必填描述
categoryId integer · int32 类别的ID.
name string 姓名.
deleted boolean 删除了.
parentId integer · int32 亲人身份证.
clientId integer · int64 客户身份证.
marked boolean 标记了.
categoryClass stringSHOES, LIGHT, DRUGS, CAMERA, TYRES, MILK, WATER, TOBACCO, FURS, BEER, BICYCLES, PERFUMES, ELECTRONIC, OTHER, NONE, FOOD, WHEELCHAIRS, OTP, NCP, BIO, ANTISEPTIC, NABEER, SOFTDRINKS, PETFOOD, SEAFOOD, MEAT, TOYS, TITAN, RADIO, OPTIC_FIBER, VEGETABLE_OIL, CONSERVE, VETPHARMA, CHEMISTRY, AUTOFLUIDS, GROCERY, BOOKS, CONSTRUCTION, FIRE, HEATER, CABLERAW, POLYMER, SWEETS, CARPARTS, NATURAL_FUR, NICOTINDEV, GADGETS, FROZEN, FERTILIZERS, HOMEWARE, VETBIO, INDUSTRIAL, PYROTECHNICS 类别类.
wildberriesType WildberriesType 野生类型.
对象场 WildberriesType
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
hasSize boolean 有大小.
monoBoxMinQuantity integer · int32 单盒子最小量.
monoType stringALWAYS, NEVER, MONO_IF_MIN_PRICE 单一类型.
monoMinPrice integer · int32 单小价格.
hasParent boolean 有父母.
parentId integer · int64 亲人身份证.
wildberriesId integer · int64 果的身份证.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
commission number · double 委员会.
fbsCommission number · double 联邦调查局.
fbwCommission number · double 联邦调查委员会.
dbsCommission number · double 美国联邦调查局
edbsCommission number · double 艾德斯委员会.
cAndCCommission number · double 委员会.
bookingCommission number · double 预订委员会.
logisticPrice integer · int32 后勤价格.
storagePrice number · double 存储价格.
acceptancePrice number · double 接受价格.
needDimensions boolean 需要维度.
purchasePercentAvg number · double 购买百分比 Avg.
purchasePercentMin number · double 购买百分比
photoAvg integer · int32 照片来源:
photoMin integer · int32 照片:
drrAvg number · double 艾夫博士.
drrMin number · double 博士.
marginAvg number · double 边缘 Avg.
marginMin number · double 边缘分.
candCCommission number · double 委员会.
wildberriesCategoryId integer · int64 野生类别的身份.
wildberriesFbmCommission number · double 野生果联邦调查委员会.
wildberriesFbwCommission number · double 野生果Fbw委员会.
wildberriesFbsCommission number · double 野生果联邦调查委员会.
wildberriesDbsCommission number · double 野生果食品委员会.
wildberriesEdbsCommission number · double 野生果养殖委员会.
wildberriesCAndCCommission number · double 果和果委员会.
wildberriesBookingCommission number · double 野生果预订委员会.
ozonDescriptionCategoryId integer · int64 臭氧描述类别ID.
yandexMarketCategoryId integer · int64 亚兰德克斯市场类别身份证
yandexMarketCategory YandexMarketCategory 亚兰德克斯市场类别
对象场 YandexMarketCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
parentId integer · int64 亲人身份证.
isLeaf boolean 是叶子.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
ozonDescriptionCategory OzonDescriptionCategory 臭氧描述类别
对象场 OzonDescriptionCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
parentId integer · int64 亲人身份证.
isLeaf boolean 是叶子.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
isError boolean 是错误.
errorDate string · date 错误日期
types string 类型.
typeId integer · int64 打印机号.
purchasePercentAvg number · double 购买百分比 Avg.
purchasePercentMin number · double 购买百分比
photoAvg integer · int32 照片来源:
photoMin integer · int32 照片:
drrAvg number · double 艾夫博士.
drrMin number · double 博士.
marginAvg number · double 边缘 Avg.
marginMin number · double 边缘分.
promotionCtrAvg number · double 升级, 检查员.
promotionCtrMin number · double 升级 升
ozonCommission number · double 臭氧委员会
tnved Tnved 没有.
对象场 Tnved
字段类型必填描述
id integer · int64 Id.
name string 姓名.
deleted boolean 删除了.
type stringSECTION, GROUP, PRODUCT, MAIN Type.
categoryClass stringSHOES, LIGHT, DRUGS, CAMERA, TYRES, MILK, WATER, TOBACCO, FURS, BEER, BICYCLES, PERFUMES, ELECTRONIC, OTHER, NONE, FOOD, WHEELCHAIRS, OTP, NCP, BIO, ANTISEPTIC, NABEER, SOFTDRINKS, PETFOOD, SEAFOOD, MEAT, TOYS, TITAN, RADIO, OPTIC_FIBER, VEGETABLE_OIL, CONSERVE, VETPHARMA, CHEMISTRY, AUTOFLUIDS, GROCERY, BOOKS, CONSTRUCTION, FIRE, HEATER, CABLERAW, POLYMER, SWEETS, CARPARTS, NATURAL_FUR, NICOTINDEV, GADGETS, FROZEN, FERTILIZERS, HOMEWARE, VETBIO, INDUSTRIAL, PYROTECHNICS 类别类.
parentId integer · int64 亲人身份证.
keywords string 关键词.
description string 描述
paramsTnvedId integer · int64 帕拉姆斯特内维德身份证.
isInParam boolean 在帕拉姆.
certification string 证书.
parentCode string 家庭代码.
code string Code.
certificationRequired boolean 需要获得证书.
tnvedId integer · int64 没有人知道.
laundry string 洗衣.
params string 帕姆斯.
namePattern string 姓名是模式.
aliexpressCategory AliexpressCategory 车类别
对象场 AliexpressCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
parentId integer · int64 亲人身份证.
aliexpressId integer · int64 快递证件
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
isLeaf boolean 是叶子.
aliexpressCategoryId integer · int64 标签: 标识:
avitoCategory AvitoCategory 类别
对象场 AvitoCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
shortName string 简短名字.
published boolean 发表了.
parentId integer · int64 亲人身份证.
lastSyncDate string · date-time 最后的同步日期.
isLeaf boolean 是叶子.
goodsType string 货物类型.
category string 类别.
lamodaCategory LamodaCategory 拉莫达类别.
对象场 LamodaCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
shortName string 简短名字.
published boolean 发表了.
isLeaf boolean 是叶子.
parentId integer · int64 亲人身份证.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
lamodaCategoryId integer · int64 拉莫达类别的身份证.
avitoCategoryId integer · int64 果类别的身份
packDepth integer · int32 包装深度.
packWidth integer · int32 包装宽度.
packHeight integer · int32 包高.
packWeight integer · int32 包装重量.
hasSize boolean 有大小.
hasColor boolean 有颜色.
autoName boolean 车名.
removeFbsStock boolean 删除FBS股票.
oneCId string 一个公告.
externalId string 其他身份证.
moySkladId string 子子的身份.
useClientParams boolean 使用客户端参数.
requiredExpirationDate boolean 要求到期日期
serviceCategoryMappings object 服务类别地图.
productCount integer · int32 产品数量
{
  "name": "Example",
  "categoryId": 1001,
  "deleted": false,
  "parentId": 1001,
  "clientId": 1001,
  "marked": false
}
错误3

应用错误通常以 JSON, error,localMessage和 params为回归. 如何返回应用错误 ↑

401auth_required
需要进行认证

Authorization 缺失,空,或包含无效的代币.

400error_access_denied
拒绝访问

代币存在,但它的作用不能执行这个操作.

500error_unknown
发生了一个未知的错误。如果该问题再次发生,请联系支持

节省请求时间和联系支持;不要盲目重新尝试突变.

GET

找 亚兰德克斯市场

/api/category/ym/find
读取访问的标志

使用 GET 找到Yandex市场

查询参数

字段类型必填描述
query string 问问.
limit integer · int32 限制.
curl --request GET 'https://api.selsup.ru/api/category/ym/find?query=string&limit=50' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200
阵列项结构 YandexMarketCategory[]
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
parentId integer · int64 亲人身份证.
isLeaf boolean 是叶子.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
[
  "string"
]
错误3

应用错误通常以 JSON, error,localMessage和 params为回归. 如何返回应用错误 ↑

401auth_required
需要进行认证

Authorization 缺失,空,或包含无效的代币.

400error_access_denied
拒绝访问

代币存在,但它的作用不能执行这个操作.

500error_unknown
发生了一个未知的错误。如果该问题再次发生,请联系支持

节省请求时间和联系支持;不要盲目重新尝试突变.

GET

找野生类型

/api/category/wildberries/find
读取访问的标志

使用 GET /api/category/wildberries/find. 找野生类型

查询参数

字段类型必填描述
query string 问问.
limit integer · int32 限制.
curl --request GET 'https://api.selsup.ru/api/category/wildberries/find?query=string&limit=50' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200
阵列项结构 WildberriesType[]
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
hasSize boolean 有大小.
monoBoxMinQuantity integer · int32 单盒子最小量.
monoType stringALWAYS, NEVER, MONO_IF_MIN_PRICE 单一类型.
monoMinPrice integer · int32 单小价格.
hasParent boolean 有父母.
parentId integer · int64 亲人身份证.
wildberriesId integer · int64 果的身份证.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
commission number · double 委员会.
fbsCommission number · double 联邦调查局.
fbwCommission number · double 联邦调查委员会.
dbsCommission number · double 美国联邦调查局
edbsCommission number · double 艾德斯委员会.
cAndCCommission number · double 委员会.
bookingCommission number · double 预订委员会.
logisticPrice integer · int32 后勤价格.
storagePrice number · double 存储价格.
acceptancePrice number · double 接受价格.
needDimensions boolean 需要维度.
purchasePercentAvg number · double 购买百分比 Avg.
purchasePercentMin number · double 购买百分比
photoAvg integer · int32 照片来源:
photoMin integer · int32 照片:
drrAvg number · double 艾夫博士.
drrMin number · double 博士.
marginAvg number · double 边缘 Avg.
marginMin number · double 边缘分.
candCCommission number · double 委员会.
[
  "string"
]
错误3

应用错误通常以 JSON, error,localMessage和 params为回归. 如何返回应用错误 ↑

401auth_required
需要进行认证

Authorization 缺失,空,或包含无效的代币.

400error_access_denied
拒绝访问

代币存在,但它的作用不能执行这个操作.

500error_unknown
发生了一个未知的错误。如果该问题再次发生,请联系支持

节省请求时间和联系支持;不要盲目重新尝试突变.

GET

找类别

/api/category/suggest
读取访问的标志

使用 GET 找到类别

查询参数

字段类型必填描述
query string 问问.
limit integer · int32 限制.
curl --request GET 'https://api.selsup.ru/api/category/suggest?query=string&limit=50' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200
阵列项结构 Category[]
字段类型必填描述
categoryId integer · int32 类别的ID.
name string 姓名.
deleted boolean 删除了.
parentId integer · int32 亲人身份证.
clientId integer · int64 客户身份证.
marked boolean 标记了.
categoryClass stringSHOES, LIGHT, DRUGS, CAMERA, TYRES, MILK, WATER, TOBACCO, FURS, BEER, BICYCLES, PERFUMES, ELECTRONIC, OTHER, NONE, FOOD, WHEELCHAIRS, OTP, NCP, BIO, ANTISEPTIC, NABEER, SOFTDRINKS, PETFOOD, SEAFOOD, MEAT, TOYS, TITAN, RADIO, OPTIC_FIBER, VEGETABLE_OIL, CONSERVE, VETPHARMA, CHEMISTRY, AUTOFLUIDS, GROCERY, BOOKS, CONSTRUCTION, FIRE, HEATER, CABLERAW, POLYMER, SWEETS, CARPARTS, NATURAL_FUR, NICOTINDEV, GADGETS, FROZEN, FERTILIZERS, HOMEWARE, VETBIO, INDUSTRIAL, PYROTECHNICS 类别类.
wildberriesType WildberriesType 野生类型.
对象场 WildberriesType
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
hasSize boolean 有大小.
monoBoxMinQuantity integer · int32 单盒子最小量.
monoType stringALWAYS, NEVER, MONO_IF_MIN_PRICE 单一类型.
monoMinPrice integer · int32 单小价格.
hasParent boolean 有父母.
parentId integer · int64 亲人身份证.
wildberriesId integer · int64 果的身份证.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
commission number · double 委员会.
fbsCommission number · double 联邦调查局.
fbwCommission number · double 联邦调查委员会.
dbsCommission number · double 美国联邦调查局
edbsCommission number · double 艾德斯委员会.
cAndCCommission number · double 委员会.
bookingCommission number · double 预订委员会.
logisticPrice integer · int32 后勤价格.
storagePrice number · double 存储价格.
acceptancePrice number · double 接受价格.
needDimensions boolean 需要维度.
purchasePercentAvg number · double 购买百分比 Avg.
purchasePercentMin number · double 购买百分比
photoAvg integer · int32 照片来源:
photoMin integer · int32 照片:
drrAvg number · double 艾夫博士.
drrMin number · double 博士.
marginAvg number · double 边缘 Avg.
marginMin number · double 边缘分.
candCCommission number · double 委员会.
wildberriesCategoryId integer · int64 野生类别的身份.
wildberriesFbmCommission number · double 野生果联邦调查委员会.
wildberriesFbwCommission number · double 野生果Fbw委员会.
wildberriesFbsCommission number · double 野生果联邦调查委员会.
wildberriesDbsCommission number · double 野生果食品委员会.
wildberriesEdbsCommission number · double 野生果养殖委员会.
wildberriesCAndCCommission number · double 果和果委员会.
wildberriesBookingCommission number · double 野生果预订委员会.
ozonDescriptionCategoryId integer · int64 臭氧描述类别ID.
yandexMarketCategoryId integer · int64 亚兰德克斯市场类别身份证
yandexMarketCategory YandexMarketCategory 亚兰德克斯市场类别
对象场 YandexMarketCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
parentId integer · int64 亲人身份证.
isLeaf boolean 是叶子.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
ozonDescriptionCategory OzonDescriptionCategory 臭氧描述类别
对象场 OzonDescriptionCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
parentId integer · int64 亲人身份证.
isLeaf boolean 是叶子.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
isError boolean 是错误.
errorDate string · date 错误日期
types string 类型.
typeId integer · int64 打印机号.
purchasePercentAvg number · double 购买百分比 Avg.
purchasePercentMin number · double 购买百分比
photoAvg integer · int32 照片来源:
photoMin integer · int32 照片:
drrAvg number · double 艾夫博士.
drrMin number · double 博士.
marginAvg number · double 边缘 Avg.
marginMin number · double 边缘分.
promotionCtrAvg number · double 升级, 检查员.
promotionCtrMin number · double 升级 升
ozonCommission number · double 臭氧委员会
tnved Tnved 没有.
对象场 Tnved
字段类型必填描述
id integer · int64 Id.
name string 姓名.
deleted boolean 删除了.
type stringSECTION, GROUP, PRODUCT, MAIN Type.
categoryClass stringSHOES, LIGHT, DRUGS, CAMERA, TYRES, MILK, WATER, TOBACCO, FURS, BEER, BICYCLES, PERFUMES, ELECTRONIC, OTHER, NONE, FOOD, WHEELCHAIRS, OTP, NCP, BIO, ANTISEPTIC, NABEER, SOFTDRINKS, PETFOOD, SEAFOOD, MEAT, TOYS, TITAN, RADIO, OPTIC_FIBER, VEGETABLE_OIL, CONSERVE, VETPHARMA, CHEMISTRY, AUTOFLUIDS, GROCERY, BOOKS, CONSTRUCTION, FIRE, HEATER, CABLERAW, POLYMER, SWEETS, CARPARTS, NATURAL_FUR, NICOTINDEV, GADGETS, FROZEN, FERTILIZERS, HOMEWARE, VETBIO, INDUSTRIAL, PYROTECHNICS 类别类.
parentId integer · int64 亲人身份证.
keywords string 关键词.
description string 描述
paramsTnvedId integer · int64 帕拉姆斯特内维德身份证.
isInParam boolean 在帕拉姆.
certification string 证书.
parentCode string 家庭代码.
code string Code.
certificationRequired boolean 需要获得证书.
tnvedId integer · int64 没有人知道.
laundry string 洗衣.
params string 帕姆斯.
namePattern string 姓名是模式.
aliexpressCategory AliexpressCategory 车类别
对象场 AliexpressCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
parentId integer · int64 亲人身份证.
aliexpressId integer · int64 快递证件
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
isLeaf boolean 是叶子.
aliexpressCategoryId integer · int64 标签: 标识:
avitoCategory AvitoCategory 类别
对象场 AvitoCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
shortName string 简短名字.
published boolean 发表了.
parentId integer · int64 亲人身份证.
lastSyncDate string · date-time 最后的同步日期.
isLeaf boolean 是叶子.
goodsType string 货物类型.
category string 类别.
lamodaCategory LamodaCategory 拉莫达类别.
对象场 LamodaCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
shortName string 简短名字.
published boolean 发表了.
isLeaf boolean 是叶子.
parentId integer · int64 亲人身份证.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
lamodaCategoryId integer · int64 拉莫达类别的身份证.
avitoCategoryId integer · int64 果类别的身份
packDepth integer · int32 包装深度.
packWidth integer · int32 包装宽度.
packHeight integer · int32 包高.
packWeight integer · int32 包装重量.
hasSize boolean 有大小.
hasColor boolean 有颜色.
autoName boolean 车名.
removeFbsStock boolean 删除FBS股票.
oneCId string 一个公告.
externalId string 其他身份证.
moySkladId string 子子的身份.
useClientParams boolean 使用客户端参数.
requiredExpirationDate boolean 要求到期日期
serviceCategoryMappings object 服务类别地图.
productCount integer · int32 产品数量
[
  "string"
]
错误4

应用错误通常以 JSON, error,localMessage和 params为回归. 如何返回应用错误 ↑

401auth_required
需要进行认证

Authorization 缺失,空,或包含无效的代币.

400error_access_denied
拒绝访问

代币存在,但它的作用不能执行这个操作.

500error_unknown
发生了一个未知的错误。如果该问题再次发生,请联系支持

节省请求时间和联系支持;不要盲目重新尝试突变.

400error_no_client
没有找到该客户或已被删除。写信给支持部门

应用逻辑中使用稳定的error_no_client代码;localMessage包含上述翻译.

GET

找子

/api/category/ozon/find
读取访问的标志

使用 GET /api/category/ozon/find. 找到臭氧

查询参数

字段类型必填描述
query string 问问.
limit integer · int32 限制.
curl --request GET 'https://api.selsup.ru/api/category/ozon/find?query=string&limit=50' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200
阵列项结构 OzonDescriptionCategory[]
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
parentId integer · int64 亲人身份证.
isLeaf boolean 是叶子.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
isError boolean 是错误.
errorDate string · date 错误日期
types string 类型.
typeId integer · int64 打印机号.
purchasePercentAvg number · double 购买百分比 Avg.
purchasePercentMin number · double 购买百分比
photoAvg integer · int32 照片来源:
photoMin integer · int32 照片:
drrAvg number · double 艾夫博士.
drrMin number · double 博士.
marginAvg number · double 边缘 Avg.
marginMin number · double 边缘分.
promotionCtrAvg number · double 升级, 检查员.
promotionCtrMin number · double 升级 升
[
  "string"
]
错误3

应用错误通常以 JSON, error,localMessage和 params为回归. 如何返回应用错误 ↑

401auth_required
需要进行认证

Authorization 缺失,空,或包含无效的代币.

400error_access_denied
拒绝访问

代币存在,但它的作用不能执行这个操作.

500error_unknown
发生了一个未知的错误。如果该问题再次发生,请联系支持

节省请求时间和联系支持;不要盲目重新尝试突变.

GET

找拉莫达

/api/category/lamoda/find
读取访问的标志

使用 GET /api/category/lamoda/find. 找到Lamoda

查询参数

字段类型必填描述
query string 问问.
limit integer · int32 限制.
curl --request GET 'https://api.selsup.ru/api/category/lamoda/find?query=string&limit=50' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200
阵列项结构 LamodaCategory[]
字段类型必填描述
id integer · int64 Id.
name string 姓名.
shortName string 简短名字.
published boolean 发表了.
isLeaf boolean 是叶子.
parentId integer · int64 亲人身份证.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
[
  "string"
]
错误3

应用错误通常以 JSON, error,localMessage和 params为回归. 如何返回应用错误 ↑

401auth_required
需要进行认证

Authorization 缺失,空,或包含无效的代币.

400error_access_denied
拒绝访问

代币存在,但它的作用不能执行这个操作.

500error_unknown
发生了一个未知的错误。如果该问题再次发生,请联系支持

节省请求时间和联系支持;不要盲目重新尝试突变.

GET

找卡斯皮

/api/category/kaspi/find
读取访问的标志

使用GET/api/category/kaspi/find.找到Kaspi

查询参数

字段类型必填描述
query string 问问.
limit integer · int32 限制.
curl --request GET 'https://api.selsup.ru/api/category/kaspi/find?query=string&limit=50' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200
阵列项结构 KaspiCategory[]
字段类型必填描述
id integer · int64 Id.
code string Code.
name string 姓名.
published boolean 发表了.
isLeaf boolean 是叶子.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
[
  "string"
]
错误3

应用错误通常以 JSON, error,localMessage和 params为回归. 如何返回应用错误 ↑

401auth_required
需要进行认证

Authorization 缺失,空,或包含无效的代币.

400error_access_denied
拒绝访问

代币存在,但它的作用不能执行这个操作.

500error_unknown
发生了一个未知的错误。如果该问题再次发生,请联系支持

节省请求时间和联系支持;不要盲目重新尝试突变.

GET

类别找到

/api/category/find
读取访问的标志

使用 GET /api/category/find. 找到类别

查询参数

字段类型必填描述
query string 问问.
actual boolean 实际的.
ozonCategoryId integer · int64 臭氧类别的ID.
aliexpressCategoryId integer · int64 标签: 标识:
categoryOneCId string 类型一的信息化.
services string[] 服务.
withProductCount boolean 随着产品数量.
limit integer · int32 限制.
page integer · int32 页面.
count boolean 伯爵.
sortBy stringCATEGORYID, NAME, CATEGORYCLASS, TNVED, MARKED 排序了.
ascending boolean 升高.
curl --request GET 'https://api.selsup.ru/api/category/find?limit=50&page=1' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200
对象场 FindResponseCategory
字段类型必填描述
rows Category[] 排列.
阵列项结构 Category
字段类型必填描述
categoryId integer · int32 类别的ID.
name string 姓名.
deleted boolean 删除了.
parentId integer · int32 亲人身份证.
clientId integer · int64 客户身份证.
marked boolean 标记了.
categoryClass stringSHOES, LIGHT, DRUGS, CAMERA, TYRES, MILK, WATER, TOBACCO, FURS, BEER, BICYCLES, PERFUMES, ELECTRONIC, OTHER, NONE, FOOD, WHEELCHAIRS, OTP, NCP, BIO, ANTISEPTIC, NABEER, SOFTDRINKS, PETFOOD, SEAFOOD, MEAT, TOYS, TITAN, RADIO, OPTIC_FIBER, VEGETABLE_OIL, CONSERVE, VETPHARMA, CHEMISTRY, AUTOFLUIDS, GROCERY, BOOKS, CONSTRUCTION, FIRE, HEATER, CABLERAW, POLYMER, SWEETS, CARPARTS, NATURAL_FUR, NICOTINDEV, GADGETS, FROZEN, FERTILIZERS, HOMEWARE, VETBIO, INDUSTRIAL, PYROTECHNICS 类别类.
wildberriesType WildberriesType 野生类型.
对象场 WildberriesType
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
hasSize boolean 有大小.
monoBoxMinQuantity integer · int32 单盒子最小量.
monoType stringALWAYS, NEVER, MONO_IF_MIN_PRICE 单一类型.
monoMinPrice integer · int32 单小价格.
hasParent boolean 有父母.
parentId integer · int64 亲人身份证.
wildberriesId integer · int64 果的身份证.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
commission number · double 委员会.
fbsCommission number · double 联邦调查局.
fbwCommission number · double 联邦调查委员会.
dbsCommission number · double 美国联邦调查局
edbsCommission number · double 艾德斯委员会.
cAndCCommission number · double 委员会.
bookingCommission number · double 预订委员会.
logisticPrice integer · int32 后勤价格.
storagePrice number · double 存储价格.
acceptancePrice number · double 接受价格.
needDimensions boolean 需要维度.
purchasePercentAvg number · double 购买百分比 Avg.
purchasePercentMin number · double 购买百分比
photoAvg integer · int32 照片来源:
photoMin integer · int32 照片:
drrAvg number · double 艾夫博士.
drrMin number · double 博士.
marginAvg number · double 边缘 Avg.
marginMin number · double 边缘分.
candCCommission number · double 委员会.
wildberriesCategoryId integer · int64 野生类别的身份.
wildberriesFbmCommission number · double 野生果联邦调查委员会.
wildberriesFbwCommission number · double 野生果Fbw委员会.
wildberriesFbsCommission number · double 野生果联邦调查委员会.
wildberriesDbsCommission number · double 野生果食品委员会.
wildberriesEdbsCommission number · double 野生果养殖委员会.
wildberriesCAndCCommission number · double 果和果委员会.
wildberriesBookingCommission number · double 野生果预订委员会.
ozonDescriptionCategoryId integer · int64 臭氧描述类别ID.
yandexMarketCategoryId integer · int64 亚兰德克斯市场类别身份证
yandexMarketCategory YandexMarketCategory 亚兰德克斯市场类别
对象场 YandexMarketCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
parentId integer · int64 亲人身份证.
isLeaf boolean 是叶子.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
ozonDescriptionCategory OzonDescriptionCategory 臭氧描述类别
对象场 OzonDescriptionCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
parentId integer · int64 亲人身份证.
isLeaf boolean 是叶子.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
isError boolean 是错误.
errorDate string · date 错误日期
types string 类型.
typeId integer · int64 打印机号.
purchasePercentAvg number · double 购买百分比 Avg.
purchasePercentMin number · double 购买百分比
photoAvg integer · int32 照片来源:
photoMin integer · int32 照片:
drrAvg number · double 艾夫博士.
drrMin number · double 博士.
marginAvg number · double 边缘 Avg.
marginMin number · double 边缘分.
promotionCtrAvg number · double 升级, 检查员.
promotionCtrMin number · double 升级 升
ozonCommission number · double 臭氧委员会
tnved Tnved 没有.
对象场 Tnved
字段类型必填描述
id integer · int64 Id.
name string 姓名.
deleted boolean 删除了.
type stringSECTION, GROUP, PRODUCT, MAIN Type.
categoryClass stringSHOES, LIGHT, DRUGS, CAMERA, TYRES, MILK, WATER, TOBACCO, FURS, BEER, BICYCLES, PERFUMES, ELECTRONIC, OTHER, NONE, FOOD, WHEELCHAIRS, OTP, NCP, BIO, ANTISEPTIC, NABEER, SOFTDRINKS, PETFOOD, SEAFOOD, MEAT, TOYS, TITAN, RADIO, OPTIC_FIBER, VEGETABLE_OIL, CONSERVE, VETPHARMA, CHEMISTRY, AUTOFLUIDS, GROCERY, BOOKS, CONSTRUCTION, FIRE, HEATER, CABLERAW, POLYMER, SWEETS, CARPARTS, NATURAL_FUR, NICOTINDEV, GADGETS, FROZEN, FERTILIZERS, HOMEWARE, VETBIO, INDUSTRIAL, PYROTECHNICS 类别类.
parentId integer · int64 亲人身份证.
keywords string 关键词.
description string 描述
paramsTnvedId integer · int64 帕拉姆斯特内维德身份证.
isInParam boolean 在帕拉姆.
certification string 证书.
parentCode string 家庭代码.
code string Code.
certificationRequired boolean 需要获得证书.
tnvedId integer · int64 没有人知道.
laundry string 洗衣.
params string 帕姆斯.
namePattern string 姓名是模式.
aliexpressCategory AliexpressCategory 车类别
对象场 AliexpressCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
parentId integer · int64 亲人身份证.
aliexpressId integer · int64 快递证件
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
isLeaf boolean 是叶子.
aliexpressCategoryId integer · int64 标签: 标识:
avitoCategory AvitoCategory 类别
对象场 AvitoCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
shortName string 简短名字.
published boolean 发表了.
parentId integer · int64 亲人身份证.
lastSyncDate string · date-time 最后的同步日期.
isLeaf boolean 是叶子.
goodsType string 货物类型.
category string 类别.
lamodaCategory LamodaCategory 拉莫达类别.
对象场 LamodaCategory
字段类型必填描述
id integer · int64 Id.
name string 姓名.
shortName string 简短名字.
published boolean 发表了.
isLeaf boolean 是叶子.
parentId integer · int64 亲人身份证.
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
lamodaCategoryId integer · int64 拉莫达类别的身份证.
avitoCategoryId integer · int64 果类别的身份
packDepth integer · int32 包装深度.
packWidth integer · int32 包装宽度.
packHeight integer · int32 包高.
packWeight integer · int32 包装重量.
hasSize boolean 有大小.
hasColor boolean 有颜色.
autoName boolean 车名.
removeFbsStock boolean 删除FBS股票.
oneCId string 一个公告.
externalId string 其他身份证.
moySkladId string 子子的身份.
useClientParams boolean 使用客户端参数.
requiredExpirationDate boolean 要求到期日期
serviceCategoryMappings object 服务类别地图.
productCount integer · int32 产品数量
{
  "rows": "string"
}
错误4

应用错误通常以 JSON, error,localMessage和 params为回归. 如何返回应用错误 ↑

401auth_required
需要进行认证

Authorization 缺失,空,或包含无效的代币.

400error_access_denied
拒绝访问

代币存在,但它的作用不能执行这个操作.

500error_unknown
发生了一个未知的错误。如果该问题再次发生,请联系支持

节省请求时间和联系支持;不要盲目重新尝试突变.

400error_no_client
没有找到该客户或已被删除。写信给支持部门

应用逻辑中使用稳定的error_no_client代码;localMessage包含上述翻译.

GET

找 Avito 分类

/api/category/avito/find
读取访问的标志

使用 GET /api/category/avito/find. 找到Avido类别

查询参数

字段类型必填描述
query string 问问.
limit integer · int32 限制.
curl --request GET 'https://api.selsup.ru/api/category/avito/find?query=string&limit=50' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200
阵列项结构 AvitoCategory[]
字段类型必填描述
id integer · int64 Id.
name string 姓名.
shortName string 简短名字.
published boolean 发表了.
parentId integer · int64 亲人身份证.
lastSyncDate string · date-time 最后的同步日期.
isLeaf boolean 是叶子.
goodsType string 货物类型.
category string 类别.
[
  "string"
]
错误3

应用错误通常以 JSON, error,localMessage和 params为回归. 如何返回应用错误 ↑

401auth_required
需要进行认证

Authorization 缺失,空,或包含无效的代币.

400error_access_denied
拒绝访问

代币存在,但它的作用不能执行这个操作.

500error_unknown
发生了一个未知的错误。如果该问题再次发生,请联系支持

节省请求时间和联系支持;不要盲目重新尝试突变.

GET

找 Aliexpress 分类

/api/category/aliexpress/find
读取访问的标志

使用 GET /api/category/aliexpress/find. 搜索Aliexpress类别

查询参数

字段类型必填描述
query string 问问.
limit integer · int32 限制.
curl --request GET 'https://api.selsup.ru/api/category/aliexpress/find?query=string&limit=50' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200
阵列项结构 AliexpressCategory[]
字段类型必填描述
id integer · int64 Id.
name string 姓名.
published boolean 发表了.
parentId integer · int64 亲人身份证.
aliexpressId integer · int64 快递证件
lastSyncDate string · date-time 最后的同步日期.
notChangedDays integer · int32 没有改变的日子.
isLeaf boolean 是叶子.
[
  "string"
]
错误3

应用错误通常以 JSON, error,localMessage和 params为回归. 如何返回应用错误 ↑

401auth_required
需要进行认证

Authorization 缺失,空,或包含无效的代币.

400error_access_denied
拒绝访问

代币存在,但它的作用不能执行这个操作.

500error_unknown
发生了一个未知的错误。如果该问题再次发生,请联系支持

节省请求时间和联系支持;不要盲目重新尝试突变.

DELETE

删除类别参数

/api/category/{categoryId}/param/{paramId}
具有写入的标志

使用 DELETE /api/category/{categoryId}/param/{paramId}.删除类别参数

路径参数

字段类型必填描述
paramId integer · int64 位名单.
categoryId integer · int32 类别的ID.
curl --request DELETE 'https://api.selsup.ru/api/category/1001/param/1001' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200

答案没有身体.

错误5

应用错误通常以 JSON, error,localMessage和 params为回归. 如何返回应用错误 ↑

401auth_required
需要进行认证

Authorization 缺失,空,或包含无效的代币.

400error_access_denied
拒绝访问

代币存在,但它的作用不能执行这个操作.

500error_unknown
发生了一个未知的错误。如果该问题再次发生,请联系支持

节省请求时间和联系支持;不要盲目重新尝试突变.

400error_no_client
没有找到该客户或已被删除。写信给支持部门

应用逻辑中使用稳定的error_no_client代码;localMessage包含上述翻译.

400error_subscription_expired
你的费率已经过期。支付关税以继续使用该服务。

应用逻辑中使用稳定的error_subscription_expired代码;localMessage包含上述翻译.

DELETE

档案类别

/api/category/{categoryId}/archive
具有写入的标志

使用 DELETE /api/category/{categoryId}/archive. 的档案类别

路径参数

字段类型必填描述
categoryId integer · int32 类别的ID.
curl --request DELETE 'https://api.selsup.ru/api/category/1001/archive' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200
"string"
错误3

应用错误通常以 JSON, error,localMessage和 params为回归. 如何返回应用错误 ↑

401auth_required
需要进行认证

Authorization 缺失,空,或包含无效的代币.

400error_access_denied
拒绝访问

代币存在,但它的作用不能执行这个操作.

500error_unknown
发生了一个未知的错误。如果该问题再次发生,请联系支持

节省请求时间和联系支持;不要盲目重新尝试突变.

DELETE

删除类别 1

/api/category
具有写入的标志

使用 DELETE /api/category.删除类别1

查询参数

字段类型必填描述
categoryIds integer[] 类别的身份证.
deleted boolean 删除了.
curl --request DELETE 'https://api.selsup.ru/api/category?categoryIds=1&deleted=false' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200
"string"
错误3

应用错误通常以 JSON, error,localMessage和 params为回归. 如何返回应用错误 ↑

401auth_required
需要进行认证

Authorization 缺失,空,或包含无效的代币.

400error_access_denied
拒绝访问

代币存在,但它的作用不能执行这个操作.

500error_unknown
发生了一个未知的错误。如果该问题再次发生,请联系支持

节省请求时间和联系支持;不要盲目重新尝试突变.

Authorization

测试请求的标志

代币存储在本浏览器的本地存储库中,只会在要求的Authorization头上发送到 api.selsup.ru.

试一试

实际请求参数

现场API响应

发送请求查看SelSup的响应.