Delete Product Category
Deletes the details of a Product Category object that has been previously created.
Parameters
Body Params | |
---|---|
JSON: | json |
XML: | string |
Path Params | |
---|---|
yourCompany: | string |
Header Params | |
---|---|
Accept: | string |
Query Auth | |
---|---|
key: | string |
Header Auth | |
---|---|
apiKey: | string |
Sample Code
{
"Categories": {
"Category": {
"CategoryIdToBeDeleted": "926",
"TransferProductsToCategoryId": "924"
}
}
}
<Categories>
<Category>
<CategoryIdToBeDeleted>926</CategoryIdToBeDeleted>
<TransferProductsToCategoryId>924</TransferProductsToCategoryId>
</Category>
</Categories>
WADL
<?xml version="1.0" encoding="utf-8"?>
<application>
<resources base="https://{yourCompany}.agiliron.net/agiliron/api-40/">
<resource path="ProductsCategory">
<method name="DELETE">
<resource path="{CategoryId}">
<request>
<param name="key" type="xsd:string" style="query" required="true"/>
</request>
<response status="200">
<representation mediaType="application/xml" element="yn:ResultSet"/>
</response>
<response status="400">
<representation mediaType="application/xml" element="ya:Error"/>
</response>
</method>
</resource>
</resources>
</application>
Updated about 21 hours ago