Connect Shopify, WooCommerce, feeds and spreadsheets. All requests need a secret key; see REST API for keys, errors and limits.
List the active organization's catalog connections
GET /v1/connections
Parameters
| Name | In | Type | Description |
|---|
cursor | query | string | |
limit | query | integer | |
sortBy | query | "createdAt" | |
sortDir | query | "asc" | "desc" | |
curl -X GET https://api.loomieo.com/v1/connections \
-H "Authorization: Bearer $LUMIEO_KEY"
Response 200
| Name | Type | Description |
|---|
connectionsrequired | list of object | |
paginationrequired | object | |
Errors
401: auth_unauthenticated403: forbidden422: validation_failed429: rate_limited
Create a catalog connection
POST /v1/connections
Create a catalog connection (owner); credentials are stored encrypted
Body
| Name | Type | Description |
|---|
namerequired | string | 1 to 120 characters |
platformrequired | "feed" | "google_feed" | "shopify" | "spreadsheet" | "woocommerce" | |
baseUrl | uri or null | |
credentials | object | Platform credentials, e.g. { "token": "…" } for Centra. Stored encrypted; never returned. |
expiresAt | date-time or null | |
settings | object | Non-secret connector settings, as the connector's fields name them (GET /v1/connectors). default {} |
syncIntervalMinutes | integer | Minutes between syncs of the connection's markets. 5 to 1440 |
curl -X POST https://api.loomieo.com/v1/connections \
-H "Authorization: Bearer $LUMIEO_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"…","platform":"feed"}'
Response 200
| Name | Type | Description |
|---|
connectionrequired | object | |
Errors
400: bad_request401: auth_unauthenticated403: auth_csrf_rejected, forbidden, out_of_scope409: connection_built_in422: validation_failed429: rate_limited
Check unsaved connection details and preview a market's products
POST /v1/connections/test
Check unsaved connection details and preview a market's products; stores nothing
Body
| Name | Type | Description |
|---|
platformrequired | "feed" | "google_feed" | "shopify" | "spreadsheet" | "woocommerce" | |
baseUrl | uri or null | |
credentials | object | Platform credentials, e.g. { "token": "…" } for Centra. Stored encrypted; never returned. default {} |
sample | object or null | |
settings | object | Non-secret connector settings, as the connector's fields name them (GET /v1/connectors). default {} |
curl -X POST https://api.loomieo.com/v1/connections/test \
-H "Authorization: Bearer $LUMIEO_KEY" \
-H "Content-Type: application/json" \
Response 200
| Name | Type | Description |
|---|
connectionTestrequired | object | |
Errors
400: bad_request401: auth_unauthenticated403: auth_csrf_rejected, forbidden422: validation_failed429: rate_limited
Delete a catalog connection
DELETE /v1/connections/{id}
Delete a catalog connection (owner); refused while a site still uses it
Parameters
| Name | In | Type | Description |
|---|
idrequired | path | id | |
curl -X DELETE https://api.loomieo.com/v1/connections/:id \
-H "Authorization: Bearer $LUMIEO_KEY"
Response 200
| Name | Type | Description |
|---|
connectionrequired | object | |
Errors
401: auth_unauthenticated403: auth_csrf_rejected, forbidden, out_of_scope404: connection_not_found409: connection_built_in, connection_in_use422: validation_failed429: rate_limited
One catalog connection
GET /v1/connections/{id}
One catalog connection (credentials are never returned)
Parameters
| Name | In | Type | Description |
|---|
idrequired | path | id | |
curl -X GET https://api.loomieo.com/v1/connections/:id \
-H "Authorization: Bearer $LUMIEO_KEY"
Response 200
| Name | Type | Description |
|---|
connectionrequired | object | |
Errors
401: auth_unauthenticated403: forbidden404: connection_not_found422: validation_failed429: rate_limited
Update a catalog connection
PATCH /v1/connections/{id}
Update a catalog connection (owner); new credentials reconnect it, null clears them
Parameters
| Name | In | Type | Description |
|---|
idrequired | path | id | |
Body
| Name | Type | Description |
|---|
baseUrl | uri or null | |
credentials | object or null | |
expiresAt | date-time or null | |
name | string | 1 to 120 characters |
settings | object | Non-secret connector settings, as the connector's fields name them (GET /v1/connectors). |
status | "active" | "disabled" | |
syncIntervalMinutes | integer | Minutes between syncs of the connection's markets. 5 to 1440 |
curl -X PATCH https://api.loomieo.com/v1/connections/:id \
-H "Authorization: Bearer $LUMIEO_KEY"
Response 200
| Name | Type | Description |
|---|
connectionrequired | object | |
Errors
400: bad_request401: auth_unauthenticated403: auth_csrf_rejected, forbidden, out_of_scope404: connection_not_found409: connection_built_in422: validation_failed429: rate_limited
The markets a connection offers, for a market to pick
GET /v1/connections/{id}/markets
Parameters
| Name | In | Type | Description |
|---|
idrequired | path | id | |
curl -X GET https://api.loomieo.com/v1/connections/:id/markets \
-H "Authorization: Bearer $LUMIEO_KEY"
Response 200
| Name | Type | Description |
|---|
marketsrequired | list of object | |
Errors
401: auth_unauthenticated403: forbidden404: connection_not_found409: connection_unreachable422: validation_failed429: rate_limited
Sync every market on the connection now, in full
POST /v1/connections/{id}/sync
Sync every market on the connection now, in full; answers each market's result
Parameters
| Name | In | Type | Description |
|---|
idrequired | path | id | |
curl -X POST https://api.loomieo.com/v1/connections/:id/sync \
-H "Authorization: Bearer $LUMIEO_KEY"
Response 200
| Name | Type | Description |
|---|
syncrequired | list of object | |
Errors
400: bad_request401: auth_unauthenticated403: auth_csrf_rejected, forbidden, out_of_scope404: connection_not_found409: connection_built_in422: validation_failed429: rate_limited