Skip to main content
POST
Enrich multiple products

Authorizations

Authorization
string
header
required

User session token issued by NextAuth. For human users accessing Solya via the web application.

Body

application/json
messageType
enum<string>
required

Message type discriminator — must be PRODUCTS_ENRICH

Available options:
PRODUCTS_ENRICH
count
number

Number of unenriched products to pick and enrich. Mutually exclusive with productIds.

Required range: 1 <= x <= 1000
productIds
string[]

Explicit list of product IDs to enrich. Mutually exclusive with count.

Response

Successful response

data
object
required
success
enum<boolean>
required
Available options:
true