Skip to main content
POST
Create a new supplier-variant constraint

Authorizations

Authorization
string
header
required

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

Body

application/json
supplierId
string
required
Minimum string length: 1
brandId
string | null
Minimum string length: 1
familyId
string | null
Minimum string length: 1
maxQuantity
moq
packMultiple
productId
string | null
Minimum string length: 1
variantId
string | null
Minimum string length: 1

Response

Successful response

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