PaidGoods

Archive, restore, duplicate or edit many products

POST
/v1/stores/{storeId}/products/bulk

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/products/bulk" \  -H "Content-Type: application/json" \  -d '{    "productIds": [      "ab269553-289b-4dda-82f7-ac36b3555fb3"    ],    "action": "archive"  }'
{  "updated": -9007199254740991,  "createdIds": [    "c7aef6df-dd98-43f8-9cc7-309869a028a4"  ]}