The
/product/bulk
endpoint allows the creation of multiple products simultaneously by providing an array of product objects.
Method:POST
Request Payload:
Parameter | Type | Description |
---|---|---|
products | array | An array of product objects with their details. |
Authentication
This endpoint requires authentication. Include your bearer token in the Authorization header.Request Body
Request Schema
Field | Type | Required | Description |
---|---|---|---|
products | array | ✅ |
Responses
✅ 201 - Created with possible errors
⚠️ 401 - Unauthorized
❌ 500 - Internal Server Error
Tags
Product
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Body
application/json