curl -X PUT \
/product-families/{id} \
--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"
}
Update a product family
Required permissions:product-family:write
curl -X PUT \
/product-families/{id} \
--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.
ProductFamily identifier
The updated ProductFamily resource
ProductFamily resource updated
Was this page helpful?