POST
/api/v1/storefront/projects/{project_slug}/queriesSubmit Query
| Name | Type | In | Description |
|---|---|---|---|
| project_slug | string | path | Required. |
| Field | Type | Description | |
|---|---|---|---|
| kind | CustomQueryKind | required | — |
| full_name | string | required | — |
| string<email> | required | — | |
| phone_number | string (nullable) | optional | — |
| subject | string (nullable) | optional | — |
| message | string | required | — |
| product_id | string (nullable) | optional | — |
| service_id | string (nullable) | optional | — |
| payload | object | optional | — |
| source_url | string (nullable) | optional | — |
| Field | Type | Description | |
|---|---|---|---|
| id | string | required | — |
| status | CustomQueryStatus | required | — |
| message | string | required | — |
curl -X POST "https://api.webtools.ng/api/v1/storefront/projects/your-project/queries" \
-H "X-Project-Key: wt_pk_your_key" \
-H "Content-Type: application/json" \
-d '{ "kind": "…", "full_name": "…", "email": "…", "message": "…" }'