Skip to main content
DELETE
/
dev
/
v1
/
products
/
{id}
/
variants
/
{variantId}
/
serials
Delete product variant serial
curl --request DELETE \
  --url https://api.shoppex.io/dev/v1/products/{id}/variants/{variantId}/serials \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "serial_ids": [
    "serial_1"
  ]
}
'
{
  "data": {
    "removed_count": 1
  }
}

Authorizations

Authorization
string
header
required

Use your Shoppex API key in the Authorization header.

Path Parameters

id
string
required
variantId
string
required

Body

application/json

The body is of type object.

Response

200 - application/json

Successful response

data
object