ETASCOM CRM V3 - Documentation API
    Preparing search index...
    • Parameters

      • request: NextRequest
      • __namedParameters: { params: Promise<{ id: string }> }

      Returns Promise<
          | NextResponse<{ error: string }>
          | NextResponse<
              {
                  category: { code: string | null; id: string; name: string }
                  | null;
                  client: { code: string; id: string; name: string } | null;
                  files: {
                      category: string | null;
                      createdAt: Date;
                      filename: string;
                      id: string;
                      mimetype: string;
                      size: number;
                      url: string;
                  }[];
                  salesTax: { code: string; id: string; name: string; rate: number }
                  | null;
                  unitOfMeasure:
                      | { code: string; id: string; name: string; symbol: string
                      | null }
                      | null;
                  unitOfProduction:
                      | { code: string; id: string; name: string; symbol: string
                      | null }
                      | null;
                  unitOfSale:
                      | { code: string; id: string; name: string; symbol: string
                      | null }
                      | null;
              } & {},
          >,
      >