curl -X POST \
/product-families \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"name": "Team Packages"
}'
{
"id": "ad8b3b9e-5b0a-4e1a-8b0a-4e1a8b0a4e1a",
"name": "Team Packages",
"products": [
"https://example.com/"
],
"createdAt": "2021-01-01T00:00:00+00:00",
"updatedAt": "2021-01-01T00:00:00+00:00"
}
Create a product family
Required permissions:product-family:write
curl -X POST \
/product-families \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"name": "Team Packages"
}'
{
"id": "ad8b3b9e-5b0a-4e1a-8b0a-4e1a8b0a4e1a",
"name": "Team Packages",
"products": [
"https://example.com/"
],
"createdAt": "2021-01-01T00:00:00+00:00",
"updatedAt": "2021-01-01T00:00:00+00:00"
}
Value for the Authorization header parameter.
The new ProductFamily resource
ProductFamily resource created
Was this page helpful?