SelSup Developers

公共的 API · 参考 API

仓库

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

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

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

/api/warehouse

准备使用的工作流程

准备使用的工作流程

01

开始使用仓库

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

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

数据模型

数据结构

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

Address15 字段
idinteger · int32

Id.

postCodestring

邮政代码.

countryCountry

乡村.

regionRegion

地区.

regionIdinteger · int32

区域ID

streetstring

路上.

housestring

房子.

districtstring

地区.

citystring

城市.

localitystring

地方.

buildingstring

建筑物.

flatstring

没有什么.

shortstring

短暂.

addressIdAddress

联系方式

fullstring

满满.

Cell16 字段
idinteger · int32

Id.

read-only
warehouseIdinteger · int64

仓库身份证.

passageIdinteger · int32

通过身份证.

shelfIdinteger · int32

货架身份证.

rackIdinteger · int32

查看身份证.

namestring

姓名.

fullNamestring

完整名字.

sortNamestring

某种名字.

barcodestring

条码.

deletedboolean

删除了.

widthinteger · int32

宽度.

heightinteger · int32

高.

depthinteger · int32

深度.

clientIdinteger · int64

客户身份证.

read-only
lastInventoryIdinteger · int32

最后的库存身份证.

read-only
typestring

Type.

Country6 字段
countryIdinteger · int32

国家的身份证.

namestring

姓名.

code2string

代码2

code3string

代码3

namesobject

他们的名字.

printNamestring

打印名字.

Organization33 字段
idinteger · int64

Id.

read-only
namestring

姓名.

必填
shortNamestring

简短名字.

taxTypestring

税收类型.

taxRateinteger · int32

税率.

taxNdsinteger · int32

税收.

inputTaxNdsinteger · int32

输入税税.

outputTaxNdsinteger · int32

产出税法

enableNewTaxCalculationboolean

启用新的税收计算.

useNdsCostPriceboolean

使用NDS成本价格.

innstring

酒店.

必填
kppstring

现在,我们要去.

bankstring

银行.

bikstring

骑自行车.

corrBillstring

科尔比尔.

billNumberstring

账号号.

stampPathstring

邮票路径.

read-only
stampUrlstring

邮票URL.

read-only
stampSizeinteger · int32

邮票大小.

read-only
stampWidthinteger · int32

盖章宽度.

read-only
stampHeightinteger · int32

邮票高度.

read-only
signaturePathstring

签字之路.

read-only
signatureUrlstring

签字的URL.

read-only
signatureSizeinteger · int32

签名大小.

read-only
signatureWidthinteger · int32

签字宽度.

read-only
signatureHeightinteger · int32

签字高度.

read-only
ipPersonPerson

个人.

formstring

形式.

必填
ipboolean

,我知道.

clientIdinteger · int64

客户身份证.

read-only
addressAddress

现在,我有个地址.

phoneNumberstring

电话号码.

addressFullstring

地址是完整的.

read-only
Passage6 字段
idinteger · int32

Id.

namestring

姓名.

warehouseIdinteger · int64

仓库身份证.

deletedboolean

删除了.

clientIdinteger · int64

客户身份证.

racksRack[]

货架.

Person14 字段
personIdinteger · int64

个人身份证.

read-only
firstNamestring

姓名

必填
lastNamestring

姓名

必填
surNamestring

苏尔名

clientIdinteger · int64

客户身份证.

read-only
positionPersonPosition

位置.

必填
versionIdinteger · int64

版本ID.

read-only
createdUserstring

创建用户.

read-only
createdDatestring · date-time

创造日期.

read-only
deletedboolean

删除了.

read-only
userIdinteger · int32

用户身份证

read-only
hasChangesboolean

有变化.

fullNamestring

完整名字.

read-only
shortNamestring

简短名字.

read-only
PersonPosition7 字段
idinteger · int64

Id.

read-only
namestring

姓名.

必填
deletedboolean

删除了.

read-only
clientIdinteger · int64

客户身份证.

read-only
defaultJobIdinteger · int64

默认工作身份证.

createdUserstring

创建用户.

read-only
createdDatestring · date-time

创造日期.

read-only
Rack7 字段
idinteger · int32

Id.

namestring

姓名.

warehouseIdinteger · int64

仓库身份证.

passageIdinteger · int32

通过身份证.

deletedboolean

删除了.

clientIdinteger · int64

客户身份证.

shelvesShelf[]

货架.

Region4 字段
regionIdinteger · int32

区域ID

countryIdinteger · int32

国家的身份证.

namestring

姓名.

regionSynonymsRegionSynonym[]

区域同义词

RegionSynonym4 字段
idinteger · int64

Id.

regionIdinteger · int64

区域ID

synonymstring

标语是同义词.

servicestring

服务.

ServiceWarehouse7 字段
idinteger · int64

Id.

read-only
namestring

姓名.

必填
externalIdstring

其他身份证.

必填
warehouseIdinteger · int64

仓库身份证.

必填
servicestring

服务.

必填
organizationIdinteger · int64

组织身份证.

必填
serviceOrganizationIdinteger · int64

服务组织身份证.

Shelf7 字段
idinteger · int32

Id.

namestring

姓名.

warehouseIdinteger · int64

仓库身份证.

rackIdinteger · int32

查看身份证.

deletedboolean

删除了.

clientIdinteger · int64

客户身份证.

cellsCell[]

细胞.

Warehouse43 字段
idinteger · int64

Id.

namestring

姓名.

servicestring

服务.

organizationIdinteger · int64

组织身份证.

fboOrganizationIdinteger · int64

联邦调查局组织身份证.

noPlaceCellIdinteger · int32

没有地方细胞身份证.

noPlaceCellCell

没有地方细胞.

refundCellIdinteger · int32

退还电话身份证.

organizationOrganization

组织.

priorityinteger · int32

优先考虑.

useForOrderboolean

为了秩序而使用.

clientIdinteger · int64

客户身份证.

externalNamestring

其他名字

notSyncStocksboolean

没有同步股票.

ignoreOrdersboolean

忽略命令.

passagesPassage[]

经文.

warehouseServicesServiceWarehouse[]

仓库服务.

deliveriesobject

交货.

deletedboolean

删除了.

captionstring

标题

durationHoursinteger · int32

时间时间

reservationDaysinteger · int32

预订日.

schedulestring

时间表.

urAddressstring

您的地址

citystring

城市.

longitudenumber · double

长度.

latitudenumber · double

广度.

warehouseServiceIdinteger · int64

仓库服务身份证.

warehouseTypestring

仓库类型.

descriptionstring

描述

inninteger · int64

酒店.

kppinteger · int64

现在,我们要去.

paymentAccountstring

支付账户

telephonestring

电话.

regionNamestring

区域名称

regionRegion

地区.

regionIdinteger · int32

区域ID

isPrepayOnlineboolean

现在,我们在网上做了预付.

isCashboolean

这是现金.

isCardboolean

是卡德.

isGoodsActiveboolean

货物活动.

orgIdWarehouse

组织身份证.

addressstring

现在,我有个地址.

CellFilter5 字段
cellIdinteger · int32

电话身份证.

shelfIdinteger · int32

货架身份证.

rackIdinteger · int32

查看身份证.

passageIdinteger · int32

通过身份证.

warehouseIdinteger · int64

仓库身份证.

ImportResult2 字段
createdinteger · int32

创造了.

updatedinteger · int32

更新了.

Coordinates2 字段
latitudenumber · double

广度.

longitudenumber · double

长度.

OzonFboWarehouse5 字段
addressstring

现在,我有个地址.

namestring

姓名.

coordinatesCoordinates

坐标.

warehouse_idinteger · int64

仓库身份证.

warehouse_typestring

仓库类型.

WarehouseOfService2 字段
idobject

Id.

namestring

姓名.

WarehouseBalancesWithPrices11 字段
warehouseIdinteger · int64

仓库身份证.

quantityinteger · int32

量量.

distinctQuantityinteger · int64

显而易见的数量.

purchasePricenumber · double

买价.

additionalExpensesAmountnumber · double

额外费用

wildberriesRetailPricenumber · double

野生果零售价格

ozonRetailPricenumber · double

子零售价格

yandexMarketRetailPricenumber · double

亚兰德克斯市场零售价格

aliexpressRetailPricenumber · double

果零售价格

sberMegaMarketRetailPricenumber · double

瑞银大市场零售价格

retailPriceByMarketplacenumber · double

按市场价格.

错误合同

如何返回应用错误

编程的代码在每个地方都相同,而用户面向的消息由服务器翻译. 建立在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"
  }
}

终点

终点

GET

仓库ID

/api/warehouse/{warehouseId}
读取访问的标志

使用GETX/api/warehouse/{warehouseId}.的仓库ID

路径参数

字段类型必填描述
warehouseId integer · int64 仓库身份证.
curl --request GET 'https://api.selsup.ru/api/warehouse/1001' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200
对象场 Warehouse
字段类型必填描述
id integer · int64 Id.
name string 姓名.
service stringNONE, WILDBERRIES, OZON, YANDEX_MARKET, FAMILIYA, NATIONAL_CATALOG, ALIEXPRESS, OTHER, MOY_SKLAD, SBER_MEGA_MARKET, CISLINK, ONE_C, AVITO, LEROY_MERLIN, DETMIR, KAZAN_EXPRESS, EVOTOR, WEBASYST, AMAZON, EBAY, SIMALAND, INSALES, LAMODA, OZON_PERFORMANCE, WALMART, GOOGLE, YANDEX_DISC, EMAIL, WOOCOMMERCE, MAGNIT, OPENCART, M_VIDEO, TAKEALOT, UZUM, SHOPIFY, MAKRO, YANDEX_KIT, BOB_SHOP, KASPI, DIADOC 服务.
organizationId integer · int64 组织身份证.
fboOrganizationId integer · int64 联邦调查局组织身份证.
noPlaceCellId integer · int32 没有地方细胞身份证.
noPlaceCell Cell 没有地方细胞.
对象场 Cell
字段类型必填描述
id integer · int32 Id.
warehouseId integer · int64 仓库身份证.
passageId integer · int32 通过身份证.
shelfId integer · int32 货架身份证.
rackId integer · int32 查看身份证.
name string 姓名.
fullName string 完整名字.
sortName string 某种名字.
barcode string 条码.
deleted boolean 删除了.
width integer · int32 宽度.
height integer · int32 高.
depth integer · int32 深度.
clientId integer · int64 客户身份证.
lastInventoryId integer · int32 最后的库存身份证.
type stringNORMAL, NO_PLACE, REFUND Type.
refundCellId integer · int32 退还电话身份证.
organization Organization 组织.
对象场 Organization
字段类型必填描述
id integer · int64 Id.
name string 姓名.
shortName string 简短名字.
taxType stringYSN, YSN_CONSUMPTION, AUSN, AUSN_CONSUMPTION, OSNO, SELF_EMPLOYED 税收类型.
taxRate integer · int32 税率.
taxNds integer · int32 税收.
inputTaxNds integer · int32 输入税税.
outputTaxNds integer · int32 产出税法
enableNewTaxCalculation boolean 启用新的税收计算.
useNdsCostPrice boolean 使用NDS成本价格.
inn string 酒店.
kpp string 现在,我们要去.
bank string 银行.
bik string 骑自行车.
corrBill string 科尔比尔.
billNumber string 账号号.
stampPath string 邮票路径.
stampUrl string 邮票URL.
stampSize integer · int32 邮票大小.
stampWidth integer · int32 盖章宽度.
stampHeight integer · int32 邮票高度.
signaturePath string 签字之路.
signatureUrl string 签字的URL.
signatureSize integer · int32 签名大小.
signatureWidth integer · int32 签字宽度.
signatureHeight integer · int32 签字高度.
ipPerson Person 个人.
对象场 Person
字段类型必填描述
personId integer · int64 个人身份证.
firstName string 姓名
lastName string 姓名
surName string 苏尔名
clientId integer · int64 客户身份证.
position PersonPosition 位置.
versionId integer · int64 版本ID.
createdUser string 创建用户.
createdDate string · date-time 创造日期.
deleted boolean 删除了.
userId integer · int32 用户身份证
hasChanges boolean 有变化.
fullName string 完整名字.
shortName string 简短名字.
form stringOOO, IP, SELF_EMPLOYED 形式.
ip boolean ,我知道.
clientId integer · int64 客户身份证.
address Address 现在,我有个地址.
对象场 Address
字段类型必填描述
id integer · int32 Id.
postCode string 邮政代码.
country Country 乡村.
region Region 地区.
regionId integer · int32 区域ID
street string 路上.
house string 房子.
district string 地区.
city string 城市.
locality string 地方.
building string 建筑物.
flat string 没有什么.
short string 短暂.
addressId Address 联系方式
full string 满满.
phoneNumber string 电话号码.
addressFull string 地址是完整的.
priority integer · int32 优先考虑.
useForOrder boolean 为了秩序而使用.
clientId integer · int64 客户身份证.
externalName string 其他名字
notSyncStocks boolean 没有同步股票.
ignoreOrders boolean 忽略命令.
passages Passage[] 经文.
阵列项结构 Passage
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
racks Rack[] 货架.
阵列项结构 Rack
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
passageId integer · int32 通过身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
shelves Shelf[] 货架.
warehouseServices ServiceWarehouse[] 仓库服务.
阵列项结构 ServiceWarehouse
字段类型必填描述
id integer · int64 Id.
name string 姓名.
externalId string 其他身份证.
warehouseId integer · int64 仓库身份证.
service stringNONE, WILDBERRIES, OZON, YANDEX_MARKET, FAMILIYA, NATIONAL_CATALOG, ALIEXPRESS, OTHER, MOY_SKLAD, SBER_MEGA_MARKET, CISLINK, ONE_C, AVITO, LEROY_MERLIN, DETMIR, KAZAN_EXPRESS, EVOTOR, WEBASYST, AMAZON, EBAY, SIMALAND, INSALES, LAMODA, OZON_PERFORMANCE, WALMART, GOOGLE, YANDEX_DISC, EMAIL, WOOCOMMERCE, MAGNIT, OPENCART, M_VIDEO, TAKEALOT, UZUM, SHOPIFY, MAKRO, YANDEX_KIT, BOB_SHOP, KASPI, DIADOC 服务.
organizationId integer · int64 组织身份证.
serviceOrganizationId integer · int64 服务组织身份证.
deliveries object 交货.
deleted boolean 删除了.
caption string 标题
durationHours integer · int32 时间时间
reservationDays integer · int32 预订日.
schedule string 时间表.
urAddress string 您的地址
city string 城市.
longitude number · double 长度.
latitude number · double 广度.
warehouseServiceId integer · int64 仓库服务身份证.
warehouseType string 仓库类型.
description string 描述
inn integer · int64 酒店.
kpp integer · int64 现在,我们要去.
paymentAccount string 支付账户
telephone string 电话.
regionName string 区域名称
region Region 地区.
对象场 Region
字段类型必填描述
regionId integer · int32 区域ID
countryId integer · int32 国家的身份证.
name string 姓名.
regionSynonyms RegionSynonym[] 区域同义词
阵列项结构 RegionSynonym
字段类型必填描述
id integer · int64 Id.
regionId integer · int64 区域ID
synonym string 标语是同义词.
service string 服务.
regionId integer · int32 区域ID
isPrepayOnline boolean 现在,我们在网上做了预付.
isCash boolean 这是现金.
isCard boolean 是卡德.
isGoodsActive boolean 货物活动.
orgId Warehouse 组织身份证.
address string 现在,我有个地址.
{
  "id": 1001,
  "name": "Example",
  "service": "NONE",
  "organizationId": 1001,
  "fboOrganizationId": 1001,
  "noPlaceCellId": 1001
}
错误6

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

401auth_required
需要进行认证

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

400error_access_denied
拒绝访问

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

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

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

400error_cell_not_found
没有发现细胞

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

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

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

400error_warehouse_not_found
没有发现仓库

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

PUT

补丁仓库

/api/warehouse/{warehouseId}
具有写入的标志

使用 PUT /api/warehouse/{warehouseId}.的补丁仓库

路径参数

字段类型必填描述
warehouseId integer · int64 仓库身份证.

要求机构

application/json
对象场Warehouse
字段类型必填描述
id integer · int64 Id.
name string 姓名.
service stringNONE, WILDBERRIES, OZON, YANDEX_MARKET, FAMILIYA, NATIONAL_CATALOG, ALIEXPRESS, OTHER, MOY_SKLAD, SBER_MEGA_MARKET, CISLINK, ONE_C, AVITO, LEROY_MERLIN, DETMIR, KAZAN_EXPRESS, EVOTOR, WEBASYST, AMAZON, EBAY, SIMALAND, INSALES, LAMODA, OZON_PERFORMANCE, WALMART, GOOGLE, YANDEX_DISC, EMAIL, WOOCOMMERCE, MAGNIT, OPENCART, M_VIDEO, TAKEALOT, UZUM, SHOPIFY, MAKRO, YANDEX_KIT, BOB_SHOP, KASPI, DIADOC 服务.
organizationId integer · int64 组织身份证.
fboOrganizationId integer · int64 联邦调查局组织身份证.
noPlaceCellId integer · int32 没有地方细胞身份证.
noPlaceCell Cell 没有地方细胞.
对象场 Cell
字段类型必填描述
id integer · int32 Id.
warehouseId integer · int64 仓库身份证.
passageId integer · int32 通过身份证.
shelfId integer · int32 货架身份证.
rackId integer · int32 查看身份证.
name string 姓名.
fullName string 完整名字.
sortName string 某种名字.
barcode string 条码.
deleted boolean 删除了.
width integer · int32 宽度.
height integer · int32 高.
depth integer · int32 深度.
clientId integer · int64 客户身份证.
lastInventoryId integer · int32 最后的库存身份证.
type stringNORMAL, NO_PLACE, REFUND Type.
refundCellId integer · int32 退还电话身份证.
organization Organization 组织.
对象场 Organization
字段类型必填描述
id integer · int64 Id.
name string 姓名.
shortName string 简短名字.
taxType stringYSN, YSN_CONSUMPTION, AUSN, AUSN_CONSUMPTION, OSNO, SELF_EMPLOYED 税收类型.
taxRate integer · int32 税率.
taxNds integer · int32 税收.
inputTaxNds integer · int32 输入税税.
outputTaxNds integer · int32 产出税法
enableNewTaxCalculation boolean 启用新的税收计算.
useNdsCostPrice boolean 使用NDS成本价格.
inn string 酒店.
kpp string 现在,我们要去.
bank string 银行.
bik string 骑自行车.
corrBill string 科尔比尔.
billNumber string 账号号.
stampPath string 邮票路径.
stampUrl string 邮票URL.
stampSize integer · int32 邮票大小.
stampWidth integer · int32 盖章宽度.
stampHeight integer · int32 邮票高度.
signaturePath string 签字之路.
signatureUrl string 签字的URL.
signatureSize integer · int32 签名大小.
signatureWidth integer · int32 签字宽度.
signatureHeight integer · int32 签字高度.
ipPerson Person 个人.
对象场 Person
字段类型必填描述
personId integer · int64 个人身份证.
firstName string 姓名
lastName string 姓名
surName string 苏尔名
clientId integer · int64 客户身份证.
position PersonPosition 位置.
versionId integer · int64 版本ID.
createdUser string 创建用户.
createdDate string · date-time 创造日期.
deleted boolean 删除了.
userId integer · int32 用户身份证
hasChanges boolean 有变化.
fullName string 完整名字.
shortName string 简短名字.
form stringOOO, IP, SELF_EMPLOYED 形式.
ip boolean ,我知道.
clientId integer · int64 客户身份证.
address Address 现在,我有个地址.
对象场 Address
字段类型必填描述
id integer · int32 Id.
postCode string 邮政代码.
country Country 乡村.
region Region 地区.
regionId integer · int32 区域ID
street string 路上.
house string 房子.
district string 地区.
city string 城市.
locality string 地方.
building string 建筑物.
flat string 没有什么.
short string 短暂.
addressId Address 联系方式
full string 满满.
phoneNumber string 电话号码.
addressFull string 地址是完整的.
priority integer · int32 优先考虑.
useForOrder boolean 为了秩序而使用.
clientId integer · int64 客户身份证.
externalName string 其他名字
notSyncStocks boolean 没有同步股票.
ignoreOrders boolean 忽略命令.
passages Passage[] 经文.
阵列项结构 Passage
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
racks Rack[] 货架.
阵列项结构 Rack
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
passageId integer · int32 通过身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
shelves Shelf[] 货架.
warehouseServices ServiceWarehouse[] 仓库服务.
阵列项结构 ServiceWarehouse
字段类型必填描述
id integer · int64 Id.
name string 姓名.
externalId string 其他身份证.
warehouseId integer · int64 仓库身份证.
service stringNONE, WILDBERRIES, OZON, YANDEX_MARKET, FAMILIYA, NATIONAL_CATALOG, ALIEXPRESS, OTHER, MOY_SKLAD, SBER_MEGA_MARKET, CISLINK, ONE_C, AVITO, LEROY_MERLIN, DETMIR, KAZAN_EXPRESS, EVOTOR, WEBASYST, AMAZON, EBAY, SIMALAND, INSALES, LAMODA, OZON_PERFORMANCE, WALMART, GOOGLE, YANDEX_DISC, EMAIL, WOOCOMMERCE, MAGNIT, OPENCART, M_VIDEO, TAKEALOT, UZUM, SHOPIFY, MAKRO, YANDEX_KIT, BOB_SHOP, KASPI, DIADOC 服务.
organizationId integer · int64 组织身份证.
serviceOrganizationId integer · int64 服务组织身份证.
deliveries object 交货.
deleted boolean 删除了.
caption string 标题
durationHours integer · int32 时间时间
reservationDays integer · int32 预订日.
schedule string 时间表.
urAddress string 您的地址
city string 城市.
longitude number · double 长度.
latitude number · double 广度.
warehouseServiceId integer · int64 仓库服务身份证.
warehouseType string 仓库类型.
description string 描述
inn integer · int64 酒店.
kpp integer · int64 现在,我们要去.
paymentAccount string 支付账户
telephone string 电话.
regionName string 区域名称
region Region 地区.
对象场 Region
字段类型必填描述
regionId integer · int32 区域ID
countryId integer · int32 国家的身份证.
name string 姓名.
regionSynonyms RegionSynonym[] 区域同义词
阵列项结构 RegionSynonym
字段类型必填描述
id integer · int64 Id.
regionId integer · int64 区域ID
synonym string 标语是同义词.
service string 服务.
regionId integer · int32 区域ID
isPrepayOnline boolean 现在,我们在网上做了预付.
isCash boolean 这是现金.
isCard boolean 是卡德.
isGoodsActive boolean 货物活动.
orgId Warehouse 组织身份证.
address string 现在,我有个地址.
curl --request PUT 'https://api.selsup.ru/api/warehouse/1001' \
  --header 'Authorization: YOUR_API_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": 1001,
  "name": "Example",
  "service": "NONE",
  "organizationId": 1001,
  "fboOrganizationId": 1001,
  "noPlaceCellId": 1001
}'

成功的反应

200
对象场 Warehouse
字段类型必填描述
id integer · int64 Id.
name string 姓名.
service stringNONE, WILDBERRIES, OZON, YANDEX_MARKET, FAMILIYA, NATIONAL_CATALOG, ALIEXPRESS, OTHER, MOY_SKLAD, SBER_MEGA_MARKET, CISLINK, ONE_C, AVITO, LEROY_MERLIN, DETMIR, KAZAN_EXPRESS, EVOTOR, WEBASYST, AMAZON, EBAY, SIMALAND, INSALES, LAMODA, OZON_PERFORMANCE, WALMART, GOOGLE, YANDEX_DISC, EMAIL, WOOCOMMERCE, MAGNIT, OPENCART, M_VIDEO, TAKEALOT, UZUM, SHOPIFY, MAKRO, YANDEX_KIT, BOB_SHOP, KASPI, DIADOC 服务.
organizationId integer · int64 组织身份证.
fboOrganizationId integer · int64 联邦调查局组织身份证.
noPlaceCellId integer · int32 没有地方细胞身份证.
noPlaceCell Cell 没有地方细胞.
对象场 Cell
字段类型必填描述
id integer · int32 Id.
warehouseId integer · int64 仓库身份证.
passageId integer · int32 通过身份证.
shelfId integer · int32 货架身份证.
rackId integer · int32 查看身份证.
name string 姓名.
fullName string 完整名字.
sortName string 某种名字.
barcode string 条码.
deleted boolean 删除了.
width integer · int32 宽度.
height integer · int32 高.
depth integer · int32 深度.
clientId integer · int64 客户身份证.
lastInventoryId integer · int32 最后的库存身份证.
type stringNORMAL, NO_PLACE, REFUND Type.
refundCellId integer · int32 退还电话身份证.
organization Organization 组织.
对象场 Organization
字段类型必填描述
id integer · int64 Id.
name string 姓名.
shortName string 简短名字.
taxType stringYSN, YSN_CONSUMPTION, AUSN, AUSN_CONSUMPTION, OSNO, SELF_EMPLOYED 税收类型.
taxRate integer · int32 税率.
taxNds integer · int32 税收.
inputTaxNds integer · int32 输入税税.
outputTaxNds integer · int32 产出税法
enableNewTaxCalculation boolean 启用新的税收计算.
useNdsCostPrice boolean 使用NDS成本价格.
inn string 酒店.
kpp string 现在,我们要去.
bank string 银行.
bik string 骑自行车.
corrBill string 科尔比尔.
billNumber string 账号号.
stampPath string 邮票路径.
stampUrl string 邮票URL.
stampSize integer · int32 邮票大小.
stampWidth integer · int32 盖章宽度.
stampHeight integer · int32 邮票高度.
signaturePath string 签字之路.
signatureUrl string 签字的URL.
signatureSize integer · int32 签名大小.
signatureWidth integer · int32 签字宽度.
signatureHeight integer · int32 签字高度.
ipPerson Person 个人.
对象场 Person
字段类型必填描述
personId integer · int64 个人身份证.
firstName string 姓名
lastName string 姓名
surName string 苏尔名
clientId integer · int64 客户身份证.
position PersonPosition 位置.
versionId integer · int64 版本ID.
createdUser string 创建用户.
createdDate string · date-time 创造日期.
deleted boolean 删除了.
userId integer · int32 用户身份证
hasChanges boolean 有变化.
fullName string 完整名字.
shortName string 简短名字.
form stringOOO, IP, SELF_EMPLOYED 形式.
ip boolean ,我知道.
clientId integer · int64 客户身份证.
address Address 现在,我有个地址.
对象场 Address
字段类型必填描述
id integer · int32 Id.
postCode string 邮政代码.
country Country 乡村.
region Region 地区.
regionId integer · int32 区域ID
street string 路上.
house string 房子.
district string 地区.
city string 城市.
locality string 地方.
building string 建筑物.
flat string 没有什么.
short string 短暂.
addressId Address 联系方式
full string 满满.
phoneNumber string 电话号码.
addressFull string 地址是完整的.
priority integer · int32 优先考虑.
useForOrder boolean 为了秩序而使用.
clientId integer · int64 客户身份证.
externalName string 其他名字
notSyncStocks boolean 没有同步股票.
ignoreOrders boolean 忽略命令.
passages Passage[] 经文.
阵列项结构 Passage
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
racks Rack[] 货架.
阵列项结构 Rack
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
passageId integer · int32 通过身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
shelves Shelf[] 货架.
warehouseServices ServiceWarehouse[] 仓库服务.
阵列项结构 ServiceWarehouse
字段类型必填描述
id integer · int64 Id.
name string 姓名.
externalId string 其他身份证.
warehouseId integer · int64 仓库身份证.
service stringNONE, WILDBERRIES, OZON, YANDEX_MARKET, FAMILIYA, NATIONAL_CATALOG, ALIEXPRESS, OTHER, MOY_SKLAD, SBER_MEGA_MARKET, CISLINK, ONE_C, AVITO, LEROY_MERLIN, DETMIR, KAZAN_EXPRESS, EVOTOR, WEBASYST, AMAZON, EBAY, SIMALAND, INSALES, LAMODA, OZON_PERFORMANCE, WALMART, GOOGLE, YANDEX_DISC, EMAIL, WOOCOMMERCE, MAGNIT, OPENCART, M_VIDEO, TAKEALOT, UZUM, SHOPIFY, MAKRO, YANDEX_KIT, BOB_SHOP, KASPI, DIADOC 服务.
organizationId integer · int64 组织身份证.
serviceOrganizationId integer · int64 服务组织身份证.
deliveries object 交货.
deleted boolean 删除了.
caption string 标题
durationHours integer · int32 时间时间
reservationDays integer · int32 预订日.
schedule string 时间表.
urAddress string 您的地址
city string 城市.
longitude number · double 长度.
latitude number · double 广度.
warehouseServiceId integer · int64 仓库服务身份证.
warehouseType string 仓库类型.
description string 描述
inn integer · int64 酒店.
kpp integer · int64 现在,我们要去.
paymentAccount string 支付账户
telephone string 电话.
regionName string 区域名称
region Region 地区.
对象场 Region
字段类型必填描述
regionId integer · int32 区域ID
countryId integer · int32 国家的身份证.
name string 姓名.
regionSynonyms RegionSynonym[] 区域同义词
阵列项结构 RegionSynonym
字段类型必填描述
id integer · int64 Id.
regionId integer · int64 区域ID
synonym string 标语是同义词.
service string 服务.
regionId integer · int32 区域ID
isPrepayOnline boolean 现在,我们在网上做了预付.
isCash boolean 这是现金.
isCard boolean 是卡德.
isGoodsActive boolean 货物活动.
orgId Warehouse 组织身份证.
address string 现在,我有个地址.
{
  "id": 1001,
  "name": "Example",
  "service": "NONE",
  "organizationId": 1001,
  "fboOrganizationId": 1001,
  "noPlaceCellId": 1001
}
错误22

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

401auth_required
需要进行认证

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

400error_access_denied
拒绝访问

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

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

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

400error_cant_extract_tariffs
无法获取费率。请联系支持团队

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

400error_duplicate_warehouse_name
已经有一个叫这个名字的仓库

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

400error_empty_first_name
未指定 名称

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

400error_empty_last_name
未说明 姓氏

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

400error_empty_organization_form
未指定组织形式

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

400error_empty_organization_inn
该组织的TIN码丢失

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

400error_empty_organization_name
没有说明该组织的名称

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

400error_empty_position_name
未注明职称

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

400error_empty_warehouse_name
仓库的名称没有指定

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

400error_max_page
页码不能大于100,000

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

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

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

400error_organization_create_failed
创建组织时出现问题。 请联系支持

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

400error_organization_exists
已经成立了一个组织

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

400error_position_exists
已经有一个叫这个名字的职位

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

400error_reload
授权会话已过期,刷新你的浏览器页面。如果更新没有帮助,尝试删除该网站的cookies

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

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

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

400error_warehouses_limit_exceeded
已达到资费方案中的FBS仓库限制:{limit}

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

400error_wrong_inn
不正确的公司TIN,10或12位数的长度

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

400error_wrong_version
指定的版本不正确

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

DELETE

删除仓库

/api/warehouse/{warehouseId}
具有写入的标志

使用 DELETE /api/warehouse/{warehouseId}.删除仓库

路径参数

字段类型必填描述
warehouseId integer · int64 仓库身份证.

查询参数

字段类型必填描述
restore boolean 恢复.
curl --request DELETE 'https://api.selsup.ru/api/warehouse/1001' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200
"string"
错误3

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

401auth_required
需要进行认证

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

400error_access_denied
拒绝访问

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

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

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

PUT

放上架

/api/warehouse/shelf
具有写入的标志

使用 PUT /api/warehouse/shelf. 放上架

要求机构

application/json
对象场Shelf
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
rackId integer · int32 查看身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
cells Cell[] 细胞.
阵列项结构 Cell
字段类型必填描述
id integer · int32 Id.
warehouseId integer · int64 仓库身份证.
passageId integer · int32 通过身份证.
shelfId integer · int32 货架身份证.
rackId integer · int32 查看身份证.
name string 姓名.
fullName string 完整名字.
sortName string 某种名字.
barcode string 条码.
deleted boolean 删除了.
width integer · int32 宽度.
height integer · int32 高.
depth integer · int32 深度.
clientId integer · int64 客户身份证.
lastInventoryId integer · int32 最后的库存身份证.
type stringNORMAL, NO_PLACE, REFUND Type.
curl --request PUT 'https://api.selsup.ru/api/warehouse/shelf' \
  --header 'Authorization: YOUR_API_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": 1001,
  "name": "Example",
  "warehouseId": 1001,
  "rackId": 1001,
  "deleted": false,
  "clientId": 1001
}'

成功的反应

200
对象场 Shelf
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
rackId integer · int32 查看身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
cells Cell[] 细胞.
阵列项结构 Cell
字段类型必填描述
id integer · int32 Id.
warehouseId integer · int64 仓库身份证.
passageId integer · int32 通过身份证.
shelfId integer · int32 货架身份证.
rackId integer · int32 查看身份证.
name string 姓名.
fullName string 完整名字.
sortName string 某种名字.
barcode string 条码.
deleted boolean 删除了.
width integer · int32 宽度.
height integer · int32 高.
depth integer · int32 深度.
clientId integer · int64 客户身份证.
lastInventoryId integer · int32 最后的库存身份证.
type stringNORMAL, NO_PLACE, REFUND Type.
{
  "id": 1001,
  "name": "Example",
  "warehouseId": 1001,
  "rackId": 1001,
  "deleted": false,
  "clientId": 1001
}
错误7

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

401auth_required
需要进行认证

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

400error_access_denied
拒绝访问

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

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

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

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

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

400error_shelf_already_exist
已有一个该名称的货架存在

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

400error_shelf_not_found
未找到架子

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

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

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

PUT

放上架子

/api/warehouse/rack
具有写入的标志

使用 PUT /api/warehouse/rack. 放 Rack

要求机构

application/json
对象场Rack
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
passageId integer · int32 通过身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
shelves Shelf[] 货架.
阵列项结构 Shelf
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
rackId integer · int32 查看身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
cells Cell[] 细胞.
阵列项结构 Cell
字段类型必填描述
id integer · int32 Id.
warehouseId integer · int64 仓库身份证.
passageId integer · int32 通过身份证.
shelfId integer · int32 货架身份证.
rackId integer · int32 查看身份证.
name string 姓名.
fullName string 完整名字.
sortName string 某种名字.
barcode string 条码.
deleted boolean 删除了.
width integer · int32 宽度.
height integer · int32 高.
depth integer · int32 深度.
clientId integer · int64 客户身份证.
lastInventoryId integer · int32 最后的库存身份证.
type stringNORMAL, NO_PLACE, REFUND Type.
curl --request PUT 'https://api.selsup.ru/api/warehouse/rack' \
  --header 'Authorization: YOUR_API_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": 1001,
  "name": "Example",
  "warehouseId": 1001,
  "passageId": 1001,
  "deleted": false,
  "clientId": 1001
}'

成功的反应

200
对象场 Rack
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
passageId integer · int32 通过身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
shelves Shelf[] 货架.
阵列项结构 Shelf
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
rackId integer · int32 查看身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
cells Cell[] 细胞.
阵列项结构 Cell
字段类型必填描述
id integer · int32 Id.
warehouseId integer · int64 仓库身份证.
passageId integer · int32 通过身份证.
shelfId integer · int32 货架身份证.
rackId integer · int32 查看身份证.
name string 姓名.
fullName string 完整名字.
sortName string 某种名字.
barcode string 条码.
deleted boolean 删除了.
width integer · int32 宽度.
height integer · int32 高.
depth integer · int32 深度.
clientId integer · int64 客户身份证.
lastInventoryId integer · int32 最后的库存身份证.
type stringNORMAL, NO_PLACE, REFUND Type.
{
  "id": 1001,
  "name": "Example",
  "warehouseId": 1001,
  "passageId": 1001,
  "deleted": false,
  "clientId": 1001
}
错误7

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

401auth_required
需要进行认证

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

400error_access_denied
拒绝访问

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

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

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

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

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

400error_rack_already_exist
已有一个具有此名称的机架

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

400error_rack_not_found
未找到货架单元

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

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

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

PUT

放入路

/api/warehouse/passage
具有写入的标志

通过PUT/api/warehouse/passage. 设置通行

要求机构

application/json
对象场Passage
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
racks Rack[] 货架.
阵列项结构 Rack
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
passageId integer · int32 通过身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
shelves Shelf[] 货架.
阵列项结构 Shelf
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
rackId integer · int32 查看身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
cells Cell[] 细胞.
curl --request PUT 'https://api.selsup.ru/api/warehouse/passage' \
  --header 'Authorization: YOUR_API_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": 1001,
  "name": "Example",
  "warehouseId": 1001,
  "deleted": false,
  "clientId": 1001,
  "racks": "string"
}'

成功的反应

200
对象场 Passage
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
racks Rack[] 货架.
阵列项结构 Rack
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
passageId integer · int32 通过身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
shelves Shelf[] 货架.
阵列项结构 Shelf
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
rackId integer · int32 查看身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
cells Cell[] 细胞.
{
  "id": 1001,
  "name": "Example",
  "warehouseId": 1001,
  "deleted": false,
  "clientId": 1001,
  "racks": "string"
}
错误7

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

401auth_required
需要进行认证

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

400error_access_denied
拒绝访问

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

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

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

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

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

400error_passage_already_exist
已经有一个叫这个名字的过道了

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

400error_passage_not_found
没有发现通道

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

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

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

PUT

放入细胞

/api/warehouse/cell
具有写入的标志

通过PUT/api/warehouse/cell.将Cell放入

查询参数

字段类型必填描述
passageId integer · int32 通过身份证.
rackId integer · int32 查看身份证.
shelfId integer · int32 货架身份证.

要求机构

application/json
对象场Cell
字段类型必填描述
id integer · int32 Id.
warehouseId integer · int64 仓库身份证.
passageId integer · int32 通过身份证.
shelfId integer · int32 货架身份证.
rackId integer · int32 查看身份证.
name string 姓名.
fullName string 完整名字.
sortName string 某种名字.
barcode string 条码.
deleted boolean 删除了.
width integer · int32 宽度.
height integer · int32 高.
depth integer · int32 深度.
clientId integer · int64 客户身份证.
lastInventoryId integer · int32 最后的库存身份证.
type stringNORMAL, NO_PLACE, REFUND Type.
curl --request PUT 'https://api.selsup.ru/api/warehouse/cell?passageId=1001&rackId=1001&shelfId=1001' \
  --header 'Authorization: YOUR_API_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": 1001,
  "warehouseId": 1001,
  "passageId": 1001,
  "shelfId": 1001,
  "rackId": 1001,
  "name": "Example"
}'

成功的反应

200
对象场 Cell
字段类型必填描述
id integer · int32 Id.
warehouseId integer · int64 仓库身份证.
passageId integer · int32 通过身份证.
shelfId integer · int32 货架身份证.
rackId integer · int32 查看身份证.
name string 姓名.
fullName string 完整名字.
sortName string 某种名字.
barcode string 条码.
deleted boolean 删除了.
width integer · int32 宽度.
height integer · int32 高.
depth integer · int32 深度.
clientId integer · int64 客户身份证.
lastInventoryId integer · int32 最后的库存身份证.
type stringNORMAL, NO_PLACE, REFUND Type.
{
  "id": 1001,
  "warehouseId": 1001,
  "passageId": 1001,
  "shelfId": 1001,
  "rackId": 1001,
  "name": "Example"
}
错误7

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

401auth_required
需要进行认证

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

400error_access_denied
拒绝访问

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

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

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

400error_cell_already_exist
已有一个具有此名称的单元格存在

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

400error_cell_not_found
没有发现细胞

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

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

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

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

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

POST

货架复印件

/api/warehouse/shelf/{shelfId}/copy
具有写入的标志

使用 POST /api/warehouse/shelf/{shelfId}/copy. 复制货架

路径参数

字段类型必填描述
shelfId integer · int32 货架身份证.
curl --request POST 'https://api.selsup.ru/api/warehouse/shelf/1001/copy' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200
对象场 Shelf
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
rackId integer · int32 查看身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
cells Cell[] 细胞.
阵列项结构 Cell
字段类型必填描述
id integer · int32 Id.
warehouseId integer · int64 仓库身份证.
passageId integer · int32 通过身份证.
shelfId integer · int32 货架身份证.
rackId integer · int32 查看身份证.
name string 姓名.
fullName string 完整名字.
sortName string 某种名字.
barcode string 条码.
deleted boolean 删除了.
width integer · int32 宽度.
height integer · int32 高.
depth integer · int32 深度.
clientId integer · int64 客户身份证.
lastInventoryId integer · int32 最后的库存身份证.
type stringNORMAL, NO_PLACE, REFUND Type.
{
  "id": 1001,
  "name": "Example",
  "warehouseId": 1001,
  "rackId": 1001,
  "deleted": false,
  "clientId": 1001
}
错误6

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

401auth_required
需要进行认证

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

400error_access_denied
拒绝访问

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

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

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

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

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

400error_shelf_not_found
未找到架子

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

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

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

POST

移除服务仓库

/api/warehouse/removeServiceWarehouse
具有写入的标志

使用 POST /api/warehouse/removeServiceWarehouse. 移除服务仓库

要求机构

application/json
对象场ServiceWarehouse
字段类型必填描述
id integer · int64 Id.
name string 姓名.
externalId string 其他身份证.
warehouseId integer · int64 仓库身份证.
service stringNONE, WILDBERRIES, OZON, YANDEX_MARKET, FAMILIYA, NATIONAL_CATALOG, ALIEXPRESS, OTHER, MOY_SKLAD, SBER_MEGA_MARKET, CISLINK, ONE_C, AVITO, LEROY_MERLIN, DETMIR, KAZAN_EXPRESS, EVOTOR, WEBASYST, AMAZON, EBAY, SIMALAND, INSALES, LAMODA, OZON_PERFORMANCE, WALMART, GOOGLE, YANDEX_DISC, EMAIL, WOOCOMMERCE, MAGNIT, OPENCART, M_VIDEO, TAKEALOT, UZUM, SHOPIFY, MAKRO, YANDEX_KIT, BOB_SHOP, KASPI, DIADOC 服务.
organizationId integer · int64 组织身份证.
serviceOrganizationId integer · int64 服务组织身份证.
curl --request POST 'https://api.selsup.ru/api/warehouse/removeServiceWarehouse' \
  --header 'Authorization: YOUR_API_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Example",
  "externalId": "string",
  "warehouseId": 1001,
  "service": "NONE",
  "organizationId": 1001,
  "id": 1001
}'

成功的反应

200

答案没有身体.

错误21

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

401auth_required
需要进行认证

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

400error_access_denied
拒绝访问

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

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

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

400error_cant_extract_tariffs
无法获取费率。请联系支持团队

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

400error_empty_first_name
未指定 名称

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

400error_empty_last_name
未说明 姓氏

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

400error_empty_organization_form
未指定组织形式

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

400error_empty_organization_inn
该组织的TIN码丢失

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

400error_empty_organization_name
没有说明该组织的名称

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

400error_empty_position_name
未注明职称

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

400error_max_page
页码不能大于100,000

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

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

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

400error_organization_create_failed
创建组织时出现问题。 请联系支持

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

400error_organization_exists
已经成立了一个组织

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

400error_organization_not_found
没有发现任何组织

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

400error_position_exists
已经有一个叫这个名字的职位

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

400error_reload
授权会话已过期,刷新你的浏览器页面。如果更新没有帮助,尝试删除该网站的cookies

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

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

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

400error_user_does_not_have_this_organization
用户无权访问此组织

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

400error_wrong_inn
不正确的公司TIN,10或12位数的长度

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

400error_wrong_version
指定的版本不正确

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

POST

机架复制

/api/warehouse/rack/{rackId}/copy
具有写入的标志

使用 POST /api/warehouse/rack/{rackId}/copy.的架子复制

路径参数

字段类型必填描述
rackId integer · int32 查看身份证.
curl --request POST 'https://api.selsup.ru/api/warehouse/rack/1001/copy' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200
对象场 Rack
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
passageId integer · int32 通过身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
shelves Shelf[] 货架.
阵列项结构 Shelf
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
rackId integer · int32 查看身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
cells Cell[] 细胞.
阵列项结构 Cell
字段类型必填描述
id integer · int32 Id.
warehouseId integer · int64 仓库身份证.
passageId integer · int32 通过身份证.
shelfId integer · int32 货架身份证.
rackId integer · int32 查看身份证.
name string 姓名.
fullName string 完整名字.
sortName string 某种名字.
barcode string 条码.
deleted boolean 删除了.
width integer · int32 宽度.
height integer · int32 高.
depth integer · int32 深度.
clientId integer · int64 客户身份证.
lastInventoryId integer · int32 最后的库存身份证.
type stringNORMAL, NO_PLACE, REFUND Type.
{
  "id": 1001,
  "name": "Example",
  "warehouseId": 1001,
  "passageId": 1001,
  "deleted": false,
  "clientId": 1001
}
错误6

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

401auth_required
需要进行认证

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

400error_access_denied
拒绝访问

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

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

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

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

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

400error_rack_not_found
未找到货架单元

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

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

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

POST

经文复制

/api/warehouse/passage/{passageId}/copy
具有写入的标志

使用 POST /api/warehouse/passage/{passageId}/copy. 复制页面

路径参数

字段类型必填描述
passageId integer · int32 通过身份证.
curl --request POST 'https://api.selsup.ru/api/warehouse/passage/1001/copy' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200
对象场 Passage
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
racks Rack[] 货架.
阵列项结构 Rack
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
passageId integer · int32 通过身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
shelves Shelf[] 货架.
阵列项结构 Shelf
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
rackId integer · int32 查看身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
cells Cell[] 细胞.
{
  "id": 1001,
  "name": "Example",
  "warehouseId": 1001,
  "deleted": false,
  "clientId": 1001,
  "racks": "string"
}
错误6

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

401auth_required
需要进行认证

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

400error_access_denied
拒绝访问

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

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

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

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

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

400error_passage_not_found
没有发现通道

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

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

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

POST

通过过器获得细胞

/api/warehouse/getCellsByFilter
具有写入的标志

使用POST/api/warehouse/getCellsByFilter.来过细胞

要求机构

application/json
对象场CellFilter
字段类型必填描述
cellId integer · int32 电话身份证.
shelfId integer · int32 货架身份证.
rackId integer · int32 查看身份证.
passageId integer · int32 通过身份证.
warehouseId integer · int64 仓库身份证.
curl --request POST 'https://api.selsup.ru/api/warehouse/getCellsByFilter' \
  --header 'Authorization: YOUR_API_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
  "cellId": 1001,
  "shelfId": 1001,
  "rackId": 1001,
  "passageId": 1001,
  "warehouseId": 1001
}'

成功的反应

200
阵列项结构 Cell[]
字段类型必填描述
id integer · int32 Id.
warehouseId integer · int64 仓库身份证.
passageId integer · int32 通过身份证.
shelfId integer · int32 货架身份证.
rackId integer · int32 查看身份证.
name string 姓名.
fullName string 完整名字.
sortName string 某种名字.
barcode string 条码.
deleted boolean 删除了.
width integer · int32 宽度.
height integer · int32 高.
depth integer · int32 深度.
clientId integer · int64 客户身份证.
lastInventoryId integer · int32 最后的库存身份证.
type stringNORMAL, NO_PLACE, REFUND Type.
[
  "string"
]
错误4

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

401auth_required
需要进行认证

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

400error_access_denied
拒绝访问

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

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

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

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

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

POST

创建服务仓库

/api/warehouse/createServiceWarehouse
具有写入的标志

使用 POST 创建服务仓库

要求机构

application/json
对象场ServiceWarehouse
字段类型必填描述
id integer · int64 Id.
name string 姓名.
externalId string 其他身份证.
warehouseId integer · int64 仓库身份证.
service stringNONE, WILDBERRIES, OZON, YANDEX_MARKET, FAMILIYA, NATIONAL_CATALOG, ALIEXPRESS, OTHER, MOY_SKLAD, SBER_MEGA_MARKET, CISLINK, ONE_C, AVITO, LEROY_MERLIN, DETMIR, KAZAN_EXPRESS, EVOTOR, WEBASYST, AMAZON, EBAY, SIMALAND, INSALES, LAMODA, OZON_PERFORMANCE, WALMART, GOOGLE, YANDEX_DISC, EMAIL, WOOCOMMERCE, MAGNIT, OPENCART, M_VIDEO, TAKEALOT, UZUM, SHOPIFY, MAKRO, YANDEX_KIT, BOB_SHOP, KASPI, DIADOC 服务.
organizationId integer · int64 组织身份证.
serviceOrganizationId integer · int64 服务组织身份证.
curl --request POST 'https://api.selsup.ru/api/warehouse/createServiceWarehouse' \
  --header 'Authorization: YOUR_API_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Example",
  "externalId": "string",
  "warehouseId": 1001,
  "service": "NONE",
  "organizationId": 1001,
  "id": 1001
}'

成功的反应

200
对象场 ServiceWarehouse
字段类型必填描述
id integer · int64 Id.
name string 姓名.
externalId string 其他身份证.
warehouseId integer · int64 仓库身份证.
service stringNONE, WILDBERRIES, OZON, YANDEX_MARKET, FAMILIYA, NATIONAL_CATALOG, ALIEXPRESS, OTHER, MOY_SKLAD, SBER_MEGA_MARKET, CISLINK, ONE_C, AVITO, LEROY_MERLIN, DETMIR, KAZAN_EXPRESS, EVOTOR, WEBASYST, AMAZON, EBAY, SIMALAND, INSALES, LAMODA, OZON_PERFORMANCE, WALMART, GOOGLE, YANDEX_DISC, EMAIL, WOOCOMMERCE, MAGNIT, OPENCART, M_VIDEO, TAKEALOT, UZUM, SHOPIFY, MAKRO, YANDEX_KIT, BOB_SHOP, KASPI, DIADOC 服务.
organizationId integer · int64 组织身份证.
serviceOrganizationId integer · int64 服务组织身份证.
{
  "name": "Example",
  "externalId": "string",
  "warehouseId": 1001,
  "service": "NONE",
  "organizationId": 1001,
  "id": 1001
}
错误24

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

401auth_required
需要进行认证

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

400error_access_denied
拒绝访问

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

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

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

400error_cant_extract_tariffs
无法获取费率。请联系支持团队

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

400error_empty_first_name
未指定 名称

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

400error_empty_last_name
未说明 姓氏

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

400error_empty_name
没有给出名字

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

400error_empty_organization_form
未指定组织形式

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

400error_empty_organization_inn
该组织的TIN码丢失

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

400error_empty_organization_name
没有说明该组织的名称

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

400error_empty_position_name
未注明职称

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

400error_empty_service
未指定市场

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

400error_max_page
页码不能大于100,000

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

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

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

400error_organization_create_failed
创建组织时出现问题。 请联系支持

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

400error_organization_exists
已经成立了一个组织

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

400error_organization_not_found
没有发现任何组织

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

400error_position_exists
已经有一个叫这个名字的职位

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

400error_reload
授权会话已过期,刷新你的浏览器页面。如果更新没有帮助,尝试删除该网站的cookies

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

400error_service_warehouse_exists
与仓库的沟通已经存在

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

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

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

400error_warehouse_empty_id
Yandex Market 仓库关联中未指定仓库 ID

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

400error_wrong_inn
不正确的公司TIN,10或12位数的长度

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

400error_wrong_version
指定的版本不正确

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

POST

创造细胞

/api/warehouse/cells
具有写入的标志

使用 POST 创建细胞

查询参数

字段类型必填描述
passageId integer · int32 通过身份证.
rackId integer · int32 查看身份证.
shelfId integer · int32 货架身份证.

要求机构

application/json
阵列项结构Cell[]
字段类型必填描述
id integer · int32 Id.
warehouseId integer · int64 仓库身份证.
passageId integer · int32 通过身份证.
shelfId integer · int32 货架身份证.
rackId integer · int32 查看身份证.
name string 姓名.
fullName string 完整名字.
sortName string 某种名字.
barcode string 条码.
deleted boolean 删除了.
width integer · int32 宽度.
height integer · int32 高.
depth integer · int32 深度.
clientId integer · int64 客户身份证.
lastInventoryId integer · int32 最后的库存身份证.
type stringNORMAL, NO_PLACE, REFUND Type.
curl --request POST 'https://api.selsup.ru/api/warehouse/cells?passageId=1001&rackId=1001&shelfId=1001' \
  --header 'Authorization: YOUR_API_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '[
  "string"
]'

成功的反应

200
阵列项结构 Cell[]
字段类型必填描述
id integer · int32 Id.
warehouseId integer · int64 仓库身份证.
passageId integer · int32 通过身份证.
shelfId integer · int32 货架身份证.
rackId integer · int32 查看身份证.
name string 姓名.
fullName string 完整名字.
sortName string 某种名字.
barcode string 条码.
deleted boolean 删除了.
width integer · int32 宽度.
height integer · int32 高.
depth integer · int32 深度.
clientId integer · int64 客户身份证.
lastInventoryId integer · int32 最后的库存身份证.
type stringNORMAL, NO_PLACE, REFUND Type.
[
  "string"
]
错误8

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

401auth_required
需要进行认证

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

400error_access_denied
拒绝访问

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

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

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

400error_cell_already_exist
已有一个具有此名称的单元格存在

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

400error_cell_not_found
没有发现细胞

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

400error_cells_batch_size_invalid
单元格数量必须在 1 到 {maxCount} 之间

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

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

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

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

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

GET

出口细胞

/api/warehouse/cells/excel
读取访问的标志

使用 GET /api/warehouse/cells/excel.的出口细胞

查询参数

字段类型必填描述
warehouseId integer · int64 仓库身份证.
curl --request GET 'https://api.selsup.ru/api/warehouse/cells/excel?warehouseId=1001' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200
"string"
错误7

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

401auth_required
需要进行认证

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

400error_access_denied
拒绝访问

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

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

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

400error_cells_excel_failed
无法处理库位 Excel 文件。未保存任何更改。

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

400error_cells_excel_limit
文件最多可包含 {limit} 个库位。

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

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

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

400error_warehouse_not_found
没有发现仓库

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

POST

进口细胞

/api/warehouse/cells/excel
具有写入的标志

使用 POST /api/warehouse/cells/excel. 进口细胞

查询参数

字段类型必填描述
warehouseId integer · int64 仓库身份证.

要求机构

multipart/form-data
字段类型必填描述
file string · binary 文件.
curl --request POST 'https://api.selsup.ru/api/warehouse/cells/excel?warehouseId=1001' \
  --header 'Authorization: YOUR_API_TOKEN' \
  --form 'file=@./file.bin'

成功的反应

200
对象场 ImportResult
字段类型必填描述
created integer · int32 创造了.
updated integer · int32 更新了.
{
  "created": 1,
  "updated": 1
}
错误14

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

401auth_required
需要进行认证

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

400error_access_denied
拒绝访问

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

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

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

400error_cells_excel_conflict
第 {row} 行:相同地址和名称的库位已存在或数据冲突。未保存任何更改。

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

400error_cells_excel_failed
无法处理库位 Excel 文件。未保存任何更改。

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

400error_cells_excel_id_invalid
第 {row} 行:ID 重复或不属于此仓库的有效库位。新库位请留空 ID。

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

400error_cells_excel_limit
文件最多可包含 {limit} 个库位。

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

400error_cells_excel_parent
第 {row} 行:多个通道、货架或层板具有相同名称。请在仓库中明确命名。

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

400error_cells_excel_row
第 {row} 行:请填写通道、货架、层板和名称;每个字段最多 100 个字符,不能含公式。

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

400error_incorrect_excel
文件格式不正确。下载一个Excel电子表格。

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

400error_max_upload_size_exceeded
已超过允许的文件大小

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

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

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

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

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

400error_warehouse_not_found
没有发现仓库

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

POST

创建新的仓库

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

使用 POST 创建新仓库

要求机构

application/json
对象场Warehouse
字段类型必填描述
id integer · int64 Id.
name string 姓名.
service stringNONE, WILDBERRIES, OZON, YANDEX_MARKET, FAMILIYA, NATIONAL_CATALOG, ALIEXPRESS, OTHER, MOY_SKLAD, SBER_MEGA_MARKET, CISLINK, ONE_C, AVITO, LEROY_MERLIN, DETMIR, KAZAN_EXPRESS, EVOTOR, WEBASYST, AMAZON, EBAY, SIMALAND, INSALES, LAMODA, OZON_PERFORMANCE, WALMART, GOOGLE, YANDEX_DISC, EMAIL, WOOCOMMERCE, MAGNIT, OPENCART, M_VIDEO, TAKEALOT, UZUM, SHOPIFY, MAKRO, YANDEX_KIT, BOB_SHOP, KASPI, DIADOC 服务.
organizationId integer · int64 组织身份证.
fboOrganizationId integer · int64 联邦调查局组织身份证.
noPlaceCellId integer · int32 没有地方细胞身份证.
noPlaceCell Cell 没有地方细胞.
对象场 Cell
字段类型必填描述
id integer · int32 Id.
warehouseId integer · int64 仓库身份证.
passageId integer · int32 通过身份证.
shelfId integer · int32 货架身份证.
rackId integer · int32 查看身份证.
name string 姓名.
fullName string 完整名字.
sortName string 某种名字.
barcode string 条码.
deleted boolean 删除了.
width integer · int32 宽度.
height integer · int32 高.
depth integer · int32 深度.
clientId integer · int64 客户身份证.
lastInventoryId integer · int32 最后的库存身份证.
type stringNORMAL, NO_PLACE, REFUND Type.
refundCellId integer · int32 退还电话身份证.
organization Organization 组织.
对象场 Organization
字段类型必填描述
id integer · int64 Id.
name string 姓名.
shortName string 简短名字.
taxType stringYSN, YSN_CONSUMPTION, AUSN, AUSN_CONSUMPTION, OSNO, SELF_EMPLOYED 税收类型.
taxRate integer · int32 税率.
taxNds integer · int32 税收.
inputTaxNds integer · int32 输入税税.
outputTaxNds integer · int32 产出税法
enableNewTaxCalculation boolean 启用新的税收计算.
useNdsCostPrice boolean 使用NDS成本价格.
inn string 酒店.
kpp string 现在,我们要去.
bank string 银行.
bik string 骑自行车.
corrBill string 科尔比尔.
billNumber string 账号号.
stampPath string 邮票路径.
stampUrl string 邮票URL.
stampSize integer · int32 邮票大小.
stampWidth integer · int32 盖章宽度.
stampHeight integer · int32 邮票高度.
signaturePath string 签字之路.
signatureUrl string 签字的URL.
signatureSize integer · int32 签名大小.
signatureWidth integer · int32 签字宽度.
signatureHeight integer · int32 签字高度.
ipPerson Person 个人.
对象场 Person
字段类型必填描述
personId integer · int64 个人身份证.
firstName string 姓名
lastName string 姓名
surName string 苏尔名
clientId integer · int64 客户身份证.
position PersonPosition 位置.
versionId integer · int64 版本ID.
createdUser string 创建用户.
createdDate string · date-time 创造日期.
deleted boolean 删除了.
userId integer · int32 用户身份证
hasChanges boolean 有变化.
fullName string 完整名字.
shortName string 简短名字.
form stringOOO, IP, SELF_EMPLOYED 形式.
ip boolean ,我知道.
clientId integer · int64 客户身份证.
address Address 现在,我有个地址.
对象场 Address
字段类型必填描述
id integer · int32 Id.
postCode string 邮政代码.
country Country 乡村.
region Region 地区.
regionId integer · int32 区域ID
street string 路上.
house string 房子.
district string 地区.
city string 城市.
locality string 地方.
building string 建筑物.
flat string 没有什么.
short string 短暂.
addressId Address 联系方式
full string 满满.
phoneNumber string 电话号码.
addressFull string 地址是完整的.
priority integer · int32 优先考虑.
useForOrder boolean 为了秩序而使用.
clientId integer · int64 客户身份证.
externalName string 其他名字
notSyncStocks boolean 没有同步股票.
ignoreOrders boolean 忽略命令.
passages Passage[] 经文.
阵列项结构 Passage
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
racks Rack[] 货架.
阵列项结构 Rack
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
passageId integer · int32 通过身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
shelves Shelf[] 货架.
warehouseServices ServiceWarehouse[] 仓库服务.
阵列项结构 ServiceWarehouse
字段类型必填描述
id integer · int64 Id.
name string 姓名.
externalId string 其他身份证.
warehouseId integer · int64 仓库身份证.
service stringNONE, WILDBERRIES, OZON, YANDEX_MARKET, FAMILIYA, NATIONAL_CATALOG, ALIEXPRESS, OTHER, MOY_SKLAD, SBER_MEGA_MARKET, CISLINK, ONE_C, AVITO, LEROY_MERLIN, DETMIR, KAZAN_EXPRESS, EVOTOR, WEBASYST, AMAZON, EBAY, SIMALAND, INSALES, LAMODA, OZON_PERFORMANCE, WALMART, GOOGLE, YANDEX_DISC, EMAIL, WOOCOMMERCE, MAGNIT, OPENCART, M_VIDEO, TAKEALOT, UZUM, SHOPIFY, MAKRO, YANDEX_KIT, BOB_SHOP, KASPI, DIADOC 服务.
organizationId integer · int64 组织身份证.
serviceOrganizationId integer · int64 服务组织身份证.
deliveries object 交货.
deleted boolean 删除了.
caption string 标题
durationHours integer · int32 时间时间
reservationDays integer · int32 预订日.
schedule string 时间表.
urAddress string 您的地址
city string 城市.
longitude number · double 长度.
latitude number · double 广度.
warehouseServiceId integer · int64 仓库服务身份证.
warehouseType string 仓库类型.
description string 描述
inn integer · int64 酒店.
kpp integer · int64 现在,我们要去.
paymentAccount string 支付账户
telephone string 电话.
regionName string 区域名称
region Region 地区.
对象场 Region
字段类型必填描述
regionId integer · int32 区域ID
countryId integer · int32 国家的身份证.
name string 姓名.
regionSynonyms RegionSynonym[] 区域同义词
阵列项结构 RegionSynonym
字段类型必填描述
id integer · int64 Id.
regionId integer · int64 区域ID
synonym string 标语是同义词.
service string 服务.
regionId integer · int32 区域ID
isPrepayOnline boolean 现在,我们在网上做了预付.
isCash boolean 这是现金.
isCard boolean 是卡德.
isGoodsActive boolean 货物活动.
orgId Warehouse 组织身份证.
address string 现在,我有个地址.
curl --request POST 'https://api.selsup.ru/api/warehouse/' \
  --header 'Authorization: YOUR_API_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": 1001,
  "name": "Example",
  "service": "NONE",
  "organizationId": 1001,
  "fboOrganizationId": 1001,
  "noPlaceCellId": 1001
}'

成功的反应

200
对象场 Warehouse
字段类型必填描述
id integer · int64 Id.
name string 姓名.
service stringNONE, WILDBERRIES, OZON, YANDEX_MARKET, FAMILIYA, NATIONAL_CATALOG, ALIEXPRESS, OTHER, MOY_SKLAD, SBER_MEGA_MARKET, CISLINK, ONE_C, AVITO, LEROY_MERLIN, DETMIR, KAZAN_EXPRESS, EVOTOR, WEBASYST, AMAZON, EBAY, SIMALAND, INSALES, LAMODA, OZON_PERFORMANCE, WALMART, GOOGLE, YANDEX_DISC, EMAIL, WOOCOMMERCE, MAGNIT, OPENCART, M_VIDEO, TAKEALOT, UZUM, SHOPIFY, MAKRO, YANDEX_KIT, BOB_SHOP, KASPI, DIADOC 服务.
organizationId integer · int64 组织身份证.
fboOrganizationId integer · int64 联邦调查局组织身份证.
noPlaceCellId integer · int32 没有地方细胞身份证.
noPlaceCell Cell 没有地方细胞.
对象场 Cell
字段类型必填描述
id integer · int32 Id.
warehouseId integer · int64 仓库身份证.
passageId integer · int32 通过身份证.
shelfId integer · int32 货架身份证.
rackId integer · int32 查看身份证.
name string 姓名.
fullName string 完整名字.
sortName string 某种名字.
barcode string 条码.
deleted boolean 删除了.
width integer · int32 宽度.
height integer · int32 高.
depth integer · int32 深度.
clientId integer · int64 客户身份证.
lastInventoryId integer · int32 最后的库存身份证.
type stringNORMAL, NO_PLACE, REFUND Type.
refundCellId integer · int32 退还电话身份证.
organization Organization 组织.
对象场 Organization
字段类型必填描述
id integer · int64 Id.
name string 姓名.
shortName string 简短名字.
taxType stringYSN, YSN_CONSUMPTION, AUSN, AUSN_CONSUMPTION, OSNO, SELF_EMPLOYED 税收类型.
taxRate integer · int32 税率.
taxNds integer · int32 税收.
inputTaxNds integer · int32 输入税税.
outputTaxNds integer · int32 产出税法
enableNewTaxCalculation boolean 启用新的税收计算.
useNdsCostPrice boolean 使用NDS成本价格.
inn string 酒店.
kpp string 现在,我们要去.
bank string 银行.
bik string 骑自行车.
corrBill string 科尔比尔.
billNumber string 账号号.
stampPath string 邮票路径.
stampUrl string 邮票URL.
stampSize integer · int32 邮票大小.
stampWidth integer · int32 盖章宽度.
stampHeight integer · int32 邮票高度.
signaturePath string 签字之路.
signatureUrl string 签字的URL.
signatureSize integer · int32 签名大小.
signatureWidth integer · int32 签字宽度.
signatureHeight integer · int32 签字高度.
ipPerson Person 个人.
对象场 Person
字段类型必填描述
personId integer · int64 个人身份证.
firstName string 姓名
lastName string 姓名
surName string 苏尔名
clientId integer · int64 客户身份证.
position PersonPosition 位置.
versionId integer · int64 版本ID.
createdUser string 创建用户.
createdDate string · date-time 创造日期.
deleted boolean 删除了.
userId integer · int32 用户身份证
hasChanges boolean 有变化.
fullName string 完整名字.
shortName string 简短名字.
form stringOOO, IP, SELF_EMPLOYED 形式.
ip boolean ,我知道.
clientId integer · int64 客户身份证.
address Address 现在,我有个地址.
对象场 Address
字段类型必填描述
id integer · int32 Id.
postCode string 邮政代码.
country Country 乡村.
region Region 地区.
regionId integer · int32 区域ID
street string 路上.
house string 房子.
district string 地区.
city string 城市.
locality string 地方.
building string 建筑物.
flat string 没有什么.
short string 短暂.
addressId Address 联系方式
full string 满满.
phoneNumber string 电话号码.
addressFull string 地址是完整的.
priority integer · int32 优先考虑.
useForOrder boolean 为了秩序而使用.
clientId integer · int64 客户身份证.
externalName string 其他名字
notSyncStocks boolean 没有同步股票.
ignoreOrders boolean 忽略命令.
passages Passage[] 经文.
阵列项结构 Passage
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
racks Rack[] 货架.
阵列项结构 Rack
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
passageId integer · int32 通过身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
shelves Shelf[] 货架.
warehouseServices ServiceWarehouse[] 仓库服务.
阵列项结构 ServiceWarehouse
字段类型必填描述
id integer · int64 Id.
name string 姓名.
externalId string 其他身份证.
warehouseId integer · int64 仓库身份证.
service stringNONE, WILDBERRIES, OZON, YANDEX_MARKET, FAMILIYA, NATIONAL_CATALOG, ALIEXPRESS, OTHER, MOY_SKLAD, SBER_MEGA_MARKET, CISLINK, ONE_C, AVITO, LEROY_MERLIN, DETMIR, KAZAN_EXPRESS, EVOTOR, WEBASYST, AMAZON, EBAY, SIMALAND, INSALES, LAMODA, OZON_PERFORMANCE, WALMART, GOOGLE, YANDEX_DISC, EMAIL, WOOCOMMERCE, MAGNIT, OPENCART, M_VIDEO, TAKEALOT, UZUM, SHOPIFY, MAKRO, YANDEX_KIT, BOB_SHOP, KASPI, DIADOC 服务.
organizationId integer · int64 组织身份证.
serviceOrganizationId integer · int64 服务组织身份证.
deliveries object 交货.
deleted boolean 删除了.
caption string 标题
durationHours integer · int32 时间时间
reservationDays integer · int32 预订日.
schedule string 时间表.
urAddress string 您的地址
city string 城市.
longitude number · double 长度.
latitude number · double 广度.
warehouseServiceId integer · int64 仓库服务身份证.
warehouseType string 仓库类型.
description string 描述
inn integer · int64 酒店.
kpp integer · int64 现在,我们要去.
paymentAccount string 支付账户
telephone string 电话.
regionName string 区域名称
region Region 地区.
对象场 Region
字段类型必填描述
regionId integer · int32 区域ID
countryId integer · int32 国家的身份证.
name string 姓名.
regionSynonyms RegionSynonym[] 区域同义词
阵列项结构 RegionSynonym
字段类型必填描述
id integer · int64 Id.
regionId integer · int64 区域ID
synonym string 标语是同义词.
service string 服务.
regionId integer · int32 区域ID
isPrepayOnline boolean 现在,我们在网上做了预付.
isCash boolean 这是现金.
isCard boolean 是卡德.
isGoodsActive boolean 货物活动.
orgId Warehouse 组织身份证.
address string 现在,我有个地址.
{
  "id": 1001,
  "name": "Example",
  "service": "NONE",
  "organizationId": 1001,
  "fboOrganizationId": 1001,
  "noPlaceCellId": 1001
}
错误22

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

401auth_required
需要进行认证

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

400error_access_denied
拒绝访问

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

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

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

400error_cant_extract_tariffs
无法获取费率。请联系支持团队

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

400error_duplicate_warehouse_name
已经有一个叫这个名字的仓库

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

400error_empty_first_name
未指定 名称

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

400error_empty_last_name
未说明 姓氏

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

400error_empty_organization_form
未指定组织形式

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

400error_empty_organization_inn
该组织的TIN码丢失

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

400error_empty_organization_name
没有说明该组织的名称

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

400error_empty_position_name
未注明职称

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

400error_empty_warehouse_name
仓库的名称没有指定

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

400error_max_page
页码不能大于100,000

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

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

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

400error_organization_create_failed
创建组织时出现问题。 请联系支持

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

400error_organization_exists
已经成立了一个组织

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

400error_position_exists
已经有一个叫这个名字的职位

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

400error_reload
授权会话已过期,刷新你的浏览器页面。如果更新没有帮助,尝试删除该网站的cookies

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

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

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

400error_warehouses_limit_exceeded
已达到资费方案中的FBS仓库限制:{limit}

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

400error_wrong_inn
不正确的公司TIN,10或12位数的长度

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

400error_wrong_version
指定的版本不正确

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

GET

仓库类型

/api/warehouse/{warehouseId}/sort
读取访问的标志

使用GETX/api/warehouse/{warehouseId}/sort.进行仓库排序

路径参数

字段类型必填描述
warehouseId integer · int64 仓库身份证.
curl --request GET 'https://api.selsup.ru/api/warehouse/1001/sort' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200

答案没有身体.

错误4

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

401auth_required
需要进行认证

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

400error_access_denied
拒绝访问

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

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

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

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

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

GET

货架

/api/warehouse/shelf/{shelfId}
读取访问的标志

使用GET/api/warehouse/shelf/{shelfId}.的货架

查询参数

字段类型必填描述
shelfId integer · int32 货架身份证.
curl --request GET 'https://api.selsup.ru/api/warehouse/shelf/%7BshelfId%7D?shelfId=1001' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200
对象场 Shelf
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
rackId integer · int32 查看身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
cells Cell[] 细胞.
阵列项结构 Cell
字段类型必填描述
id integer · int32 Id.
warehouseId integer · int64 仓库身份证.
passageId integer · int32 通过身份证.
shelfId integer · int32 货架身份证.
rackId integer · int32 查看身份证.
name string 姓名.
fullName string 完整名字.
sortName string 某种名字.
barcode string 条码.
deleted boolean 删除了.
width integer · int32 宽度.
height integer · int32 高.
depth integer · int32 深度.
clientId integer · int64 客户身份证.
lastInventoryId integer · int32 最后的库存身份证.
type stringNORMAL, NO_PLACE, REFUND Type.
{
  "id": 1001,
  "name": "Example",
  "warehouseId": 1001,
  "rackId": 1001,
  "deleted": false,
  "clientId": 1001
}
错误5

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

401auth_required
需要进行认证

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

400error_access_denied
拒绝访问

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

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

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

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

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

400error_shelf_not_found
未找到架子

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

DELETE

删除货架

/api/warehouse/shelf/{shelfId}
具有写入的标志

使用 DELETE /api/warehouse/shelf/{shelfId}.删除Shelf

路径参数

字段类型必填描述
shelfId integer · int32 货架身份证.
curl --request DELETE 'https://api.selsup.ru/api/warehouse/shelf/1001' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200

答案没有身体.

错误6

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

401auth_required
需要进行认证

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

400error_access_denied
拒绝访问

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

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

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

400error_cell_denied_delete
项目被链接到单元格,不可能删除

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

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

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

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

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

GET

获得服务仓库

/api/warehouse/service
读取访问的标志

使用GET/api/warehouse/service.获取服务仓库

查询参数

字段类型必填描述
service stringNONE, WILDBERRIES, OZON, YANDEX_MARKET, FAMILIYA, NATIONAL_CATALOG, ALIEXPRESS, OTHER, MOY_SKLAD, SBER_MEGA_MARKET, CISLINK, ONE_C, AVITO, LEROY_MERLIN, DETMIR, KAZAN_EXPRESS, EVOTOR, WEBASYST, AMAZON, EBAY, SIMALAND, INSALES, LAMODA, OZON_PERFORMANCE, WALMART, GOOGLE, YANDEX_DISC, EMAIL, WOOCOMMERCE, MAGNIT, OPENCART, M_VIDEO, TAKEALOT, UZUM, SHOPIFY, MAKRO, YANDEX_KIT, BOB_SHOP, KASPI, DIADOC 服务.
externalName string 其他名字
curl --request GET 'https://api.selsup.ru/api/warehouse/service' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200
阵列项结构 Warehouse[]
字段类型必填描述
id integer · int64 Id.
name string 姓名.
service stringNONE, WILDBERRIES, OZON, YANDEX_MARKET, FAMILIYA, NATIONAL_CATALOG, ALIEXPRESS, OTHER, MOY_SKLAD, SBER_MEGA_MARKET, CISLINK, ONE_C, AVITO, LEROY_MERLIN, DETMIR, KAZAN_EXPRESS, EVOTOR, WEBASYST, AMAZON, EBAY, SIMALAND, INSALES, LAMODA, OZON_PERFORMANCE, WALMART, GOOGLE, YANDEX_DISC, EMAIL, WOOCOMMERCE, MAGNIT, OPENCART, M_VIDEO, TAKEALOT, UZUM, SHOPIFY, MAKRO, YANDEX_KIT, BOB_SHOP, KASPI, DIADOC 服务.
organizationId integer · int64 组织身份证.
fboOrganizationId integer · int64 联邦调查局组织身份证.
noPlaceCellId integer · int32 没有地方细胞身份证.
noPlaceCell Cell 没有地方细胞.
对象场 Cell
字段类型必填描述
id integer · int32 Id.
warehouseId integer · int64 仓库身份证.
passageId integer · int32 通过身份证.
shelfId integer · int32 货架身份证.
rackId integer · int32 查看身份证.
name string 姓名.
fullName string 完整名字.
sortName string 某种名字.
barcode string 条码.
deleted boolean 删除了.
width integer · int32 宽度.
height integer · int32 高.
depth integer · int32 深度.
clientId integer · int64 客户身份证.
lastInventoryId integer · int32 最后的库存身份证.
type stringNORMAL, NO_PLACE, REFUND Type.
refundCellId integer · int32 退还电话身份证.
organization Organization 组织.
对象场 Organization
字段类型必填描述
id integer · int64 Id.
name string 姓名.
shortName string 简短名字.
taxType stringYSN, YSN_CONSUMPTION, AUSN, AUSN_CONSUMPTION, OSNO, SELF_EMPLOYED 税收类型.
taxRate integer · int32 税率.
taxNds integer · int32 税收.
inputTaxNds integer · int32 输入税税.
outputTaxNds integer · int32 产出税法
enableNewTaxCalculation boolean 启用新的税收计算.
useNdsCostPrice boolean 使用NDS成本价格.
inn string 酒店.
kpp string 现在,我们要去.
bank string 银行.
bik string 骑自行车.
corrBill string 科尔比尔.
billNumber string 账号号.
stampPath string 邮票路径.
stampUrl string 邮票URL.
stampSize integer · int32 邮票大小.
stampWidth integer · int32 盖章宽度.
stampHeight integer · int32 邮票高度.
signaturePath string 签字之路.
signatureUrl string 签字的URL.
signatureSize integer · int32 签名大小.
signatureWidth integer · int32 签字宽度.
signatureHeight integer · int32 签字高度.
ipPerson Person 个人.
对象场 Person
字段类型必填描述
personId integer · int64 个人身份证.
firstName string 姓名
lastName string 姓名
surName string 苏尔名
clientId integer · int64 客户身份证.
position PersonPosition 位置.
versionId integer · int64 版本ID.
createdUser string 创建用户.
createdDate string · date-time 创造日期.
deleted boolean 删除了.
userId integer · int32 用户身份证
hasChanges boolean 有变化.
fullName string 完整名字.
shortName string 简短名字.
form stringOOO, IP, SELF_EMPLOYED 形式.
ip boolean ,我知道.
clientId integer · int64 客户身份证.
address Address 现在,我有个地址.
对象场 Address
字段类型必填描述
id integer · int32 Id.
postCode string 邮政代码.
country Country 乡村.
region Region 地区.
regionId integer · int32 区域ID
street string 路上.
house string 房子.
district string 地区.
city string 城市.
locality string 地方.
building string 建筑物.
flat string 没有什么.
short string 短暂.
addressId Address 联系方式
full string 满满.
phoneNumber string 电话号码.
addressFull string 地址是完整的.
priority integer · int32 优先考虑.
useForOrder boolean 为了秩序而使用.
clientId integer · int64 客户身份证.
externalName string 其他名字
notSyncStocks boolean 没有同步股票.
ignoreOrders boolean 忽略命令.
passages Passage[] 经文.
阵列项结构 Passage
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
racks Rack[] 货架.
阵列项结构 Rack
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
passageId integer · int32 通过身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
shelves Shelf[] 货架.
warehouseServices ServiceWarehouse[] 仓库服务.
阵列项结构 ServiceWarehouse
字段类型必填描述
id integer · int64 Id.
name string 姓名.
externalId string 其他身份证.
warehouseId integer · int64 仓库身份证.
service stringNONE, WILDBERRIES, OZON, YANDEX_MARKET, FAMILIYA, NATIONAL_CATALOG, ALIEXPRESS, OTHER, MOY_SKLAD, SBER_MEGA_MARKET, CISLINK, ONE_C, AVITO, LEROY_MERLIN, DETMIR, KAZAN_EXPRESS, EVOTOR, WEBASYST, AMAZON, EBAY, SIMALAND, INSALES, LAMODA, OZON_PERFORMANCE, WALMART, GOOGLE, YANDEX_DISC, EMAIL, WOOCOMMERCE, MAGNIT, OPENCART, M_VIDEO, TAKEALOT, UZUM, SHOPIFY, MAKRO, YANDEX_KIT, BOB_SHOP, KASPI, DIADOC 服务.
organizationId integer · int64 组织身份证.
serviceOrganizationId integer · int64 服务组织身份证.
deliveries object 交货.
deleted boolean 删除了.
caption string 标题
durationHours integer · int32 时间时间
reservationDays integer · int32 预订日.
schedule string 时间表.
urAddress string 您的地址
city string 城市.
longitude number · double 长度.
latitude number · double 广度.
warehouseServiceId integer · int64 仓库服务身份证.
warehouseType string 仓库类型.
description string 描述
inn integer · int64 酒店.
kpp integer · int64 现在,我们要去.
paymentAccount string 支付账户
telephone string 电话.
regionName string 区域名称
region Region 地区.
对象场 Region
字段类型必填描述
regionId integer · int32 区域ID
countryId integer · int32 国家的身份证.
name string 姓名.
regionSynonyms RegionSynonym[] 区域同义词
阵列项结构 RegionSynonym
字段类型必填描述
id integer · int64 Id.
regionId integer · int64 区域ID
synonym string 标语是同义词.
service string 服务.
regionId integer · int32 区域ID
isPrepayOnline boolean 现在,我们在网上做了预付.
isCash boolean 这是现金.
isCard boolean 是卡德.
isGoodsActive boolean 货物活动.
orgId Warehouse 组织身份证.
address string 现在,我有个地址.
[
  "string"
]
错误3

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

401auth_required
需要进行认证

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

400error_access_denied
拒绝访问

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

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

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

GET

货架

/api/warehouse/rack/{rackId}
读取访问的标志

使用GET/api/warehouse/rack/{rackId}.的架子

路径参数

字段类型必填描述
rackId integer · int32 查看身份证.
curl --request GET 'https://api.selsup.ru/api/warehouse/rack/1001' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200
对象场 Rack
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
passageId integer · int32 通过身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
shelves Shelf[] 货架.
阵列项结构 Shelf
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
rackId integer · int32 查看身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
cells Cell[] 细胞.
阵列项结构 Cell
字段类型必填描述
id integer · int32 Id.
warehouseId integer · int64 仓库身份证.
passageId integer · int32 通过身份证.
shelfId integer · int32 货架身份证.
rackId integer · int32 查看身份证.
name string 姓名.
fullName string 完整名字.
sortName string 某种名字.
barcode string 条码.
deleted boolean 删除了.
width integer · int32 宽度.
height integer · int32 高.
depth integer · int32 深度.
clientId integer · int64 客户身份证.
lastInventoryId integer · int32 最后的库存身份证.
type stringNORMAL, NO_PLACE, REFUND Type.
{
  "id": 1001,
  "name": "Example",
  "warehouseId": 1001,
  "passageId": 1001,
  "deleted": false,
  "clientId": 1001
}
错误5

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

401auth_required
需要进行认证

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

400error_access_denied
拒绝访问

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

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

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

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

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

400error_rack_not_found
未找到货架单元

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

DELETE

删除架子

/api/warehouse/rack/{rackId}
具有写入的标志

使用 DELETE /api/warehouse/rack/{rackId}.删除 Rack

路径参数

字段类型必填描述
rackId integer · int32 查看身份证.
curl --request DELETE 'https://api.selsup.ru/api/warehouse/rack/1001' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200

答案没有身体.

错误6

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

401auth_required
需要进行认证

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

400error_access_denied
拒绝访问

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

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

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

400error_cell_denied_delete
项目被链接到单元格,不可能删除

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

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

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

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

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

GET

获得奥横岸仓库

/api/warehouse/plan/crossdock-warehouses
读取访问的标志

使用GET/api/warehouse/plan/crossdock-warehouses.获得Ozon Crossdock仓库

查询参数

字段类型必填描述
organizationId integer · int64 组织身份证.
search string 搜索.
curl --request GET 'https://api.selsup.ru/api/warehouse/plan/crossdock-warehouses?organizationId=1001&search=string' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200
阵列项结构 OzonFboWarehouse[]
字段类型必填描述
address string 现在,我有个地址.
name string 姓名.
coordinates Coordinates 坐标.
对象场 Coordinates
字段类型必填描述
latitude number · double 广度.
longitude number · double 长度.
warehouse_id integer · int64 仓库身份证.
warehouse_type string 仓库类型.
[
  "string"
]
错误5

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

401auth_required
需要进行认证

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

400error_access_denied
拒绝访问

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

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

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

400error_empty_ozon_id
Ozon ID为空

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

400error_token_expired_or_revoked
API令牌被撤销或输入错误

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

GET

经过

/api/warehouse/passage/{passageId}
读取访问的标志

使用GETX/api/warehouse/passage/{passageId}.的通行

路径参数

字段类型必填描述
passageId integer · int32 通过身份证.
curl --request GET 'https://api.selsup.ru/api/warehouse/passage/1001' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200
对象场 Passage
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
racks Rack[] 货架.
阵列项结构 Rack
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
passageId integer · int32 通过身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
shelves Shelf[] 货架.
阵列项结构 Shelf
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
rackId integer · int32 查看身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
cells Cell[] 细胞.
{
  "id": 1001,
  "name": "Example",
  "warehouseId": 1001,
  "deleted": false,
  "clientId": 1001,
  "racks": "string"
}
错误5

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

401auth_required
需要进行认证

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

400error_access_denied
拒绝访问

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

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

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

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

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

400error_passage_not_found
没有发现通道

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

DELETE

删除通行

/api/warehouse/passage/{passageId}
具有写入的标志

使用 DELETE /api/warehouse/passage/{passageId}.删除通行

路径参数

字段类型必填描述
passageId integer · int32 通过身份证.
curl --request DELETE 'https://api.selsup.ru/api/warehouse/passage/1001' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200

答案没有身体.

错误6

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

401auth_required
需要进行认证

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

400error_access_denied
拒绝访问

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

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

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

400error_cell_denied_delete
项目被链接到单元格,不可能删除

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

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

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

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

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

GET

列表

/api/warehouse/list
读取访问的标志

使用 GET /api/warehouse/list.的列表

查询参数

字段类型必填描述
service stringNONE, WILDBERRIES, OZON, YANDEX_MARKET, FAMILIYA, NATIONAL_CATALOG, ALIEXPRESS, OTHER, MOY_SKLAD, SBER_MEGA_MARKET, CISLINK, ONE_C, AVITO, LEROY_MERLIN, DETMIR, KAZAN_EXPRESS, EVOTOR, WEBASYST, AMAZON, EBAY, SIMALAND, INSALES, LAMODA, OZON_PERFORMANCE, WALMART, GOOGLE, YANDEX_DISC, EMAIL, WOOCOMMERCE, MAGNIT, OPENCART, M_VIDEO, TAKEALOT, UZUM, SHOPIFY, MAKRO, YANDEX_KIT, BOB_SHOP, KASPI, DIADOC 服务.
curl --request GET 'https://api.selsup.ru/api/warehouse/list' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200
阵列项结构 Warehouse[]
字段类型必填描述
id integer · int64 Id.
name string 姓名.
service stringNONE, WILDBERRIES, OZON, YANDEX_MARKET, FAMILIYA, NATIONAL_CATALOG, ALIEXPRESS, OTHER, MOY_SKLAD, SBER_MEGA_MARKET, CISLINK, ONE_C, AVITO, LEROY_MERLIN, DETMIR, KAZAN_EXPRESS, EVOTOR, WEBASYST, AMAZON, EBAY, SIMALAND, INSALES, LAMODA, OZON_PERFORMANCE, WALMART, GOOGLE, YANDEX_DISC, EMAIL, WOOCOMMERCE, MAGNIT, OPENCART, M_VIDEO, TAKEALOT, UZUM, SHOPIFY, MAKRO, YANDEX_KIT, BOB_SHOP, KASPI, DIADOC 服务.
organizationId integer · int64 组织身份证.
fboOrganizationId integer · int64 联邦调查局组织身份证.
noPlaceCellId integer · int32 没有地方细胞身份证.
noPlaceCell Cell 没有地方细胞.
对象场 Cell
字段类型必填描述
id integer · int32 Id.
warehouseId integer · int64 仓库身份证.
passageId integer · int32 通过身份证.
shelfId integer · int32 货架身份证.
rackId integer · int32 查看身份证.
name string 姓名.
fullName string 完整名字.
sortName string 某种名字.
barcode string 条码.
deleted boolean 删除了.
width integer · int32 宽度.
height integer · int32 高.
depth integer · int32 深度.
clientId integer · int64 客户身份证.
lastInventoryId integer · int32 最后的库存身份证.
type stringNORMAL, NO_PLACE, REFUND Type.
refundCellId integer · int32 退还电话身份证.
organization Organization 组织.
对象场 Organization
字段类型必填描述
id integer · int64 Id.
name string 姓名.
shortName string 简短名字.
taxType stringYSN, YSN_CONSUMPTION, AUSN, AUSN_CONSUMPTION, OSNO, SELF_EMPLOYED 税收类型.
taxRate integer · int32 税率.
taxNds integer · int32 税收.
inputTaxNds integer · int32 输入税税.
outputTaxNds integer · int32 产出税法
enableNewTaxCalculation boolean 启用新的税收计算.
useNdsCostPrice boolean 使用NDS成本价格.
inn string 酒店.
kpp string 现在,我们要去.
bank string 银行.
bik string 骑自行车.
corrBill string 科尔比尔.
billNumber string 账号号.
stampPath string 邮票路径.
stampUrl string 邮票URL.
stampSize integer · int32 邮票大小.
stampWidth integer · int32 盖章宽度.
stampHeight integer · int32 邮票高度.
signaturePath string 签字之路.
signatureUrl string 签字的URL.
signatureSize integer · int32 签名大小.
signatureWidth integer · int32 签字宽度.
signatureHeight integer · int32 签字高度.
ipPerson Person 个人.
对象场 Person
字段类型必填描述
personId integer · int64 个人身份证.
firstName string 姓名
lastName string 姓名
surName string 苏尔名
clientId integer · int64 客户身份证.
position PersonPosition 位置.
versionId integer · int64 版本ID.
createdUser string 创建用户.
createdDate string · date-time 创造日期.
deleted boolean 删除了.
userId integer · int32 用户身份证
hasChanges boolean 有变化.
fullName string 完整名字.
shortName string 简短名字.
form stringOOO, IP, SELF_EMPLOYED 形式.
ip boolean ,我知道.
clientId integer · int64 客户身份证.
address Address 现在,我有个地址.
对象场 Address
字段类型必填描述
id integer · int32 Id.
postCode string 邮政代码.
country Country 乡村.
region Region 地区.
regionId integer · int32 区域ID
street string 路上.
house string 房子.
district string 地区.
city string 城市.
locality string 地方.
building string 建筑物.
flat string 没有什么.
short string 短暂.
addressId Address 联系方式
full string 满满.
phoneNumber string 电话号码.
addressFull string 地址是完整的.
priority integer · int32 优先考虑.
useForOrder boolean 为了秩序而使用.
clientId integer · int64 客户身份证.
externalName string 其他名字
notSyncStocks boolean 没有同步股票.
ignoreOrders boolean 忽略命令.
passages Passage[] 经文.
阵列项结构 Passage
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
racks Rack[] 货架.
阵列项结构 Rack
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
passageId integer · int32 通过身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
shelves Shelf[] 货架.
warehouseServices ServiceWarehouse[] 仓库服务.
阵列项结构 ServiceWarehouse
字段类型必填描述
id integer · int64 Id.
name string 姓名.
externalId string 其他身份证.
warehouseId integer · int64 仓库身份证.
service stringNONE, WILDBERRIES, OZON, YANDEX_MARKET, FAMILIYA, NATIONAL_CATALOG, ALIEXPRESS, OTHER, MOY_SKLAD, SBER_MEGA_MARKET, CISLINK, ONE_C, AVITO, LEROY_MERLIN, DETMIR, KAZAN_EXPRESS, EVOTOR, WEBASYST, AMAZON, EBAY, SIMALAND, INSALES, LAMODA, OZON_PERFORMANCE, WALMART, GOOGLE, YANDEX_DISC, EMAIL, WOOCOMMERCE, MAGNIT, OPENCART, M_VIDEO, TAKEALOT, UZUM, SHOPIFY, MAKRO, YANDEX_KIT, BOB_SHOP, KASPI, DIADOC 服务.
organizationId integer · int64 组织身份证.
serviceOrganizationId integer · int64 服务组织身份证.
deliveries object 交货.
deleted boolean 删除了.
caption string 标题
durationHours integer · int32 时间时间
reservationDays integer · int32 预订日.
schedule string 时间表.
urAddress string 您的地址
city string 城市.
longitude number · double 长度.
latitude number · double 广度.
warehouseServiceId integer · int64 仓库服务身份证.
warehouseType string 仓库类型.
description string 描述
inn integer · int64 酒店.
kpp integer · int64 现在,我们要去.
paymentAccount string 支付账户
telephone string 电话.
regionName string 区域名称
region Region 地区.
对象场 Region
字段类型必填描述
regionId integer · int32 区域ID
countryId integer · int32 国家的身份证.
name string 姓名.
regionSynonyms RegionSynonym[] 区域同义词
阵列项结构 RegionSynonym
字段类型必填描述
id integer · int64 Id.
regionId integer · int64 区域ID
synonym string 标语是同义词.
service string 服务.
regionId integer · int32 区域ID
isPrepayOnline boolean 现在,我们在网上做了预付.
isCash boolean 这是现金.
isCard boolean 是卡德.
isGoodsActive boolean 货物活动.
orgId Warehouse 组织身份证.
address string 现在,我有个地址.
[
  "string"
]
错误4

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

401auth_required
需要进行认证

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

400error_access_denied
拒绝访问

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

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

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

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

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

GET

通过服务获得仓库

/api/warehouse/getWarehousesByService
读取访问的标志

使用GET/api/warehouse/getWarehousesByService.获得仓库按服务

查询参数

字段类型必填描述
service stringNONE, WILDBERRIES, OZON, YANDEX_MARKET, FAMILIYA, NATIONAL_CATALOG, ALIEXPRESS, OTHER, MOY_SKLAD, SBER_MEGA_MARKET, CISLINK, ONE_C, AVITO, LEROY_MERLIN, DETMIR, KAZAN_EXPRESS, EVOTOR, WEBASYST, AMAZON, EBAY, SIMALAND, INSALES, LAMODA, OZON_PERFORMANCE, WALMART, GOOGLE, YANDEX_DISC, EMAIL, WOOCOMMERCE, MAGNIT, OPENCART, M_VIDEO, TAKEALOT, UZUM, SHOPIFY, MAKRO, YANDEX_KIT, BOB_SHOP, KASPI, DIADOC 服务.
externalName string 其他名字
curl --request GET 'https://api.selsup.ru/api/warehouse/getWarehousesByService?service=NONE' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200
阵列项结构 Warehouse[]
字段类型必填描述
id integer · int64 Id.
name string 姓名.
service stringNONE, WILDBERRIES, OZON, YANDEX_MARKET, FAMILIYA, NATIONAL_CATALOG, ALIEXPRESS, OTHER, MOY_SKLAD, SBER_MEGA_MARKET, CISLINK, ONE_C, AVITO, LEROY_MERLIN, DETMIR, KAZAN_EXPRESS, EVOTOR, WEBASYST, AMAZON, EBAY, SIMALAND, INSALES, LAMODA, OZON_PERFORMANCE, WALMART, GOOGLE, YANDEX_DISC, EMAIL, WOOCOMMERCE, MAGNIT, OPENCART, M_VIDEO, TAKEALOT, UZUM, SHOPIFY, MAKRO, YANDEX_KIT, BOB_SHOP, KASPI, DIADOC 服务.
organizationId integer · int64 组织身份证.
fboOrganizationId integer · int64 联邦调查局组织身份证.
noPlaceCellId integer · int32 没有地方细胞身份证.
noPlaceCell Cell 没有地方细胞.
对象场 Cell
字段类型必填描述
id integer · int32 Id.
warehouseId integer · int64 仓库身份证.
passageId integer · int32 通过身份证.
shelfId integer · int32 货架身份证.
rackId integer · int32 查看身份证.
name string 姓名.
fullName string 完整名字.
sortName string 某种名字.
barcode string 条码.
deleted boolean 删除了.
width integer · int32 宽度.
height integer · int32 高.
depth integer · int32 深度.
clientId integer · int64 客户身份证.
lastInventoryId integer · int32 最后的库存身份证.
type stringNORMAL, NO_PLACE, REFUND Type.
refundCellId integer · int32 退还电话身份证.
organization Organization 组织.
对象场 Organization
字段类型必填描述
id integer · int64 Id.
name string 姓名.
shortName string 简短名字.
taxType stringYSN, YSN_CONSUMPTION, AUSN, AUSN_CONSUMPTION, OSNO, SELF_EMPLOYED 税收类型.
taxRate integer · int32 税率.
taxNds integer · int32 税收.
inputTaxNds integer · int32 输入税税.
outputTaxNds integer · int32 产出税法
enableNewTaxCalculation boolean 启用新的税收计算.
useNdsCostPrice boolean 使用NDS成本价格.
inn string 酒店.
kpp string 现在,我们要去.
bank string 银行.
bik string 骑自行车.
corrBill string 科尔比尔.
billNumber string 账号号.
stampPath string 邮票路径.
stampUrl string 邮票URL.
stampSize integer · int32 邮票大小.
stampWidth integer · int32 盖章宽度.
stampHeight integer · int32 邮票高度.
signaturePath string 签字之路.
signatureUrl string 签字的URL.
signatureSize integer · int32 签名大小.
signatureWidth integer · int32 签字宽度.
signatureHeight integer · int32 签字高度.
ipPerson Person 个人.
对象场 Person
字段类型必填描述
personId integer · int64 个人身份证.
firstName string 姓名
lastName string 姓名
surName string 苏尔名
clientId integer · int64 客户身份证.
position PersonPosition 位置.
versionId integer · int64 版本ID.
createdUser string 创建用户.
createdDate string · date-time 创造日期.
deleted boolean 删除了.
userId integer · int32 用户身份证
hasChanges boolean 有变化.
fullName string 完整名字.
shortName string 简短名字.
form stringOOO, IP, SELF_EMPLOYED 形式.
ip boolean ,我知道.
clientId integer · int64 客户身份证.
address Address 现在,我有个地址.
对象场 Address
字段类型必填描述
id integer · int32 Id.
postCode string 邮政代码.
country Country 乡村.
region Region 地区.
regionId integer · int32 区域ID
street string 路上.
house string 房子.
district string 地区.
city string 城市.
locality string 地方.
building string 建筑物.
flat string 没有什么.
short string 短暂.
addressId Address 联系方式
full string 满满.
phoneNumber string 电话号码.
addressFull string 地址是完整的.
priority integer · int32 优先考虑.
useForOrder boolean 为了秩序而使用.
clientId integer · int64 客户身份证.
externalName string 其他名字
notSyncStocks boolean 没有同步股票.
ignoreOrders boolean 忽略命令.
passages Passage[] 经文.
阵列项结构 Passage
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
racks Rack[] 货架.
阵列项结构 Rack
字段类型必填描述
id integer · int32 Id.
name string 姓名.
warehouseId integer · int64 仓库身份证.
passageId integer · int32 通过身份证.
deleted boolean 删除了.
clientId integer · int64 客户身份证.
shelves Shelf[] 货架.
warehouseServices ServiceWarehouse[] 仓库服务.
阵列项结构 ServiceWarehouse
字段类型必填描述
id integer · int64 Id.
name string 姓名.
externalId string 其他身份证.
warehouseId integer · int64 仓库身份证.
service stringNONE, WILDBERRIES, OZON, YANDEX_MARKET, FAMILIYA, NATIONAL_CATALOG, ALIEXPRESS, OTHER, MOY_SKLAD, SBER_MEGA_MARKET, CISLINK, ONE_C, AVITO, LEROY_MERLIN, DETMIR, KAZAN_EXPRESS, EVOTOR, WEBASYST, AMAZON, EBAY, SIMALAND, INSALES, LAMODA, OZON_PERFORMANCE, WALMART, GOOGLE, YANDEX_DISC, EMAIL, WOOCOMMERCE, MAGNIT, OPENCART, M_VIDEO, TAKEALOT, UZUM, SHOPIFY, MAKRO, YANDEX_KIT, BOB_SHOP, KASPI, DIADOC 服务.
organizationId integer · int64 组织身份证.
serviceOrganizationId integer · int64 服务组织身份证.
deliveries object 交货.
deleted boolean 删除了.
caption string 标题
durationHours integer · int32 时间时间
reservationDays integer · int32 预订日.
schedule string 时间表.
urAddress string 您的地址
city string 城市.
longitude number · double 长度.
latitude number · double 广度.
warehouseServiceId integer · int64 仓库服务身份证.
warehouseType string 仓库类型.
description string 描述
inn integer · int64 酒店.
kpp integer · int64 现在,我们要去.
paymentAccount string 支付账户
telephone string 电话.
regionName string 区域名称
region Region 地区.
对象场 Region
字段类型必填描述
regionId integer · int32 区域ID
countryId integer · int32 国家的身份证.
name string 姓名.
regionSynonyms RegionSynonym[] 区域同义词
阵列项结构 RegionSynonym
字段类型必填描述
id integer · int64 Id.
regionId integer · int64 区域ID
synonym string 标语是同义词.
service string 服务.
regionId integer · int32 区域ID
isPrepayOnline boolean 现在,我们在网上做了预付.
isCash boolean 这是现金.
isCard boolean 是卡德.
isGoodsActive boolean 货物活动.
orgId Warehouse 组织身份证.
address string 现在,我有个地址.
[
  "string"
]
错误3

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

401auth_required
需要进行认证

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

400error_access_denied
拒绝访问

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

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

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

GET

获得服务库

/api/warehouse/getWarehouseOfService
读取访问的标志

使用GETX/api/warehouse/getWarehouseOfService.获取服务仓库

查询参数

字段类型必填描述
organizationId integer · int64 组织身份证.
service stringNONE, WILDBERRIES, OZON, YANDEX_MARKET, FAMILIYA, NATIONAL_CATALOG, ALIEXPRESS, OTHER, MOY_SKLAD, SBER_MEGA_MARKET, CISLINK, ONE_C, AVITO, LEROY_MERLIN, DETMIR, KAZAN_EXPRESS, EVOTOR, WEBASYST, AMAZON, EBAY, SIMALAND, INSALES, LAMODA, OZON_PERFORMANCE, WALMART, GOOGLE, YANDEX_DISC, EMAIL, WOOCOMMERCE, MAGNIT, OPENCART, M_VIDEO, TAKEALOT, UZUM, SHOPIFY, MAKRO, YANDEX_KIT, BOB_SHOP, KASPI, DIADOC 服务.
curl --request GET 'https://api.selsup.ru/api/warehouse/getWarehouseOfService?organizationId=1001&service=NONE' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200
阵列项结构 WarehouseOfService[]
字段类型必填描述
id object Id.
name string 姓名.
[
  "string"
]
错误20

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

401auth_required
需要进行认证

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

400error_access_denied
拒绝访问

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

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

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

400error_empty_ozon_id
Ozon ID为空

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

400error_ms_error
我的商店API错误: {message}

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

400error_no_business_id_yandex_market
请在Yandex.Market集成设置中指定账户ID

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

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

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

400error_no_integration_with_service
未配置与 {service}的集成

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

400error_no_integration_with_wb_ozon
与Wildberries或Ozon的整合没有配置,或者密钥无效。到集成部分去配置

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

400error_no_integration_with_wildberries
与Wildberries的整合没有配置。指定标准API密钥

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

400error_no_integration_with_yandex_market
与Yandex.Market的整合没有配置。请通过整合。

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

400error_organization_not_found
没有发现任何组织

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

400error_ozon_api
Ozon API错误: {message}。

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

400error_ozon_api_limit
对Ozone API的请求已经超过了限制。如果你过于频繁地运行一个任务,就会发生这种情况。在重新运行该任务之前,请等待几分钟。

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

400error_ozon_premium_plus_subscription_required
需要使用OZON Premium Pro订阅

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

400error_ozon_token_invalid
Ozone令牌不正确或已从机柜中删除。转到集成部分,配置

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

400error_prepared_integration_not_found
未找到准备好的集成

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

400error_remote_error
{message}

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

400error_service_error
你正在发送或我们正在接收数据的市场或服务没有通过API响应,出现网络错误。稍后再重新启动任务,也许会成功。

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

400error_token_expired_or_revoked
API令牌被撤销或输入错误

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

GET

收购仓库货币

/api/warehouse/getWarehouseBalancesWithPrices
读取访问的标志

使用GET/api/warehouse/getWarehouseBalancesWithPrices.获得仓库余额与价格

curl --request GET 'https://api.selsup.ru/api/warehouse/getWarehouseBalancesWithPrices' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200
阵列项结构 WarehouseBalancesWithPrices[]
字段类型必填描述
warehouseId integer · int64 仓库身份证.
quantity integer · int32 量量.
distinctQuantity integer · int64 显而易见的数量.
purchasePrice number · double 买价.
additionalExpensesAmount number · double 额外费用
wildberriesRetailPrice number · double 野生果零售价格
ozonRetailPrice number · double 子零售价格
yandexMarketRetailPrice number · double 亚兰德克斯市场零售价格
aliexpressRetailPrice number · double 果零售价格
sberMegaMarketRetailPrice number · double 瑞银大市场零售价格
retailPriceByMarketplace number · double 按市场价格.
[
  "string"
]
错误4

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

401auth_required
需要进行认证

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

400error_access_denied
拒绝访问

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

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

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

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

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

GET

获得服务仓库

/api/warehouse/getServiceWarehouse
读取访问的标志

使用 GET /api/warehouse/getServiceWarehouse.获取服务仓库

curl --request GET 'https://api.selsup.ru/api/warehouse/getServiceWarehouse' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200
阵列项结构 ServiceWarehouse[]
字段类型必填描述
id integer · int64 Id.
name string 姓名.
externalId string 其他身份证.
warehouseId integer · int64 仓库身份证.
service stringNONE, WILDBERRIES, OZON, YANDEX_MARKET, FAMILIYA, NATIONAL_CATALOG, ALIEXPRESS, OTHER, MOY_SKLAD, SBER_MEGA_MARKET, CISLINK, ONE_C, AVITO, LEROY_MERLIN, DETMIR, KAZAN_EXPRESS, EVOTOR, WEBASYST, AMAZON, EBAY, SIMALAND, INSALES, LAMODA, OZON_PERFORMANCE, WALMART, GOOGLE, YANDEX_DISC, EMAIL, WOOCOMMERCE, MAGNIT, OPENCART, M_VIDEO, TAKEALOT, UZUM, SHOPIFY, MAKRO, YANDEX_KIT, BOB_SHOP, KASPI, DIADOC 服务.
organizationId integer · int64 组织身份证.
serviceOrganizationId integer · int64 服务组织身份证.
[
  "string"
]
错误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包含上述翻译.

GET

根据服务获得地区仓库

/api/warehouse/getRegionWarehousesByService
读取访问的标志

使用GET/api/warehouse/getRegionWarehousesByService.获取区域仓库按服务

查询参数

字段类型必填描述
services stringNONE, WILDBERRIES, OZON, YANDEX_MARKET, FAMILIYA, NATIONAL_CATALOG, ALIEXPRESS, OTHER, MOY_SKLAD, SBER_MEGA_MARKET, CISLINK, ONE_C, AVITO, LEROY_MERLIN, DETMIR, KAZAN_EXPRESS, EVOTOR, WEBASYST, AMAZON, EBAY, SIMALAND, INSALES, LAMODA, OZON_PERFORMANCE, WALMART, GOOGLE, YANDEX_DISC, EMAIL, WOOCOMMERCE, MAGNIT, OPENCART, M_VIDEO, TAKEALOT, UZUM, SHOPIFY, MAKRO, YANDEX_KIT, BOB_SHOP, KASPI, DIADOC 服务.
curl --request GET 'https://api.selsup.ru/api/warehouse/getRegionWarehousesByService?services=NONE' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200
[
  "string"
]
错误4

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

401auth_required
需要进行认证

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

400error_access_denied
拒绝访问

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

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

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

400error_service_not_found
未选择市场

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

GET

找个细胞

/api/warehouse/findCell
读取访问的标志

使用 GET /api/warehouse/findCell. 找到细胞

查询参数

字段类型必填描述
barcode string 条码.
curl --request GET 'https://api.selsup.ru/api/warehouse/findCell?barcode=string' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200
对象场 Cell
字段类型必填描述
id integer · int32 Id.
warehouseId integer · int64 仓库身份证.
passageId integer · int32 通过身份证.
shelfId integer · int32 货架身份证.
rackId integer · int32 查看身份证.
name string 姓名.
fullName string 完整名字.
sortName string 某种名字.
barcode string 条码.
deleted boolean 删除了.
width integer · int32 宽度.
height integer · int32 高.
depth integer · int32 深度.
clientId integer · int64 客户身份证.
lastInventoryId integer · int32 最后的库存身份证.
type stringNORMAL, NO_PLACE, REFUND Type.
{
  "id": 1001,
  "warehouseId": 1001,
  "passageId": 1001,
  "shelfId": 1001,
  "rackId": 1001,
  "name": "Example"
}
错误3

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

401auth_required
需要进行认证

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

400error_access_denied
拒绝访问

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

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

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

GET

细胞

/api/warehouse/cell/{cellId}
读取访问的标志

使用GET/api/warehouse/cell/{cellId}.的细胞

查询参数

字段类型必填描述
cellId integer · int32 电话身份证.
curl --request GET 'https://api.selsup.ru/api/warehouse/cell/%7BcellId%7D?cellId=1001' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200
对象场 Cell
字段类型必填描述
id integer · int32 Id.
warehouseId integer · int64 仓库身份证.
passageId integer · int32 通过身份证.
shelfId integer · int32 货架身份证.
rackId integer · int32 查看身份证.
name string 姓名.
fullName string 完整名字.
sortName string 某种名字.
barcode string 条码.
deleted boolean 删除了.
width integer · int32 宽度.
height integer · int32 高.
depth integer · int32 深度.
clientId integer · int64 客户身份证.
lastInventoryId integer · int32 最后的库存身份证.
type stringNORMAL, NO_PLACE, REFUND Type.
{
  "id": 1001,
  "warehouseId": 1001,
  "passageId": 1001,
  "shelfId": 1001,
  "rackId": 1001,
  "name": "Example"
}
错误5

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

401auth_required
需要进行认证

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

400error_access_denied
拒绝访问

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

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

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

400error_cell_not_found
没有发现细胞

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

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

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

DELETE

删除细胞

/api/warehouse/cell/{cellId}
具有写入的标志

使用 DELETE /api/warehouse/cell/{cellId}.删除Cell

路径参数

字段类型必填描述
cellId integer · int32 电话身份证.
curl --request DELETE 'https://api.selsup.ru/api/warehouse/cell/1001' \
  --header 'Authorization: YOUR_API_TOKEN'

成功的反应

200

答案没有身体.

错误6

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

401auth_required
需要进行认证

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

400error_access_denied
拒绝访问

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

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

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

400error_cell_denied_delete
项目被链接到单元格,不可能删除

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

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

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

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

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

Authorization

测试请求的标志

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

试一试

实际请求参数

现场API响应

发送请求查看SelSup的响应.