Services

The services you offer, with pricing, service type, and where they take place.

API docs: Services

List services

GET/api/v1/servicesservices:read

Returns services, newest first. Deleted services are never returned. List entries don't include description; retrieve the service for it.

Query parameters

ParameterDescription
statusstringactive, inactive, or incomplete.
updated_sincedateISO 8601 date or date-time. Covers creation and edits made in the dashboard's service editor.
categorystringOnly listings in the category with this code.
qstringSearch service name or code.
limitinteger1–100, default 25.
cursorstringThe next_cursor from the previous page.
Request
curl "https://e2c.store/api/v1/services?status=active" \
  -H "Authorization: Bearer $E2C_API_KEY"
Response
{
  "data": [
    {
      "code": "portrait-session",
      "name": "Portrait Session",
      "sku": "",
      "brand": "Maple & Thread",
      "category": { "code": "photography", "name": "Photography" },
      "status": "active",
      "currency": "CAD",
      "price": 150,
      "compare_at_price": null,
      "short_description": "One hour in studio, 10 edited photos.",
      "created_at": "2026-07-02T15:00:00Z",
      "updated_at": "2026-08-20T12:30:00Z",
      "service_type": "hourly",
      "price_label": "per hour",
      "location": { "type": "in_person", "details": "12 King St W, Toronto", "service_area": null },
      "delivery_estimate": "Photos within 5 business days",
      "pay_after_service": false
    }
  ],
  "has_more": false,
  "next_cursor": null
}

service_type is one of hourly, daily, project, recurring, or in_person. location.type is remote, in_person, or both. location.details is the address or meeting link your buyers see after booking. When pay_after_service is true, buyers pay in person (cash or Interac) after the service instead of at checkout. Service details are null if the service was never fully set up.

Retrieve a service

GET/api/v1/services/{code}services:read

Returns one service with its full description. Look it up by its code.

Request
curl "https://e2c.store/api/v1/services/portrait-session" \
  -H "Authorization: Bearer $E2C_API_KEY"
Response
{
  "data": {
    "code": "portrait-session",
    "name": "Portrait Session",
    "sku": "",
    "brand": "Maple & Thread",
    "category": { "code": "photography", "name": "Photography" },
    "status": "active",
    "currency": "CAD",
    "price": 150,
    "compare_at_price": null,
    "short_description": "One hour in studio, 10 edited photos.",
    "created_at": "2026-07-02T15:00:00Z",
    "updated_at": "2026-08-20T12:30:00Z",
    "service_type": "hourly",
    "price_label": "per hour",
    "location": { "type": "in_person", "details": "12 King St W, Toronto", "service_area": null },
    "delivery_estimate": "Photos within 5 business days",
    "pay_after_service": false,
    "description": "<p>Natural-light portraits in our studio...</p>"
  }
}