Update Product
Updates an existing product in WooCommerce.
PUT
Query
Field selectionChoose which fields should be included in the response. Learn more
string
Comma-separated response fields to include.
Body
Arguments
numberrequired
Unique numeric ID of the product to update.
string
Product name.
string
Product type such as simple, grouped, external, or variable.
string
Regular product price as a string amount.
string
Sale price as a string amount.
string
string
Full product description in text or HTML.
string
Short product description in text or HTML.
boolean
boolean
boolean
number
string
Catalog status such as draft, pending, private, or publish.
array of object
number
array of object
number
string
string
string