Delete Product Variant
DELETE/commerce/products/:productId/variants/:variantId
Request
Path Parameters
productId stringrequired
The ID of the product you want to get the product variants for.
variantId stringrequired
The ID of the variant you want to delete.
Query Parameters
credentialId stringrequired
The ID of the credential.
Header Parameters
Authorization stringrequired
Default value: bearer YOUR_API_KEY
Responses
- 200
- 400
200
- application/json
- Schema
- Example (from schema)
- Result
Schema
message string
{
"message": "Item deleted"
}
{
"message": "Item deleted"
}
400
- application/json
- Schema
- Example (from schema)
- Result
Schema
object
{}
{}
Loading...