PaidGoods
API referenceOperations

Map a scan code to a counted-stock variant

PUT
/v1/stores/{storeId}/operations/restock-codes

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PUT "https://example.com/v1/stores/string/operations/restock-codes" \  -H "Content-Type: application/json" \  -d '{    "code": "string",    "variantId": "d53feca7-c65b-4741-aca7-827a42d686bf"  }'
{  "property1": null,  "property2": null}