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 favorite (true/false).
price decimal Yes Product price.
qty float Yes Quantity of product in stock.
sort_priority int No Product sorting priority.
old_price decimal No Old (promotional) price of the product.
groupproductid string Yes Unique identifier of the product in the group.
weight decimal No Product weight in kilograms.
height decimal No Product height in centimeters.
width decimal No Product width in centimeters.
length decimal No Product length in centimeters.
brand_id int No [Brand]ID(/developers/brend).
video_reviews array[int] No List of video review identifiers associated with the product.
gift_id int No ID of the gift associated with the product.[

](https://crm.alsodev.com/module/knowledgebase/view/article/584--podarok-k-tovaru) Gift with product
mpay
paymentavailable| boolean| No| Is payment via Mpay available (true/false).
additional
codes| string| No| Additional product codes (in JSON string format).
keywords| string| No| Keywords for search engine optimization.
specifications| array[ object{ specificationid:characteristic, specificationvalue_id: Characteristic values}]| No| List of specifications, where the specification ID and specification value are indicated.

namero/nameru/...| string| Yes| Product names in different languages ​​(depending on available languages).
slugro/slugru/...| string| No| Unique product servants in different languages ​​(depending on languages).
shortdescription and description_ (all languages)| string| No| Brief and complete description of the product in different languages.
_unitmeasurement_ (all languages)| string| No| Units of measurement in each language (for example: "pcs", "kg").
__seo__ (all languages)_
| string| No| SEO optimization fields for titles, descriptions and keywords in each language.
**code
| string| Yes| Product code.
category| array[int]| Yes| List of categories to which the product belongs.
images| array| No| An array of images indicating the order (order) and the image URL (image).
promo| array[int]| No| Related promotions products.
productgroup| array[int]| No| Related groups products.
custom
product_instance| array[int]| No| Related custom product instances.

Example JSON with fields filled in:

{
    "id": 17,
    "bookmark": false,
    "price": "799.00",
    "qty": 1.0,
    "sort_priority": 0,
    "old_price": "899.00",
    "group_product_id": "234234",
    "weight": 1.2,
    "height": 20.0,
    "width": 15.0,
    "length": 10.0,
    "brand_id": 35,
    "video_reviews": [
        8,
        16
    ],
    "gift_id": 5,
    "mpay_payment_available": true,
    "additional_codes": "[\"CODE123\", \"CODE456\"]",
    "keywords": "JBL, Bluetooth, portable speaker",
    "specifications": [
        {
            "id": 115,
            "specification_id": 26,
            "specification_value_id": 90
        },
        {
            "id": 116,
            "specification_id": 27,
            "specification_value_id": 22
        }
    ],
    "name_ro": "GO 3 Negru",
    "name_ru": "GO 3 Black",
    "name_en": "GO 3 Black",
    "name_uk": "GO 3 Chorna",
    "slug_ro": "jbl-go-3-negru",
    "slug_ru": "jbl-go-3-chyornaya",
    "slug_en": "jbl-go-3-black",

"sluguk": "jbl-go-3-chorna", "shortdescriptionro": "Boxă portabilă JBL.", "shortdescriptionen": "JBL portable speaker.", "shortdescriptionen": "Portable JBL speaker.", "shortdescriptionuk": "JBL portable speaker.", "descriptionro": "Sunet original JBL Pro, rezistent la apă și praf conform IP67.", "descriptionen": "Original JBL Pro sound, water and dust resistance according to IP67 standard.", "descriptionen": "Original JBL Pro sound, water and dust resistant (IP67)", "descriptionuk": "Original JBL Pro sound, waterproof and sawproof (IP67)", "unitmeasurementro": "buc", "unitmeasurementru": "pcs", "unitmeasurementen": "pcs", "unitmeasurementuk": "piece", "seotitlero": "JBL GO 3 Negru", "seotitleen": "JBL GO 3 Black", "seotitleen": "JBL GO 3 Black", "seotitleuk": "JBL GO 3 Chorna", "seodescriptionro": "Cumpără acum JBL GO 3 - boxă portabilă de calitate superioară.", "seodescriptionru": "Buy JBL GO 3 - a high-quality portable speaker.", "seodescriptionen": "Buy JBL GO 3 - premium portable speaker.", "seodescriptionuk": "Buy the JBL GO 3 - a premium portable speaker.", "seokeywordsro": "JBL, boxă portabilă, GO 3", "seokeywordsru": "JBL, portable speaker, GO 3", "seokeywordsen": "JBL, portable speaker, GO 3", "seokeywordsuk": "JBL, portable speaker, GO 3", "code": "GO3", "category": [ 121 ], "images": [ { "order": 1, "originalname": "JBLCLIP4FRONT", "image": "http://localhost:8001/media/media/JBLCLIP4FRONTSTANDARDTRIPLE2sNsyaG.webp" }, { "order": 2, "originalname": "JBLGO3BACK", "image": "http://localhost:8001/media/media/JBLGO3BACKBLACK0097.webp" } ], "promo": [ 12, 24 ], "productgroup": [ 5, 7 ], "customproduct_instance": [ 3, 8 ] }


Was the article helpful?

Yes, thank you! Unfortunately no

article.helpfulQuestion