PaidGoods

Move and reorder categories (drag and drop)

PUT
/v1/stores/{storeId}/categories/arrange

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/categories/arrange" \  -H "Content-Type: application/json" \  -d '{    "items": [      {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "parentId": "70850378-7d3c-4f45-91b7-942d4dfbbd43",        "sortOrder": -9007199254740991      }    ]  }'
{  "updated": -9007199254740991,  "createdIds": [    "c7aef6df-dd98-43f8-9cc7-309869a028a4"  ]}