Get a shop integration
const url = 'https://api.motenya.app/v1/products/example/integrations/example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.motenya.app/v1/products/example/integrations/example \ --header 'Authorization: Bearer <token>'Requires crm:read.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”Success
object
error stops syncing until the address or credentials are fixed.
Which credentials are stored, e.g. “accessToken …a1b2”. They are never returned.
The source its records sync under; look them up with GET /sync/{type}/{source}/{externalId}.
Intercom: the email channel imported tickets reply from.
object
object
object
object
Smartbill only: the daily check of the imported invoices still unpaid or partly paid.
object
object
Invoices asked about.
Whose payment status changed.
SmartBill had no such invoice.
object
Invoices asked about.
Whose payment status changed.
SmartBill had no such invoice.
Example
{ "type": "magento2", "status": "active", "historyMode": "none", "phase": "history", "runningEntity": "catalog_item", "counts": [ { "entity": "catalog_item" } ], "lastRecordError": { "entity": "catalog_item" }}Invalid request
object
object
object
Example
{ "error": { "code": "SLUG_TAKEN" }}Missing, invalid, revoked or expired API key
object
object
object
Example
{ "error": { "code": "SLUG_TAKEN" }}Missing scope, API turned off, published article without publish scope, or account suspended
object
object
object
Example
{ "error": { "code": "SLUG_TAKEN" }}Not found, or outside the knowledge bases this key may use
object
object
object
Example
{ "error": { "code": "SLUG_TAKEN" }}Slug or translation already exists
object
object
object
Example
{ "error": { "code": "SLUG_TAKEN" }}Rejected by validation (e.g. unknown language or category)
object
object
object
Example
{ "error": { "code": "SLUG_TAKEN" }}Rate limited; see Retry-After
object
object
object
Example
{ "error": { "code": "SLUG_TAKEN" }}Internal error