Skip to main content
POST
Create

Authorizations

Authorization
string
header
required

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

Headers

x-company
string
Example:

"{{companyId}}"

Body

application/json
product_variant_id
string
Example:

"01k77apj286gns7ap98hn5ejhc"

quantity
number
Example:

15

quantity_alert
number
Example:

5

stocks_warehouse
object[]
Example:
title
string
Example:

"Action Short / Navy"

Response

201 - application/json

201

company_id
string
Example:

"01hqydxwtxdj3kmzp3bz7jk73g"

created_at
string
Example:

"2025-10-10T15:12:53.000000Z"

id
string
Example:

"01k77ax6n3vcmxbyt0env1zkar"

media
any[]
Example:
medias
any[]
Example:
price
unknown
product_variant
object
product_variant_compositions
any[]
Example:
product_variant_id
string
Example:

"01k77apj286gns7ap98hn5ejhc"

quantity
number
Example:

50

quantity_alert
number
Example:

5

stocks_warehouse
object[]
Example:
title
string
Example:

"Action Short / Navy"

updated_at
string
Example:

"2025-10-10T15:12:53.000000Z"