Settings in MySklad for integration with ECOM


To integrate the MySklad system with ECOM via API, you need to implement the following settings in MySklad and add the received tokens to the ECOM admin panel:

A token is created for the integration itself:

  1. in the user settings, select the Tokens page and there at the very top there is a Token button
  2. in the open pop-up, the created token is copied and saved.

Important: Do not close the pop-up if the token has not been copied, as it will not be available later!

Tokens for prices are created:

  1. in the Products block, select the Products and Services tab and open the settings on the right side
  2. here either existing prices are used, or new prices are created
  3. tokens for Sale Price and Wholesale Price are copied and saved

A token is being created for legal entities. faces:

  1. in the user settings, select the Legal page. faces
  2. there will be a list of all added legal entities. persons or only one
  3. choose which legal entity. the face is integrated and it opens
  4. on a new page, the appeared code is copied and saved in the link

A token is created for the Counterparty (for which orders will be exported):

  1. in the Contractors block, select the Contractors tab
  2. The required counterparty is searched for and opened for additional viewing
  3. on a new page, the appeared code is copied and saved in the link

After all these settings, the received tokens must be added to the ECOM admin:

  1. open the MoySklad integration in the admin and select “Add new integration”
  2. check the Active box (to enable integration) and select for which site the integration is being done
  3. fill in the following data below:

    1. API token = integration token
    2. API link = https://api.moysklad.ru/api/remap/1.2
    3. Regular Price Type UUID = Sale Price token
    4. Discount Price Type UUID = Wholesale Price token
    5. Organization UUID = Legal token. faces
    6. Agent UUID = Counterparty token
  4. create a setting for the parser (/admin/becor_sync/parsersettings/add/), the usual one, filling out the rules and the field for synchronization, all other fields are blanked out (the number 1 or a dash is inserted)

  5. a group for the parser is created (/admin/becor_sync/groupparser/add/)
  6. periodic tasks (/admin/djangocelerybeat/periodictask/) indicate the frequency of data synchronization

Full customization has been implemented and now parsers will be launched automatically to update data, or you can also launch them manually like a regular parser.


Was the article helpful?

Yes, thank you! Unfortunately no

article.helpfulQuestion