Skip to main content
POST

Authorizations

Authorization
string
header
required

Paste the JWT access token returned by the corresponding login endpoint.

Body

application/json

Sample request body. Source-defined core fields from AddProductRequest; optional arrays are empty for this example.

productName
string
productDescription
string
sku
string
categoryId
integer[]
image
string
price
string
quantity
integer
status
integer
productSlug
string
sortOrder
integer
productAttribute
any[]
productDiscount
any[]
productSpecial
any[]
tirePrices
any[]

Response

Successful response. Illustrative response envelope only. This route inventory does not include its route-specific @apiSuccessExample; response fields and messages must be verified in the matching controller/service. The example is intended to show the common response-wrapper style, not to define a guaranteed response schema. Example is illustrative and does not guarantee a stable response contract.

status
integer
message
string
data
object