View as Markdown Open in ChatGPT Open in Claude
GET
Connectors API · 1. Primary APIs · v1.0

3. Get API Queries

https://connectors.1spoc.com/info/{{PRIMARY_API_VERSION}}/query-details
infoOverview

About this API

keySecurity

Authentication

This endpoint does not require authentication.

routeParameters

Path Parameters

Substitute these placeholders in the endpoint URL before sending the request.

NameTypeRequirementDescription
{PRIMARY_API_VERSIONstringRequiredPath value for {PRIMARY_API_VERSION.
tuneParameters

Query Parameters

Append these values to the URL query string. Omit optional parameters when they are not needed.

NameTypeRequirementDescription
connector_idstringNot specifiedRequest value for connector id.
uploadInput

Request Details

check_circle
No Request Body

Provide identifiers in the path and any supported values in the query string.

codeIntegration

Code Examples

Select your language and customize the request URL. Credential placeholders are intentionally preserved so secrets never appear in generated samples.

shield_lockCredentials protectedAdd secrets only in your secure server environment.
downloadSDK
curl --request GET 'https://connectors.1spoc.com/info/{{PRIMARY_API_VERSION}}/query-details?connector_id=02d1f23c-e766-4725-bc33-22b82006f249'
const response = await fetch('https://connectors.1spoc.com/info/{{PRIMARY_API_VERSION}}/query-details?connector_id=02d1f23c-e766-4725-bc33-22b82006f249', {
  method: 'GET',
});

if (!response.ok) throw new Error(`HTTP ${response.status}`);
const data = await response.json();
console.log(data);
const response = await fetch('https://connectors.1spoc.com/info/{{PRIMARY_API_VERSION}}/query-details?connector_id=02d1f23c-e766-4725-bc33-22b82006f249', {
  method: 'GET',
});

if (!response.ok) throw new Error(`HTTP ${response.status}`);
const data = await response.json();
console.log(data);
import json
import requests

url = 'https://connectors.1spoc.com/info/{{PRIMARY_API_VERSION}}/query-details?connector_id=02d1f23c-e766-4725-bc33-22b82006f249'
headers = {}
response = requests.get(url, headers=headers)

response.raise_for_status()
print(response.json())
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;

var client = HttpClient.newHttpClient();
var request = HttpRequest.newBuilder(URI.create("https://connectors.1spoc.com/info/{{PRIMARY_API_VERSION}}/query-details?connector_id=02d1f23c-e766-4725-bc33-22b82006f249"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();

var response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.statusCode());
System.out.println(response.body());
<?php
$curl = curl_init();
curl_setopt_array($curl, [
    CURLOPT_URL => 'https://connectors.1spoc.com/info/{{PRIMARY_API_VERSION}}/query-details?connector_id=02d1f23c-e766-4725-bc33-22b82006f249',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_CUSTOMREQUEST => 'GET',
]);
$response = curl_exec($curl);
if ($response === false) throw new Exception(curl_error($curl));
curl_close($curl);
echo $response;
using System.Net.Http.Headers;
using System.Text;

using var client = new HttpClient();
var response = await client.GetAsync("https://connectors.1spoc.com/info/{{PRIMARY_API_VERSION}}/query-details?connector_id=02d1f23c-e766-4725-bc33-22b82006f249");
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
package main

import (
    "fmt"
    "io"
    "net/http"
)

func main() {
    request, err := http.NewRequest("GET", "https://connectors.1spoc.com/info/{{PRIMARY_API_VERSION}}/query-details?connector_id=02d1f23c-e766-4725-bc33-22b82006f249", nil)
    if err != nil { panic(err) }
    request.Header.Set("Accept", "application/json")
    response, err := http.DefaultClient.Do(request)
    if err != nil { panic(err) }
    defer response.Body.Close()
    data, err := io.ReadAll(response.Body)
    if err != nil { panic(err) }
    if response.StatusCode >= 400 { panic(fmt.Sprintf("HTTP %d: %s", response.StatusCode, data)) }
    fmt.Println(string(data))
}
downloadOutput

Response

A successful request returns the documented response payload. Delivery and asynchronous events may arrive separately through configured webhooks.

{
  "200": {
    "data": [
      {
        "id": "get_customers",
        "url": "/shopify/customers?org_id={org_id}&shop_domain={shop_domain}&limit={limit}&page_info={page_info}",
        "title": "Get Customers",
        "requiredParameters": [
          "org_id",
          "shop_domain"
        ]
      },
      {
        "id": "get_products",
        "url": "/shopify/products?org_id={org_id}&shop_domain={shop_domain}&limit={limit}&page_info={page_info}",
        "title": "Get Products",
        "requiredParameters": [
          "org_id",
          "shop_domain"
        ]
      },
      {
        "id": "get_custom_collections",
        "url": "/shopify/custom-collections?org_id={org_id}&shop_domain={shop_domain}",
        "title": "Get Custom Product Collections",
        "requiredParameters": [
          "org_id",
          "shop_domain"
        ]
      },
      {
        "id": "get_products_by_collection",
        "url": "/shopify/collection/products?collection_id={collection_id}&org_id={org_id}&shop_domain={shop_domain}&limit={limit}&next_page_info={next_page_info}&previous_page_info={previous_page_info}",
        "title": "Get Products by Collection",
        "requiredParameters": [
          "org_id",
          "shop_domain",
          "collection_id"
        ]
      },
      {
        "id": "get_customer_segments",
        "url": "/shopify/segments?org_id={org_id}&shop_domain={shop_domain}&filter={nameOfSegment}&limit={limit}&next_page_info={next_page_info}&previous_page_info={previous_page_info}",
        "title": "Get Customer Segments",
        "requiredParameters": [
          "org_id",
          "shop_domain"
        ]
      },
      {
        "id": "get_customers_by_segment",
        "url": "/shopify/segment/customers?segment_id={segment_id}&org_id={org_id}&shop_domain={shop_domain}&limit={limit}&next_page_info={next_page_info}&previous_page_info={previous_page_info}",
        "title": "Get Customers by Segment",
        "requiredParameters": [
          "org_id",
          "shop_domain",
          "segment_id"
        ]
      }
    ]
  },
  "404": {
    "message": "Connector not found by id :f3804df8-0e51-4caf-a6ec-6238dcccab7a"
  }
}
{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "requiredParameters": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}
ruleHTTP Responses

Status Codes

404Not Found
200OK
Global API SearchProducts, versions, endpoints, paths, and payload fields
Esc
Full search page
manage_searchSearch the complete API catalogEnter at least two characters to begin.