- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Deletes a Product.
HTTP request
DELETE https://retail.googleapis.com/v2alpha/{name=projects/*/locations/*/catalogs/*/branches/*/products/**}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| name | 
 Required. Full resource name of  If the caller does not have permission to delete the  If the  The  All inventory information for the named  | 
Query parameters
| Parameters | |
|---|---|
| force | 
 This value only applies to the case when the target product is of type PRIMARY. When deleting a product of VARIANT/COLLECTION type, this value will be ignored. When set to true, the subsequent variant products will be deleted. When set to false, if the primary product has active variant products, an error will be returned. | 
Request body
The request body must be empty.
Response body
If successful, the response body is an empty JSON object.
Authorization scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the name resource:
- retail.products.delete
For more information, see the IAM documentation.