Stock

Check a paste before importing: repeated lines and values already held

POST
/v1/stores/{storeId}/variants/{variantId}/serials/check

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string
variantId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1/stores/string/variants/string/serials/check" \  -H "Content-Type: application/json" \  -d '{    "serials": "string"  }'
{  "lines": -9007199254740991,  "duplicates": [    "string"  ],  "alreadyHeld": [    "string"  ]}