PaidGoods
API referenceCatalogue operations

Import mapped catalogue rows and create a rollback point

POST
/v1/stores/{storeId}/catalogue/import

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 POST "https://example.com/v1/stores/string/catalogue/import" \  -H "Content-Type: application/json" \  -d '{    "idempotencyKey": "string",    "rows": [      {        "name": "string",        "priceMinor": 0      }    ]  }'
{  "createdIds": [    "c7aef6df-dd98-43f8-9cc7-309869a028a4"  ],  "rollbackVersionId": "8b4ea5fd-e57e-4b93-bc04-6caff0525076",  "replay": true}