Deletes a product.
Please note: Only one object can be deleted per request (unless batched). Some object types may be blocked from being deleted by the update command as special processing is done by a dedicated manager command.
Some object types are only soft-deleted, some are hard-deleted in the database. This behavior cannot be influenced by the client.
You can upsert multiple records using one request. To do so, add multiple data objects into your JSON. See the example below.
[
{
"data": {
"typedId": "2147501223.P"
}
},
{
"data": {
"typedId": "2147501224.P"
}
},
{
"data": {
"typedId": "2147501225.P"
}
}
]
OK
{- "data": {
- "typedId": "2147501187.P"
}
}
{- "response": {
- "node": "string",
- "data": [
- {
- "version": 0,
- "typedId": "string",
- "sku": "string",
- "label": "string",
- "unitOfMeasure": "string",
- "userGroupEdit": "string",
- "userGroupViewDetails": "string",
- "currency": "string",
- "formulaName": "string",
- "image": true,
- "createDate": "string",
- "createdBy": 0,
- "lastUpdateDate": "string",
- "lastUpdateBy": 0,
- "attribute1": "string",
- "attribute2": "string",
- "attribute3": null,
- "attribute4": null,
- "attribute5": null,
- "attribute6": null,
- "attribute7": null,
- "attribute8": null,
- "attribute9": null,
- "attribute10": null,
- "attribute11": null,
- "attribute12": null,
- "attribute13": null,
- "attribute14": null,
- "attribute15": null,
- "attribute16": null,
- "attribute17": null,
- "attribute18": null,
- "attribute19": null,
- "attribute20": null,
- "attribute21": null,
- "attribute22": null,
- "attribute23": null,
- "attribute24": null,
- "attribute25": null,
- "attribute26": null,
- "attribute27": null,
- "attribute28": null,
- "attribute29": null,
- "attribute30": null
}
], - "status": 0
}
}