Skip to content

Catalog connections API

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

NameInTypeDescription
cursorquerystring
limitqueryinteger
sortByquery"createdAt"
sortDirquery"asc" | "desc"
Terminal window
curl -X GET https://api.loomieo.com/v1/connections \
-H "Authorization: Bearer $LUMIEO_KEY"

Response 200

NameTypeDescription
connectionsrequiredlist of object
paginationrequiredobject
Errors
  • 401: auth_unauthenticated
  • 403: forbidden
  • 422: validation_failed
  • 429: rate_limited

Create a catalog connection

POST /v1/connections

Create a catalog connection (owner); credentials are stored encrypted

Body

NameTypeDescription
namerequiredstring1 to 120 characters
platformrequired"feed" | "google_feed" | "shopify" | "spreadsheet" | "woocommerce"
baseUrluri or null
credentialsobjectPlatform credentials, e.g. { "token": "…" } for Centra. Stored encrypted; never returned.
expiresAtdate-time or null
settingsobjectNon-secret connector settings, as the connector's fields name them (GET /v1/connectors). default {}
syncIntervalMinutesintegerMinutes between syncs of the connection's markets. 5 to 1440
Terminal window
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

NameTypeDescription
connectionrequiredobject
Errors
  • 400: bad_request
  • 401: auth_unauthenticated
  • 403: auth_csrf_rejected, forbidden, out_of_scope
  • 409: connection_built_in
  • 422: validation_failed
  • 429: 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

NameTypeDescription
platformrequired"feed" | "google_feed" | "shopify" | "spreadsheet" | "woocommerce"
baseUrluri or null
credentialsobjectPlatform credentials, e.g. { "token": "…" } for Centra. Stored encrypted; never returned. default {}
sampleobject or null
settingsobjectNon-secret connector settings, as the connector's fields name them (GET /v1/connectors). default {}
Terminal window
curl -X POST https://api.loomieo.com/v1/connections/test \
-H "Authorization: Bearer $LUMIEO_KEY" \
-H "Content-Type: application/json" \
-d '{"platform":"feed"}'

Response 200

NameTypeDescription
connectionTestrequiredobject
Errors
  • 400: bad_request
  • 401: auth_unauthenticated
  • 403: auth_csrf_rejected, forbidden
  • 422: validation_failed
  • 429: rate_limited

Delete a catalog connection

DELETE /v1/connections/{id}

Delete a catalog connection (owner); refused while a site still uses it

Parameters

NameInTypeDescription
idrequiredpathid
Terminal window
curl -X DELETE https://api.loomieo.com/v1/connections/:id \
-H "Authorization: Bearer $LUMIEO_KEY"

Response 200

NameTypeDescription
connectionrequiredobject
Errors
  • 401: auth_unauthenticated
  • 403: auth_csrf_rejected, forbidden, out_of_scope
  • 404: connection_not_found
  • 409: connection_built_in, connection_in_use
  • 422: validation_failed
  • 429: rate_limited

One catalog connection

GET /v1/connections/{id}

One catalog connection (credentials are never returned)

Parameters

NameInTypeDescription
idrequiredpathid
Terminal window
curl -X GET https://api.loomieo.com/v1/connections/:id \
-H "Authorization: Bearer $LUMIEO_KEY"

Response 200

NameTypeDescription
connectionrequiredobject
Errors
  • 401: auth_unauthenticated
  • 403: forbidden
  • 404: connection_not_found
  • 422: validation_failed
  • 429: rate_limited

Update a catalog connection

PATCH /v1/connections/{id}

Update a catalog connection (owner); new credentials reconnect it, null clears them

Parameters

NameInTypeDescription
idrequiredpathid

Body

NameTypeDescription
baseUrluri or null
credentialsobject or null
expiresAtdate-time or null
namestring1 to 120 characters
settingsobjectNon-secret connector settings, as the connector's fields name them (GET /v1/connectors).
status"active" | "disabled"
syncIntervalMinutesintegerMinutes between syncs of the connection's markets. 5 to 1440
Terminal window
curl -X PATCH https://api.loomieo.com/v1/connections/:id \
-H "Authorization: Bearer $LUMIEO_KEY"

Response 200

NameTypeDescription
connectionrequiredobject
Errors
  • 400: bad_request
  • 401: auth_unauthenticated
  • 403: auth_csrf_rejected, forbidden, out_of_scope
  • 404: connection_not_found
  • 409: connection_built_in
  • 422: validation_failed
  • 429: rate_limited

The markets a connection offers, for a market to pick

GET /v1/connections/{id}/markets

Parameters

NameInTypeDescription
idrequiredpathid
Terminal window
curl -X GET https://api.loomieo.com/v1/connections/:id/markets \
-H "Authorization: Bearer $LUMIEO_KEY"

Response 200

NameTypeDescription
marketsrequiredlist of object
Errors
  • 401: auth_unauthenticated
  • 403: forbidden
  • 404: connection_not_found
  • 409: connection_unreachable
  • 422: validation_failed
  • 429: 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

NameInTypeDescription
idrequiredpathid
Terminal window
curl -X POST https://api.loomieo.com/v1/connections/:id/sync \
-H "Authorization: Bearer $LUMIEO_KEY"

Response 200

NameTypeDescription
syncrequiredlist of object
Errors
  • 400: bad_request
  • 401: auth_unauthenticated
  • 403: auth_csrf_rejected, forbidden, out_of_scope
  • 404: connection_not_found
  • 409: connection_built_in
  • 422: validation_failed
  • 429: rate_limited