SelSup Developers

Public API · API Reference

Quality certificates

Endpoints for Quality certificates, including exact routes, parameters, request bodies, and expandable response schemas.

10 endpoints/api/qualityDocumentStableMachine-readable description ↗
{ }

This page is backed by an editable standalone contract. Validate write operations with test data before production use.

/api/qualityDocument

Ready-to-use workflows

Ready-to-use workflows

Data model

Data structures

Models are listed once here and can also be expanded directly from the endpoints that use them.

QualityDocumentImage5 fields
idinteger · int64

Id.

urlstring

Url.

positioninteger · int32

Position.

documentIdinteger · int64

Document Id.

clientIdinteger · int64

Client Id.

AliexpressCategory8 fields
idinteger · int64

Id.

namestring

Name.

publishedboolean

Published.

parentIdinteger · int64

Parent Id.

aliexpressIdinteger · int64

Aliexpress Id.

lastSyncDatestring · date-time

Last Sync Date.

notChangedDaysinteger · int32

Not Changed Days.

isLeafboolean

Is Leaf.

AvitoCategory9 fields
idinteger · int64

Id.

Required
namestring

Name.

Required
shortNamestring

Short Name.

publishedboolean

Published.

parentIdinteger · int64

Parent Id.

lastSyncDatestring · date-time

Last Sync Date.

isLeafboolean

Is Leaf.

goodsTypestring

Goods Type.

categorystring

Category.

Brand11 fields
brandIdinteger · int32

Brand Id.

read-only
namestring

Name.

Required
clientIdinteger · int64

Client Id.

read-only
logoUrlstring

Logo Url.

read-only
logoSizeinteger · int32

Logo Size.

read-only
logoWidthinteger · int32

Logo Width.

read-only
logoHeightinteger · int32

Logo Height.

read-only
deletedboolean

Deleted.

ozonNamestring

Ozon Name.

ozonIdinteger · int64

Ozon Id.

oneCIdstring

One CId.

Category47 fields
categoryIdinteger · int32

Category Id.

read-only
namestring

Name.

Required
deletedboolean

Deleted.

read-only
parentIdinteger · int32

Parent Id.

clientIdinteger · int64

Client Id.

read-only
markedboolean

Marked.

categoryClassstring

Category Class.

wildberriesTypeWildberriesType

Wildberries Type.

wildberriesCategoryIdinteger · int64

Wildberries Category Id.

wildberriesFbmCommissionnumber · double

Wildberries Fbm Commission.

read-only
wildberriesFbwCommissionnumber · double

Wildberries Fbw Commission.

read-only
wildberriesFbsCommissionnumber · double

Wildberries Fbs Commission.

read-only
wildberriesDbsCommissionnumber · double

Wildberries Dbs Commission.

read-only
wildberriesEdbsCommissionnumber · double

Wildberries Edbs Commission.

read-only
wildberriesCAndCCommissionnumber · double

Wildberries CAnd CCommission.

read-only
wildberriesBookingCommissionnumber · double

Wildberries Booking Commission.

read-only
ozonDescriptionCategoryIdinteger · int64

Ozon Description Category Id.

yandexMarketCategoryIdinteger · int64

Yandex Market Category Id.

yandexMarketCategoryYandexMarketCategory

Yandex Market Category.

ozonDescriptionCategoryOzonDescriptionCategory

Ozon Description Category.

ozonCommissionnumber · double

Ozon Commission.

read-only
tnvedTnved

Tnved.

tnvedIdinteger · int64

Tnved Id.

laundrystring

Laundry.

paramsstring

Params.

namePatternstring

Name Pattern.

aliexpressCategoryAliexpressCategory

Aliexpress Category.

aliexpressCategoryIdinteger · int64

Aliexpress Category Id.

avitoCategoryAvitoCategory

Avito Category.

lamodaCategoryLamodaCategory

Lamoda Category.

lamodaCategoryIdinteger · int64

Lamoda Category Id.

avitoCategoryIdinteger · int64

Avito Category Id.

packDepthinteger · int32

Pack Depth.

packWidthinteger · int32

Pack Width.

packHeightinteger · int32

Pack Height.

packWeightinteger · int32

Pack Weight.

hasSizeboolean

Has Size.

hasColorboolean

Has Color.

autoNameboolean

Auto Name.

removeFbsStockboolean

Remove Fbs Stock.

oneCIdstring

One CId.

externalIdstring

External Id.

moySkladIdstring

Moy Sklad Id.

useClientParamsboolean

Use Client Params.

requiredExpirationDateboolean

Required Expiration Date.

serviceCategoryMappingsobject

Service Category Mappings.

productCountinteger · int32

Product Count.

LamodaCategory8 fields
idinteger · int64

Id.

namestring

Name.

shortNamestring

Short Name.

publishedboolean

Published.

isLeafboolean

Is Leaf.

parentIdinteger · int64

Parent Id.

lastSyncDatestring · date-time

Last Sync Date.

notChangedDaysinteger · int32

Not Changed Days.

OzonDescriptionCategory21 fields
idinteger · int64

Id.

namestring

Name.

Required
publishedboolean

Published.

parentIdinteger · int64

Parent Id.

isLeafboolean

Is Leaf.

lastSyncDatestring · date-time

Last Sync Date.

notChangedDaysinteger · int32

Not Changed Days.

isErrorboolean

Is Error.

errorDatestring · date

Error Date.

typesstring

Types.

typeIdinteger · int64

Type Id.

purchasePercentAvgnumber · double

Purchase Percent Avg.

purchasePercentMinnumber · double

Purchase Percent Min.

photoAvginteger · int32

Photo Avg.

photoMininteger · int32

Photo Min.

drrAvgnumber · double

Drr Avg.

drrMinnumber · double

Drr Min.

marginAvgnumber · double

Margin Avg.

marginMinnumber · double

Margin Min.

promotionCtrAvgnumber · double

Promotion Ctr Avg.

promotionCtrMinnumber · double

Promotion Ctr Min.

QualityDocument12 fields
idinteger · int64

Id.

namestring

Name.

typestring

Type.

numberstring

Number.

numberNormalizedstring

Number Normalized.

clientIdinteger · int64

Client Id.

versionIdinteger · int64

Version Id.

createdUserstring

Created User.

startDatestring · date

Start Date.

expireDatestring · date

Expire Date.

dataQualityDocumentData[]

Data.

imagesQualityDocumentImage[]

Images.

QualityDocumentData8 fields
idinteger · int64

Id.

documentIdinteger · int64

Document Id.

productModelIdinteger · int64

Product Model Id.

brandBrand

Brand.

brandIdinteger · int32

Brand Id.

categoryCategory

Category.

categoryIdinteger · int32

Category Id.

clientIdinteger · int64

Client Id.

ServiceCategoryMapping3 fields
servicestring

Service.

externalIdstring

External Id.

namestring

Name.

Tnved14 fields
idinteger · int64

Id.

namestring

Name.

deletedboolean

Deleted.

typestring

Type.

categoryClassstring

Category Class.

parentIdinteger · int64

Parent Id.

keywordsstring

Keywords.

descriptionstring

Description.

paramsTnvedIdinteger · int64

Params Tnved Id.

isInParamboolean

Is In Param.

certificationstring

Certification.

parentCodestring

Parent Code.

codestring

Code.

certificationRequiredboolean

Certification Required.

WildberriesType32 fields
idinteger · int64

Id.

namestring

Name.

publishedboolean

Published.

hasSizeboolean

Has Size.

monoBoxMinQuantityinteger · int32

Mono Box Min Quantity.

monoTypestring

Mono Type.

monoMinPriceinteger · int32

Mono Min Price.

hasParentboolean

Has Parent.

parentIdinteger · int64

Parent Id.

wildberriesIdinteger · int64

Wildberries Id.

lastSyncDatestring · date-time

Last Sync Date.

notChangedDaysinteger · int32

Not Changed Days.

commissionnumber · double

Commission.

fbsCommissionnumber · double

Fbs Commission.

fbwCommissionnumber · double

Fbw Commission.

dbsCommissionnumber · double

Dbs Commission.

edbsCommissionnumber · double

Edbs Commission.

cAndCCommissionnumber · double

C And CCommission.

bookingCommissionnumber · double

Booking Commission.

logisticPriceinteger · int32

Logistic Price.

storagePricenumber · double

Storage Price.

acceptancePricenumber · double

Acceptance Price.

needDimensionsboolean

Need Dimensions.

purchasePercentAvgnumber · double

Purchase Percent Avg.

purchasePercentMinnumber · double

Purchase Percent Min.

photoAvginteger · int32

Photo Avg.

photoMininteger · int32

Photo Min.

drrAvgnumber · double

Drr Avg.

drrMinnumber · double

Drr Min.

marginAvgnumber · double

Margin Avg.

marginMinnumber · double

Margin Min.

candCCommissionnumber · double

Cand CCommission.

YandexMarketCategory7 fields
idinteger · int64

Id.

namestring

Name.

Required
publishedboolean

Published.

parentIdinteger · int64

Parent Id.

isLeafboolean

Is Leaf.

lastSyncDatestring · date-time

Last Sync Date.

notChangedDaysinteger · int32

Not Changed Days.

TmsTask25 fields
idinteger · int64

Id.

read-only
statusstring

Status.

read-only
typestring

Type.

read-only
namestring

Name.

clientIdinteger · int64

Client Id.

entityIdinteger · int64

Entity Id.

progressinteger · int32

Progress.

processedQuantityinteger · int32

Processed Quantity.

organizationIdinteger · int64

Organization Id.

priorityinteger · int32

Priority.

propertiesstring

Properties.

messagestring

Message.

messageParamsstring

Message Params.

createdDatestring · date-time

Created Date.

startDatestring · date-time

Start Date.

finishDatestring · date-time

Finish Date.

urlstring

Url.

inputFileUrlstring

Input File Url.

retryNumberinteger · int32

Retry Number.

userIdinteger · int32

User Id.

retryDatestring · date-time

Retry Date.

debugboolean

Debug.

forcedStartboolean

Forced Start.

servicestring

Service.

langstring

Lang.

FindResponseQualityDocument1 fields
rowsQualityDocument[]

Rows.

Error contract

How application errors are returned

The error code is identical in every locale, while the user-facing message is translated by the server. Build application logic around error and use localMessage for display only.

error

Stable machine-readable code for integration logic.

localMessage

Display-ready message in the API token user's language.

params

Values interpolated by the server into the localized message template.

localMessage uses the lang field of the user who owns the API token. The documentation language and Accept-Language header do not change it; Russian is used when the user has no language configured.

RUUser locale is ru
{
  "error": "error_brand_already_exists",
  "localMessage": "Бренд Base уже существует",
  "params": {
    "name": "Base"
  }
}
ENUser locale is en
{
  "error": "error_brand_already_exists",
  "localMessage": "Brand Base already exists",
  "params": {
    "name": "Base"
  }
}

Endpoints

Endpoints

POST

Upload Quality Document Image

/api/qualityDocument/uploadQualityDocumentImage
Token with write access

Upload Quality Document Image using POST /api/qualityDocument/uploadQualityDocumentImage.

Query parameters

FieldTypeRequiredDescription
documentId integer · int64 Yes Document Id.

Request body

multipart/form-data
FieldTypeRequiredDescription
file string · binary Yes File.
curl --request POST 'https://api.selsup.ru/api/qualityDocument/uploadQualityDocumentImage?documentId=1001' \
  --header 'Authorization: YOUR_API_TOKEN' \
  --form 'file=@./file.bin'

Success response

200
Object fields QualityDocumentImage
FieldTypeRequiredDescription
id integer · int64 No Id.
url string No Url.
position integer · int32 No Position.
documentId integer · int64 No Document Id.
clientId integer · int64 No Client Id.
{
  "id": 1001,
  "url": "https://example.com",
  "position": 1,
  "documentId": 1001,
  "clientId": 1001
}
Errors8

Application errors are normally returned as JSON with error, localMessage, and params. Branch on error; localized text may change. How application errors are returned ↑

401auth_required
Authentication required

Authorization is missing, empty, or contains an invalid token.

400error_access_denied
Insufficient permissions

The token exists, but its role cannot perform this operation.

500error_unknown
Unexpected error

Internal failure. Save the request time and contact support; do not blindly retry a mutation.

400error_max_upload_size_exceeded
File size exceeds maximum limit

Endpoint-specific error. Use the stable error_max_upload_size_exceeded code in application logic; localMessage contains the translation shown above.

400error_no_client
The client was not found or has been deleted. Write to support

Endpoint-specific error. Use the stable error_no_client code in application logic; localMessage contains the translation shown above.

400error_quality_document_not_found
Certificate not found

Endpoint-specific error. Use the stable error_quality_document_not_found code in application logic; localMessage contains the translation shown above.

400error_storage_size_exceeded
You have exceeded the file storage size limit: {limit} MB

Endpoint-specific error. Use the stable error_storage_size_exceeded code in application logic; localMessage contains the translation shown above.

400error_wrong_image_format
Incorrect image format for file: {name}

Endpoint-specific error. Use the stable error_wrong_image_format code in application logic; localMessage contains the translation shown above.

POST

Update Quality Document

/api/qualityDocument/updateQualityDocument
Token with write access

Update Quality Document using POST /api/qualityDocument/updateQualityDocument.

Request body

application/json
Object fieldsQualityDocument
FieldTypeRequiredDescription
id integer · int64 No Id.
name string No Name.
type stringDECLARATION, CERTIFICATE, REFUSAL, REGISTRATION No Type.
number string No Number.
numberNormalized string No Number Normalized.
clientId integer · int64 No Client Id.
versionId integer · int64 No Version Id.
createdUser string No Created User.
startDate string · date No Start Date.
expireDate string · date No Expire Date.
data QualityDocumentData[] No Data.
Array item structure QualityDocumentData
FieldTypeRequiredDescription
id integer · int64 No Id.
documentId integer · int64 No Document Id.
productModelId integer · int64 No Product Model Id.
brand Brand No Brand.
Object fields Brand
FieldTypeRequiredDescription
brandId integer · int32 No Brand Id.
name string Yes Name.
clientId integer · int64 No Client Id.
logoUrl string No Logo Url.
logoSize integer · int32 No Logo Size.
logoWidth integer · int32 No Logo Width.
logoHeight integer · int32 No Logo Height.
deleted boolean No Deleted.
ozonName string No Ozon Name.
ozonId integer · int64 No Ozon Id.
oneCId string No One CId.
brandId integer · int32 No Brand Id.
category Category No Category.
Object fields Category
FieldTypeRequiredDescription
categoryId integer · int32 No Category Id.
name string Yes Name.
deleted boolean No Deleted.
parentId integer · int32 No Parent Id.
clientId integer · int64 No Client Id.
marked boolean No Marked.
categoryClass stringSHOES, LIGHT, DRUGS, CAMERA, TYRES, MILK, WATER, TOBACCO, FURS, BEER, BICYCLES, PERFUMES, ELECTRONIC, OTHER, NONE, FOOD, WHEELCHAIRS, OTP, NCP, BIO, ANTISEPTIC, NABEER, SOFTDRINKS, PETFOOD, SEAFOOD, MEAT, TOYS, TITAN, RADIO, OPTIC_FIBER, VEGETABLE_OIL, CONSERVE, VETPHARMA, CHEMISTRY, AUTOFLUIDS, GROCERY, BOOKS, CONSTRUCTION, FIRE, HEATER, CABLERAW, POLYMER, SWEETS, CARPARTS, NATURAL_FUR, NICOTINDEV, GADGETS, FROZEN, FERTILIZERS, HOMEWARE, VETBIO, INDUSTRIAL, PYROTECHNICS No Category Class.
wildberriesType WildberriesType No Wildberries Type.
wildberriesCategoryId integer · int64 No Wildberries Category Id.
wildberriesFbmCommission number · double No Wildberries Fbm Commission.
wildberriesFbwCommission number · double No Wildberries Fbw Commission.
wildberriesFbsCommission number · double No Wildberries Fbs Commission.
wildberriesDbsCommission number · double No Wildberries Dbs Commission.
wildberriesEdbsCommission number · double No Wildberries Edbs Commission.
wildberriesCAndCCommission number · double No Wildberries CAnd CCommission.
wildberriesBookingCommission number · double No Wildberries Booking Commission.
ozonDescriptionCategoryId integer · int64 No Ozon Description Category Id.
yandexMarketCategoryId integer · int64 No Yandex Market Category Id.
yandexMarketCategory YandexMarketCategory No Yandex Market Category.
ozonDescriptionCategory OzonDescriptionCategory No Ozon Description Category.
ozonCommission number · double No Ozon Commission.
tnved Tnved No Tnved.
tnvedId integer · int64 No Tnved Id.
laundry string No Laundry.
params string No Params.
namePattern string No Name Pattern.
aliexpressCategory AliexpressCategory No Aliexpress Category.
aliexpressCategoryId integer · int64 No Aliexpress Category Id.
avitoCategory AvitoCategory No Avito Category.
lamodaCategory LamodaCategory No Lamoda Category.
lamodaCategoryId integer · int64 No Lamoda Category Id.
avitoCategoryId integer · int64 No Avito Category Id.
packDepth integer · int32 No Pack Depth.
packWidth integer · int32 No Pack Width.
packHeight integer · int32 No Pack Height.
packWeight integer · int32 No Pack Weight.
hasSize boolean No Has Size.
hasColor boolean No Has Color.
autoName boolean No Auto Name.
removeFbsStock boolean No Remove Fbs Stock.
oneCId string No One CId.
externalId string No External Id.
moySkladId string No Moy Sklad Id.
useClientParams boolean No Use Client Params.
requiredExpirationDate boolean No Required Expiration Date.
serviceCategoryMappings object No Service Category Mappings.
productCount integer · int32 No Product Count.
categoryId integer · int32 No Category Id.
clientId integer · int64 No Client Id.
images QualityDocumentImage[] No Images.
Array item structure QualityDocumentImage
FieldTypeRequiredDescription
id integer · int64 No Id.
url string No Url.
position integer · int32 No Position.
documentId integer · int64 No Document Id.
clientId integer · int64 No Client Id.
curl --request POST 'https://api.selsup.ru/api/qualityDocument/updateQualityDocument' \
  --header 'Authorization: YOUR_API_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": 1001,
  "name": "Example",
  "type": "DECLARATION",
  "number": "string",
  "numberNormalized": "string",
  "clientId": 1001
}'

Success response

200
Object fields QualityDocument
FieldTypeRequiredDescription
id integer · int64 No Id.
name string No Name.
type stringDECLARATION, CERTIFICATE, REFUSAL, REGISTRATION No Type.
number string No Number.
numberNormalized string No Number Normalized.
clientId integer · int64 No Client Id.
versionId integer · int64 No Version Id.
createdUser string No Created User.
startDate string · date No Start Date.
expireDate string · date No Expire Date.
data QualityDocumentData[] No Data.
Array item structure QualityDocumentData
FieldTypeRequiredDescription
id integer · int64 No Id.
documentId integer · int64 No Document Id.
productModelId integer · int64 No Product Model Id.
brand Brand No Brand.
Object fields Brand
FieldTypeRequiredDescription
brandId integer · int32 No Brand Id.
name string Yes Name.
clientId integer · int64 No Client Id.
logoUrl string No Logo Url.
logoSize integer · int32 No Logo Size.
logoWidth integer · int32 No Logo Width.
logoHeight integer · int32 No Logo Height.
deleted boolean No Deleted.
ozonName string No Ozon Name.
ozonId integer · int64 No Ozon Id.
oneCId string No One CId.
brandId integer · int32 No Brand Id.
category Category No Category.
Object fields Category
FieldTypeRequiredDescription
categoryId integer · int32 No Category Id.
name string Yes Name.
deleted boolean No Deleted.
parentId integer · int32 No Parent Id.
clientId integer · int64 No Client Id.
marked boolean No Marked.
categoryClass stringSHOES, LIGHT, DRUGS, CAMERA, TYRES, MILK, WATER, TOBACCO, FURS, BEER, BICYCLES, PERFUMES, ELECTRONIC, OTHER, NONE, FOOD, WHEELCHAIRS, OTP, NCP, BIO, ANTISEPTIC, NABEER, SOFTDRINKS, PETFOOD, SEAFOOD, MEAT, TOYS, TITAN, RADIO, OPTIC_FIBER, VEGETABLE_OIL, CONSERVE, VETPHARMA, CHEMISTRY, AUTOFLUIDS, GROCERY, BOOKS, CONSTRUCTION, FIRE, HEATER, CABLERAW, POLYMER, SWEETS, CARPARTS, NATURAL_FUR, NICOTINDEV, GADGETS, FROZEN, FERTILIZERS, HOMEWARE, VETBIO, INDUSTRIAL, PYROTECHNICS No Category Class.
wildberriesType WildberriesType No Wildberries Type.
wildberriesCategoryId integer · int64 No Wildberries Category Id.
wildberriesFbmCommission number · double No Wildberries Fbm Commission.
wildberriesFbwCommission number · double No Wildberries Fbw Commission.
wildberriesFbsCommission number · double No Wildberries Fbs Commission.
wildberriesDbsCommission number · double No Wildberries Dbs Commission.
wildberriesEdbsCommission number · double No Wildberries Edbs Commission.
wildberriesCAndCCommission number · double No Wildberries CAnd CCommission.
wildberriesBookingCommission number · double No Wildberries Booking Commission.
ozonDescriptionCategoryId integer · int64 No Ozon Description Category Id.
yandexMarketCategoryId integer · int64 No Yandex Market Category Id.
yandexMarketCategory YandexMarketCategory No Yandex Market Category.
ozonDescriptionCategory OzonDescriptionCategory No Ozon Description Category.
ozonCommission number · double No Ozon Commission.
tnved Tnved No Tnved.
tnvedId integer · int64 No Tnved Id.
laundry string No Laundry.
params string No Params.
namePattern string No Name Pattern.
aliexpressCategory AliexpressCategory No Aliexpress Category.
aliexpressCategoryId integer · int64 No Aliexpress Category Id.
avitoCategory AvitoCategory No Avito Category.
lamodaCategory LamodaCategory No Lamoda Category.
lamodaCategoryId integer · int64 No Lamoda Category Id.
avitoCategoryId integer · int64 No Avito Category Id.
packDepth integer · int32 No Pack Depth.
packWidth integer · int32 No Pack Width.
packHeight integer · int32 No Pack Height.
packWeight integer · int32 No Pack Weight.
hasSize boolean No Has Size.
hasColor boolean No Has Color.
autoName boolean No Auto Name.
removeFbsStock boolean No Remove Fbs Stock.
oneCId string No One CId.
externalId string No External Id.
moySkladId string No Moy Sklad Id.
useClientParams boolean No Use Client Params.
requiredExpirationDate boolean No Required Expiration Date.
serviceCategoryMappings object No Service Category Mappings.
productCount integer · int32 No Product Count.
categoryId integer · int32 No Category Id.
clientId integer · int64 No Client Id.
images QualityDocumentImage[] No Images.
Array item structure QualityDocumentImage
FieldTypeRequiredDescription
id integer · int64 No Id.
url string No Url.
position integer · int32 No Position.
documentId integer · int64 No Document Id.
clientId integer · int64 No Client Id.
{
  "id": 1001,
  "name": "Example",
  "type": "DECLARATION",
  "number": "string",
  "numberNormalized": "string",
  "clientId": 1001
}
Errors6

Application errors are normally returned as JSON with error, localMessage, and params. Branch on error; localized text may change. How application errors are returned ↑

401auth_required
Authentication required

Authorization is missing, empty, or contains an invalid token.

400error_access_denied
Insufficient permissions

The token exists, but its role cannot perform this operation.

500error_unknown
Unexpected error

Internal failure. Save the request time and contact support; do not blindly retry a mutation.

400error_document_already_exist
A document with the same name already exists

Endpoint-specific error. Use the stable error_document_already_exist code in application logic; localMessage contains the translation shown above.

400error_no_client
The client was not found or has been deleted. Write to support

Endpoint-specific error. Use the stable error_no_client code in application logic; localMessage contains the translation shown above.

400error_quality_document_version_conflict
The document was modified by another user. Refresh the page and try again.

Endpoint-specific error. Use the stable error_quality_document_version_conflict code in application logic; localMessage contains the translation shown above.

POST

Remove Quality Document

/api/qualityDocument/removeQualityDocument
Token with write access

Remove Quality Document using POST /api/qualityDocument/removeQualityDocument.

Query parameters

FieldTypeRequiredDescription
documentId integer · int64 Yes Document Id.
curl --request POST 'https://api.selsup.ru/api/qualityDocument/removeQualityDocument?documentId=1001' \
  --header 'Authorization: YOUR_API_TOKEN'

Success response

200

The response has no body.

Errors4

Application errors are normally returned as JSON with error, localMessage, and params. Branch on error; localized text may change. How application errors are returned ↑

401auth_required
Authentication required

Authorization is missing, empty, or contains an invalid token.

400error_access_denied
Insufficient permissions

The token exists, but its role cannot perform this operation.

500error_unknown
Unexpected error

Internal failure. Save the request time and contact support; do not blindly retry a mutation.

400error_no_client
The client was not found or has been deleted. Write to support

Endpoint-specific error. Use the stable error_no_client code in application logic; localMessage contains the translation shown above.

POST

Import Certificates

/api/qualityDocument/importCertificates
Token with write access

Import Certificates using POST /api/qualityDocument/importCertificates.

Query parameters

FieldTypeRequiredDescription
replaceConnects boolean No Replace Connects.

Request body

multipart/form-data
FieldTypeRequiredDescription
file string · binary Yes File.
curl --request POST 'https://api.selsup.ru/api/qualityDocument/importCertificates' \
  --header 'Authorization: YOUR_API_TOKEN' \
  --form 'file=@./file.bin'

Success response

200
Object fields TmsTask
FieldTypeRequiredDescription
id integer · int64 No Id.
status stringCREATED, RUNNING, FINISHED, ERROR, RESTARTING, INTERRUPTING, INTERRUPTED, STOPPED, EXCEPTION No Status.
type stringWILDBERRIES_CREATE_CARD, NATIONAL_CATALOG_CREATE_CARD, OZON_CREATE_CARD, OZON_CARDS_IMPORT, IMPORT_FBS_ORDERS, UPLOAD_PHOTOGRAPHY, WILDBERRIES_UPDATE_PRICE, WILDBERRIES_CARD_IMPORT, WILDBERRIES_CARD_UPDATE, SELSUP_STOCKS, REFRESH_PHOTOGRAPHY, SUPPLYING_QUANTITY_TASK, EXPORT_PRICE, OZON_UPDATE_PRICE, WILDBERRIES_FILE_TASK, YANDEX_MARKET_CARD_CREATE, OZON_CARD_UPDATE_TASK, OZON_IMPORT_STAT_TASK, WILDBERRIES_PROFIT_STAT_TASK, ALIEXPRESS_CREATE_CARD_TASK, ALIEXPRESS_UPDATE_CARD_TASK, PRICES_IMPORT_TASK, WILDBERRIES_PRICES_TASK, YANDEX_MARKET_CARD_IMPORT, STOCKS_UPDATE, WILDBERRIES_STOCKS_IMPORT_TASK, WILDBERRIES_ORDERS_AND_SALES_TASK, WILDBERRIES_INCOMES_IMPORT_TASK, OZON_STOCKS_IMPORT_TASK, TURNOVER_DOCUMENTS_TASK, INTRODUCE_WMS_ITEMS_TASK, PRODUCTS_FILE_TASK, MODELS_FILE_TASK, UPDATE_PRODUCT_CODES_TASK, INTRODUCE_CODES_TASK, PRODUCTS_IMPORT_TASK, PRICES_FILE_TASK, YANDEX_MARKET_UPDATE_PRICE_TASK, IMPORT_STOCKS_TASK, MOY_SKLAD_EXPORT_ORDERS, MERGE_PRODUCTS_TASK, PRODUCTS_WILDBERRIES_EXCEL_IMPORT_TASK, MOY_SKLAD_CREATE_CARD, IMPORT_FBO_STOCKS_FROM_FILE, CREATE_WMS_ITEMS, MOY_SKLAD_CARDS_IMPORT, PROMOTION_FILE, UNUSED_1, UNUSED, PRODUCT_ANALYTICS_FILE_TASK, PROMOTION_RESET_FILE, MOY_SKLAD_IMPORT_ORDERS, FINANCE_REPORT_FILE_TASK, YML_FILE_EXPORT, PRODUCT_BALANCE_REPORT_FILE_TASK, CURRENT_PRODUCT_BALANCE_FILE_TASK, IMPORT_TRANSACTIONS, MATCH_UNREGISTERED_PROFIT_REPORT_TASK, UPDATE_AVERAGE_SERVICE_EXPENSES_TASK, YANDEX_MARKET_ORDER_IMPORT_STAT_TASK, ABC_REPORT_FILE_TASK, MODEL_CONTRACTORS_IMPORT, MODEL_CONTRACTORS_EXPORT, BANK_TRANSACTION_IMPORT_FILE_TASK, YML_IMPORT_TASK, SALES_DYNAMIC_REPORT_FILE_TASK, UPDATE_FBS_ORDERS, EXPORT_TRANSACTION_IN_EXCEL_FILE_TASK, IMPORT_TRANSACTION_FROM_EXCEL_FILE_TASK, EXPORT_PROFIT_REPORT_FILE_TASK, IMPORT_PROFIT_REPORT_FROM_EXCEL_FILE_TASK, IMPORT_REALIZATION_REPORT_TASK, STOCK_RECONCILIATION, ORDER_REPORT_FILE_TASK, GET_WB_FBO_ORDER_FROM_PROFIT_REPORT_TASK, TO_QUANTITY_STORAGE_METHOD, APPLY_RECONCILIATION, OZON_IMPORT_FBO_ORDERS_TASK, UPDATE_PURCHASE_PRICE_IN_PROFIT_REPORT_TASK, FBS_LABELS, MERGE_PRODUCT_STOCKS, CREATE_ORDER_FROM_FILE, ALIEXPRESS_CARD_IMPORT, PRICE_LIST_IMPORT, WB_STOCK_REPORT_FILE, CONTRACTORS_REPORT_FILE, PRODUCTS_SBER_MEGA_MARKET_EXCEL_IMPORT_TASK, EXPORT_PROBLEMATIC_PRODUCT_REPORT, PLAN_SUPPLY_REPORT_TASK, PLAN_FACT_SALES_REPORT_FILE, IMPORT_PLAN_SALES_FROM_EXCEL_FILE_TASK, EXPORT_PLAN_SALES_EXCEL_FILE_TASK, ORDERS_TO_BUY_FILE_TASK, MERGE_PRICE_ON_OTHER_MP_TASK, MATCH_PRODUCT_LAST_OPERATION_DATE_TASK, PROBLEMATIC_PRODUCT_PRICE_FILE_TASK, CATEGORIES_IMPORT_EXCEL_TASK, AVITO_CARD_IMPORT, UPDATE_OLD_WB_ORDER_STATUSES_TASK, PRESTA_SHOP_IMPORT_TASK, PRODUCTS_AVITO_EXCEL_IMPORT_TASK, FBO_STOCK_RECONCILIATION_TASK, APPLY_FBO_RECONCILIATION_TASK, EXPORT_REPRICE_PRODUCT_CONFIG_TASK, IMPORT_REPRICE_PRODUCT_CONFIG_TASK, OZON_CASH_FLOW_STATEMENT_IMPORT_TASK, IMPORT_PROMOTION_STRATEGY_FILE_TASK, UPDATE_ORDER_DELIVERY_INFO_TASK, BILLING_OPERATION_TASK, SET_PURCHASE_PERCENT_TASK, REMOVE_PRODUCT_IMAGES_TASK, STRUCTURE_TURNOVER_TASK, OZON_NEW_UPDATE_PRICE, REPLACE_PRODUCT_IMAGE_TASK, UPDATE_OZON_PROMOTION_DATA_TASK, WILDBERRIES_IMPORT_CAMPAIGN_TASK, WILDBERRIES_STORAGE_REPORT_TASK, WEBASYST_LINK_ARTICLE_TASK, DELIVERY_SERVICE_LABELS, HAND_ON_PULSE_FILE_TASK, ITEMS_INCOME_EXCEL_TASK, UPDATE_SETS_EXCEL_TASK, DELETE_PROFIT_REPORTS_BY_FILE_HISTORY_IDS_TASK, EXPORT_PRODUCT_SETS_TASK, AMAZON_CARD_IMPORT, IMPORT_ACCEPTED_PRODUCTS_TASK, ADD_ORDER_PRODUCT_FROM_FILE_TASK, EXPORT_ITEM_HISTORY_FILE_TASK, WILDBERRIES_IMPORT_CAMPAIGN_BY_EXCEL_TASK, REMOVE_CLIENT_ORGANIZATION, EBAY_CARD_IMPORT_TASK, PRODUCTS_IMPORT_FROM_ORGANIZATION_TASK, IMPORT_FBO_ORDERS, LAMODA_CARD_IMPORT, UPDATE_WB_PROMOTION_DATA_TASK, IMPORT_RETURNS_REPORT_TASK, UPDATE_PROMOTION_DATA_TASK, RESTORE_CLIENT_ORGANIZATION, LEROY_MERLIN_CARD_IMPORT, YANDEX_MARKET_STOCKS_IMPORT_TASK, WILDBERRIES_IMPORT_NM_REPORT_TASK, ORDER_ANALYTICS_FILE_TASK, CLIENT_DATABASE_MOVE_TASK, FAST_CARD_IMPORT, EXPORT_PRODUCT_CODE, INSALES_CARD_IMPORT_TASK, REMOVE_PRODUCT_VIDEOS_TASK, UPDATE_CARDS_TASK, FIND_UNPROFITABLE_PRODUCTS_TASK, FIND_UNPURCHASED_PRODUCTS_TASK, WALMART_CARD_IMPORT, PRODUCT_GROUPS_TASK, CONTRACTOR_ARTICLE_EXPORT_TASK, CONTRACTOR_ARTICLE_IMPORT_TASK, CURRENCY_CONVERSION_TASK, UPDATE_SUPPLY_PLAN_REPORT_TASK, EXPORT_SUPPLY_PLAN_REPORT_FILE_TASK, CHECK_STOCK_ORDER, PHOTOGRAPHY_EXCEL, PREPARE_FINDIR_DATA_TASK, CARD_SPLITTING_TASK, EXPORT_IMAGE_UPDATES_TEMPLATE_TASK, IMPORT_IMAGE_UPDATES_TASK, PREPARE_PRODUCT_HAND_ON_PULSE_TASK, UPDATE_OZON_AVERAGE_DELIVERY_TIME, UPDATE_COMMISSIONS_TASK, WOOCOMMERCE_CARD_IMPORT, UPDATE_FBS_STOCKS_HISTORY, RETURNS_FILE_TASK, FAST_PRODUCTS_IMPORT_TASK, ANALYZE_PRODUCT_CARDS_TASK, DETMIR_CARD_IMPORT, MATCH_OZON_REALIZATION_REPORT_TASK, MAGNIT_IMPORT_PRODUCTS_TASK, UPDATE_PURCHASE_PRICE_FROM_STOCKS_IN_PROFIT_REPORT_TASK, MOY_SKLAD_FBO_MP_DATES_FIX, PRICE_HISTORY_FILE_TASK, FBM_ORDERS_IMPORT_TASK, UZUM_IMPORT_PRODUCTS_TASK, OPENCART_CARD_IMPORT, CARDS_IMPORT, OZON_CROSSDOCK_TRANSIT_ROUTES_TASK, UNUSED_2, OZON_IMPORT_SALES_FUNNEL_REPORT_TASK, WRITE_OFF_PRODUCTS_FILE_TASK, CLIENT_DATABASE_CREATE_TASK, UPDATE_FBS_LABELS_TASK, REBUILD_PROFIT_REPORT_HOURLY_AGGREGATE_TASK, OZON_IMPORT_CAMPAIGN_TASK, EXPORT_SUPPLY_PLAN_FILE_TASK, IMPORT_SUPPLY_PLAN_FILE_TASK, CREATE_SERVICE_CARDS, WAREHOUSE_ECONOMICS_FILE_TASK, UPDATE_WILDBERRIES_ACQUIRING_RATE_TASK, PRODUCT_SALES_FORECAST_TASK, UPDATE_PRODUCT_CODES_STATUSES_TASK, MARKETPLACE_UPDATE_PRICE_TASK, UZUM_IMPORT_STAT_TASK, CAMPAIGN_STATS_FILE_TASK, OZON_FBO_WORKFLOW_TASK, EXPORT_CERTIFICATE_TEMPLATE_TASK, IMPORT_CERTIFICATES_TASK, REBUILD_LOCAL_ORDER_PROFIT_REPORT_TASK, SHOPIFY_CARD_IMPORT No Type.
name string No Name.
clientId integer · int64 No Client Id.
entityId integer · int64 No Entity Id.
progress integer · int32 No Progress.
processedQuantity integer · int32 No Processed Quantity.
organizationId integer · int64 No Organization Id.
priority integer · int32 No Priority.
properties string No Properties.
message string No Message.
messageParams string No Message Params.
createdDate string · date-time No Created Date.
startDate string · date-time No Start Date.
finishDate string · date-time No Finish Date.
url string No Url.
inputFileUrl string No Input File Url.
retryNumber integer · int32 No Retry Number.
userId integer · int32 No User Id.
retryDate string · date-time No Retry Date.
debug boolean No Debug.
forcedStart boolean No Forced Start.
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 No Service.
lang string No Lang.
{
  "id": 1001,
  "status": "CREATED",
  "type": "WILDBERRIES_CREATE_CARD",
  "name": "Example",
  "clientId": 1001,
  "entityId": 1001
}
Errors4

Application errors are normally returned as JSON with error, localMessage, and params. Branch on error; localized text may change. How application errors are returned ↑

401auth_required
Authentication required

Authorization is missing, empty, or contains an invalid token.

400error_access_denied
Insufficient permissions

The token exists, but its role cannot perform this operation.

500error_unknown
Unexpected error

Internal failure. Save the request time and contact support; do not blindly retry a mutation.

400error_max_upload_size_exceeded
File size exceeds maximum limit

Endpoint-specific error. Use the stable error_max_upload_size_exceeded code in application logic; localMessage contains the translation shown above.

POST

Export Certificate Template

/api/qualityDocument/exportCertificateTemplate
Token with write access

Export Certificate Template using POST /api/qualityDocument/exportCertificateTemplate.

curl --request POST 'https://api.selsup.ru/api/qualityDocument/exportCertificateTemplate' \
  --header 'Authorization: YOUR_API_TOKEN'

Success response

200
Object fields TmsTask
FieldTypeRequiredDescription
id integer · int64 No Id.
status stringCREATED, RUNNING, FINISHED, ERROR, RESTARTING, INTERRUPTING, INTERRUPTED, STOPPED, EXCEPTION No Status.
type stringWILDBERRIES_CREATE_CARD, NATIONAL_CATALOG_CREATE_CARD, OZON_CREATE_CARD, OZON_CARDS_IMPORT, IMPORT_FBS_ORDERS, UPLOAD_PHOTOGRAPHY, WILDBERRIES_UPDATE_PRICE, WILDBERRIES_CARD_IMPORT, WILDBERRIES_CARD_UPDATE, SELSUP_STOCKS, REFRESH_PHOTOGRAPHY, SUPPLYING_QUANTITY_TASK, EXPORT_PRICE, OZON_UPDATE_PRICE, WILDBERRIES_FILE_TASK, YANDEX_MARKET_CARD_CREATE, OZON_CARD_UPDATE_TASK, OZON_IMPORT_STAT_TASK, WILDBERRIES_PROFIT_STAT_TASK, ALIEXPRESS_CREATE_CARD_TASK, ALIEXPRESS_UPDATE_CARD_TASK, PRICES_IMPORT_TASK, WILDBERRIES_PRICES_TASK, YANDEX_MARKET_CARD_IMPORT, STOCKS_UPDATE, WILDBERRIES_STOCKS_IMPORT_TASK, WILDBERRIES_ORDERS_AND_SALES_TASK, WILDBERRIES_INCOMES_IMPORT_TASK, OZON_STOCKS_IMPORT_TASK, TURNOVER_DOCUMENTS_TASK, INTRODUCE_WMS_ITEMS_TASK, PRODUCTS_FILE_TASK, MODELS_FILE_TASK, UPDATE_PRODUCT_CODES_TASK, INTRODUCE_CODES_TASK, PRODUCTS_IMPORT_TASK, PRICES_FILE_TASK, YANDEX_MARKET_UPDATE_PRICE_TASK, IMPORT_STOCKS_TASK, MOY_SKLAD_EXPORT_ORDERS, MERGE_PRODUCTS_TASK, PRODUCTS_WILDBERRIES_EXCEL_IMPORT_TASK, MOY_SKLAD_CREATE_CARD, IMPORT_FBO_STOCKS_FROM_FILE, CREATE_WMS_ITEMS, MOY_SKLAD_CARDS_IMPORT, PROMOTION_FILE, UNUSED_1, UNUSED, PRODUCT_ANALYTICS_FILE_TASK, PROMOTION_RESET_FILE, MOY_SKLAD_IMPORT_ORDERS, FINANCE_REPORT_FILE_TASK, YML_FILE_EXPORT, PRODUCT_BALANCE_REPORT_FILE_TASK, CURRENT_PRODUCT_BALANCE_FILE_TASK, IMPORT_TRANSACTIONS, MATCH_UNREGISTERED_PROFIT_REPORT_TASK, UPDATE_AVERAGE_SERVICE_EXPENSES_TASK, YANDEX_MARKET_ORDER_IMPORT_STAT_TASK, ABC_REPORT_FILE_TASK, MODEL_CONTRACTORS_IMPORT, MODEL_CONTRACTORS_EXPORT, BANK_TRANSACTION_IMPORT_FILE_TASK, YML_IMPORT_TASK, SALES_DYNAMIC_REPORT_FILE_TASK, UPDATE_FBS_ORDERS, EXPORT_TRANSACTION_IN_EXCEL_FILE_TASK, IMPORT_TRANSACTION_FROM_EXCEL_FILE_TASK, EXPORT_PROFIT_REPORT_FILE_TASK, IMPORT_PROFIT_REPORT_FROM_EXCEL_FILE_TASK, IMPORT_REALIZATION_REPORT_TASK, STOCK_RECONCILIATION, ORDER_REPORT_FILE_TASK, GET_WB_FBO_ORDER_FROM_PROFIT_REPORT_TASK, TO_QUANTITY_STORAGE_METHOD, APPLY_RECONCILIATION, OZON_IMPORT_FBO_ORDERS_TASK, UPDATE_PURCHASE_PRICE_IN_PROFIT_REPORT_TASK, FBS_LABELS, MERGE_PRODUCT_STOCKS, CREATE_ORDER_FROM_FILE, ALIEXPRESS_CARD_IMPORT, PRICE_LIST_IMPORT, WB_STOCK_REPORT_FILE, CONTRACTORS_REPORT_FILE, PRODUCTS_SBER_MEGA_MARKET_EXCEL_IMPORT_TASK, EXPORT_PROBLEMATIC_PRODUCT_REPORT, PLAN_SUPPLY_REPORT_TASK, PLAN_FACT_SALES_REPORT_FILE, IMPORT_PLAN_SALES_FROM_EXCEL_FILE_TASK, EXPORT_PLAN_SALES_EXCEL_FILE_TASK, ORDERS_TO_BUY_FILE_TASK, MERGE_PRICE_ON_OTHER_MP_TASK, MATCH_PRODUCT_LAST_OPERATION_DATE_TASK, PROBLEMATIC_PRODUCT_PRICE_FILE_TASK, CATEGORIES_IMPORT_EXCEL_TASK, AVITO_CARD_IMPORT, UPDATE_OLD_WB_ORDER_STATUSES_TASK, PRESTA_SHOP_IMPORT_TASK, PRODUCTS_AVITO_EXCEL_IMPORT_TASK, FBO_STOCK_RECONCILIATION_TASK, APPLY_FBO_RECONCILIATION_TASK, EXPORT_REPRICE_PRODUCT_CONFIG_TASK, IMPORT_REPRICE_PRODUCT_CONFIG_TASK, OZON_CASH_FLOW_STATEMENT_IMPORT_TASK, IMPORT_PROMOTION_STRATEGY_FILE_TASK, UPDATE_ORDER_DELIVERY_INFO_TASK, BILLING_OPERATION_TASK, SET_PURCHASE_PERCENT_TASK, REMOVE_PRODUCT_IMAGES_TASK, STRUCTURE_TURNOVER_TASK, OZON_NEW_UPDATE_PRICE, REPLACE_PRODUCT_IMAGE_TASK, UPDATE_OZON_PROMOTION_DATA_TASK, WILDBERRIES_IMPORT_CAMPAIGN_TASK, WILDBERRIES_STORAGE_REPORT_TASK, WEBASYST_LINK_ARTICLE_TASK, DELIVERY_SERVICE_LABELS, HAND_ON_PULSE_FILE_TASK, ITEMS_INCOME_EXCEL_TASK, UPDATE_SETS_EXCEL_TASK, DELETE_PROFIT_REPORTS_BY_FILE_HISTORY_IDS_TASK, EXPORT_PRODUCT_SETS_TASK, AMAZON_CARD_IMPORT, IMPORT_ACCEPTED_PRODUCTS_TASK, ADD_ORDER_PRODUCT_FROM_FILE_TASK, EXPORT_ITEM_HISTORY_FILE_TASK, WILDBERRIES_IMPORT_CAMPAIGN_BY_EXCEL_TASK, REMOVE_CLIENT_ORGANIZATION, EBAY_CARD_IMPORT_TASK, PRODUCTS_IMPORT_FROM_ORGANIZATION_TASK, IMPORT_FBO_ORDERS, LAMODA_CARD_IMPORT, UPDATE_WB_PROMOTION_DATA_TASK, IMPORT_RETURNS_REPORT_TASK, UPDATE_PROMOTION_DATA_TASK, RESTORE_CLIENT_ORGANIZATION, LEROY_MERLIN_CARD_IMPORT, YANDEX_MARKET_STOCKS_IMPORT_TASK, WILDBERRIES_IMPORT_NM_REPORT_TASK, ORDER_ANALYTICS_FILE_TASK, CLIENT_DATABASE_MOVE_TASK, FAST_CARD_IMPORT, EXPORT_PRODUCT_CODE, INSALES_CARD_IMPORT_TASK, REMOVE_PRODUCT_VIDEOS_TASK, UPDATE_CARDS_TASK, FIND_UNPROFITABLE_PRODUCTS_TASK, FIND_UNPURCHASED_PRODUCTS_TASK, WALMART_CARD_IMPORT, PRODUCT_GROUPS_TASK, CONTRACTOR_ARTICLE_EXPORT_TASK, CONTRACTOR_ARTICLE_IMPORT_TASK, CURRENCY_CONVERSION_TASK, UPDATE_SUPPLY_PLAN_REPORT_TASK, EXPORT_SUPPLY_PLAN_REPORT_FILE_TASK, CHECK_STOCK_ORDER, PHOTOGRAPHY_EXCEL, PREPARE_FINDIR_DATA_TASK, CARD_SPLITTING_TASK, EXPORT_IMAGE_UPDATES_TEMPLATE_TASK, IMPORT_IMAGE_UPDATES_TASK, PREPARE_PRODUCT_HAND_ON_PULSE_TASK, UPDATE_OZON_AVERAGE_DELIVERY_TIME, UPDATE_COMMISSIONS_TASK, WOOCOMMERCE_CARD_IMPORT, UPDATE_FBS_STOCKS_HISTORY, RETURNS_FILE_TASK, FAST_PRODUCTS_IMPORT_TASK, ANALYZE_PRODUCT_CARDS_TASK, DETMIR_CARD_IMPORT, MATCH_OZON_REALIZATION_REPORT_TASK, MAGNIT_IMPORT_PRODUCTS_TASK, UPDATE_PURCHASE_PRICE_FROM_STOCKS_IN_PROFIT_REPORT_TASK, MOY_SKLAD_FBO_MP_DATES_FIX, PRICE_HISTORY_FILE_TASK, FBM_ORDERS_IMPORT_TASK, UZUM_IMPORT_PRODUCTS_TASK, OPENCART_CARD_IMPORT, CARDS_IMPORT, OZON_CROSSDOCK_TRANSIT_ROUTES_TASK, UNUSED_2, OZON_IMPORT_SALES_FUNNEL_REPORT_TASK, WRITE_OFF_PRODUCTS_FILE_TASK, CLIENT_DATABASE_CREATE_TASK, UPDATE_FBS_LABELS_TASK, REBUILD_PROFIT_REPORT_HOURLY_AGGREGATE_TASK, OZON_IMPORT_CAMPAIGN_TASK, EXPORT_SUPPLY_PLAN_FILE_TASK, IMPORT_SUPPLY_PLAN_FILE_TASK, CREATE_SERVICE_CARDS, WAREHOUSE_ECONOMICS_FILE_TASK, UPDATE_WILDBERRIES_ACQUIRING_RATE_TASK, PRODUCT_SALES_FORECAST_TASK, UPDATE_PRODUCT_CODES_STATUSES_TASK, MARKETPLACE_UPDATE_PRICE_TASK, UZUM_IMPORT_STAT_TASK, CAMPAIGN_STATS_FILE_TASK, OZON_FBO_WORKFLOW_TASK, EXPORT_CERTIFICATE_TEMPLATE_TASK, IMPORT_CERTIFICATES_TASK, REBUILD_LOCAL_ORDER_PROFIT_REPORT_TASK, SHOPIFY_CARD_IMPORT No Type.
name string No Name.
clientId integer · int64 No Client Id.
entityId integer · int64 No Entity Id.
progress integer · int32 No Progress.
processedQuantity integer · int32 No Processed Quantity.
organizationId integer · int64 No Organization Id.
priority integer · int32 No Priority.
properties string No Properties.
message string No Message.
messageParams string No Message Params.
createdDate string · date-time No Created Date.
startDate string · date-time No Start Date.
finishDate string · date-time No Finish Date.
url string No Url.
inputFileUrl string No Input File Url.
retryNumber integer · int32 No Retry Number.
userId integer · int32 No User Id.
retryDate string · date-time No Retry Date.
debug boolean No Debug.
forcedStart boolean No Forced Start.
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 No Service.
lang string No Lang.
{
  "id": 1001,
  "status": "CREATED",
  "type": "WILDBERRIES_CREATE_CARD",
  "name": "Example",
  "clientId": 1001,
  "entityId": 1001
}
Errors3

Application errors are normally returned as JSON with error, localMessage, and params. Branch on error; localized text may change. How application errors are returned ↑

401auth_required
Authentication required

Authorization is missing, empty, or contains an invalid token.

400error_access_denied
Insufficient permissions

The token exists, but its role cannot perform this operation.

500error_unknown
Unexpected error

Internal failure. Save the request time and contact support; do not blindly retry a mutation.

POST

Delete Quality Document Image

/api/qualityDocument/deleteQualityDocumentImage
Token with write access

Delete Quality Document Image using POST /api/qualityDocument/deleteQualityDocumentImage.

Query parameters

FieldTypeRequiredDescription
imageId integer · int64 Yes Image Id.
curl --request POST 'https://api.selsup.ru/api/qualityDocument/deleteQualityDocumentImage?imageId=1001' \
  --header 'Authorization: YOUR_API_TOKEN'

Success response

200

The response has no body.

Errors4

Application errors are normally returned as JSON with error, localMessage, and params. Branch on error; localized text may change. How application errors are returned ↑

401auth_required
Authentication required

Authorization is missing, empty, or contains an invalid token.

400error_access_denied
Insufficient permissions

The token exists, but its role cannot perform this operation.

500error_unknown
Unexpected error

Internal failure. Save the request time and contact support; do not blindly retry a mutation.

400error_no_client
The client was not found or has been deleted. Write to support

Endpoint-specific error. Use the stable error_no_client code in application logic; localMessage contains the translation shown above.

POST

Create Quality Document

/api/qualityDocument/createQualityDocument
Token with write access

Create Quality Document using POST /api/qualityDocument/createQualityDocument.

Request body

application/json
Object fieldsQualityDocument
FieldTypeRequiredDescription
id integer · int64 No Id.
name string No Name.
type stringDECLARATION, CERTIFICATE, REFUSAL, REGISTRATION No Type.
number string No Number.
numberNormalized string No Number Normalized.
clientId integer · int64 No Client Id.
versionId integer · int64 No Version Id.
createdUser string No Created User.
startDate string · date No Start Date.
expireDate string · date No Expire Date.
data QualityDocumentData[] No Data.
Array item structure QualityDocumentData
FieldTypeRequiredDescription
id integer · int64 No Id.
documentId integer · int64 No Document Id.
productModelId integer · int64 No Product Model Id.
brand Brand No Brand.
Object fields Brand
FieldTypeRequiredDescription
brandId integer · int32 No Brand Id.
name string Yes Name.
clientId integer · int64 No Client Id.
logoUrl string No Logo Url.
logoSize integer · int32 No Logo Size.
logoWidth integer · int32 No Logo Width.
logoHeight integer · int32 No Logo Height.
deleted boolean No Deleted.
ozonName string No Ozon Name.
ozonId integer · int64 No Ozon Id.
oneCId string No One CId.
brandId integer · int32 No Brand Id.
category Category No Category.
Object fields Category
FieldTypeRequiredDescription
categoryId integer · int32 No Category Id.
name string Yes Name.
deleted boolean No Deleted.
parentId integer · int32 No Parent Id.
clientId integer · int64 No Client Id.
marked boolean No Marked.
categoryClass stringSHOES, LIGHT, DRUGS, CAMERA, TYRES, MILK, WATER, TOBACCO, FURS, BEER, BICYCLES, PERFUMES, ELECTRONIC, OTHER, NONE, FOOD, WHEELCHAIRS, OTP, NCP, BIO, ANTISEPTIC, NABEER, SOFTDRINKS, PETFOOD, SEAFOOD, MEAT, TOYS, TITAN, RADIO, OPTIC_FIBER, VEGETABLE_OIL, CONSERVE, VETPHARMA, CHEMISTRY, AUTOFLUIDS, GROCERY, BOOKS, CONSTRUCTION, FIRE, HEATER, CABLERAW, POLYMER, SWEETS, CARPARTS, NATURAL_FUR, NICOTINDEV, GADGETS, FROZEN, FERTILIZERS, HOMEWARE, VETBIO, INDUSTRIAL, PYROTECHNICS No Category Class.
wildberriesType WildberriesType No Wildberries Type.
wildberriesCategoryId integer · int64 No Wildberries Category Id.
wildberriesFbmCommission number · double No Wildberries Fbm Commission.
wildberriesFbwCommission number · double No Wildberries Fbw Commission.
wildberriesFbsCommission number · double No Wildberries Fbs Commission.
wildberriesDbsCommission number · double No Wildberries Dbs Commission.
wildberriesEdbsCommission number · double No Wildberries Edbs Commission.
wildberriesCAndCCommission number · double No Wildberries CAnd CCommission.
wildberriesBookingCommission number · double No Wildberries Booking Commission.
ozonDescriptionCategoryId integer · int64 No Ozon Description Category Id.
yandexMarketCategoryId integer · int64 No Yandex Market Category Id.
yandexMarketCategory YandexMarketCategory No Yandex Market Category.
ozonDescriptionCategory OzonDescriptionCategory No Ozon Description Category.
ozonCommission number · double No Ozon Commission.
tnved Tnved No Tnved.
tnvedId integer · int64 No Tnved Id.
laundry string No Laundry.
params string No Params.
namePattern string No Name Pattern.
aliexpressCategory AliexpressCategory No Aliexpress Category.
aliexpressCategoryId integer · int64 No Aliexpress Category Id.
avitoCategory AvitoCategory No Avito Category.
lamodaCategory LamodaCategory No Lamoda Category.
lamodaCategoryId integer · int64 No Lamoda Category Id.
avitoCategoryId integer · int64 No Avito Category Id.
packDepth integer · int32 No Pack Depth.
packWidth integer · int32 No Pack Width.
packHeight integer · int32 No Pack Height.
packWeight integer · int32 No Pack Weight.
hasSize boolean No Has Size.
hasColor boolean No Has Color.
autoName boolean No Auto Name.
removeFbsStock boolean No Remove Fbs Stock.
oneCId string No One CId.
externalId string No External Id.
moySkladId string No Moy Sklad Id.
useClientParams boolean No Use Client Params.
requiredExpirationDate boolean No Required Expiration Date.
serviceCategoryMappings object No Service Category Mappings.
productCount integer · int32 No Product Count.
categoryId integer · int32 No Category Id.
clientId integer · int64 No Client Id.
images QualityDocumentImage[] No Images.
Array item structure QualityDocumentImage
FieldTypeRequiredDescription
id integer · int64 No Id.
url string No Url.
position integer · int32 No Position.
documentId integer · int64 No Document Id.
clientId integer · int64 No Client Id.
curl --request POST 'https://api.selsup.ru/api/qualityDocument/createQualityDocument' \
  --header 'Authorization: YOUR_API_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": 1001,
  "name": "Example",
  "type": "DECLARATION",
  "number": "string",
  "numberNormalized": "string",
  "clientId": 1001
}'

Success response

200
Object fields QualityDocument
FieldTypeRequiredDescription
id integer · int64 No Id.
name string No Name.
type stringDECLARATION, CERTIFICATE, REFUSAL, REGISTRATION No Type.
number string No Number.
numberNormalized string No Number Normalized.
clientId integer · int64 No Client Id.
versionId integer · int64 No Version Id.
createdUser string No Created User.
startDate string · date No Start Date.
expireDate string · date No Expire Date.
data QualityDocumentData[] No Data.
Array item structure QualityDocumentData
FieldTypeRequiredDescription
id integer · int64 No Id.
documentId integer · int64 No Document Id.
productModelId integer · int64 No Product Model Id.
brand Brand No Brand.
Object fields Brand
FieldTypeRequiredDescription
brandId integer · int32 No Brand Id.
name string Yes Name.
clientId integer · int64 No Client Id.
logoUrl string No Logo Url.
logoSize integer · int32 No Logo Size.
logoWidth integer · int32 No Logo Width.
logoHeight integer · int32 No Logo Height.
deleted boolean No Deleted.
ozonName string No Ozon Name.
ozonId integer · int64 No Ozon Id.
oneCId string No One CId.
brandId integer · int32 No Brand Id.
category Category No Category.
Object fields Category
FieldTypeRequiredDescription
categoryId integer · int32 No Category Id.
name string Yes Name.
deleted boolean No Deleted.
parentId integer · int32 No Parent Id.
clientId integer · int64 No Client Id.
marked boolean No Marked.
categoryClass stringSHOES, LIGHT, DRUGS, CAMERA, TYRES, MILK, WATER, TOBACCO, FURS, BEER, BICYCLES, PERFUMES, ELECTRONIC, OTHER, NONE, FOOD, WHEELCHAIRS, OTP, NCP, BIO, ANTISEPTIC, NABEER, SOFTDRINKS, PETFOOD, SEAFOOD, MEAT, TOYS, TITAN, RADIO, OPTIC_FIBER, VEGETABLE_OIL, CONSERVE, VETPHARMA, CHEMISTRY, AUTOFLUIDS, GROCERY, BOOKS, CONSTRUCTION, FIRE, HEATER, CABLERAW, POLYMER, SWEETS, CARPARTS, NATURAL_FUR, NICOTINDEV, GADGETS, FROZEN, FERTILIZERS, HOMEWARE, VETBIO, INDUSTRIAL, PYROTECHNICS No Category Class.
wildberriesType WildberriesType No Wildberries Type.
wildberriesCategoryId integer · int64 No Wildberries Category Id.
wildberriesFbmCommission number · double No Wildberries Fbm Commission.
wildberriesFbwCommission number · double No Wildberries Fbw Commission.
wildberriesFbsCommission number · double No Wildberries Fbs Commission.
wildberriesDbsCommission number · double No Wildberries Dbs Commission.
wildberriesEdbsCommission number · double No Wildberries Edbs Commission.
wildberriesCAndCCommission number · double No Wildberries CAnd CCommission.
wildberriesBookingCommission number · double No Wildberries Booking Commission.
ozonDescriptionCategoryId integer · int64 No Ozon Description Category Id.
yandexMarketCategoryId integer · int64 No Yandex Market Category Id.
yandexMarketCategory YandexMarketCategory No Yandex Market Category.
ozonDescriptionCategory OzonDescriptionCategory No Ozon Description Category.
ozonCommission number · double No Ozon Commission.
tnved Tnved No Tnved.
tnvedId integer · int64 No Tnved Id.
laundry string No Laundry.
params string No Params.
namePattern string No Name Pattern.
aliexpressCategory AliexpressCategory No Aliexpress Category.
aliexpressCategoryId integer · int64 No Aliexpress Category Id.
avitoCategory AvitoCategory No Avito Category.
lamodaCategory LamodaCategory No Lamoda Category.
lamodaCategoryId integer · int64 No Lamoda Category Id.
avitoCategoryId integer · int64 No Avito Category Id.
packDepth integer · int32 No Pack Depth.
packWidth integer · int32 No Pack Width.
packHeight integer · int32 No Pack Height.
packWeight integer · int32 No Pack Weight.
hasSize boolean No Has Size.
hasColor boolean No Has Color.
autoName boolean No Auto Name.
removeFbsStock boolean No Remove Fbs Stock.
oneCId string No One CId.
externalId string No External Id.
moySkladId string No Moy Sklad Id.
useClientParams boolean No Use Client Params.
requiredExpirationDate boolean No Required Expiration Date.
serviceCategoryMappings object No Service Category Mappings.
productCount integer · int32 No Product Count.
categoryId integer · int32 No Category Id.
clientId integer · int64 No Client Id.
images QualityDocumentImage[] No Images.
Array item structure QualityDocumentImage
FieldTypeRequiredDescription
id integer · int64 No Id.
url string No Url.
position integer · int32 No Position.
documentId integer · int64 No Document Id.
clientId integer · int64 No Client Id.
{
  "id": 1001,
  "name": "Example",
  "type": "DECLARATION",
  "number": "string",
  "numberNormalized": "string",
  "clientId": 1001
}
Errors6

Application errors are normally returned as JSON with error, localMessage, and params. Branch on error; localized text may change. How application errors are returned ↑

401auth_required
Authentication required

Authorization is missing, empty, or contains an invalid token.

400error_access_denied
Insufficient permissions

The token exists, but its role cannot perform this operation.

500error_unknown
Unexpected error

Internal failure. Save the request time and contact support; do not blindly retry a mutation.

400error_create_quality_document
Failed to create quality document

Endpoint-specific error. Use the stable error_create_quality_document code in application logic; localMessage contains the translation shown above.

400error_document_already_exist
A document with the same name already exists

Endpoint-specific error. Use the stable error_document_already_exist code in application logic; localMessage contains the translation shown above.

400error_no_client
The client was not found or has been deleted. Write to support

Endpoint-specific error. Use the stable error_no_client code in application logic; localMessage contains the translation shown above.

GET

Get Quality Document By Model

/api/qualityDocument/getQualityDocumentByModel
Token with read access

Get Quality Document By Model using GET /api/qualityDocument/getQualityDocumentByModel.

Query parameters

FieldTypeRequiredDescription
modelId integer · int64 Yes Model Id.
curl --request GET 'https://api.selsup.ru/api/qualityDocument/getQualityDocumentByModel?modelId=1001' \
  --header 'Authorization: YOUR_API_TOKEN'

Success response

200
Array item structure QualityDocument[]
FieldTypeRequiredDescription
id integer · int64 No Id.
name string No Name.
type stringDECLARATION, CERTIFICATE, REFUSAL, REGISTRATION No Type.
number string No Number.
numberNormalized string No Number Normalized.
clientId integer · int64 No Client Id.
versionId integer · int64 No Version Id.
createdUser string No Created User.
startDate string · date No Start Date.
expireDate string · date No Expire Date.
data QualityDocumentData[] No Data.
Array item structure QualityDocumentData
FieldTypeRequiredDescription
id integer · int64 No Id.
documentId integer · int64 No Document Id.
productModelId integer · int64 No Product Model Id.
brand Brand No Brand.
Object fields Brand
FieldTypeRequiredDescription
brandId integer · int32 No Brand Id.
name string Yes Name.
clientId integer · int64 No Client Id.
logoUrl string No Logo Url.
logoSize integer · int32 No Logo Size.
logoWidth integer · int32 No Logo Width.
logoHeight integer · int32 No Logo Height.
deleted boolean No Deleted.
ozonName string No Ozon Name.
ozonId integer · int64 No Ozon Id.
oneCId string No One CId.
brandId integer · int32 No Brand Id.
category Category No Category.
Object fields Category
FieldTypeRequiredDescription
categoryId integer · int32 No Category Id.
name string Yes Name.
deleted boolean No Deleted.
parentId integer · int32 No Parent Id.
clientId integer · int64 No Client Id.
marked boolean No Marked.
categoryClass stringSHOES, LIGHT, DRUGS, CAMERA, TYRES, MILK, WATER, TOBACCO, FURS, BEER, BICYCLES, PERFUMES, ELECTRONIC, OTHER, NONE, FOOD, WHEELCHAIRS, OTP, NCP, BIO, ANTISEPTIC, NABEER, SOFTDRINKS, PETFOOD, SEAFOOD, MEAT, TOYS, TITAN, RADIO, OPTIC_FIBER, VEGETABLE_OIL, CONSERVE, VETPHARMA, CHEMISTRY, AUTOFLUIDS, GROCERY, BOOKS, CONSTRUCTION, FIRE, HEATER, CABLERAW, POLYMER, SWEETS, CARPARTS, NATURAL_FUR, NICOTINDEV, GADGETS, FROZEN, FERTILIZERS, HOMEWARE, VETBIO, INDUSTRIAL, PYROTECHNICS No Category Class.
wildberriesType WildberriesType No Wildberries Type.
wildberriesCategoryId integer · int64 No Wildberries Category Id.
wildberriesFbmCommission number · double No Wildberries Fbm Commission.
wildberriesFbwCommission number · double No Wildberries Fbw Commission.
wildberriesFbsCommission number · double No Wildberries Fbs Commission.
wildberriesDbsCommission number · double No Wildberries Dbs Commission.
wildberriesEdbsCommission number · double No Wildberries Edbs Commission.
wildberriesCAndCCommission number · double No Wildberries CAnd CCommission.
wildberriesBookingCommission number · double No Wildberries Booking Commission.
ozonDescriptionCategoryId integer · int64 No Ozon Description Category Id.
yandexMarketCategoryId integer · int64 No Yandex Market Category Id.
yandexMarketCategory YandexMarketCategory No Yandex Market Category.
ozonDescriptionCategory OzonDescriptionCategory No Ozon Description Category.
ozonCommission number · double No Ozon Commission.
tnved Tnved No Tnved.
tnvedId integer · int64 No Tnved Id.
laundry string No Laundry.
params string No Params.
namePattern string No Name Pattern.
aliexpressCategory AliexpressCategory No Aliexpress Category.
aliexpressCategoryId integer · int64 No Aliexpress Category Id.
avitoCategory AvitoCategory No Avito Category.
lamodaCategory LamodaCategory No Lamoda Category.
lamodaCategoryId integer · int64 No Lamoda Category Id.
avitoCategoryId integer · int64 No Avito Category Id.
packDepth integer · int32 No Pack Depth.
packWidth integer · int32 No Pack Width.
packHeight integer · int32 No Pack Height.
packWeight integer · int32 No Pack Weight.
hasSize boolean No Has Size.
hasColor boolean No Has Color.
autoName boolean No Auto Name.
removeFbsStock boolean No Remove Fbs Stock.
oneCId string No One CId.
externalId string No External Id.
moySkladId string No Moy Sklad Id.
useClientParams boolean No Use Client Params.
requiredExpirationDate boolean No Required Expiration Date.
serviceCategoryMappings object No Service Category Mappings.
productCount integer · int32 No Product Count.
categoryId integer · int32 No Category Id.
clientId integer · int64 No Client Id.
images QualityDocumentImage[] No Images.
Array item structure QualityDocumentImage
FieldTypeRequiredDescription
id integer · int64 No Id.
url string No Url.
position integer · int32 No Position.
documentId integer · int64 No Document Id.
clientId integer · int64 No Client Id.
[
  "string"
]
Errors4

Application errors are normally returned as JSON with error, localMessage, and params. Branch on error; localized text may change. How application errors are returned ↑

401auth_required
Authentication required

Authorization is missing, empty, or contains an invalid token.

400error_access_denied
Insufficient permissions

The token exists, but its role cannot perform this operation.

500error_unknown
Unexpected error

Internal failure. Save the request time and contact support; do not blindly retry a mutation.

400error_no_client
The client was not found or has been deleted. Write to support

Endpoint-specific error. Use the stable error_no_client code in application logic; localMessage contains the translation shown above.

GET

Find Quality Document

/api/qualityDocument/findQualityDocument
Token with read access

Find Quality Document using GET /api/qualityDocument/findQualityDocument.

Query parameters

FieldTypeRequiredDescription
brandId integer · int32 No Brand Id.
categoryId integer · int32 No Category Id.
query string No Query.
limit integer · int32 No Limit.
page integer · int32 No Page.
count boolean No Count.
sortBy stringDOCUMENT_ID, NAME, TYPE, NUMBER, START_DATE, EXPIRE_DATE No Sort By.
ascending boolean No Ascending.
curl --request GET 'https://api.selsup.ru/api/qualityDocument/findQualityDocument?limit=50&page=1' \
  --header 'Authorization: YOUR_API_TOKEN'

Success response

200
Object fields FindResponseQualityDocument
FieldTypeRequiredDescription
rows QualityDocument[] No Rows.
Array item structure QualityDocument
FieldTypeRequiredDescription
id integer · int64 No Id.
name string No Name.
type stringDECLARATION, CERTIFICATE, REFUSAL, REGISTRATION No Type.
number string No Number.
numberNormalized string No Number Normalized.
clientId integer · int64 No Client Id.
versionId integer · int64 No Version Id.
createdUser string No Created User.
startDate string · date No Start Date.
expireDate string · date No Expire Date.
data QualityDocumentData[] No Data.
Array item structure QualityDocumentData
FieldTypeRequiredDescription
id integer · int64 No Id.
documentId integer · int64 No Document Id.
productModelId integer · int64 No Product Model Id.
brand Brand No Brand.
brandId integer · int32 No Brand Id.
category Category No Category.
categoryId integer · int32 No Category Id.
clientId integer · int64 No Client Id.
images QualityDocumentImage[] No Images.
Array item structure QualityDocumentImage
FieldTypeRequiredDescription
id integer · int64 No Id.
url string No Url.
position integer · int32 No Position.
documentId integer · int64 No Document Id.
clientId integer · int64 No Client Id.
{
  "rows": "string"
}
Errors4

Application errors are normally returned as JSON with error, localMessage, and params. Branch on error; localized text may change. How application errors are returned ↑

401auth_required
Authentication required

Authorization is missing, empty, or contains an invalid token.

400error_access_denied
Insufficient permissions

The token exists, but its role cannot perform this operation.

500error_unknown
Unexpected error

Internal failure. Save the request time and contact support; do not blindly retry a mutation.

400error_no_client
The client was not found or has been deleted. Write to support

Endpoint-specific error. Use the stable error_no_client code in application logic; localMessage contains the translation shown above.

GET

Get By Id

/api/quality/document/{documentId}
Token with read access

Get By Id using GET /api/quality/document/{documentId}.

Path parameters

FieldTypeRequiredDescription
documentId integer · int64 Yes Document Id.
curl --request GET 'https://api.selsup.ru/api/quality/document/1001' \
  --header 'Authorization: YOUR_API_TOKEN'

Success response

200

The response has no body.

Errors3

Application errors are normally returned as JSON with error, localMessage, and params. Branch on error; localized text may change. How application errors are returned ↑

401auth_required
Authentication required

Authorization is missing, empty, or contains an invalid token.

400error_access_denied
Insufficient permissions

The token exists, but its role cannot perform this operation.

500error_unknown
Unexpected error

Internal failure. Save the request time and contact support; do not blindly retry a mutation.

Authorization

Token for test requests

The token stays in this browser's localStorage and is sent only in the Authorization header of requests to api.selsup.ru.

Try it

Real request parameters

Live API response

Send a request to see the SelSup response.