SelSup Developers

Le public API · API Référence

Livraison

Les points de fin de livraison, y compris les itinéraires exacts, les paramètres, les organismes de demande et les schémas de réponse extensibles.

18 points de fin/api/deliveryStableDéclaration lisible par machine ↗
{ }

Cette page est soutenue par un contrat indépendant éditable. Valider les opérations de rédaction avec des données de test avant utilisation de production.

/api/delivery

Flux de travail prêts à l'emploi

Flux de travail prêts à l'emploi

Modèle de données

Structures de données

Les modèles sont énumérés une fois ici et peuvent également être étendus directement depuis les terminaux qui les utilisent.

AdditionalDeliveryServiceDto3 champs
codestring

Code.

namestring

Nom.

descriptionstring

Une description.

Address15 champs
idinteger · int32

Id.

postCodestring

Le code postal.

countryCountry

Le pays.

regionRegion

Région.

regionIdinteger · int32

Région ID

streetstring

Dans la rue.

housestring

- La maison.

districtstring

Le district.

citystring

La ville.

localitystring

La localisation.

buildingstring

Le bâtiment.

flatstring

- Il est plat.

shortstring

- Il est court.

addressIdAddress

Nom de l'adresse.

fullstring

- Ça va.

Country6 champs
countryIdinteger · int32

Identification du pays.

namestring

Nom.

code2string

Le code 2.

code3string

Le code 3.

namesobject

Des noms.

printNamestring

Imprimez le nom.

DeliveryTariff13 champs
deliverySumnumber · float

Summe de livraison.

periodMininteger · int32

La période Min.

periodMaxinteger · int32

Max de période.

calendarMininteger · int32

Le calendrier Min.

calendarMaxinteger · int32

Le calendrier Max.

tariffIdinteger · int32

Identification des tarifs douaniers.

shippingServicestring

Le service de transport maritime.

tariffCodeinteger · int32

Le code tarifaire.

externalTariffCodestring

Code tarifaire externe.

tariffNamestring

Nom des tarifs.

tariffDescriptionstring

Définition des tarifs.

deliveryModeinteger · int32

Mode de livraison.

additionalServicesAdditionalDeliveryServiceDto[]

Services supplémentaires.

Organization33 champs
idinteger · int64

Id.

read-only
namestring

Nom.

Obligatoire
shortNamestring

Nom court.

taxTypestring

Le type de taxe.

taxRateinteger · int32

Taxe d'imposition.

taxNdsinteger · int32

Les impôts.

inputTaxNdsinteger · int32

Les impôts sur les entrées.

outputTaxNdsinteger · int32

Les taxes sur les produits de consommation.

enableNewTaxCalculationboolean

Activer le nouveau calcul des impôts.

useNdsCostPriceboolean

Utilisez le prix de Nds.

innstring

Une auberge.

Obligatoire
kppstring

Je suis là.

bankstring

La banque.

bikstring

Je fais du vélo.

corrBillstring

- Il est là.

billNumberstring

Le numéro de la facture.

stampPathstring

Le chemin du timbre.

read-only
stampUrlstring

Une adresse d'url.

read-only
stampSizeinteger · int32

La taille du timbre.

read-only
stampWidthinteger · int32

La largeur du timbre.

read-only
stampHeightinteger · int32

La hauteur du timbre.

read-only
signaturePathstring

Le chemin de la signature.

read-only
signatureUrlstring

L'URL de la signature.

read-only
signatureSizeinteger · int32

Taille de signature.

read-only
signatureWidthinteger · int32

Largeur de signature.

read-only
signatureHeightinteger · int32

La hauteur de la signature.

read-only
ipPersonPerson

Je suis une personne.

formstring

Le formulaire.

Obligatoire
ipboolean

Je suis là.

clientIdinteger · int64

Nom du client.

read-only
addressAddress

Une adresse.

phoneNumberstring

Nom de téléphone.

addressFullstring

L'adresse est complète.

read-only
Person14 champs
personIdinteger · int64

Identification de personne.

read-only
firstNamestring

Nom de famille.

Obligatoire
lastNamestring

Nom de famille.

Obligatoire
surNamestring

Sur Nom.

clientIdinteger · int64

Nom du client.

read-only
positionPersonPosition

La position.

Obligatoire
versionIdinteger · int64

- La version ID.

read-only
createdUserstring

Créé par l'utilisateur.

read-only
createdDatestring · date-time

Date créée.

read-only
deletedboolean

Il a été supprimé.

read-only
userIdinteger · int32

Identification de l'utilisateur.

read-only
hasChangesboolean

Il a des changements.

fullNamestring

Nom complet.

read-only
shortNamestring

Nom court.

read-only
PersonPosition7 champs
idinteger · int64

Id.

read-only
namestring

Nom.

Obligatoire
deletedboolean

Il a été supprimé.

read-only
clientIdinteger · int64

Nom du client.

read-only
defaultJobIdinteger · int64

Identification de travail par défaut.

createdUserstring

Créé par l'utilisateur.

read-only
createdDatestring · date-time

Date créée.

read-only
Region4 champs
regionIdinteger · int32

Région ID

countryIdinteger · int32

Identification du pays.

namestring

Nom.

regionSynonymsRegionSynonym[]

Synonymes de région.

RegionSynonym4 champs
idinteger · int64

Id.

regionIdinteger · int64

Région ID

synonymstring

- Je suis synonyme.

servicestring

Le service.

WarehouseDelivery15 champs
warehouseDeliveryIdinteger · int64

Identification de livraison au magasin.

pointstring

Je veux dire.

servicestring

Le service.

warehouseIdinteger · int64

Identification de l'entrepôt.

organizationIdinteger · int64

Identification de l'organisation.

tariffPrioritystring

Priorités tarifaires.

prioritiesobject

Les priorités.

priorityByModeboolean

Priorité par mode.

additionalServicesstring

Services supplémentaires.

sendZeroPriceboolean

Envoyez le prix zéro.

fakeNamestring

Faux nom.

hideOrganizationboolean

Organisation cachée.

sellerOrganizationIdinteger · int64

Identification de l'organisation du vendeur.

organizationOrganization

L'organisation.

additionalServiceForTariffDeliveryTariff

Service supplémentaire pour les tarifs.

FileExportColumn5 champs
idinteger · int64

Id.

fileExportIdinteger · int64

Fichier d'exportation

columnNamestring

Nom de colonne.

columnOrderinteger · int32

L'ordre de la colonne.

isEnabledboolean

Il est activé.

TmsTask25 champs
idinteger · int64

Id.

read-only
statusstring

Status.

read-only
typestring

Type.

read-only
namestring

Nom.

clientIdinteger · int64

Nom du client.

entityIdinteger · int64

Identification de l'entité.

progressinteger · int32

- Ça va.

processedQuantityinteger · int32

Quantité traitée.

organizationIdinteger · int64

Identification de l'organisation.

priorityinteger · int32

La priorité.

propertiesstring

Des propriétés.

messagestring

Je vous envoie un message.

messageParamsstring

Parammes de message.

createdDatestring · date-time

Date créée.

startDatestring · date-time

Date de début.

finishDatestring · date-time

La date de fin.

urlstring

- Je vous en prie.

inputFileUrlstring

L' URL du fichier d'entrée.

retryNumberinteger · int32

Retour à la numérotation.

userIdinteger · int32

Identification de l'utilisateur.

retryDatestring · date-time

Retour à la date.

debugboolean

Débug.

forcedStartboolean

Le démarrage forcé.

servicestring

Le service.

langstring

Lang.

CalculatedDeliveryTariff11 champs
deliverySumnumber · float

Summe de livraison.

periodMininteger · int32

La période Min.

periodMaxinteger · int32

Max de période.

calendarMininteger · int32

Le calendrier Min.

calendarMaxinteger · int32

Le calendrier Max.

servicesobject

Des services.

locationToCodestring

Localisation vers le code.

locationFromCodestring

Localisation du code.

tariffCodeinteger · int32

Le code tarifaire.

deliveryModeToOrderCreateinteger · int32

Mode de livraison pour la commande Créer.

deliveryModeListinteger[]

Liste des modes de livraison.

DeliveryServiceData10 champs
idinteger · int64

Id.

tokenExpiredDatestring · date-time

Date d'expiration du jeton.

servicestring

Le service.

serviceClientIdstring

Identification du client de service.

serviceSecretDeliveryServiceData

Le service secret.

clientIdinteger · int64

Nom du client.

organizationIdinteger · int64

Identification de l'organisation.

updateTokenboolean

Mettez à jour le jeton.

hasTokenboolean

Il a le Token.

hasSecretboolean

Il a un secret.

DeliveryRegion2 champs
namestring

Nom.

idstring

Id.

DeliveryPoint11 champs
namestring

Nom.

locationDeliveryPointsLocation

- Où est-ce que tu es ?

addressstring

Une adresse.

addressCommentstring

Commentaire sur l'adresse.

notestring

Une note.

workTimestring

Le temps de travail.

phonesPhone[]

Les téléphones.

zipCodestring

- Le code postal.

codestring

Code.

emailstring

Un courriel.

sitestring

Le site.

DeliveryPointsLocation12 champs
addressstring

Une adresse.

codeinteger · int32

Code.

postal_codestring

Le code postal.

country_codestring

Le code du pays.

citystring

La ville.

fias_guidstring

Je vous en prie.

longitudenumber · float

La longitude.

latitudenumber · float

La latitude.

regionstring

Région.

region_codeinteger · int32

Codes de région.

address_fullstring

L'adresse est complète.

city_codestring

Le code de la ville.

Phone2 champs
numberstring

Le numéro.

additionalstring

- Une autre.

DeliveryCity2 champs
namestring

Nom.

idstring

Id.

AddressDto8 champs
addressstring

Une adresse.

postalCodestring

Le code postal.

regionstring

Région.

localitystring

La localisation.

streetstring

Dans la rue.

housestring

- La maison.

longitudenumber · double

La longitude.

latitudenumber · double

La latitude.

Contrats d'erreur

Comment les erreurs d'application sont retournées

Le code error est identique dans chaque locale, tandis que le message d'utilisateur est traduit par le serveur.

Le projet de loi

Code stable lisible par machine pour la logique d'intégration.

Le projet de loi

Message prêt à être affiché dans la langue de l'utilisateur de jeton API.

Le projet de loi

Les valeurs interpolées par le serveur dans le modèle de message localisé.

localMessage utilise le champ lang de l'utilisateur qui possède le jeton API. Le langage de documentation et l'en-tête Accept-Language ne le modifient pas; le russe est utilisé lorsque l'usager n'a pas de langue configurée.

RULocalisation de l'utilisateur est ru
{
  "error": "error_brand_already_exists",
  "localMessage": "Бренд Base уже существует",
  "params": {
    "name": "Base"
  }
}
FRFrançais (fr)
{
  "error": "error_brand_already_exists",
  "localMessage": "La marque Base existe déjà",
  "params": {
    "name": "Base"
  }
}

Les points de fin

Les points de fin

POST

Mise à jour de l'ordre de livraison

/api/delivery/updateDeliveryOrder
Token avec accès à l'écriture

Mise à jour de la commande de livraison à l'aide de POST /api/delivery/updateDeliveryOrder.

Paramètres de requête

ChampTypeObligatoireDescription
orderId integer · int64 Oui Nom de commande.
curl --request POST 'https://api.selsup.ru/api/delivery/updateDeliveryOrder?orderId=1001' \
  --header 'Authorization: YOUR_API_TOKEN'

Réponse réussie

200

La réponse n'a pas de corps.

Les erreurs3

Les erreurs d'application sont normalement renvoyées sous le nom JSON avec error, localMessage et params. Brancher sur XPRO TECTED4X; le texte localisé peut changer. Comment les erreurs d'application sont retournées ↑

401auth_required
Autentification requise

Authorization est manquant, vide ou contient un jeton non valide.

400error_access_denied
Accès refusé

Le jeton existe, mais son rôle ne peut pas effectuer cette opération.

500error_unknown
Une erreur inconnue s'est produite. Si le problème persiste, contactez le service d'assistance

Faillite interne: économiser le temps de la demande et le support de contact; ne réessayez pas aveuglément une mutation.

POST

Livraison dans un entrepôt

/api/delivery/storeWarehouseDelivery
Token avec accès à l'écriture

Livraison dans un entrepôt en utilisant POST /api/delivery/storeWarehouseDelivery.

Organisme de demande

application/json
champs d'objetWarehouseDelivery
ChampTypeObligatoireDescription
warehouseDeliveryId integer · int64 Non Identification de livraison au magasin.
point string Non Je veux dire.
service stringCDEK, OWN_DELIVERY, POST, BOXBERRY, DPD, YANDEX, DOSTAVISTA, DELLIN, PEC, YANDEX_EXPRESS, FIVE_POST Non Le service.
warehouseId integer · int64 Non Identification de l'entrepôt.
organizationId integer · int64 Non Identification de l'organisation.
tariffPriority string Non Priorités tarifaires.
priorities object Non Les priorités.
priorityByMode boolean Non Priorité par mode.
additionalServices string Non Services supplémentaires.
sendZeroPrice boolean Non Envoyez le prix zéro.
fakeName string Non Faux nom.
hideOrganization boolean Non Organisation cachée.
sellerOrganizationId integer · int64 Non Identification de l'organisation du vendeur.
organization Organization Non L'organisation.
champs d'objet Organization
ChampTypeObligatoireDescription
id integer · int64 Non Id.
name string Oui Nom.
shortName string Non Nom court.
taxType stringYSN, YSN_CONSUMPTION, AUSN, AUSN_CONSUMPTION, OSNO, SELF_EMPLOYED Non Le type de taxe.
taxRate integer · int32 Non Taxe d'imposition.
taxNds integer · int32 Non Les impôts.
inputTaxNds integer · int32 Non Les impôts sur les entrées.
outputTaxNds integer · int32 Non Les taxes sur les produits de consommation.
enableNewTaxCalculation boolean Non Activer le nouveau calcul des impôts.
useNdsCostPrice boolean Non Utilisez le prix de Nds.
inn string Oui Une auberge.
kpp string Non Je suis là.
bank string Non La banque.
bik string Non Je fais du vélo.
corrBill string Non - Il est là.
billNumber string Non Le numéro de la facture.
stampPath string Non Le chemin du timbre.
stampUrl string Non Une adresse d'url.
stampSize integer · int32 Non La taille du timbre.
stampWidth integer · int32 Non La largeur du timbre.
stampHeight integer · int32 Non La hauteur du timbre.
signaturePath string Non Le chemin de la signature.
signatureUrl string Non L'URL de la signature.
signatureSize integer · int32 Non Taille de signature.
signatureWidth integer · int32 Non Largeur de signature.
signatureHeight integer · int32 Non La hauteur de la signature.
ipPerson Person Non Je suis une personne.
champs d'objet Person
ChampTypeObligatoireDescription
personId integer · int64 Non Identification de personne.
firstName string Oui Nom de famille.
lastName string Oui Nom de famille.
surName string Non Sur Nom.
clientId integer · int64 Non Nom du client.
position PersonPosition Oui La position.
versionId integer · int64 Non - La version ID.
createdUser string Non Créé par l'utilisateur.
createdDate string · date-time Non Date créée.
deleted boolean Non Il a été supprimé.
userId integer · int32 Non Identification de l'utilisateur.
hasChanges boolean Non Il a des changements.
fullName string Non Nom complet.
shortName string Non Nom court.
form stringOOO, IP, SELF_EMPLOYED Oui Le formulaire.
ip boolean Non Je suis là.
clientId integer · int64 Non Nom du client.
address Address Non Une adresse.
champs d'objet Address
ChampTypeObligatoireDescription
id integer · int32 Non Id.
postCode string Non Le code postal.
country Country Non Le pays.
region Region Non Région.
regionId integer · int32 Non Région ID
street string Non Dans la rue.
house string Non - La maison.
district string Non Le district.
city string Non La ville.
locality string Non La localisation.
building string Non Le bâtiment.
flat string Non - Il est plat.
short string Non - Il est court.
addressId Address Non Nom de l'adresse.
full string Non - Ça va.
phoneNumber string Non Nom de téléphone.
addressFull string Non L'adresse est complète.
additionalServiceForTariff DeliveryTariff Non Service supplémentaire pour les tarifs.
champs d'objet DeliveryTariff
ChampTypeObligatoireDescription
deliverySum number · float Non Summe de livraison.
periodMin integer · int32 Non La période Min.
periodMax integer · int32 Non Max de période.
calendarMin integer · int32 Non Le calendrier Min.
calendarMax integer · int32 Non Le calendrier Max.
tariffId integer · int32 Non Identification des tarifs douaniers.
shippingService stringCDEK, OWN_DELIVERY, POST, BOXBERRY, DPD, YANDEX, DOSTAVISTA, DELLIN, PEC, YANDEX_EXPRESS, FIVE_POST Non Le service de transport maritime.
tariffCode integer · int32 Non Le code tarifaire.
externalTariffCode string Non Code tarifaire externe.
tariffName string Non Nom des tarifs.
tariffDescription string Non Définition des tarifs.
deliveryMode integer · int320, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 Non Mode de livraison.
additionalServices AdditionalDeliveryServiceDto[] Non Services supplémentaires.
Structure des éléments de l'array AdditionalDeliveryServiceDto
ChampTypeObligatoireDescription
code string Non Code.
name string Non Nom.
description string Non Une description.
curl --request POST 'https://api.selsup.ru/api/delivery/storeWarehouseDelivery' \
  --header 'Authorization: YOUR_API_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
  "warehouseDeliveryId": 1001,
  "point": "string",
  "service": "CDEK",
  "warehouseId": 1001,
  "organizationId": 1001,
  "tariffPriority": "string"
}'

Réponse réussie

200
champs d'objet WarehouseDelivery
ChampTypeObligatoireDescription
warehouseDeliveryId integer · int64 Non Identification de livraison au magasin.
point string Non Je veux dire.
service stringCDEK, OWN_DELIVERY, POST, BOXBERRY, DPD, YANDEX, DOSTAVISTA, DELLIN, PEC, YANDEX_EXPRESS, FIVE_POST Non Le service.
warehouseId integer · int64 Non Identification de l'entrepôt.
organizationId integer · int64 Non Identification de l'organisation.
tariffPriority string Non Priorités tarifaires.
priorities object Non Les priorités.
priorityByMode boolean Non Priorité par mode.
additionalServices string Non Services supplémentaires.
sendZeroPrice boolean Non Envoyez le prix zéro.
fakeName string Non Faux nom.
hideOrganization boolean Non Organisation cachée.
sellerOrganizationId integer · int64 Non Identification de l'organisation du vendeur.
organization Organization Non L'organisation.
champs d'objet Organization
ChampTypeObligatoireDescription
id integer · int64 Non Id.
name string Oui Nom.
shortName string Non Nom court.
taxType stringYSN, YSN_CONSUMPTION, AUSN, AUSN_CONSUMPTION, OSNO, SELF_EMPLOYED Non Le type de taxe.
taxRate integer · int32 Non Taxe d'imposition.
taxNds integer · int32 Non Les impôts.
inputTaxNds integer · int32 Non Les impôts sur les entrées.
outputTaxNds integer · int32 Non Les taxes sur les produits de consommation.
enableNewTaxCalculation boolean Non Activer le nouveau calcul des impôts.
useNdsCostPrice boolean Non Utilisez le prix de Nds.
inn string Oui Une auberge.
kpp string Non Je suis là.
bank string Non La banque.
bik string Non Je fais du vélo.
corrBill string Non - Il est là.
billNumber string Non Le numéro de la facture.
stampPath string Non Le chemin du timbre.
stampUrl string Non Une adresse d'url.
stampSize integer · int32 Non La taille du timbre.
stampWidth integer · int32 Non La largeur du timbre.
stampHeight integer · int32 Non La hauteur du timbre.
signaturePath string Non Le chemin de la signature.
signatureUrl string Non L'URL de la signature.
signatureSize integer · int32 Non Taille de signature.
signatureWidth integer · int32 Non Largeur de signature.
signatureHeight integer · int32 Non La hauteur de la signature.
ipPerson Person Non Je suis une personne.
champs d'objet Person
ChampTypeObligatoireDescription
personId integer · int64 Non Identification de personne.
firstName string Oui Nom de famille.
lastName string Oui Nom de famille.
surName string Non Sur Nom.
clientId integer · int64 Non Nom du client.
position PersonPosition Oui La position.
versionId integer · int64 Non - La version ID.
createdUser string Non Créé par l'utilisateur.
createdDate string · date-time Non Date créée.
deleted boolean Non Il a été supprimé.
userId integer · int32 Non Identification de l'utilisateur.
hasChanges boolean Non Il a des changements.
fullName string Non Nom complet.
shortName string Non Nom court.
form stringOOO, IP, SELF_EMPLOYED Oui Le formulaire.
ip boolean Non Je suis là.
clientId integer · int64 Non Nom du client.
address Address Non Une adresse.
champs d'objet Address
ChampTypeObligatoireDescription
id integer · int32 Non Id.
postCode string Non Le code postal.
country Country Non Le pays.
region Region Non Région.
regionId integer · int32 Non Région ID
street string Non Dans la rue.
house string Non - La maison.
district string Non Le district.
city string Non La ville.
locality string Non La localisation.
building string Non Le bâtiment.
flat string Non - Il est plat.
short string Non - Il est court.
addressId Address Non Nom de l'adresse.
full string Non - Ça va.
phoneNumber string Non Nom de téléphone.
addressFull string Non L'adresse est complète.
additionalServiceForTariff DeliveryTariff Non Service supplémentaire pour les tarifs.
champs d'objet DeliveryTariff
ChampTypeObligatoireDescription
deliverySum number · float Non Summe de livraison.
periodMin integer · int32 Non La période Min.
periodMax integer · int32 Non Max de période.
calendarMin integer · int32 Non Le calendrier Min.
calendarMax integer · int32 Non Le calendrier Max.
tariffId integer · int32 Non Identification des tarifs douaniers.
shippingService stringCDEK, OWN_DELIVERY, POST, BOXBERRY, DPD, YANDEX, DOSTAVISTA, DELLIN, PEC, YANDEX_EXPRESS, FIVE_POST Non Le service de transport maritime.
tariffCode integer · int32 Non Le code tarifaire.
externalTariffCode string Non Code tarifaire externe.
tariffName string Non Nom des tarifs.
tariffDescription string Non Définition des tarifs.
deliveryMode integer · int320, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 Non Mode de livraison.
additionalServices AdditionalDeliveryServiceDto[] Non Services supplémentaires.
Structure des éléments de l'array AdditionalDeliveryServiceDto
ChampTypeObligatoireDescription
code string Non Code.
name string Non Nom.
description string Non Une description.
{
  "warehouseDeliveryId": 1001,
  "point": "string",
  "service": "CDEK",
  "warehouseId": 1001,
  "organizationId": 1001,
  "tariffPriority": "string"
}
Les erreurs11

Les erreurs d'application sont normalement renvoyées sous le nom JSON avec error, localMessage et params. Brancher sur XPRO TECTED4X; le texte localisé peut changer. Comment les erreurs d'application sont retournées ↑

401auth_required
Autentification requise

Authorization est manquant, vide ou contient un jeton non valide.

400error_access_denied
Accès refusé

Le jeton existe, mais son rôle ne peut pas effectuer cette opération.

500error_unknown
Une erreur inconnue s'est produite. Si le problème persiste, contactez le service d'assistance

Faillite interne: économiser le temps de la demande et le support de contact; ne réessayez pas aveuglément une mutation.

400error_duplicate_warehouse_delivery_for_warehouse
Les paramètres du service de livraison ne peuvent pas être dupliqués pour l'entrepôt

error spécifique au point final. Utilisez le code error_duplicate_warehouse_delivery_for_warehouse stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_empty_shipping_point
Adresse d'expédition des envois non spécifiée

error spécifique au point final. Utilisez le code error_empty_shipping_point stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_empty_shipping_service
Service de livraison non spécifié

error spécifique au point final. Utilisez le code error_empty_shipping_service stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_empty_tariff_priority
Priorité non spécifiée pour le tarif

error spécifique au point final. Utilisez le code error_empty_tariff_priority stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_no_client
Client introuvable ou supprimé. Écrivez au support

error spécifique au point final. Utilisez le code error_no_client stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_no_warehouse_delivery
Point de départ non spécifié pour la société de transport

error spécifique au point final. Utilisez le code error_no_warehouse_delivery stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_organization_not_found
Organisation non trouvée

error spécifique au point final. Utilisez le code error_organization_not_found stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_subscription_expired
Votre abonnement a expiré. Veuillez payer l'abonnement pour continuer à utiliser le service.

error spécifique au point final. Utilisez le code error_subscription_expired stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

POST

Remplissez la livraison au magasin

/api/delivery/removeWarehouseDelivery
Token avec accès à l'écriture

Retirer la livraison dans l'entrepôt en utilisant POST /api/delivery/removeWarehouseDelivery.

Organisme de demande

application/json
champs d'objetWarehouseDelivery
ChampTypeObligatoireDescription
warehouseDeliveryId integer · int64 Non Identification de livraison au magasin.
point string Non Je veux dire.
service stringCDEK, OWN_DELIVERY, POST, BOXBERRY, DPD, YANDEX, DOSTAVISTA, DELLIN, PEC, YANDEX_EXPRESS, FIVE_POST Non Le service.
warehouseId integer · int64 Non Identification de l'entrepôt.
organizationId integer · int64 Non Identification de l'organisation.
tariffPriority string Non Priorités tarifaires.
priorities object Non Les priorités.
priorityByMode boolean Non Priorité par mode.
additionalServices string Non Services supplémentaires.
sendZeroPrice boolean Non Envoyez le prix zéro.
fakeName string Non Faux nom.
hideOrganization boolean Non Organisation cachée.
sellerOrganizationId integer · int64 Non Identification de l'organisation du vendeur.
organization Organization Non L'organisation.
champs d'objet Organization
ChampTypeObligatoireDescription
id integer · int64 Non Id.
name string Oui Nom.
shortName string Non Nom court.
taxType stringYSN, YSN_CONSUMPTION, AUSN, AUSN_CONSUMPTION, OSNO, SELF_EMPLOYED Non Le type de taxe.
taxRate integer · int32 Non Taxe d'imposition.
taxNds integer · int32 Non Les impôts.
inputTaxNds integer · int32 Non Les impôts sur les entrées.
outputTaxNds integer · int32 Non Les taxes sur les produits de consommation.
enableNewTaxCalculation boolean Non Activer le nouveau calcul des impôts.
useNdsCostPrice boolean Non Utilisez le prix de Nds.
inn string Oui Une auberge.
kpp string Non Je suis là.
bank string Non La banque.
bik string Non Je fais du vélo.
corrBill string Non - Il est là.
billNumber string Non Le numéro de la facture.
stampPath string Non Le chemin du timbre.
stampUrl string Non Une adresse d'url.
stampSize integer · int32 Non La taille du timbre.
stampWidth integer · int32 Non La largeur du timbre.
stampHeight integer · int32 Non La hauteur du timbre.
signaturePath string Non Le chemin de la signature.
signatureUrl string Non L'URL de la signature.
signatureSize integer · int32 Non Taille de signature.
signatureWidth integer · int32 Non Largeur de signature.
signatureHeight integer · int32 Non La hauteur de la signature.
ipPerson Person Non Je suis une personne.
champs d'objet Person
ChampTypeObligatoireDescription
personId integer · int64 Non Identification de personne.
firstName string Oui Nom de famille.
lastName string Oui Nom de famille.
surName string Non Sur Nom.
clientId integer · int64 Non Nom du client.
position PersonPosition Oui La position.
versionId integer · int64 Non - La version ID.
createdUser string Non Créé par l'utilisateur.
createdDate string · date-time Non Date créée.
deleted boolean Non Il a été supprimé.
userId integer · int32 Non Identification de l'utilisateur.
hasChanges boolean Non Il a des changements.
fullName string Non Nom complet.
shortName string Non Nom court.
form stringOOO, IP, SELF_EMPLOYED Oui Le formulaire.
ip boolean Non Je suis là.
clientId integer · int64 Non Nom du client.
address Address Non Une adresse.
champs d'objet Address
ChampTypeObligatoireDescription
id integer · int32 Non Id.
postCode string Non Le code postal.
country Country Non Le pays.
region Region Non Région.
regionId integer · int32 Non Région ID
street string Non Dans la rue.
house string Non - La maison.
district string Non Le district.
city string Non La ville.
locality string Non La localisation.
building string Non Le bâtiment.
flat string Non - Il est plat.
short string Non - Il est court.
addressId Address Non Nom de l'adresse.
full string Non - Ça va.
phoneNumber string Non Nom de téléphone.
addressFull string Non L'adresse est complète.
additionalServiceForTariff DeliveryTariff Non Service supplémentaire pour les tarifs.
champs d'objet DeliveryTariff
ChampTypeObligatoireDescription
deliverySum number · float Non Summe de livraison.
periodMin integer · int32 Non La période Min.
periodMax integer · int32 Non Max de période.
calendarMin integer · int32 Non Le calendrier Min.
calendarMax integer · int32 Non Le calendrier Max.
tariffId integer · int32 Non Identification des tarifs douaniers.
shippingService stringCDEK, OWN_DELIVERY, POST, BOXBERRY, DPD, YANDEX, DOSTAVISTA, DELLIN, PEC, YANDEX_EXPRESS, FIVE_POST Non Le service de transport maritime.
tariffCode integer · int32 Non Le code tarifaire.
externalTariffCode string Non Code tarifaire externe.
tariffName string Non Nom des tarifs.
tariffDescription string Non Définition des tarifs.
deliveryMode integer · int320, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 Non Mode de livraison.
additionalServices AdditionalDeliveryServiceDto[] Non Services supplémentaires.
Structure des éléments de l'array AdditionalDeliveryServiceDto
ChampTypeObligatoireDescription
code string Non Code.
name string Non Nom.
description string Non Une description.
curl --request POST 'https://api.selsup.ru/api/delivery/removeWarehouseDelivery' \
  --header 'Authorization: YOUR_API_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
  "warehouseDeliveryId": 1001,
  "point": "string",
  "service": "CDEK",
  "warehouseId": 1001,
  "organizationId": 1001,
  "tariffPriority": "string"
}'

Réponse réussie

200

La réponse n'a pas de corps.

Les erreurs6

Les erreurs d'application sont normalement renvoyées sous le nom JSON avec error, localMessage et params. Brancher sur XPRO TECTED4X; le texte localisé peut changer. Comment les erreurs d'application sont retournées ↑

401auth_required
Autentification requise

Authorization est manquant, vide ou contient un jeton non valide.

400error_access_denied
Accès refusé

Le jeton existe, mais son rôle ne peut pas effectuer cette opération.

500error_unknown
Une erreur inconnue s'est produite. Si le problème persiste, contactez le service d'assistance

Faillite interne: économiser le temps de la demande et le support de contact; ne réessayez pas aveuglément une mutation.

400error_no_client
Client introuvable ou supprimé. Écrivez au support

error spécifique au point final. Utilisez le code error_no_client stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_organization_not_found
Organisation non trouvée

error spécifique au point final. Utilisez le code error_organization_not_found stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_subscription_expired
Votre abonnement a expiré. Veuillez payer l'abonnement pour continuer à utiliser le service.

error spécifique au point final. Utilisez le code error_subscription_expired stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

POST

Ordre

/api/delivery/order/{orderId}
Token avec accès à l'écriture

Commande à l'aide de POST /api/delivery/order/{orderId}.

Parametres de parcours

ChampTypeObligatoireDescription
orderId integer · int64 Oui Nom de commande.

Paramètres de requête

ChampTypeObligatoireDescription
service stringCDEK, OWN_DELIVERY, POST, BOXBERRY, DPD, YANDEX, DOSTAVISTA, DELLIN, PEC, YANDEX_EXPRESS, FIVE_POST Non Le service.

Organisme de demande

application/json
champs d'objetDeliveryTariff
ChampTypeObligatoireDescription
deliverySum number · float Non Summe de livraison.
periodMin integer · int32 Non La période Min.
periodMax integer · int32 Non Max de période.
calendarMin integer · int32 Non Le calendrier Min.
calendarMax integer · int32 Non Le calendrier Max.
tariffId integer · int32 Non Identification des tarifs douaniers.
shippingService stringCDEK, OWN_DELIVERY, POST, BOXBERRY, DPD, YANDEX, DOSTAVISTA, DELLIN, PEC, YANDEX_EXPRESS, FIVE_POST Non Le service de transport maritime.
tariffCode integer · int32 Non Le code tarifaire.
externalTariffCode string Non Code tarifaire externe.
tariffName string Non Nom des tarifs.
tariffDescription string Non Définition des tarifs.
deliveryMode integer · int320, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 Non Mode de livraison.
additionalServices AdditionalDeliveryServiceDto[] Non Services supplémentaires.
Structure des éléments de l'array AdditionalDeliveryServiceDto
ChampTypeObligatoireDescription
code string Non Code.
name string Non Nom.
description string Non Une description.
curl --request POST 'https://api.selsup.ru/api/delivery/order/1001' \
  --header 'Authorization: YOUR_API_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
  "deliverySum": 1,
  "periodMin": 1,
  "periodMax": 1,
  "calendarMin": 1,
  "calendarMax": 1,
  "tariffId": 1001
}'

Réponse réussie

200

La réponse n'a pas de corps.

Les erreurs3

Les erreurs d'application sont normalement renvoyées sous le nom JSON avec error, localMessage et params. Brancher sur XPRO TECTED4X; le texte localisé peut changer. Comment les erreurs d'application sont retournées ↑

401auth_required
Autentification requise

Authorization est manquant, vide ou contient un jeton non valide.

400error_access_denied
Accès refusé

Le jeton existe, mais son rôle ne peut pas effectuer cette opération.

500error_unknown
Une erreur inconnue s'est produite. Si le problème persiste, contactez le service d'assistance

Faillite interne: économiser le temps de la demande et le support de contact; ne réessayez pas aveuglément une mutation.

POST

Obtenez les tarifs

/api/delivery/getTariffs
Token avec accès à l'écriture

Obtenez les tarifs par POST /api/delivery/getTariffs.

Paramètres de requête

ChampTypeObligatoireDescription
service stringCDEK, OWN_DELIVERY, POST, BOXBERRY, DPD, YANDEX, DOSTAVISTA, DELLIN, PEC, YANDEX_EXPRESS, FIVE_POST Oui Le service.
orderId integer · int64 Oui Nom de commande.
curl --request POST 'https://api.selsup.ru/api/delivery/getTariffs?service=CDEK&orderId=1001' \
  --header 'Authorization: YOUR_API_TOKEN'

Réponse réussie

200
Structure des éléments de l'array DeliveryTariff[]
ChampTypeObligatoireDescription
deliverySum number · float Non Summe de livraison.
periodMin integer · int32 Non La période Min.
periodMax integer · int32 Non Max de période.
calendarMin integer · int32 Non Le calendrier Min.
calendarMax integer · int32 Non Le calendrier Max.
tariffId integer · int32 Non Identification des tarifs douaniers.
shippingService stringCDEK, OWN_DELIVERY, POST, BOXBERRY, DPD, YANDEX, DOSTAVISTA, DELLIN, PEC, YANDEX_EXPRESS, FIVE_POST Non Le service de transport maritime.
tariffCode integer · int32 Non Le code tarifaire.
externalTariffCode string Non Code tarifaire externe.
tariffName string Non Nom des tarifs.
tariffDescription string Non Définition des tarifs.
deliveryMode integer · int320, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 Non Mode de livraison.
additionalServices AdditionalDeliveryServiceDto[] Non Services supplémentaires.
Structure des éléments de l'array AdditionalDeliveryServiceDto
ChampTypeObligatoireDescription
code string Non Code.
name string Non Nom.
description string Non Une description.
[
  "string"
]
Les erreurs3

Les erreurs d'application sont normalement renvoyées sous le nom JSON avec error, localMessage et params. Brancher sur XPRO TECTED4X; le texte localisé peut changer. Comment les erreurs d'application sont retournées ↑

401auth_required
Autentification requise

Authorization est manquant, vide ou contient un jeton non valide.

400error_access_denied
Accès refusé

Le jeton existe, mais son rôle ne peut pas effectuer cette opération.

500error_unknown
Une erreur inconnue s'est produite. Si le problème persiste, contactez le service d'assistance

Faillite interne: économiser le temps de la demande et le support de contact; ne réessayez pas aveuglément une mutation.

POST

Télécharger les étiquettes de livraison

/api/delivery/downloadDeliveryLabels
Token avec accès à l'écriture

Télécharger les étiquettes de livraison à l'aide de POST /api/delivery/downloadDeliveryLabels.

Paramètres de requête

ChampTypeObligatoireDescription
columns FileExportColumn[] Non Les colonnes.
Structure des éléments de l'array FileExportColumn
ChampTypeObligatoireDescription
id integer · int64 Non Id.
fileExportId integer · int64 Non Fichier d'exportation
columnName string Non Nom de colonne.
columnOrder integer · int32 Non L'ordre de la colonne.
isEnabled boolean Non Il est activé.
actual boolean Non - C'est vrai.
type stringFBM, FBS, INCOME, RETAIL, WHOLESALE, FBO, MOVEMENT, WRITE_OFF, PRODUCTION Non Type.
serviceWarehouseId string Non Identification du entrepôt de service.
externalOrderId string Non Identification de l'ordre extérieur.
invoiceNumber integer · int64 Non Numéro de la facture.
article string Non Article.
containsArticle string Non Il contient un article.
product string Non Produit.
barcode string Non - Le code à barres.
organizations integer[] Non Des organisations.
query string Non Je me demande.
userId integer · int32 Non Identification de l'utilisateur.
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 Non Le service.
services string[] Non Des services.
status stringCREATED, REVOKING, REVOKED, ORDER_CREATED, CARDS_CREATED, BOX_BARCODES, IMAGES_UPLOADED, INVOICE_UPLOADED, READY_TO_SUPPLY, SUPPLIED, FINISHED, COLLECTED, SEND, DELIVERY, REFUND, COLLECTING, PACKING, PAYMENT_REQUIRED, CANCELED, CONTROVERSIAL, OVERDUE, READY_FOR_PICKUP, WAITING_SUPPLY, PICK_UP_REFUND, REFUND_RECEIVED, DELETED, RESTORE, PRODUCTION_CONFIRMED Non Status.
statuses string[] Non Les statuts.
withoutSupply boolean Non Sans approvisionnement.
orderProductId integer · int64 Non Nom de produit de commande.
productId integer · int64 Non Identification du produit.
brandId integer · int32 Non Nom de marque.
supplierId integer · int64 Non Identification du fournisseur.
hasCollectTask boolean Non Il a la tâche de collecte.
organizationId integer · int64 Non Identification de l'organisation.
clientOrganizationIds integer[] Non Les identifiants de l'organisation du client.
updateInService boolean Non Mise à jour en service.
hasServiceError boolean Non Il a une erreur de service.
noLabel boolean Non Pas de label.
isLegal boolean Non C'est légal.
noMsOrder boolean Non Pas de Mme Order.
noMsDemand boolean Non Pas de Mme Demand.
ids integer[] Non Des cartes.
supplyId integer · int64 Non Identification de fourniture.
notCollected boolean Non Pas collecté.
dbs boolean Non Je suis en train de faire une erreur.
express boolean Non - Je vous en prie.
fbs boolean Non Le FBI.
noWarehouse boolean Non Pas d'entrepôt.
closeDate string Non Une date de clôture.
modifiedDate string · date-time Non Date modifiée.
modifiedDateTo string · date-time Non Date modifiée à.
incomeId integer · int64 Non Identification de revenu.
bindingOrderId integer · int64 Non Identification de commande obligatoire.
closeDateFrom string · date-time Non Date de sortie.
closeDateTo string · date-time Non Date à proximité.
orderDate string Non Date de commande.
deliveryDate string Non Date de livraison.
deliveryDateFrom string Non Date de livraison à partir de.
deliveryDateTo string Non Date de livraison à.
createdDateFrom string Non Date de création.
createdDateTo string Non Créé à la date.
forMoySklad boolean Non Pour Moy Sklad.
withMoySkladOrder boolean Non Avec l'Ordre des Moy Sklad.
warehouseId integer · int64 Non Identification de l'entrepôt.
warehouseIds integer[] Non Les identifiants de l'entrepôt.
dateFrom string · date-time Non Date de.
dateTo string · date-time Non À la date.
timeZone integer · int32 Non La fuseau horaire.
markingStatus stringUNKNOWN, CARDS_SEND, CARDS_CREATED, SUZ_ORDERS_CREATED, MARKS_RECEIVED, CARDS_SIGNED, DOCUMENT_CREATED, SUCCESS, NO_NEED_MARKING Non Le statut de marquage.
deleted boolean Non Il a été supprimé.
collectLabel boolean Non Ramassez le label.
sortOrdersByDate boolean Non Réglez les ordres par date.
sortBySku boolean Non Réglé par Sku.
notGroupByOrganization boolean Non Pas par groupe.
notGroupByService boolean Non Pas par groupe.
productLabel boolean Non Étiquette du produit.
productCodeLabel boolean Non Étiquette du code du produit.
servicesForLabel string[] Non Services pour l'étiquette.
infoLabel boolean Non Étiquette d'information.
grouped boolean Non Groupe par groupe.
replaceSetByComponent boolean Non Remplacez le réglage par composant.
replaceSetsByComponentsIncome boolean Non Remplacez les ensembles par les composants de revenu.
collectDeliveryLabel boolean Non Ramassez le label de livraison.
shippingServicesForLabel string[] Non Services de livraison pour l'étiquette.
orderId integer · int64 Non Nom de commande.
hasVideoFixation boolean Non Il a une fixation vidéo.
withProducts boolean Non Avec les produits.
passageIds integer[] Non Des identifiants de passage.
withContractor boolean Non Avec le constructeur.
boxId integer · int64 Non - Je suis là.
hasMarkedProducts boolean Non A marqué les produits.
withAnalytics boolean Non Avec Analytics.
limit integer · int32 Non La limite.
page integer · int32 Non Page. Je suis là.
count boolean Non Je compte.
sortBy stringID, CREATEDDATE, ORDERCREATED, CREATED, CREATEDUSER, STATUS, SERVICE, TYPE, BOXTYPE, NAME, ORGANIZATIONID, WAREHOUSE, INVOICENUMBER, EXTERNALORDERID, QUEUE, SUPPLYID, CLOSEDATE, STARTCOLLECTDATE, CLOSEUSERID, USERID, PRICE, PRODUCT, COLLECTORDERTASKID, DELIVERYDATE, MARKINGSTATUS, QUANTITY, DATE, SERVICEWAREHOUSEID Non On est sortis.
ascending boolean Non Il monte.
curl --request POST 'https://api.selsup.ru/api/delivery/downloadDeliveryLabels?limit=50&page=1' \
  --header 'Authorization: YOUR_API_TOKEN'

Réponse réussie

200
champs d'objet TmsTask
ChampTypeObligatoireDescription
id integer · int64 Non Id.
status stringCREATED, RUNNING, FINISHED, ERROR, RESTARTING, INTERRUPTING, INTERRUPTED, STOPPED, EXCEPTION Non 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 Non Type.
name string Non Nom.
clientId integer · int64 Non Nom du client.
entityId integer · int64 Non Identification de l'entité.
progress integer · int32 Non - Ça va.
processedQuantity integer · int32 Non Quantité traitée.
organizationId integer · int64 Non Identification de l'organisation.
priority integer · int32 Non La priorité.
properties string Non Des propriétés.
message string Non Je vous envoie un message.
messageParams string Non Parammes de message.
createdDate string · date-time Non Date créée.
startDate string · date-time Non Date de début.
finishDate string · date-time Non La date de fin.
url string Non - Je vous en prie.
inputFileUrl string Non L' URL du fichier d'entrée.
retryNumber integer · int32 Non Retour à la numérotation.
userId integer · int32 Non Identification de l'utilisateur.
retryDate string · date-time Non Retour à la date.
debug boolean Non Débug.
forcedStart boolean Non Le démarrage forcé.
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 Non Le service.
lang string Non Lang.
{
  "id": 1001,
  "status": "CREATED",
  "type": "WILDBERRIES_CREATE_CARD",
  "name": "Example",
  "clientId": 1001,
  "entityId": 1001
}
Les erreurs3

Les erreurs d'application sont normalement renvoyées sous le nom JSON avec error, localMessage et params. Brancher sur XPRO TECTED4X; le texte localisé peut changer. Comment les erreurs d'application sont retournées ↑

401auth_required
Autentification requise

Authorization est manquant, vide ou contient un jeton non valide.

400error_access_denied
Accès refusé

Le jeton existe, mais son rôle ne peut pas effectuer cette opération.

500error_unknown
Une erreur inconnue s'est produite. Si le problème persiste, contactez le service d'assistance

Faillite interne: économiser le temps de la demande et le support de contact; ne réessayez pas aveuglément une mutation.

POST

Annuler la commande de livraison

/api/delivery/cancelDeliveryOrder
Token avec accès à l'écriture

Annuler la commande de livraison à l'aide de POST /api/delivery/cancelDeliveryOrder.

Paramètres de requête

ChampTypeObligatoireDescription
orderId integer · int64 Oui Nom de commande.
curl --request POST 'https://api.selsup.ru/api/delivery/cancelDeliveryOrder?orderId=1001' \
  --header 'Authorization: YOUR_API_TOKEN'

Réponse réussie

200

La réponse n'a pas de corps.

Les erreurs3

Les erreurs d'application sont normalement renvoyées sous le nom JSON avec error, localMessage et params. Brancher sur XPRO TECTED4X; le texte localisé peut changer. Comment les erreurs d'application sont retournées ↑

401auth_required
Autentification requise

Authorization est manquant, vide ou contient un jeton non valide.

400error_access_denied
Accès refusé

Le jeton existe, mais son rôle ne peut pas effectuer cette opération.

500error_unknown
Une erreur inconnue s'est produite. Si le problème persiste, contactez le service d'assistance

Faillite interne: économiser le temps de la demande et le support de contact; ne réessayez pas aveuglément une mutation.

POST

Calculer le tarif

/api/delivery/calculateTariff
Token avec accès à l'écriture

Calculer le tarif à l'aide de POST /api/delivery/calculateTariff.

Paramètres de requête

ChampTypeObligatoireDescription
tariffCode integer · int32 Oui Le code tarifaire.
service stringCDEK, OWN_DELIVERY, POST, BOXBERRY, DPD, YANDEX, DOSTAVISTA, DELLIN, PEC, YANDEX_EXPRESS, FIVE_POST Oui Le service.
orderId integer · int64 Oui Nom de commande.
curl --request POST 'https://api.selsup.ru/api/delivery/calculateTariff?tariffCode=1&service=CDEK&orderId=1001' \
  --header 'Authorization: YOUR_API_TOKEN'

Réponse réussie

200
champs d'objet CalculatedDeliveryTariff
ChampTypeObligatoireDescription
deliverySum number · float Non Summe de livraison.
periodMin integer · int32 Non La période Min.
periodMax integer · int32 Non Max de période.
calendarMin integer · int32 Non Le calendrier Min.
calendarMax integer · int32 Non Le calendrier Max.
services object Non Des services.
locationToCode string Non Localisation vers le code.
locationFromCode string Non Localisation du code.
tariffCode integer · int32 Non Le code tarifaire.
deliveryModeToOrderCreate integer · int320, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 Non Mode de livraison pour la commande Créer.
deliveryModeList integer[] Non Liste des modes de livraison.
{
  "deliverySum": 1,
  "periodMin": 1,
  "periodMax": 1,
  "calendarMin": 1,
  "calendarMax": 1,
  "services": "string"
}
Les erreurs3

Les erreurs d'application sont normalement renvoyées sous le nom JSON avec error, localMessage et params. Brancher sur XPRO TECTED4X; le texte localisé peut changer. Comment les erreurs d'application sont retournées ↑

401auth_required
Autentification requise

Authorization est manquant, vide ou contient un jeton non valide.

400error_access_denied
Accès refusé

Le jeton existe, mais son rôle ne peut pas effectuer cette opération.

500error_unknown
Une erreur inconnue s'est produite. Si le problème persiste, contactez le service d'assistance

Faillite interne: économiser le temps de la demande et le support de contact; ne réessayez pas aveuglément une mutation.

POST

Ajouter une intégration de service de livraison

/api/delivery/addDeliveryServiceIntegration
Token avec accès à l'écriture

Ajouter l'intégration de service de livraison à l'aide de POST /api/delivery/addDeliveryServiceIntegration.

Paramètres de requête

ChampTypeObligatoireDescription
service stringCDEK, OWN_DELIVERY, POST, BOXBERRY, DPD, YANDEX, DOSTAVISTA, DELLIN, PEC, YANDEX_EXPRESS, FIVE_POST Oui Le service.
serviceClientId string Oui Identification du client de service.
serviceSecret string Non Le service secret.
token string Non Le jeton.
organizationId integer · int64 Oui Identification de l'organisation.
curl --request POST 'https://api.selsup.ru/api/delivery/addDeliveryServiceIntegration?service=CDEK&serviceClientId=string&organizationId=1001' \
  --header 'Authorization: YOUR_API_TOKEN'

Réponse réussie

200

La réponse n'a pas de corps.

Les erreurs3

Les erreurs d'application sont normalement renvoyées sous le nom JSON avec error, localMessage et params. Brancher sur XPRO TECTED4X; le texte localisé peut changer. Comment les erreurs d'application sont retournées ↑

401auth_required
Autentification requise

Authorization est manquant, vide ou contient un jeton non valide.

400error_access_denied
Accès refusé

Le jeton existe, mais son rôle ne peut pas effectuer cette opération.

500error_unknown
Une erreur inconnue s'est produite. Si le problème persiste, contactez le service d'assistance

Faillite interne: économiser le temps de la demande et le support de contact; ne réessayez pas aveuglément une mutation.

GET

Faites- vous intégrer

/api/delivery/integration/{organizationId}/{service}
Token avec accès à la lecture

Obtenez l'intégration à l'aide de GET /api/delivery/integration/{organizationId}/{service}.

Parametres de parcours

ChampTypeObligatoireDescription
service stringCDEK, OWN_DELIVERY, POST, BOXBERRY, DPD, YANDEX, DOSTAVISTA, DELLIN, PEC, YANDEX_EXPRESS, FIVE_POST Oui Le service.
organizationId integer · int64 Oui Identification de l'organisation.
curl --request GET 'https://api.selsup.ru/api/delivery/integration/1001/CDEK' \
  --header 'Authorization: YOUR_API_TOKEN'

Réponse réussie

200
champs d'objet DeliveryServiceData
ChampTypeObligatoireDescription
id integer · int64 Non Id.
tokenExpiredDate string · date-time Non Date d'expiration du jeton.
service stringCDEK, OWN_DELIVERY, POST, BOXBERRY, DPD, YANDEX, DOSTAVISTA, DELLIN, PEC, YANDEX_EXPRESS, FIVE_POST Non Le service.
serviceClientId string Non Identification du client de service.
serviceSecret DeliveryServiceData Non Le service secret.
clientId integer · int64 Non Nom du client.
organizationId integer · int64 Non Identification de l'organisation.
updateToken boolean Non Mettez à jour le jeton.
hasToken boolean Non Il a le Token.
hasSecret boolean Non Il a un secret.
{
  "id": 1001,
  "tokenExpiredDate": "2026-01-15T12:00:00Z",
  "service": "CDEK",
  "serviceClientId": "string",
  "serviceSecret": "string",
  "clientId": 1001
}
Les erreurs3

Les erreurs d'application sont normalement renvoyées sous le nom JSON avec error, localMessage et params. Brancher sur XPRO TECTED4X; le texte localisé peut changer. Comment les erreurs d'application sont retournées ↑

401auth_required
Autentification requise

Authorization est manquant, vide ou contient un jeton non valide.

400error_access_denied
Accès refusé

Le jeton existe, mais son rôle ne peut pas effectuer cette opération.

500error_unknown
Une erreur inconnue s'est produite. Si le problème persiste, contactez le service d'assistance

Faillite interne: économiser le temps de la demande et le support de contact; ne réessayez pas aveuglément une mutation.

GET

Obtenir une livraison au magasin

/api/delivery/getWarehouseDelivery
Token avec accès à la lecture

Obtenez la livraison dans l'entrepôt en utilisant GET /api/delivery/getWarehouseDelivery.

Paramètres de requête

ChampTypeObligatoireDescription
organizationId integer · int64 Oui Identification de l'organisation.
service stringCDEK, OWN_DELIVERY, POST, BOXBERRY, DPD, YANDEX, DOSTAVISTA, DELLIN, PEC, YANDEX_EXPRESS, FIVE_POST Oui Le service.
curl --request GET 'https://api.selsup.ru/api/delivery/getWarehouseDelivery?organizationId=1001&service=CDEK' \
  --header 'Authorization: YOUR_API_TOKEN'

Réponse réussie

200
Structure des éléments de l'array WarehouseDelivery[]
ChampTypeObligatoireDescription
warehouseDeliveryId integer · int64 Non Identification de livraison au magasin.
point string Non Je veux dire.
service stringCDEK, OWN_DELIVERY, POST, BOXBERRY, DPD, YANDEX, DOSTAVISTA, DELLIN, PEC, YANDEX_EXPRESS, FIVE_POST Non Le service.
warehouseId integer · int64 Non Identification de l'entrepôt.
organizationId integer · int64 Non Identification de l'organisation.
tariffPriority string Non Priorités tarifaires.
priorities object Non Les priorités.
priorityByMode boolean Non Priorité par mode.
additionalServices string Non Services supplémentaires.
sendZeroPrice boolean Non Envoyez le prix zéro.
fakeName string Non Faux nom.
hideOrganization boolean Non Organisation cachée.
sellerOrganizationId integer · int64 Non Identification de l'organisation du vendeur.
organization Organization Non L'organisation.
champs d'objet Organization
ChampTypeObligatoireDescription
id integer · int64 Non Id.
name string Oui Nom.
shortName string Non Nom court.
taxType stringYSN, YSN_CONSUMPTION, AUSN, AUSN_CONSUMPTION, OSNO, SELF_EMPLOYED Non Le type de taxe.
taxRate integer · int32 Non Taxe d'imposition.
taxNds integer · int32 Non Les impôts.
inputTaxNds integer · int32 Non Les impôts sur les entrées.
outputTaxNds integer · int32 Non Les taxes sur les produits de consommation.
enableNewTaxCalculation boolean Non Activer le nouveau calcul des impôts.
useNdsCostPrice boolean Non Utilisez le prix de Nds.
inn string Oui Une auberge.
kpp string Non Je suis là.
bank string Non La banque.
bik string Non Je fais du vélo.
corrBill string Non - Il est là.
billNumber string Non Le numéro de la facture.
stampPath string Non Le chemin du timbre.
stampUrl string Non Une adresse d'url.
stampSize integer · int32 Non La taille du timbre.
stampWidth integer · int32 Non La largeur du timbre.
stampHeight integer · int32 Non La hauteur du timbre.
signaturePath string Non Le chemin de la signature.
signatureUrl string Non L'URL de la signature.
signatureSize integer · int32 Non Taille de signature.
signatureWidth integer · int32 Non Largeur de signature.
signatureHeight integer · int32 Non La hauteur de la signature.
ipPerson Person Non Je suis une personne.
champs d'objet Person
ChampTypeObligatoireDescription
personId integer · int64 Non Identification de personne.
firstName string Oui Nom de famille.
lastName string Oui Nom de famille.
surName string Non Sur Nom.
clientId integer · int64 Non Nom du client.
position PersonPosition Oui La position.
versionId integer · int64 Non - La version ID.
createdUser string Non Créé par l'utilisateur.
createdDate string · date-time Non Date créée.
deleted boolean Non Il a été supprimé.
userId integer · int32 Non Identification de l'utilisateur.
hasChanges boolean Non Il a des changements.
fullName string Non Nom complet.
shortName string Non Nom court.
form stringOOO, IP, SELF_EMPLOYED Oui Le formulaire.
ip boolean Non Je suis là.
clientId integer · int64 Non Nom du client.
address Address Non Une adresse.
champs d'objet Address
ChampTypeObligatoireDescription
id integer · int32 Non Id.
postCode string Non Le code postal.
country Country Non Le pays.
region Region Non Région.
regionId integer · int32 Non Région ID
street string Non Dans la rue.
house string Non - La maison.
district string Non Le district.
city string Non La ville.
locality string Non La localisation.
building string Non Le bâtiment.
flat string Non - Il est plat.
short string Non - Il est court.
addressId Address Non Nom de l'adresse.
full string Non - Ça va.
phoneNumber string Non Nom de téléphone.
addressFull string Non L'adresse est complète.
additionalServiceForTariff DeliveryTariff Non Service supplémentaire pour les tarifs.
champs d'objet DeliveryTariff
ChampTypeObligatoireDescription
deliverySum number · float Non Summe de livraison.
periodMin integer · int32 Non La période Min.
periodMax integer · int32 Non Max de période.
calendarMin integer · int32 Non Le calendrier Min.
calendarMax integer · int32 Non Le calendrier Max.
tariffId integer · int32 Non Identification des tarifs douaniers.
shippingService stringCDEK, OWN_DELIVERY, POST, BOXBERRY, DPD, YANDEX, DOSTAVISTA, DELLIN, PEC, YANDEX_EXPRESS, FIVE_POST Non Le service de transport maritime.
tariffCode integer · int32 Non Le code tarifaire.
externalTariffCode string Non Code tarifaire externe.
tariffName string Non Nom des tarifs.
tariffDescription string Non Définition des tarifs.
deliveryMode integer · int320, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 Non Mode de livraison.
additionalServices AdditionalDeliveryServiceDto[] Non Services supplémentaires.
Structure des éléments de l'array AdditionalDeliveryServiceDto
ChampTypeObligatoireDescription
code string Non Code.
name string Non Nom.
description string Non Une description.
[
  "string"
]
Les erreurs7

Les erreurs d'application sont normalement renvoyées sous le nom JSON avec error, localMessage et params. Brancher sur XPRO TECTED4X; le texte localisé peut changer. Comment les erreurs d'application sont retournées ↑

401auth_required
Autentification requise

Authorization est manquant, vide ou contient un jeton non valide.

400error_access_denied
Accès refusé

Le jeton existe, mais son rôle ne peut pas effectuer cette opération.

500error_unknown
Une erreur inconnue s'est produite. Si le problème persiste, contactez le service d'assistance

Faillite interne: économiser le temps de la demande et le support de contact; ne réessayez pas aveuglément une mutation.

400error_no_client
Client introuvable ou supprimé. Écrivez au support

error spécifique au point final. Utilisez le code error_no_client stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_no_warehouse_delivery
Point de départ non spécifié pour la société de transport

error spécifique au point final. Utilisez le code error_no_warehouse_delivery stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_organization_not_found
Organisation non trouvée

error spécifique au point final. Utilisez le code error_organization_not_found stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_subscription_expired
Votre abonnement a expiré. Veuillez payer l'abonnement pour continuer à utiliser le service.

error spécifique au point final. Utilisez le code error_subscription_expired stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

GET

Obtenez des régions

/api/delivery/getRegions
Token avec accès à la lecture

Obtenez des régions à l'aide de GET /api/delivery/getRegions.

Paramètres de requête

ChampTypeObligatoireDescription
query string Oui Je me demande.
service stringCDEK, OWN_DELIVERY, POST, BOXBERRY, DPD, YANDEX, DOSTAVISTA, DELLIN, PEC, YANDEX_EXPRESS, FIVE_POST Oui Le service.
organizationId integer · int64 Oui Identification de l'organisation.
curl --request GET 'https://api.selsup.ru/api/delivery/getRegions?query=string&service=CDEK&organizationId=1001' \
  --header 'Authorization: YOUR_API_TOKEN'

Réponse réussie

200
Structure des éléments de l'array DeliveryRegion[]
ChampTypeObligatoireDescription
name string Non Nom.
id string Non Id.
[
  "string"
]
Les erreurs3

Les erreurs d'application sont normalement renvoyées sous le nom JSON avec error, localMessage et params. Brancher sur XPRO TECTED4X; le texte localisé peut changer. Comment les erreurs d'application sont retournées ↑

401auth_required
Autentification requise

Authorization est manquant, vide ou contient un jeton non valide.

400error_access_denied
Accès refusé

Le jeton existe, mais son rôle ne peut pas effectuer cette opération.

500error_unknown
Une erreur inconnue s'est produite. Si le problème persiste, contactez le service d'assistance

Faillite interne: économiser le temps de la demande et le support de contact; ne réessayez pas aveuglément une mutation.

GET

Remplissez les points

/api/delivery/getPoints
Token avec accès à la lecture

Obtenez des points à l'aide de GET /api/delivery/getPoints.

Paramètres de requête

ChampTypeObligatoireDescription
postCode string Non Le code postal.
country string Non Le pays.
region string Non Région.
city string Non La ville.
query string Non Je me demande.
forSupply boolean Non Pour l'approvisionnement.
service stringCDEK, OWN_DELIVERY, POST, BOXBERRY, DPD, YANDEX, DOSTAVISTA, DELLIN, PEC, YANDEX_EXPRESS, FIVE_POST Oui Le service.
organizationId integer · int64 Oui Identification de l'organisation.
curl --request GET 'https://api.selsup.ru/api/delivery/getPoints?service=CDEK&organizationId=1001' \
  --header 'Authorization: YOUR_API_TOKEN'

Réponse réussie

200
Structure des éléments de l'array DeliveryPoint[]
ChampTypeObligatoireDescription
name string Non Nom.
location DeliveryPointsLocation Non - Où est-ce que tu es ?
champs d'objet DeliveryPointsLocation
ChampTypeObligatoireDescription
address string Non Une adresse.
code integer · int32 Non Code.
postal_code string Non Le code postal.
country_code string Non Le code du pays.
city string Non La ville.
fias_guid string Non Je vous en prie.
longitude number · float Non La longitude.
latitude number · float Non La latitude.
region string Non Région.
region_code integer · int32 Non Codes de région.
address_full string Non L'adresse est complète.
city_code string Non Le code de la ville.
address string Non Une adresse.
addressComment string Non Commentaire sur l'adresse.
note string Non Une note.
workTime string Non Le temps de travail.
phones Phone[] Non Les téléphones.
Structure des éléments de l'array Phone
ChampTypeObligatoireDescription
number string Non Le numéro.
additional string Non - Une autre.
zipCode string Non - Le code postal.
code string Non Code.
email string Non Un courriel.
site string Non Le site.
[
  "string"
]
Les erreurs9

Les erreurs d'application sont normalement renvoyées sous le nom JSON avec error, localMessage et params. Brancher sur XPRO TECTED4X; le texte localisé peut changer. Comment les erreurs d'application sont retournées ↑

401auth_required
Autentification requise

Authorization est manquant, vide ou contient un jeton non valide.

400error_access_denied
Accès refusé

Le jeton existe, mais son rôle ne peut pas effectuer cette opération.

500error_unknown
Une erreur inconnue s'est produite. Si le problème persiste, contactez le service d'assistance

Faillite interne: économiser le temps de la demande et le support de contact; ne réessayez pas aveuglément une mutation.

400error_empty_delivery_service
Service de livraison non spécifié

error spécifique au point final. Utilisez le code error_empty_delivery_service stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_no_client
Client introuvable ou supprimé. Écrivez au support

error spécifique au point final. Utilisez le code error_no_client stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_no_delivery_integration
Intégration avec ce service de livraison non configurée

error spécifique au point final. Utilisez le code error_no_delivery_integration stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_organization_not_found
Organisation non trouvée

error spécifique au point final. Utilisez le code error_organization_not_found stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_subscription_expired
Votre abonnement a expiré. Veuillez payer l'abonnement pour continuer à utiliser le service.

error spécifique au point final. Utilisez le code error_subscription_expired stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

400error_unsupported_delivery_service
service de livraison non pris en charge

error spécifique au point final. Utilisez le code error_unsupported_delivery_service stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

GET

Obtenez les tarifs de livraison

/api/delivery/getDeliveryTariffs
Token avec accès à la lecture

Obtenez les tarifs de livraison à l'aide de GET /api/delivery/getDeliveryTariffs.

Paramètres de requête

ChampTypeObligatoireDescription
service stringCDEK, OWN_DELIVERY, POST, BOXBERRY, DPD, YANDEX, DOSTAVISTA, DELLIN, PEC, YANDEX_EXPRESS, FIVE_POST Oui Le service.
query string Oui Je me demande.
curl --request GET 'https://api.selsup.ru/api/delivery/getDeliveryTariffs?service=CDEK&query=string' \
  --header 'Authorization: YOUR_API_TOKEN'

Réponse réussie

200
Structure des éléments de l'array DeliveryTariff[]
ChampTypeObligatoireDescription
deliverySum number · float Non Summe de livraison.
periodMin integer · int32 Non La période Min.
periodMax integer · int32 Non Max de période.
calendarMin integer · int32 Non Le calendrier Min.
calendarMax integer · int32 Non Le calendrier Max.
tariffId integer · int32 Non Identification des tarifs douaniers.
shippingService stringCDEK, OWN_DELIVERY, POST, BOXBERRY, DPD, YANDEX, DOSTAVISTA, DELLIN, PEC, YANDEX_EXPRESS, FIVE_POST Non Le service de transport maritime.
tariffCode integer · int32 Non Le code tarifaire.
externalTariffCode string Non Code tarifaire externe.
tariffName string Non Nom des tarifs.
tariffDescription string Non Définition des tarifs.
deliveryMode integer · int320, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 Non Mode de livraison.
additionalServices AdditionalDeliveryServiceDto[] Non Services supplémentaires.
Structure des éléments de l'array AdditionalDeliveryServiceDto
ChampTypeObligatoireDescription
code string Non Code.
name string Non Nom.
description string Non Une description.
[
  "string"
]
Les erreurs3

Les erreurs d'application sont normalement renvoyées sous le nom JSON avec error, localMessage et params. Brancher sur XPRO TECTED4X; le texte localisé peut changer. Comment les erreurs d'application sont retournées ↑

401auth_required
Autentification requise

Authorization est manquant, vide ou contient un jeton non valide.

400error_access_denied
Accès refusé

Le jeton existe, mais son rôle ne peut pas effectuer cette opération.

500error_unknown
Une erreur inconnue s'est produite. Si le problème persiste, contactez le service d'assistance

Faillite interne: économiser le temps de la demande et le support de contact; ne réessayez pas aveuglément une mutation.

GET

Obtenez des villes

/api/delivery/getCities
Token avec accès à la lecture

Obtenez des villes en utilisant GET /api/delivery/getCities.

Paramètres de requête

ChampTypeObligatoireDescription
query string Oui Je me demande.
region string Oui Région.
service stringCDEK, OWN_DELIVERY, POST, BOXBERRY, DPD, YANDEX, DOSTAVISTA, DELLIN, PEC, YANDEX_EXPRESS, FIVE_POST Oui Le service.
organizationId integer · int64 Oui Identification de l'organisation.
curl --request GET 'https://api.selsup.ru/api/delivery/getCities?query=string&region=string&service=CDEK&organizationId=1001' \
  --header 'Authorization: YOUR_API_TOKEN'

Réponse réussie

200
Structure des éléments de l'array DeliveryCity[]
ChampTypeObligatoireDescription
name string Non Nom.
id string Non Id.
[
  "string"
]
Les erreurs3

Les erreurs d'application sont normalement renvoyées sous le nom JSON avec error, localMessage et params. Brancher sur XPRO TECTED4X; le texte localisé peut changer. Comment les erreurs d'application sont retournées ↑

401auth_required
Autentification requise

Authorization est manquant, vide ou contient un jeton non valide.

400error_access_denied
Accès refusé

Le jeton existe, mais son rôle ne peut pas effectuer cette opération.

500error_unknown
Une erreur inconnue s'est produite. Si le problème persiste, contactez le service d'assistance

Faillite interne: économiser le temps de la demande et le support de contact; ne réessayez pas aveuglément une mutation.

GET

Trouvez l'adresse

/api/delivery/getAddress
Token avec accès à la lecture

Obtenez une adresse à l'aide de GET /api/delivery/getAddress.

Paramètres de requête

ChampTypeObligatoireDescription
postCode string Non Le code postal.
country string Non Le pays.
region string Non Région.
city string Non La ville.
query string Non Je me demande.
forSupply boolean Non Pour l'approvisionnement.
curl --request GET 'https://api.selsup.ru/api/delivery/getAddress' \
  --header 'Authorization: YOUR_API_TOKEN'

Réponse réussie

200
Structure des éléments de l'array AddressDto[]
ChampTypeObligatoireDescription
address string Non Une adresse.
postalCode string Non Le code postal.
region string Non Région.
locality string Non La localisation.
street string Non Dans la rue.
house string Non - La maison.
longitude number · double Non La longitude.
latitude number · double Non La latitude.
[
  "string"
]
Les erreurs4

Les erreurs d'application sont normalement renvoyées sous le nom JSON avec error, localMessage et params. Brancher sur XPRO TECTED4X; le texte localisé peut changer. Comment les erreurs d'application sont retournées ↑

401auth_required
Autentification requise

Authorization est manquant, vide ou contient un jeton non valide.

400error_access_denied
Accès refusé

Le jeton existe, mais son rôle ne peut pas effectuer cette opération.

500error_unknown
Une erreur inconnue s'est produite. Si le problème persiste, contactez le service d'assistance

Faillite interne: économiser le temps de la demande et le support de contact; ne réessayez pas aveuglément une mutation.

400error_cant_get_address
Impossible d'obtenir l'adresse de livraison

error spécifique au point final. Utilisez le code error_cant_get_address stable dans la logique de l'application; localMessage contient la traduction indiquée ci-dessus.

GET

Services supplémentaires de livraison de détail

/api/delivery/fetchDeliveryServiceAdditionalServices
Token avec accès à la lecture

Remplissez les services supplémentaires de livraison à l'aide de GET /api/delivery/fetchDeliveryServiceAdditionalServices.

Paramètres de requête

ChampTypeObligatoireDescription
service stringCDEK, OWN_DELIVERY, POST, BOXBERRY, DPD, YANDEX, DOSTAVISTA, DELLIN, PEC, YANDEX_EXPRESS, FIVE_POST Oui Le service.
tariffCode integer · int32 Non Le code tarifaire.
curl --request GET 'https://api.selsup.ru/api/delivery/fetchDeliveryServiceAdditionalServices?service=CDEK' \
  --header 'Authorization: YOUR_API_TOKEN'

Réponse réussie

200
Structure des éléments de l'array AdditionalDeliveryServiceDto[]
ChampTypeObligatoireDescription
code string Non Code.
name string Non Nom.
description string Non Une description.
[
  "string"
]
Les erreurs3

Les erreurs d'application sont normalement renvoyées sous le nom JSON avec error, localMessage et params. Brancher sur XPRO TECTED4X; le texte localisé peut changer. Comment les erreurs d'application sont retournées ↑

401auth_required
Autentification requise

Authorization est manquant, vide ou contient un jeton non valide.

400error_access_denied
Accès refusé

Le jeton existe, mais son rôle ne peut pas effectuer cette opération.

500error_unknown
Une erreur inconnue s'est produite. Si le problème persiste, contactez le service d'assistance

Faillite interne: économiser le temps de la demande et le support de contact; ne réessayez pas aveuglément une mutation.

DELETE

Supprimer l'intégration des services de livraison

/api/delivery/{service}/{organizationId}
Token avec accès à l'écriture

Supprimer l'intégration des services de livraison à l'aide de DELETE /api/delivery/{service}/{organizationId}.

Parametres de parcours

ChampTypeObligatoireDescription
service stringCDEK, OWN_DELIVERY, POST, BOXBERRY, DPD, YANDEX, DOSTAVISTA, DELLIN, PEC, YANDEX_EXPRESS, FIVE_POST Oui Le service.
organizationId integer · int64 Oui Identification de l'organisation.
curl --request DELETE 'https://api.selsup.ru/api/delivery/CDEK/1001' \
  --header 'Authorization: YOUR_API_TOKEN'

Réponse réussie

200

La réponse n'a pas de corps.

Les erreurs3

Les erreurs d'application sont normalement renvoyées sous le nom JSON avec error, localMessage et params. Brancher sur XPRO TECTED4X; le texte localisé peut changer. Comment les erreurs d'application sont retournées ↑

401auth_required
Autentification requise

Authorization est manquant, vide ou contient un jeton non valide.

400error_access_denied
Accès refusé

Le jeton existe, mais son rôle ne peut pas effectuer cette opération.

500error_unknown
Une erreur inconnue s'est produite. Si le problème persiste, contactez le service d'assistance

Faillite interne: économiser le temps de la demande et le support de contact; ne réessayez pas aveuglément une mutation.

Authorization

Marque pour les demandes d'essai

Le jeton reste dans le localStorage de ce navigateur et est envoyé uniquement dans l'en-tête Authorization des demandes à api.selsup.ru.

Essayer

Parametres réels de la demande

Réponse en direct API

Envoyez une demande pour voir la réponse SelSup.