curl --request DELETE \
--url https://api.komerza.com/stores/{storeId}/products/{productId}/variants/{variantId}/items/clear \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "<string>",
"code": "<string>",
"data": "<unknown>"
}Removes all items from this variant.
Requires the stores.products.update permission.
curl --request DELETE \
--url https://api.komerza.com/stores/{storeId}/products/{productId}/variants/{variantId}/items/clear \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "<string>",
"code": "<string>",
"data": "<unknown>"
}Your API key goes here
The store’s unique identifier.
The product’s unique identifier.
The variant’s unique identifier.
The operation was successfully completed.
Represents a default generic response for API endpoints.
Indicates whether the operation or response was successful.
A descriptive message providing additional context or information about the response.
The error code (if there was an error) to use when referencing the error
Represents the data associated with a response.
Was this page helpful?