ShopEazydevelopers
API referenceStorefront APIEnquiries

File a contact-form enquiry and tell the merchant

Credentials
  • Store key
Scopes
requests:write
POST
/v1/store/booking-requests

Recorded in the store before anything is sent; the merchant notification and email are best-effort and never fail the call, so do not retry a 201. The recipient, subject and body are composed server-side from structured fields; there is deliberately no "send an email" endpoint.

A name and at least one of phone or email are required. Strings are trimmed and capped (name 120, phone 40, email 200, service 120, notes 2000 characters).

Old path, deprecated, sunset 1 Feb 2027: POST /v1/booking-requests.

Authorization

storeKey requests:write
headerAuthorizationBearer <sez_pub_... (publishable) or sez_sk_... (secret)>

A per-store key from the console. Publishable keys are browser-safe; secret keys are server-only.

Scope: requests:write

Request Body

application/json
  1. body

A name plus at least one of phone or email.

name*string
Lengthlength <= 120
phone?string
Lengthlength <= 40
email?string
Lengthlength <= 200
service?string

Slug of the service asked about. Omit for a general enquiry.

Lengthlength <= 120
requestedAt?Timestamp

Epoch milliseconds.

notes?string
Lengthlength <= 2000

Response Body

Recorded.

application/json
  1. response
data*
Example Request
curl -X POST 'https://api.shopeazy.co/v1/store/booking-requests' \  -H 'Authorization: Bearer sez_pub_...' \  -H 'Content-Type: application/json' \  -d '{  "name": "Thandi Mokoena",  "email": "thandi.mokoena@example.com",  "phone": "+27 82 000 0001",  "service": "Plant care visit",  "requestedAt": 1793183597086,  "notes": "Two big fiddle-leaf figs that are dropping leaves."}'
Example Response
{  "data": {    "id": "kyKVipffoAEVwR9KcEJT",    "status": "pending"  }}