@gradientedge/commercetools-utils
    Preparing search index...

    Interface CommercetoolsRequestResponse

    Represents the request and response for a request made to commercetools

    interface CommercetoolsRequestResponse {
        request: {
            data?: any;
            headers?: Record<string, string>;
            method: string;
            params?: Record<string, string | number | boolean>;
            url: string;
        };
        response: {
            code?: string;
            data?: any;
            headers?: Record<string, string>;
            message?: string;
            status?: number;
        };
        stats: CommercetoolsRequestResponseStats;
    }
    Index

    Properties

    request: {
        data?: any;
        headers?: Record<string, string>;
        method: string;
        params?: Record<string, string | number | boolean>;
        url: string;
    }
    response: {
        code?: string;
        data?: any;
        headers?: Record<string, string>;
        message?: string;
        status?: number;
    }