🛠️
For Developers
API, XML/JSON synchronization
category.articleCount
Automatic linking by characteristics
* * *
In order to link products with each other, you must first add all the necessary characteristics: color, size, volume, type, etc.
Products on the site can be related by one or more characteristics, depending on the need.
**Automatic linking...
API for transferring category/product data
* * *
1. Get a site token from the manager:
[POST] - {domain}/external/category/
**{****domain****}=admin.ecom.md**
2. Add a token to headers
3. All fields that are returned are also available for updating.
4. **Categories**:
[G...
Auth HUB
* * *
### Documentation on the AuthHub authorization process
#### System description
**AuthHub** is an authorization system that uses `redirect_url` to return the user after successful authorization. The user first goes to AuthHub for authorizatio...
Transferring orders to 1C - Order.json (RU)
* * *
**{**
**"id": XXXXX, -** Order ID
**"customer": {**
**"email"** : "[[email protected]](https://docs.ecom.md/cdn-cgi/l/email-protection#502435232410243523247e3d34)", - the email specified by the client when placing the order
**"name":** "te...
Category
* * *
* [Description of fields](/developers/opisanie-polei-1)
* [ Request categories ](/developers/zapros-kategorii)
* [Mass creation of categories](/developers/massovoe-sozdanie-kategorii)
* [Blocks of category characteristics](/develo...
Product category synchronization: JSON file
* * *
**Products.json - file****responsible for adding categories and new products**
{
"catalog": { #category information
"id": "category_id" #ID of the category in the 1C database; necessarily
"parent_id": "parent_id" #ID ...
Attribute Values
* * *
### API documentation for working with property values
#### Table with field descriptions:
Field| Type| Required?| Description
---|---|---|---
**id**| int| No| Unique identifier of the characteristic value (required when updating).
**...
API pentru sincronizarea comenzilor
* * *
1. **Preluarea tutor magazinelor**
curl '<https://YOUR_DOMAIN/base/contacts'>\
-H 'accept: application/json' \
-H 'token: '
2. ****Preluarea** tuturor regiunilor**
curl '<https://YOUR_DOMAIN/base/region/'>\
-H 'accept: appl...
Companies
* * *
### API documentation for working with companies
#### Table with field descriptions:
Field| Type| Required?| Description
---|---|---|---
**id**| int| No| Unique company identifier (required when updating).
**company_owner_id**| int| ...
Query categories
* * *
### Documentation: Working with categories
### Basic information
The API provides the ability to work with site categories. Using the endpoints provided, you can get a list of all categories or information about a specific category.
### End...
Characteristics
* * *
### API documentation for working with characteristics
### Table with field descriptions:
Field | Type | Required? | Description
---|---|---|---
**id** | int | No | Unique identifier of the characteristic (required when updating).
*...
Product
* * *
* [Description of fields](/developers/opisanie-polei)
* [Product characteristics](/developers/kharakteristiki-tovara-1)
* [Different prices for different types of users](/developers/raznye-tseny-dlia-raznykh-tipov-polzovatelei)
* ...
Lists of stores (branches)
* * *
### API documentation for working with stores (branches)
#### Table with field descriptions:
Field| Type| Required?| Description
---|---|---|---
**id**| int| No| Unique store identifier.
**lat**| string| Yes| Geographic latitude of t...
Description of fields
* * *
### Fields available for the category:
Field| Type| Required?| Description
---|---|---|---
**id**| int| Yes (for PUT)| Unique identifier of the category when updating (not available for POST).
**position**| int| Yes| Category position...
Product groups
* * *
### API documentation for working with product groups
## **Table with field descriptions**
Field| Type| Required?| Description
---|---|---|---
`id`| int| No| Unique group identifier (required when updating).
`code`| string| No| Group c...
Brand
* * *
## API documentation for working with brands
### Table with field descriptions
Field| Type| Required?| Description
---|---|---|---
`id`| int| No| Unique brand identifier (required when updating).
`name`| string| Yes| Brand name. ...
Custom entities (Author, producer)
* * *
* [ Custom entity ](/developers/kastomnaia-sushchnost)
* [Custom entity element](/developers/element-kastomnoi-sushchnosti)
* * *
Was the article helpful?
Yes, thank you! Unfortunately no
Certificates for payment
* * *
**API documentation for working with payment certificates**
## Table with field descriptions
Field | Type | Required? | Description
---|---|---|---
id | int | No | Unique identifier of the certificate (required when updating).
cod...
How to synchronize products from the admin?
* * *
Being on the main page in the admin panel, I select **"Parser logs"**, on the page that opens we see a list of all synchronizations.
To perform a new synchronization, click **"+ Add parser logs"** in the upper right corner of the page.
On th...
Product characteristics
* * *
* [Characteristics](/developers/kharakteristiki)
* [ Characteristic values ](/developers/znacheniia-kharakteristik)
* * *
Was the article helpful?
Yes, thank you! Unfortunately no
Video product reviews
* * *
### API documentation for working with video reviews
#### Table with field descriptions:
Field| Type| Required?| Description
---|---|---|---
**id**| int| No| Unique identifier of the video review (required when updating).
**name**| s...
Order Sync API
* * *
1. **Getting all stores**
curl '<https://YOUR_DOMAIN/base/contacts'>\
-H 'accept: application/json' \
-H 'token: '
2. **Getting all regions**
curl '<https://YOUR_DOMAIN/base/region/'>\
-H 'accept: application/json' \
-H '...
Custom entity element
* * *
## **Table with field descriptions**
Field| Type| Required?| Description
---|---|---|---
`id`| int| No| Unique identifier of the custom entity element (required when updating).
`slug`| string| Yes| Unique element slug.
`active`| boole...
Cum să fac sincronizarea produselor din admin?
* * *
Fiind pe pagina principală în panoul de administrare, aleg **"Jurnale Parser"** , iar pe pagina care se deschide văd lista tuturor sincronizarilor.
Pentru a efectua o nouă sincronizare, apăsăm pe **"+ Adaugă jurnal parser"** în colțul din dre...
Availability of goods in stores
* * *
### API documentation for updating/creating product availability in stores
#### Table with field descriptions:
Field| Type| Required?| Description
---|---|---|---
**shop_id**| int| Yes| Unique identifier of the store where product avail...
Category/product synchronization: XML file
* * *
1\. **Products.xml** \- it is responsible for adding categories and new products
<catalog> /category information
<id>category_id</id> /ID of the category in the 1C database; necessarily
<parent_id>parent_category_...
API for managing site content
* * *
### Documentation: Basic information for interacting with the site content API
#### Description
This documentation describes the basic principles of interaction with the API for working with site content, including methods for working with c...
[Version 2] Product groups.
* * *
API documentation for managing product groups (version 2). This API allows you to create and bulk update product groups, as well as manage their specifications display settings.
## Table with field descriptions
### Main object (ProductG...
Custom entity
* * *
## **Table with field descriptions**
Field| Type| Required?| Description
---|---|---|---
`id`| int| No| Unique identifier of the custom entity (required when updating).
`slug`| string| Yes| Unique slug (used to identify an entity).
`a...
Product management
* * *
1\. To receive goods you use:
curl --location '<http://admin.ecom.md/external/product'> \
--header 'API-Token: MY_TOKEN_123' \
--header 'Content-Type: application/json' \
2\. To create and edit products, only a P...
Sincronizare categorii/produse: XML file
* * *
**1\. category_products.xml** \- răspunde de adăugarea categoriilor și produselor
<catalog> /informații despre categorii
<id>category_id</id> /ID categoryiei în baza 1C; obligatoriu
<parent_id>parent_category_id</...
Sincronizare categorii produse: JSON file
* * *
**1\. Products.json - este responsabil pentru adăugarea de categorii și produse noi**
**"catalog": { - informații despre categorii**
"id": "category_id" - ID-ul categoryiei în baza 1C; obligatoriu
"parent_id": "parent_id" - ID-ul categ...
API pentru transferul datelor despre categorii / produse
* * *
1. Obțineți token-ul site-ului de la manager:
[POST] - {domain}/external/category/
**
{domain}=admin.ecom.md**[](http://admin.ecom.md/external/category)
2. Adăugați token-ul la antet
3. Toate câmpurile returnate sunt disponibile ș...
Bulk category creation
* * *
###Updating and creating category objects
### Endpoints
#### 1\. **Bulk category creation**
* **Method:** `POST`
* **URL:** `{domain}/external/category/bulk-create/`
Allows you to create several categories at the same time.
**Query ...
Stock
* * *
### API documentation for working with stocks
#### Table with field descriptions:
Field| Type| Required?| Description
---|---|---|---
**id**| int| No| Unique promotion identifier (required when updating).
**name_ro**| string| Yes| Th...
Discount cards
* * *
### API documentation for working with discount cards
#### Table with field descriptions:
Field| Type| Required?| Description
---|---|---|---
**id**| int| No| Unique card identifier (required when updating).
**user_id**| int/null| No...
Different prices for different types of users
* * *
### API documentation for updating/creating prices for different types of users
#### Table with field descriptions:
Field| Type| Required?| Description
---|---|---|---
**user_type_id**| int| Yes| Unique identifier of the user type for w...
Gift with product
* * *
### API documentation for working with gifts
#### Table with field descriptions:
Field| Type| Required?| Description
---|---|---|---
**id**| int| No| Unique gift identifier (required when updating).
__icon__ (all languages)_*| string|...
Transmiterea comenzilor în 1C - Order.json (RO)
* * *
**{**
**"id": XXXXX, -** ID comenzii
**"customer": {**
**"email"** : "[[email protected]](https://docs.ecom.md/cdn-cgi/l/email-protection#dda9b8aea99da9b8aea9f3b0b9)", - adresa electronică care a indicat-o clientul când a plasat comanda
**...
Related products
* * *
### **Related products - what are they?**
******Related Products** are additional products that are offered along with the main product to:
* add it,
* improve use,
* increase convenience,
* increase the average check. ****
Whe...
Category characteristics blocks
* * *
### API documentation for working with category characteristic blocks
#### Table with field descriptions:
Field| Type| Required?| Description
---|---|---|---
**id**| int| No| Unique identifier of the category characteristics block (requ...
Description of fields
* * *
### Table with fields:
Field| Type| Required?| Description
---|---|---|---
**id**| int| Yes (for PUT)| Unique product identifier when updating (not available for POST).
**bookmark**| boolean| Yes| Whether the product is marked as a fa...