Delete a Modifier
DELETEhttps://euwest.api.elasticpath.com/pcm/pricebooks/:pricebookID/modifiers/:modifierID
Deletes the specified price book modifier.
Request
Path Parameters
pricebookID stringrequired
Unique identifier of a Price Book
modifierID stringrequired
Unique identifier of a Price Book Modifier
Responses
- 204
- default
A 204 response indicates that the price modifiers have been deleted
Unexpected error.
- application/json
- Schema
- Example (from schema)
Schema
errors object[]
{
"errors": [
{
"detail": "The modifier already exists",
"status": "409",
"title": "conflict"
}
]
}
Authorization: Authorization
name: Authorizationtype: httpin: headerscheme: bearer
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X DELETE 'https://euwest.api.elasticpath.com/pcm/pricebooks/:pricebookID/modifiers/:modifierID' \
-H 'Authorization: Bearer <TOKEN>'
ResponseClear