POST
/api/v1/storefront/projects/{project_slug}/cartsCreate Cart
| Name | Type | In | Description |
|---|---|---|---|
| project_slug | string | path | Required. |
| Field | Type | Description | |
|---|---|---|---|
| string (nullable) | optional | — |
| Field | Type | Description | |
|---|---|---|---|
| id | string | required | — |
| variant_id | string | required | — |
| product_id | string | required | — |
| product_name | string | required | — |
| variant_title | string | required | — |
| sku | string | required | — |
| quantity | integer | required | — |
| unit_price_minor | integer | required | — |
| line_total_minor | integer | required | — |
| currency | string | required | — |
curl -X POST "https://api.webtools.ng/api/v1/storefront/projects/your-project/carts" \
-H "X-Project-Key: wt_pk_your_key" \
-H "Content-Type: application/json" \
-d '{ "email": "…" }'