Skip to main content
POST
/
dev
/
v1
/
products
/
{id}
/
serials
/
claim
Claim product serials
curl --request POST \
  --url https://api.shoppex.io/dev/v1/products/{id}/serials/claim \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "amount": 2
}'
{
  "data": {
    "claimed_count": 2,
    "remaining_stock": 7,
    "serials": [
      {
        "id": "serial_1",
        "serial": "ABC-123",
        "variant_id": null,
        "variant_title": null,
        "created_at": "2026-03-16T10:00:00.000Z"
      },
      {
        "id": "serial_2",
        "serial": "XYZ-789",
        "variant_id": null,
        "variant_title": null,
        "created_at": "2026-03-16T10:01:00.000Z"
      }
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.shoppex.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Use your Shoppex API key in the Authorization header.

Path Parameters

id
string
required

Body

amount
number
required
Required range: 1 <= x <= 500

Response

200 - application/json

Successful response

data
object