Skip to main content

List logs for all integrations for the store

GET 

https://euwest.api.elasticpath.com/integrations/logs

Returns all integration logs for the store.

Responses

Success. Returns a list of integration logs.

Schema
    data IntegrationLog[]
  • Array [
  • idstring

    A unique identifier of an integration whose logs you want to view.

    Example: ac8bb58e-2b9b-4ccf-9dd2-ecdf50417849
    typestring

    This represents the type of resource object being returned. Always integration.

    Possible values: [integration]

    Default value: integration
    Example: integration
    succeededboolean

    Whether the integration was successful.

    Example: true
    attemptinteger

    The number of attempts made to process the integration.

    Example: 1
    bodystring

    The response returned from the integration.

    Example: Not Found
    status_codeinteger

    The status code returned from the integration.

    Example: 404
    error_detailstring

    The reason why the integration failed.

    Example: Received a status code outside of 2xx range - treating webhook as a fail
    relationships object

    Relationships are established between different integration entities. For example, a log and an integration job are related to an integration.

    integration object
    data object
    idstring

    The ID of the integration processed.

    Example: ff8634a8-a89e-4eac-baab-9b7b8c4f8720
    typestring

    This represents the resource type of the object being returned. Always integration.

    Example: integration
    job object
    data object
    idstring

    The ID of the integration job processed.

    Example: ff8634a8-a89e-4eac-baab-9b7b8c4f8720
    typestring

    This represents the resource type of the object being returned. Always integration-job.

    Example: job
  • ]
  • meta object
    limitinteger

    The maximum number of records per page for a response. You can set this value up to 100.

    Example: 100
    offsetinteger

    The current offset by number of records, not pages. Offset is zero-based.

    Example: 0
    currentinteger

    The current page.

    Example: 1
    totalinteger

    The total page count.

    Example: 1
    results object

    The results for this response for the entire collection.

    totalinteger

    The total number of records for this response for the entire collection.

    Example: 1

Authorization: http

name: bearerAuthtype: httpscheme: bearer
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://euwest.api.elasticpath.com/integrations/logs");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://euwest.api.elasticpath.com
Auth
ResponseClear

Click the Send API Request button above and see the response here!