Skip to main content

Create Product Batch

POST /api/v1/products/batch

Description

Create a new batch of products.

Path Parameters

NameTypeDescription
NoneNo parameters

Request Headers

NameTypeDescription
tenantIdstringThe tenant ID (header)
userIdstringThe user ID (header)
countryCodestringThe 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

AUTHORIZATION

Bearer

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!