GET /api/v3/campaigns/{lcuid}/inventory-items¶
Summary¶
GET campaigns/{lcuid}/inventory-items
Description¶
Get a list of inventory-items that are currently attached to this campaign.
Tags: campaigns
Parameters¶
Header Parameters¶
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
Authorization |
string |
✓ Yes | Bearer {AuthToken} |
|
Content-Type |
string |
✓ Yes | application/json |
|
Accept |
string |
✓ Yes | application/json |
|
AppIdV3 |
string |
✓ Yes | LCUID-LAP-********-****-****-****-************ |
Responses¶
Response: 200¶
Description: Sample Response
Content Type: application/json¶
Schema¶
Type: object
Properties:
success(boolean)inventory_items(array)-
Array items:
objectType:objectProperties:
unique_id(string)title(string)description(string)new_used(integer)year(string)make(string)model(string)sub_model(string)price(integer)price_original(string)price_modifier(string)external_link(string)status(integer)item_class(string)creative_state(integer)lcuid(string)created_at(string)updated_at(string)deleted_at(string)has_price_override(boolean)price_upstream(string)creatives(array)-
Array items:
objectType:objectProperties:
order_number(integer)status(integer)unique_hash(string)lcuid(string)hash_id(string)options(object) Type:object
Properties:
size_in_bytes(string)dimension_height(integer)dimension_width(integer)hash_md5(string)-
public_url(string) -
xr_status(integer) drive_template_id(string)
-
options(object) Type:object
Properties:
best_creative_image_photo_url(string)first_play_at(string)primary_image_background_removed_public_url(string)-
primary_image_public_url(string) -
cached_tags(string) attributes(array)data_source(object) Type:object
Properties:
lcuid(string)-
name(string) -
campaign_settings(string)
Example Response¶
{
"success": true,
"inventory_items": [
{
"unique_id": "AATtsJb5wL",
"title": "Some Item 0",
"description": "Some Description - KP3JGjxvJAuax7sUBkMalZhkVIeYcA6StPizyhoajplj7rXTWHQmvRtiv8pJ0D0MW96OenW4D64z9aScjvAqplQT38nx5CA9YxXJ5w3gMMVc0sm8lid4dBOyoSmVc4FLTI7PR6pMYXVdYl3SQ7q0BB",
"new_used": 0,
"year": null,
"make": "Some Make",
"model": "Some Model",
"sub_model": "Some Sub Model",
"price": 9791,
"price_original": "9791.00",
"price_modifier": null,
"external_link": "https://www.example.com/AATtsJb5wL",
"status": 1,
"item_class": "App\\LuCore\\InventoryItems\\RealEstateInventoryItemClass",
"creative_state": 2,
"lcuid": "LCUID-LI-77d2e9d6-a22c-4189-b904-e0e6e0ff5c91",
"created_at": "2026-01-07T00:12:27.000000Z",
"updated_at": "2026-01-07T00:12:33.000000Z",
"deleted_at": null,
"has_price_override": false,
"price_upstream": null,
"creatives": [
{
"order_number": 90,
"status": 1,
"unique_hash": "6f3efdab2bb7af817bd2c7bf2b9aa19e",
"lcuid": "LCUID-LP-321c4275-e54a-45c4-95b0-1aa3765fb299",
"hash_id": "lch-4D47",
"options": {
"size_in_bytes": null,
"dimension_height": 400,
"dimension_width": 1400,
"hash_md5": "7175d14ce833084b08d002a229a806e6",
"public_url": "http://localhost:8080/storage/13/3357/img_695da4f175898_94daf8c62cbdadbd925f.jpg"
},
"xr_status": 1,
"drive_template_id": "LCUID-LDT-058a7036-009a-4663-a011-1452469dd502"
}
],
"options": {
"best_creative_image_photo_url": null,
"first_play_at": null,
"primary_image_background_removed_public_url": null,
"primary_image_public_url": "http://localhost:8080/storage/13/3357/img_695da4eb48e3f_79eb7ffd1d72898af57d.png"
},
"cached_tags": null,
"attributes": [],
"data_source": {
"lcuid": "LCUID-LF-fa4b1c47-2dd3-4a96-81c5-3217093ad3be",
"name": "LC MLS System"
},
"campaign_settings": null
},
{
"unique_id": "YlNgLFMGgv",
"title": "Some Item 1",
"description": "Some Description - FKWfnz4D31GF496phQnr6sZHIWzZ4f4I3wYPKgz0oSrhOSDMgKZcx58qmDtwA9kuA48c8ze0IF81XNsFRiq9uFUY645QRIIyAsc5znnolKU9TLkpq9Fe2WM7zOaNaj7MH6fRIiQZtyCceCFOfRLqsA",
"new_used": 0,
"year": null,
"make": "Some Make",
"model": "Some Model",
"sub_model": "Some Sub Model",
"price": 1353,
"price_original": "1353.00",
"price_modifier": null,
"external_link": "https://www.example.com/YlNgLFMGgv",
"status": 1,
"item_class": "App\\LuCore\\InventoryItems\\RealEstateInventoryItemClass",
"creative_state": 2,
"lcuid": "LCUID-LI-518d8a25-1875-46e8-acac-a16857abab68",
"created_at": "2026-01-07T00:12:27.000000Z",
"updated_at": "2026-01-07T00:12:34.000000Z",
"deleted_at": null,
"has_price_override": false,
"price_upstream": null,
"creatives": [
{
"order_number": 90,
"status": 1,
"unique_hash": "ecc7c8b4973879cf5af3fced4fff8121",
"lcuid": "LCUID-LP-14611b98-6b72-4d07-b28f-7f6a90944dcc",
"hash_id": "lch-4D48",
"options": {
"size_in_bytes": null,
"dimension_height": 400,
"dimension_width": 1400,
"hash_md5": "c40a3915d4cd3caf456af02dcb86b201",
"public_url": "http://localhost:8080/storage/13/3358/img_695da4f2be408_c74619c2354e5415ea24.jpg"
},
"xr_status": 1,
"drive_template_id": "LCUID-LDT-058a7036-009a-4663-a011-1452469dd502"
}
],
"options": {
"best_creative_image_photo_url": null,
"first_play_at": null,
"primary_image_background_removed_public_url": null,
"primary_image_public_url": "http://localhost:8080/storage/13/3358/img_695da4ebb13ba_7a434772b99a9c0fbdcc.png"
},
"cached_tags": null,
"attributes": [],
"data_source": {
"lcuid": "LCUID-LF-fa4b1c47-2dd3-4a96-81c5-3217093ad3be",
"name": "LC MLS System"
},
"campaign_settings": null
},
{
"unique_id": "1T7SoQPglG",
"title": "Some Item 2",
"description": "Some Description - F1HJjMzSJTJalniZfTOl3Wy3SJTS2bpTDOcgbHf3VAklXXWxTokU2iM0k2r37WxjioNU81j7g9xfRryNt4g52l417CEUynuwYz7sjCGiGnfQod3HJzkUdJbCCs37NUUuw5pdE6qmTFVskFQD8he1OY",
"new_used": 0,
"year": null,
"make": "Some Make",
"model": "Some Model",
"sub_model": "Some Sub Model",
"price": 5873,
"price_original": "5873.00",
"price_modifier": null,
"external_link": "https://www.example.com/1T7SoQPglG",
"status": 1,
"item_class": "App\\LuCore\\InventoryItems\\RealEstateInventoryItemClass",
"creative_state": 2,
"lcuid": "LCUID-LI-eba10da5-27d3-4906-bb6e-9139fd99180c",
"created_at": "2026-01-07T00:12:27.000000Z",
"updated_at": "2026-01-07T00:12:36.000000Z",
"deleted_at": null,
"has_price_override": false,
"price_upstream": null,
"creatives": [
{
"order_number": 90,
"status": 1,
"unique_hash": "c93f335408825c7387f7ebb57a758c39",
"lcuid": "LCUID-LP-7e0a70cd-c594-4cd3-9c6d-09fffd294a39",
"hash_id": "lch-4D49",
"options": {
"size_in_bytes": null,
"dimension_height": 400,
"dimension_width": 1400,
"hash_md5": "75dcef7f5b6449ff8389d712f6037cde",
"public_url": "http://localhost:8080/storage/13/3359/img_695da4f40cbe1_5e797d31b666df773d63.jpg"
},
"xr_status": 1,
"drive_template_id": "LCUID-LDT-058a7036-009a-4663-a011-1452469dd502"
}
],
"options": {
"best_creative_image_photo_url": null,
"first_play_at": null,
"primary_image_background_removed_public_url": null,
"primary_image_public_url": "http://localhost:8080/storage/13/3359/img_695da4ec216e3_cefeb35915ec35998de6.png"
},
"cached_tags": null,
"attributes": [],
"data_source": {
"lcuid": "LCUID-LF-fa4b1c47-2dd3-4a96-81c5-3217093ad3be",
"name": "LC MLS System"
},
"campaign_settings": null
},
{
"unique_id": "2VBgftxN0j",
"title": "Some Item 3",
"description": "Some Description - UvLIiMpb0J2DFecfo13cDpdFbzCJewgdDbsTORTGybjcMWVATZwAkp5s8mGf1wtks5zARLXn3EAY0vtCp17dW8WgxKJN2MAPaC5Yu3iu7qvsAZVr8cY8xlIKgA596p59SBLF3rp9BM08Q5Z6gdaBvr",
"new_used": 0,
"year": null,
"make": "Some Make",
"model": "Some Model",
"sub_model": "Some Sub Model",
"price": 818,
"price_original": "818.00",
"price_modifier": null,
"external_link": "https://www.example.com/2VBgftxN0j",
"status": 1,
"item_class": "App\\LuCore\\InventoryItems\\RealEstateInventoryItemClass",
"creative_state": 2,
"lcuid": "LCUID-LI-7390f2fb-61b4-4e9b-ad72-aef78fb5e35c",
"created_at": "2026-01-07T00:12:28.000000Z",
"updated_at": "2026-01-07T00:12:37.000000Z",
"deleted_at": null,
"has_price_override": false,
"price_upstream": null,
"creatives": [
{
"order_number": 90,
"status": 1,
"unique_hash": "925eb95e3f875b01f783c4fc9102fd73",
"lcuid": "LCUID-LP-f909f690-db1f-4fa1-965e-efcd7aa0b319",
"hash_id": "lch-4D4A",
"options": {
"size_in_bytes": null,
"dimension_height": 400,
"dimension_width": 1400,
"hash_md5": "f98e8f740c734bb199cde197d83392b8",
"public_url": "http://localhost:8080/storage/13/3360/img_695da4f541354_151feac47396f45b8607.jpg"
},
"xr_status": 1,
"drive_template_id": "LCUID-LDT-058a7036-009a-4663-a011-1452469dd502"
}
],
"options": {
"best_creative_image_photo_url": null,
"first_play_at": null,
"primary_image_background_removed_public_url": null,
"primary_image_public_url": "http://localhost:8080/storage/13/3360/img_695da4ec88207_7cb218a1f4c30a128354.png"
},
"cached_tags": null,
"attributes": [],
"data_source": {
"lcuid": "LCUID-LF-fa4b1c47-2dd3-4a96-81c5-3217093ad3be",
"name": "LC MLS System"
},
"campaign_settings": null
},
{
"unique_id": "mrNulA8wQf",
"title": "Some Item 4",
"description": "Some Description - Hvp8aww9zaorTRb9AMJFR0JIj6p1XSPGEkkYMy1wF4EEZszWZtKc8JjGEih5YwDwRJXt4yYJxw1DCpOyYpVEUNBaoW3h3S5YBvGTXpfEkQQWloDgSHC5gXGSdOhvDZny90LuEatNtjj68FF8Lpig6E",
"new_used": 0,
"year": null,
"make": "Some Make",
"model": "Some Model",
"sub_model": "Some Sub Model",
"price": 4271,
"price_original": "4271.00",
"price_modifier": null,
"external_link": "https://www.example.com/mrNulA8wQf",
"status": 1,
"item_class": "App\\LuCore\\InventoryItems\\RealEstateInventoryItemClass",
"creative_state": 2,
"lcuid": "LCUID-LI-65e3be2f-ff88-4333-b1da-d6209124c038",
"created_at": "2026-01-07T00:12:28.000000Z",
"updated_at": "2026-01-07T00:12:38.000000Z",
"deleted_at": null,
"has_price_override": false,
"price_upstream": null,
"creatives": [
{
"order_number": 90,
"status": 1,
"unique_hash": "67ae3c33e7148fd87420360e048a47d9",
"lcuid": "LCUID-LP-faac90c2-6ad2-46ef-9c84-88158846e61c",
"hash_id": "lch-4D4B",
"options": {
"size_in_bytes": null,
"dimension_height": 400,
"dimension_width": 1400,
"hash_md5": "1be9fe97586ecf106eecca08cdc47619",
"public_url": "http://localhost:8080/storage/13/3361/img_695da4f676066_cfb29d2b05a2bc15ef88.jpg"
},
"xr_status": 1,
"drive_template_id": "LCUID-LDT-058a7036-009a-4663-a011-1452469dd502"
}
],
"options": {
"best_creative_image_photo_url": null,
"first_play_at": null,
"primary_image_background_removed_public_url": null,
"primary_image_public_url": "http://localhost:8080/storage/13/3361/img_695da4ecef189_cfc403ef66f2b0702746.png"
},
"cached_tags": null,
"attributes": [],
"data_source": {
"lcuid": "LCUID-LF-fa4b1c47-2dd3-4a96-81c5-3217093ad3be",
"name": "LC MLS System"
},
"campaign_settings": null
},
{
"unique_id": "bpkXVC9sZl",
"title": "Some Item 5",
"description": "Some Description - c6dG9bnl4reLbxDNO54x29CNdcb7uBUt2gGkwwY3tThfWZMj8RSwqp1GctcPk4NesEr4mAd4WTaJ6GsbAp5IIW9SvNkdssN5G1ypPMKc4H3EffzDV2HZ4ctbbzEfyrfkuyQGsANbtRsWJVEeAWkOdh",
"new_used": 0,
"year": null,
"make": "Some Make",
"model": "Some Model",
"sub_model": "Some Sub Model",
"price": 771,
"price_original": "771.00",
"price_modifier": null,
"external_link": "https://www.example.com/bpkXVC9sZl",
"status": 1,
"item_class": "App\\LuCore\\InventoryItems\\RealEstateInventoryItemClass",
"creative_state": 2,
"lcuid": "LCUID-LI-2e46cb1d-546b-42b3-9408-8be348c58e85",
"created_at": "2026-01-07T00:12:29.000000Z",
"updated_at": "2026-01-07T00:12:39.000000Z",
"deleted_at": null,
"has_price_override": false,
"price_upstream": null,
"creatives": [
{
"order_number": 90,
"status": 1,
"unique_hash": "75196758ca5471b17d8e2e6b6d90d70a",
"lcuid": "LCUID-LP-f05a68fe-71cb-46f0-a220-9256b07c7c7d",
"hash_id": "lch-4D4C",
"options": {
"size_in_bytes": null,
"dimension_height": 400,
"dimension_width": 1400,
"hash_md5": "6b67c9b8832907c523c41093d18f170d",
"public_url": "http://localhost:8080/storage/13/3362/img_695da4f7b6831_201f8b0f6bc132f8f6d9.jpg"
},
"xr_status": 1,
"drive_template_id": "LCUID-LDT-058a7036-009a-4663-a011-1452469dd502"
}
],
"options": {
"best_creative_image_photo_url": null,
"first_play_at": null,
"primary_image_background_removed_public_url": null,
"primary_image_public_url": "http://localhost:8080/storage/13/3362/img_695da4ed5febb_c5b5cb5ffe8288280d24.png"
},
"cached_tags": null,
"attributes": [],
"data_source": {
"lcuid": "LCUID-LF-fa4b1c47-2dd3-4a96-81c5-3217093ad3be",
"name": "LC MLS System"
},
"campaign_settings": null
},
{
"unique_id": "6v6o2gGoeu",
"title": "Some Item 6",
"description": "Some Description - G2mcB4tKRzoGkXwhmwlRfJKvphKEBSB0amAmXRSh6SuoogtdOM9r6ZWuRNCUadn2AErfIx1v9f5PqJZyrh5M0yzUqVECO5to9egb6NwVMU4PPnzEt4n1J0HC7nOdovW0MvKQHmTW7C0AUyWzM8u1vP",
"new_used": 0,
"year": null,
"make": "Some Make",
"model": "Some Model",
"sub_model": "Some Sub Model",
"price": 9231,
"price_original": "9231.00",
"price_modifier": null,
"external_link": "https://www.example.com/6v6o2gGoeu",
"status": 1,
"item_class": "App\\LuCore\\InventoryItems\\RealEstateInventoryItemClass",
"creative_state": 2,
"lcuid": "LCUID-LI-ea9ce809-e043-41b9-9dbc-8ad265ce68d7",
"created_at": "2026-01-07T00:12:29.000000Z",
"updated_at": "2026-01-07T00:12:41.000000Z",
"deleted_at": null,
"has_price_override": false,
"price_upstream": null,
"creatives": [
{
"order_number": 90,
"status": 1,
"unique_hash": "832492712e8e0eb7044b2243e9e71ca2",
"lcuid": "LCUID-LP-23652ded-db03-4b01-a007-b3667e5af7dc",
"hash_id": "lch-4D4D",
"options": {
"size_in_bytes": null,
"dimension_height": 400,
"dimension_width": 1400,
"hash_md5": "ce731680737d38d61e49b71ca968bf50",
"public_url": "http://localhost:8080/storage/13/3363/img_695da4f8eddb5_7efa208bc7bb1bc3e70d.jpg"
},
"xr_status": 1,
"drive_template_id": "LCUID-LDT-058a7036-009a-4663-a011-1452469dd502"
}
],
"options": {
"best_creative_image_photo_url": null,
"first_play_at": null,
"primary_image_background_removed_public_url": null,
"primary_image_public_url": "http://localhost:8080/storage/13/3363/img_695da4edc2395_ce1880f1194431e48259.png"
},
"cached_tags": null,
"attributes": [],
"data_source": {
"lcuid": "LCUID-LF-fa4b1c47-2dd3-4a96-81c5-3217093ad3be",
"name": "LC MLS System"
},
"campaign_settings": null
},
{
"unique_id": "NW024uLkAc",
"title": "Some Item 7",
"description": "Some Description - jItAR3K55V9r2rlhkaJ5HbyRXDZ4BjZBVEayAfmjD47oEcXBoECsXA7ZSyIat6PAkbWyiOlep1XDOt2mla3Tgw8hZulB6JBzwtfk3s0qP0I4UW0lfDkK7yQjv7icwp7klqHjvdYsY1w7QySEVMd7jU",
"new_used": 0,
"year": null,
"make": "Some Make",
"model": "Some Model",
"sub_model": "Some Sub Model",
"price": 3994,
"price_original": "3994.00",
"price_modifier": null,
"external_link": "https://www.example.com/NW024uLkAc",
"status": 1,
"item_class": "App\\LuCore\\InventoryItems\\RealEstateInventoryItemClass",
"creative_state": 2,
"lcuid": "LCUID-LI-83b3a426-e1eb-4061-a886-95826f50c071",
"created_at": "2026-01-07T00:12:29.000000Z",
"updated_at": "2026-01-07T00:12:42.000000Z",
"deleted_at": null,
"has_price_override": false,
"price_upstream": null,
"creatives": [
{
"order_number": 90,
"status": 1,
"unique_hash": "12df6430c155d104074a9cfe422f6819",
"lcuid": "LCUID-LP-07aacbe0-c952-4594-9a57-20a68c4c98a0",
"hash_id": "lch-4D4E",
"options": {
"size_in_bytes": null,
"dimension_height": 400,
"dimension_width": 1400,
"hash_md5": "26ebb16b051a3f2def16b967f8492840",
"public_url": "http://localhost:8080/storage/13/3364/img_695da4fa27f26_ae941c665c6948133871.jpg"
},
"xr_status": 1,
"drive_template_id": "LCUID-LDT-058a7036-009a-4663-a011-1452469dd502"
}
],
"options": {
"best_creative_image_photo_url": null,
"first_play_at": null,
"primary_image_background_removed_public_url": null,
"primary_image_public_url": "http://localhost:8080/storage/13/3364/img_695da4ee3739b_7d5a14eef2dfaaa4b3a5.png"
},
"cached_tags": null,
"attributes": [],
"data_source": {
"lcuid": "LCUID-LF-fa4b1c47-2dd3-4a96-81c5-3217093ad3be",
"name": "LC MLS System"
},
"campaign_settings": null
},
{
"unique_id": "q2BFZQFdvk",
"title": "Some Item 8",
"description": "Some Description - BE5obSPrar2weQey2m4KXl7dfSXlyaUvgvq50Tqw80HjzEpdTeN4AtlL98OmVUs7H3NIcdJ1ZddWRo1fzBR8W3FVGkqJkbzlViXyBggKWME5FZiv6NHY6m7k1fPDcny1oHuUDWC5vmkqsuQ0IAZe7X",
"new_used": 0,
"year": null,
"make": "Some Make",
"model": "Some Model",
"sub_model": "Some Sub Model",
"price": 7824,
"price_original": "7824.00",
"price_modifier": null,
"external_link": "https://www.example.com/q2BFZQFdvk",
"status": 1,
"item_class": "App\\LuCore\\InventoryItems\\RealEstateInventoryItemClass",
"creative_state": 2,
"lcuid": "LCUID-LI-fa18aa52-6969-46fb-a6b0-b45b9cbb236f",
"created_at": "2026-01-07T00:12:30.000000Z",
"updated_at": "2026-01-07T00:12:43.000000Z",
"deleted_at": null,
"has_price_override": false,
"price_upstream": null,
"creatives": [
{
"order_number": 90,
"status": 1,
"unique_hash": "673156df28ef9e8781034eac813ce380",
"lcuid": "LCUID-LP-cd5e84c4-b60f-4237-9260-84dba4b69b58",
"hash_id": "lch-4D4F",
"options": {
"size_in_bytes": null,
"dimension_height": 400,
"dimension_width": 1400,
"hash_md5": "0547d744ae47f6d4d3a0e8f731160587",
"public_url": "http://localhost:8080/storage/13/3365/img_695da4fb590bb_d6a289a3f32bbebb4612.jpg"
},
"xr_status": 1,
"drive_template_id": "LCUID-LDT-058a7036-009a-4663-a011-1452469dd502"
}
],
"options": {
"best_creative_image_photo_url": null,
"first_play_at": null,
"primary_image_background_removed_public_url": null,
"primary_image_public_url": "http://localhost:8080/storage/13/3365/img_695da4ee9e24f_7eccb29e72de1c1750d7.png"
},
"cached_tags": null,
"attributes": [],
"data_source": {
"lcuid": "LCUID-LF-fa4b1c47-2dd3-4a96-81c5-3217093ad3be",
"name": "LC MLS System"
},
"campaign_settings": null
},
{
"unique_id": "MyclMHDTJU",
"title": "Some Item 9",
"description": "Some Description - X5qeKodYF9NqhOVrEz8lYCKqx2Fe5X2azOP6uzq3UCXPaWa5rNc4gnNUTNa5yyvalUnmjlD5gUet0rF42ODCIP19KpeyQFNd8AilOirNqhyYcESGOco2Kqvs8nLIB5JJRCRptsHhWUOjRI9Wmm8PNq",
"new_used": 0,
"year": null,
"make": "Some Make",
"model": "Some Model",
"sub_model": "Some Sub Model",
"price": 4637,
"price_original": "4637.00",
"price_modifier": null,
"external_link": "https://www.example.com/MyclMHDTJU",
"status": 1,
"item_class": "App\\LuCore\\InventoryItems\\RealEstateInventoryItemClass",
"creative_state": 2,
"lcuid": "LCUID-LI-ffceaaae-661f-4b42-8476-1a75ea246810",
"created_at": "2026-01-07T00:12:30.000000Z",
"updated_at": "2026-01-07T00:12:44.000000Z",
"deleted_at": null,
"has_price_override": false,
"price_upstream": null,
"creatives": [
{
"order_number": 90,
"status": 1,
"unique_hash": "35dc085a6aad1127ea72c405e867ff6e",
"lcuid": "LCUID-LP-505eeccc-bb96-447b-8178-8a250ae47882",
"hash_id": "lch-4D4G",
"options": {
"size_in_bytes": null,
"dimension_height": 400,
"dimension_width": 1400,
"hash_md5": "fc07a98e71258c5e65aa97151648b9f1",
"public_url": "http://localhost:8080/storage/13/3366/img_695da4fc95bfb_b6772efa2df2e54b777a.jpg"
},
"xr_status": 1,
"drive_template_id": "LCUID-LDT-058a7036-009a-4663-a011-1452469dd502"
}
],
"options": {
"best_creative_image_photo_url": null,
"first_play_at": null,
"primary_image_background_removed_public_url": null,
"primary_image_public_url": "http://localhost:8080/storage/13/3366/img_695da4ef18c5e_ad9151e9b122cc148c80.png"
},
"cached_tags": null,
"attributes": [],
"data_source": {
"lcuid": "LCUID-LF-fa4b1c47-2dd3-4a96-81c5-3217093ad3be",
"name": "LC MLS System"
},
"campaign_settings": null
}
]
}
Example Implementations¶
Bash (cURL)¶
curl --request GET \
--get "https://api.lucit.app/api/v3/campaigns/LCUID-LE-506fc585-77be-11ec-acb9-c2cdb617d190/inventory-items" \
--header "Authorization: Bearer {AuthToken}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "AppIdV3: LCUID-LAP-********-****-****-****-************"
JavaScript (Fetch API)¶
const url = new URL(
"https://api.lucit.app/api/v3/campaigns/LCUID-LE-506fc585-77be-11ec-acb9-c2cdb617d190/inventory-items"
);
const headers = {
"Authorization": "Bearer {AuthToken}",
"Content-Type": "application/json",
"Accept": "application/json",
"AppIdV3": "LCUID-LAP-********-****-****-****-************",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
PHP (Guzzle)¶
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://api.lucit.app/api/v3/campaigns/LCUID-LE-506fc585-77be-11ec-acb9-c2cdb617d190/inventory-items',
[
'headers' => [
'Authorization' => 'Bearer {AuthToken}',
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'AppIdV3' => 'LCUID-LAP-********-****-****-****-************',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Python (Requests)¶
import requests
import json
url = 'https://api.lucit.app/api/v3/campaigns/LCUID-LE-506fc585-77be-11ec-acb9-c2cdb617d190/inventory-items'
headers = {
'Authorization': 'Bearer {AuthToken}',
'Content-Type': 'application/json',
'Accept': 'application/json',
'AppIdV3': 'LCUID-LAP-********-****-****-****-************'
}
response = requests.request('GET', url, headers=headers)
response.json()