curl --location 'https://stg-gateway.invora.app/api/v2/marketplace/connections/list' \
--header 'Content-Type: application/json' \
--data '{
"filter": {
"part": {
"connectionId": {
"inValues": [
"string"
]
},
"providerId": {
"inValues": [
"string"
]
},
"status": {
"inValues": [
"CONNECTION_STATUS_UNSPECIFIED"
]
},
"createdAt": {
"exact": "2019-08-24",
"range": {
"fromInclusive": "2019-08-24",
"toExclusive": "2019-08-24"
},
"rangeTimestamp": {
"fromInclusive": "2019-08-24T14:15:22.123Z",
"toExclusive": "2019-08-24T14:15:22.123Z"
}
},
"updatedAt": {},
"lastSyncAt": {},
"authMethod": {
"inValues": [
"AUTH_METHOD_UNSPECIFIED"
]
},
"syncEnabled": true,
"and": {
"operands": [
{}
]
},
"or": {
"operands": [
{}
]
},
"not": {}
},
"textSearch": "string",
"timeReference": {
"referenceDate": "2019-08-24T14:15:22.123Z",
"historicalData": true
}
},
"sort": {
"rules": [
{
"createdAt": "SORT_DIRECTION_UNSPECIFIED",
"updatedAt": "SORT_DIRECTION_UNSPECIFIED",
"lastSyncAt": "SORT_DIRECTION_UNSPECIFIED",
"storeName": "SORT_DIRECTION_UNSPECIFIED"
}
]
},
"pagination": {
"limit": "string",
"skip": "string",
"cursor": "string"
},
"mask": "string"
}'{
"items": [
{
"connectionId": "string",
"concurrencyStamp": "string",
"providerId": "string",
"providerName": "string",
"status": "CONNECTION_STATUS_UNSPECIFIED",
"authMethod": "AUTH_METHOD_UNSPECIFIED",
"storeId": "string",
"storeName": "string",
"storeUrl": "string",
"syncConfig": {
"defaultBranchId": "string",
"autoFreeze": true,
"autoPushInvoice": true,
"triggerOrderStatuses": [
"string"
],
"providerConfig": {},
"branchMappings": [
{
"providerBranchId": "string",
"providerBranchName": "string",
"invoraBranchId": "string",
"autoMapped": true
}
],
"backfillFromDate": "2019-08-24",
"lastAppliedAt": "2019-08-24T14:15:22.123Z"
},
"syncEnabled": true,
"totalOrdersSynced": "string",
"totalInvoicesPushed": "string",
"lastSyncAt": "2019-08-24T14:15:22.123Z",
"lastError": "string",
"tokenExpiresAt": "2019-08-24T14:15:22.123Z",
"webhookHealth": {
"webhookRegistered": true,
"lastWebhookReceivedAt": "2019-08-24T14:15:22.123Z",
"consecutiveFailures": 0,
"providerWebhookId": "string"
},
"providerSubscriptionStatus": "PROVIDER_SUBSCRIPTION_STATUS_UNSPECIFIED",
"providerSubscriptionId": "string",
"audit": {
"creationInfo": {
"createdAt": "2019-08-24T14:15:22.123Z",
"creatorId": "string"
},
"lastModificationTime": "2019-08-24T14:15:22.123Z",
"lastModifierId": "string"
}
}
],
"totalCount": "string",
"nextPageCursor": "string"
}