Datart: Enrich
Enrich from Datart as JSON. 1 credit per successful call.
GET /v1/datart/enrich
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
match_code | string | Required | Up to 64 characters |
Example request
Datart
GET/v1/datart/enrich?match_code=LGGOLED55B56
{
"success": true,
"data": {
"match_code": "LGGOLED55B56",
"items": [
{
"match_code": "LGGOLED55B56",
"product_id": "1915421",
"brand": "LG",
"coupon_price": 18990,
"original_price": 22990,
"vip_price": 18331,
"employee_price": 15697,
"stock_level": "0",
"url": "https://www.datart.cz/televize-lg-oled55b56la",
"stale": false
},
{
"match_code": "LGGOLED55B56",
"product_id": "1915421",
"brand": "LG",
"coupon_price": 18990,
"original_price": 22990,
"vip_price": 18331,
"employee_price": 15697,
"stock_level": "0",
"url": "https://www.datart.cz/televize-lg-oled55b56la",
"stale": false
},
{
"match_code": "LGGOLED55B56",
"product_id": "1915421",
"brand": "LG",
"coupon_price": 18990,
"original_price": 22990,
"vip_price": 18331,
"employee_price": 15697,
"stock_level": "0",
"url": "https://www.datart.cz/televize-lg-oled55b56la",
"stale": false
}
],
"currency": "CZK",
"price_type": "campaign"
},
"meta": {
"endpoint_family": "enrich",
"request_id": "req_7535eb58873444bf89a2e5f42af5facf",
"credits_charged": 1,
"credits_remaining": 4944
}
}200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.
Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.
Response fields
data has these 4 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
match_code | string |
items | object[] |
currency | string |
price_type | string |