Create Product Batch
POST /api/v1/products/batch
Description
Create a new batch of products.
Path Parameters
| Name | Type | Description |
|---|---|---|
| None | No parameters |
Request Headers
| Name | Type | Description |
|---|---|---|
tenantId | string | The tenant ID (header) |
userId | string | The user ID (header) |
countryCode | string | The country code (header) |
Request Body
- Content Type:
application/json
{
"productTypeIds": [
"string"
],
"businessId": "string",
"userId": "string",
"tenantId": "string",
"countryCode": "string"
}
Response Code: 201 - Created
Description
The batch of products was created successfully.
Method: POST
>http://your-api-url/api/v1/products/batch
Headers
|Content-Type |Value|
|apiKey |{{apiKey}}|
|tenantId |string|
|userId |string|
|countryCode |string|
Body
{
"productTypeIds": [
"type1",
"type2"
],
"businessId": "business123",
"userId": "user456",
"tenantId": "tenant789",
"countryCode": "US"
}
🔑 Authentication bearer
|Param |Value |Type|
|token |{{accessCode}} |string|
LANGUAGE
CURL REQUEST
curl --request POST \
--url /api/v1/products/batch \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!