Visit Main Site
Join Partner Program
Login
     
Introduction
Authentication
Documentation
Category
GET
POST
PUT
DELETE
Products
GET
POST
PUT
DELETE
Carts
GET
POST
PATCH
DELETE
Variations
GET
POST
PUT
DELETE
Currency
GET
POST
PUT
DELETE
Tax
Tax Profile
GET
POST
PUT
DELETE
Tax Rule
GET
POST
PUT
DELETE
Tax Code
GET
POST
PUT
DELETE
Tax Zone
GET
POST
PUT
DELETE
Discount
GET
POST
PUT
DELETE
Shipping
Shipping Profile
GET
POST
PUT
DELETE
Shipping Rate
GET
POST
PUT
DELETE
Shipping Rules
GET
POST
PUT
DELETE
Customer
GET
POST
PUT
DELETE
Orders
GET
POST
PATCH
Blog
GET
POST
PUT
DELETE
Settings
GET
» Variation DELETE API Documentation

Deleting Variation

Endpoint: DELETE /admin/variations/{variation_id}

Purpose

This API allows administrators to delete a specific variation by its unique ID. It is used when a variation is no longer needed or has been created by mistake. Removing unnecessary variations helps maintain a clean and organized system.

Path Parameters

ParameterTypeDescription
variation_idIntegerThe unique ID of the variation to delete.

Query Parameters

No query parameters for this endpoint.

Use Case

Administrators use this endpoint to remove a variation that is outdated or irrelevant. Once deleted, the variation and its associated options will be removed from the system and will no longer be available for use. This action ensures that only relevant and up-to-date variations remain active.

Request Body

This endpoint does not require a request body.

Response

A successful request returns a 204 No Content response, indicating that the variation has been successfully deleted. No response body is returned.

DELETE
https://{your_site_domain}/api/v4/admin/variations/{variation_id}
Try It Out
Terms and Conditions
Privacy Policy

© 2024 WebCommander | All Rights Reserved

contact@webcommander.com
1300 797 571

WebCommander
About Us
Features
Pricing
Compare
Partners
Contact Us
Resource
Find a Partner
Help Centre
Community
Blog
Solutions
Inventory Management
Omnichannel Sales
Ecommerce Automation
B2B Ecommerce
Headless Commerce
Website Design and Performance