Logo White

Tiers & Orders

Manage paid membership tiers (publication:read / publication:write) and retrieve customer order records (orders:read).

GET/v1/tiers

Membership tiers

Create and list subscription tiers that can be attached to posts via tier_ids.

Request

curl https://api.bloghunch.com/v1/tiers \
  -H "Authorization: Bearer {token}"
  • POST /v1/tiers, GET /v1/tiers/{id}, PATCH /v1/tiers/{id}, DELETE /v1/tiers/{id}

GET/v1/orders

Orders

List paid, unpaid, or refunded orders (?status=paid) or fetch a single order via GET /v1/orders/{id}. Requires orders:read.

Request

curl -G https://api.bloghunch.com/v1/orders \
  -H "Authorization: Bearer {token}" \
  -d status=paid