Skip to main content
POST
/
engine
/
v2
/
publisher
/
{publisher_id}
/
items
/
by-producer
Get Item By Producer Id
curl --request POST \
  --url https://platform.ai.gloo.com/engine/v2/publisher/{publisher_id}/items/by-producer \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "producer_ids": [
    "<string>"
  ]
}
'
[
  {
    "producer_id": "<string>",
    "item_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

publisher_id
string<uuid>
required

Body

application/json

Request payload for resolving producer IDs to item IDs.

producer_ids
string[]
required

List of producer IDs to resolve into item IDs.

Minimum array length: 1

Response

Successful Response

producer_id
string
required

Producer-specific identifier supplied by the publisher.

item_id
string<uuid>
required

Resolved item ID corresponding to the producer ID.