Update a product-to-category assignment
One step with Optimizely. We can help you get access.
Get something done
Update a product-to-category assignment
with Optimizely
Use Optimizely: its Admin API V1 Category Products API lets you update a product-to-category assignment in a single step (PATCH /api/v1/admin/CategoryProducts({id})). capabilities.work can help you get signed up and connected.
- Can I make an existing category assignment the product's primary category?
- How do I move an existing assignment to a different category?
Say it to your AI assistant
- Set the primary-category flag on assignment {id} to {isPrimaryCategory}.
- Move category assignment {id} to category {categoryId}.
For your developer
PATCH /api/v1/admin/CategoryProducts({id}) in Admin API V1 Category Products API. Full spec on APIs.io.