🚀 New: Theme Control Plane API — build, customize, and deploy themes programmatically. Learn more →
curl --request POST \
--url https://api.shoppex.io/dev/v1/products/{id}/serials \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"serials": "ABC-123\nXYZ-789",
"remove_duplicates": true
}
'{
"data": {
"added_count": 2
}
}Adds serial inventory to a base serial product without variants. This endpoint appends inventory. It does not replace the full serial list.
curl --request POST \
--url https://api.shoppex.io/dev/v1/products/{id}/serials \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"serials": "ABC-123\nXYZ-789",
"remove_duplicates": true
}
'{
"data": {
"added_count": 2
}
}