The
/product/bulk/defaultsplit
endpoint allows setting default splits for multiple products simultaneously.
Method:PATCH
Request Payload:
Parameter | Type | Description |
---|---|---|
productIds | array | An array of product IDs. |
defaultSplit | array | Default split configuration. |
Authentication
This endpoint requires authentication. Include your bearer token in the Authorization header.Request Body
Example Request
Request Schema
Field | Type | Required | Description |
---|---|---|---|
products | array | ā | Array of product IDs to update with default splits |
Responses
ā 201 - Successfully processed bulk product default splits
ā ļø 401 - Unauthorized
ā 500 - Internal Server Error
Tags
Product
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Body
application/json
Array of product IDs to update with default splits