PaidGoods
API referenceCatalogue operations

Restore a saved catalogue version

POST
/v1/stores/{storeId}/catalogue/versions/{versionId}/rollback

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string
versionId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/stores/string/catalogue/versions/string/rollback" \  -H "Content-Type: application/json" \  -d '{    "idempotencyKey": "string"  }'
{  "restored": -9007199254740991,  "archived": -9007199254740991}