set_product_category
Confirm or change the category of one of your workspace's products: product_id is the product id your quotes send (or a store item's SKU), category_id is an id from the tree list_product_categories returns, at any level. Replaces any earlier category for that product and answers with the same body as list_product_categories. Needs a Last Price credential with routing write scope. Needs a claimed workspace: a sandbox key from self-registration is refused (403) until a person claims the workspace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes | The product id, as quotes send it in context.product_id, or a store item's SKU. | |
| category_id | Yes | A category id from the tree list_product_categories returns, for example api-metering. |