Skip to content
item

/api/v1/item/create

POST
/api/v1/item/create
curl --request POST \
--url https://dpg.example.com/api/v1/item/create \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '{ "item_network": "example", "item_domain": "example", "item_type": "example", "item_state": { "additionalProperty": "example" }, "item_locations": [ { "lat": 1, "lng": 1, "label": "example" } ], "created_by": "example", "consent": { "category": "profile_creation", "version": 1, "brand": "example" } }'
Media typeapplication/json
object
item_network
required
string
item_domain
required
string
item_type
required
string
item_state
Any of:
Any of:
string
item_locations
Array<object>
object
lat
required
number
>= -90 <= 90
lng
required
number
>= -180 <= 180
label
string
created_by
string
>= 1 characters
consent
object
category
required
string
Allowed values: profile_creation
version
required
integer
>= 1 <= 9007199254740991
brand
string
nullable >= 1 characters

Default Response

Media typeapplication/json
object
item_type
required
string
item_id
required
string
Examplegenerated
{
"item_type": "example",
"item_id": "example"
}