ETASCOM CRM V3 - Documentation API
    Preparing search index...
    • POST(
          request: NextRequest,
      ): Promise<
          | NextResponse<{ error: string }>
          | NextResponse<
              {
                  addresses: {
                      city: string
                      | null;
                      country: string | null;
                      id: string;
                      isDefault: boolean;
                      name: string | null;
                      postalCode: string | null;
                      state: string | null;
                      street: string | null;
                      type: string;
                  }[];
                  company: { id: string; name: string }
                  | null;
                  files: {
                      createdAt: Date;
                      filename: string;
                      id: string;
                      key: string;
                      mimetype: string;
                      size: number;
                      url: string;
                  }[];
              } & {},
          >,
      >

      Parameters

      • request: NextRequest

      Returns Promise<
          | NextResponse<{ error: string }>
          | NextResponse<
              {
                  addresses: {
                      city: string
                      | null;
                      country: string | null;
                      id: string;
                      isDefault: boolean;
                      name: string | null;
                      postalCode: string | null;
                      state: string | null;
                      street: string | null;
                      type: string;
                  }[];
                  company: { id: string; name: string }
                  | null;
                  files: {
                      createdAt: Date;
                      filename: string;
                      id: string;
                      key: string;
                      mimetype: string;
                      size: number;
                      url: string;
                  }[];
              } & {},
          >,
      >