Copy Business Products
POST {{baseUrl}}/products/business-products/copy
Description
Copy products from one business to another.
Request
- Header:
- Key: tenantId, Value:
<string>(Required) - Key: userId, Value:
<string>(Required) - Key: Content-Type, Value: application/json
- Key: Accept, Value: /
- Key: tenantId, Value:
- URL:
{{baseUrl}}/products/business-products/copy
Response
- Status: OK
- Code: 200
- Headers:
- tenantId:
<string>(Required) - userId:
<string>(Required) - Content-Type: application/json
- Accept: /
- tenantId:
Sample Request
curl --location -g '{{baseUrl}}/products/business-products/copy' \
--header 'tenantId: <string>' \
--header 'userId: <string>' \
--header 'Content-Type: application/json' \
--header 'Accept: */*' \
--data '{
"businessIds": [
"<string>",
"<string>"
],
"productIds": [
"<string>",
"<string>"
]
}'
Sample Response
{
"message": "<string>",
"data": {},
"meta": {
"currentPage": "<long>",
"from": "<long>",
"to": "<long>",
"perPage": "<long>",
"total": "<long>",
"lastPage": "<long>"
}
}
LANGUAGE
CURL REQUEST
curl --request POST \
--url /products/business-products/copy \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!