Skip to content

Delete one product

DELETE
/products/{identifier}
curl --request DELETE \
--url https://app.currentpim.se/api/v1/products/example \
--header 'Authorization: Bearer <token>'

Needs products:write and products.publish. Soft-deletes with reason api; a model takes its variants along. Deleted products keep their history and come as tombstones in the list’s change feed.

identifier
required
string

The product’s identifier (SKU). It may hold slashes.

What was deleted.

Media typeapplication/json
object
data
required
object
id
string
identifier
string
deleted_at
string | null format: date-time
deleted_count

The product and the variants below it.

integer

Example generated

{
"data": {
"id": "example",
"identifier": "example",
"deleted_at": "2026-04-15T12:00:00Z",
"deleted_count": 1
}
}

No valid token (missing, revoked, expired, or the account is deactivated).

Media typeapplication/json
object
message
required
string
errors

Problems by field, e.g. values.price._._ or items.0.identifier (422 only).

object
key
additional properties
Array<string>

Example generated

{
"message": "example",
"errors": {
"additionalProperty": [
"example"
]
}
}

The token lacks the ability or the account the permission.

Media typeapplication/json
object
message
required
string
errors

Problems by field, e.g. values.price._._ or items.0.identifier (422 only).

object
key
additional properties
Array<string>

Example generated

{
"message": "example",
"errors": {
"additionalProperty": [
"example"
]
}
}

No product with this identifier the account may see.

Media typeapplication/json
object
message
required
string
errors

Problems by field, e.g. values.price._._ or items.0.identifier (422 only).

object
key
additional properties
Array<string>

Example generated

{
"message": "example",
"errors": {
"additionalProperty": [
"example"
]
}
}

More than the allowed requests a minute for this token; Retry-After says when to try again.

Media typeapplication/json
object
message
required
string
errors

Problems by field, e.g. values.price._._ or items.0.identifier (422 only).

object
key
additional properties
Array<string>

Example generated

{
"message": "example",
"errors": {
"additionalProperty": [
"example"
]
}
}