Categories
Manage your store's categories programmatically.
List Categories
Retrieve a list of all categories in your store.
GET
/api/v1/categoriesExample 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"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/categoriesParameters
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"
}'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"
}'