Update product (offer) availability by id
toggle_product_availabilityUpdate a product's availability status to control whether it can be purchased, solving inventory visibility issues. Requires a product ID and availability flag.
Instructions
Rate limit: 100 requests / 10 seconds per shop. See Rate limiting.
Updates a product (offer) availability
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Exact private shop profile label; not a provider identity or authorization proof. | |
| confirm | No | Explicit approval for this exact provider effect or local private-file operation. | |
| payload | No | Complete current native JSON body; cannot mix with native body flags or payload_file. | |
| available | No | ||
| product_id | Yes | Native productId | |
| payload_file | No | Absolute regular non-symlink native JSON body file, at most1MiB. Cannot mix with payload or body flags. |