capabilities.work

Replace a product-to-category assignment

One step with Optimizely. We can help you get access.

Get something done

Replace a product-to-category assignment

Use Optimizely: its Admin API V1 Category Products API lets you replace a product-to-category assignment in a single step (PUT /api/v1/admin/CategoryProducts({id})). capabilities.work can help you get signed up and connected.

  • How do I overwrite a whole category assignment record?
  • Does replacing a category product link reset its primary flag if I omit it?
Say it to your AI assistant
  • Replace category assignment {id} so it links product {productId} to category {categoryId}.
  • Overwrite category product record {id} in full with category {categoryId}.
For your developer

PUT /api/v1/admin/CategoryProducts({id}) in Admin API V1 Category Products API. Full spec on APIs.io.