API DocsGet Started

Categories

Manage your store's categories programmatically.

List Categories

Retrieve a list of all categories in your store.

GET
/api/v1/categories
Example Request
curl -X GET https://ship.sellpass.io/api/v1/categories \
  -H "x-api-key: YOUR_API_KEY" \
  -H "x-store-hash: YOUR_STORE_HASH"

Create Category

Create a new category.

POST
/api/v1/categories

Parameters

Example Request
curl -X POST https://ship.sellpass.io/api/v1/categories \
  -H "x-api-key: YOUR_API_KEY" \
  -H "x-store-hash: YOUR_STORE_HASH" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "New Category",
    "slug": "new-category",
    "icon": "star"
  }'