Skip to content

Get a scent by ID

GET
/api/v1/scent/catalog/scents/{id}
curl --request GET \
--url 'https://api-omni.linra.net/api/v1/scent/catalog/scents/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0?activeOnly=true' \
--header 'Authorization: Bearer <token>'
id
required
string format: uuid
lang
string
activeOnly
boolean
default: true

The scent.

Media typeapplication/json
object
state
required
string
payload
required
details
object
payload
required
object
id
string format: uuid
brandId
string format: uuid
name
string
concentration
string
nullable
audience
string
nullable
description
string
nullable
isActive
boolean
createdDate
string format: date-time
lastModifiedDate
string format: date-time
nullable
Example
{
"state": "SUCCESS"
}

Unknown scent.

Media typeapplication/json

The envelope every /api/v1 ERROR response uses. state carries the machine-readable error code (see the Errors guide).

object
state
required
string
payload
required

Always null on an error response.

object
details
object
Examples
ExamplenotFound
{
"state": "NOT_FOUND_SCENT",
"payload": null,
"details": {}
}

Too many requests — see the Rate limits guide. Retry after the Retry-After header (seconds).

Media typeapplication/json

The envelope every /api/v1 ERROR response uses. state carries the machine-readable error code (see the Errors guide).

object
state
required
string
payload
required

Always null on an error response.

object
details
object
Example
{
"state": "NOT_FOUND_ORDER",
"payload": null
}
Retry-After
integer

Seconds to wait before retrying.