Delete a Product Specification

DELETE /api/v2/products/{productId}/specifications/{id}.json

Deleting a Product Specification entry by its ID will remove the association between the Product and the global specification value, but will leave the global specification and global specification value untouched.

Scope

Requires the products OAuth scope.

Parameters

Your request must provide the following URL parameters:

id required
The ID of your Product Specification object
productId required
The ID of your Product object


Request body

Does not require a payload

Success responses

If the object was deleted successfully you should receive a response with a 204 status code and no body.

Error responses

If the object could not be deleted you may encounter a response with a 400, or 404 status code:

success
A boolean where a value of false means the object could not be deleted.
status
  • 400 may indicate that the ID was not provided, or the object could not be deleted for an unknown reason.
  • 404 indicates that the ID was provided, but the object could not be found.